github.com/goreleaser/nfpm/v2@v2.44.0/.golangci.yml (about)

     1  version: "2"
     2  run:
     3    go: "1.24"
     4  linters:
     5    enable:
     6      - depguard
     7      - forbidigo
     8      - misspell
     9      - revive
    10      - tagliatelle
    11      - testifylint
    12      - thelper
    13      - tparallel
    14      - unconvert
    15      - usetesting
    16      - unparam
    17      - wastedassign
    18    settings:
    19      depguard:
    20        rules:
    21          main:
    22            deny:
    23              - pkg: github.com/pkg/errors
    24                desc: use stdlib instead
    25      forbidigo:
    26        forbid:
    27          - pattern: ioutil\.*
    28      tagliatelle:
    29        case:
    30          rules:
    31            json: snake
    32            yaml: snake
    33          use-field-name: false
    34      testifylint:
    35        disable:
    36          - encoded-compare
    37    exclusions:
    38      generated: lax
    39      presets:
    40        - comments
    41        - common-false-positives
    42        - legacy
    43        - std-error-handling
    44      paths:
    45        - third_party$
    46        - builtin$
    47        - examples$
    48  formatters:
    49    enable:
    50      - gofumpt
    51    exclusions:
    52      generated: lax
    53      paths:
    54        - third_party$
    55        - builtin$
    56        - examples$