github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/.golangci.yml (about)

     1  run:
     2    timeout: 15m
     3    exclude-dirs:
     4    - .git
     5    - .tool
     6    - vendor
     7    - verify
     8  
     9  linters-settings:
    10    dupl:
    11      threshold: 100
    12    gocyclo:
    13      min-complexity: 50
    14    govet:
    15      enable:
    16        - nilness
    17  
    18  linters:
    19    enable:
    20    - govet
    21    - unused
    22    - misspell
    23    - ineffassign
    24    - staticcheck
    25    - gosimple
    26    - exportloopref
    27    disable-all: true
    28  
    29  issues:
    30    exclude-rules:
    31    - linters:
    32      - golint
    33      text: ".*should not use dot dot imports"
    34    - linters:
    35      - staticcheck
    36      # TODO: Is this really supposed to be deprecated? Ref https://github.com/kubernetes/test-infra/issues/14875
    37      text: "SA1019: t.*.TrustedOrg is deprecated: TrustedOrg functionality is deprecated and will be removed in January 2020"