sigs.k8s.io/external-dns@v0.14.1/.golangci.yml (about)

     1  linters-settings:
     2    exhaustive:
     3      default-signifies-exhaustive: false
     4    goimports:
     5      local-prefixes: sigs.k8s.io/external-dns
     6    maligned:
     7      suggest-new: true
     8    misspell:
     9      locale: US
    10    revive:
    11      ignore-generated-header: true
    12      rules:
    13        - name: confusing-naming
    14          disabled: true
    15  
    16  linters:
    17    # please, do not use `enable-all`: it's deprecated and will be removed soon.
    18    # inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
    19    disable-all: true
    20    enable:
    21      - dogsled
    22      - gofmt
    23      - goimports
    24      - goprintffuncname
    25      - govet
    26      - ineffassign
    27      - misspell
    28      - rowserrcheck
    29      - typecheck
    30      - unconvert
    31      - whitespace
    32      - revive
    33      - unused
    34      - gosimple
    35      - staticcheck
    36  
    37  issues:
    38    # Excluding configuration per-path, per-linter, per-text and per-source
    39    exclude-rules:
    40      - path: _test\.go
    41        linters:
    42          - deadcode
    43          - depguard
    44          - dogsled
    45          - gofmt
    46          - goimports
    47          - goprintffuncname
    48          - gosimple
    49          - govet
    50          - ineffassign
    51          - misspell
    52          - nolintlint
    53          - rowserrcheck
    54          - staticcheck
    55          - structcheck
    56          - stylecheck
    57          - typecheck
    58          - unconvert
    59          - unused
    60          - varcheck
    61          - whitespace
    62      - path: source/ambassador_host.go
    63        linters: [ typecheck ]
    64      - path: source/contour_httpproxy.go
    65        linters: [ typecheck ]
    66      - path: source/f5_virtualserver.go
    67        linters: [ typecheck ]
    68      - path: source/kong_tcpingress.go
    69        linters: [ typecheck ]
    70  
    71  run:
    72    skip-files:
    73      - endpoint/zz_generated.deepcopy.go