github.com/hamba/avro/v2@v2.22.1-0.20240518180522-aff3955acf7d/.golangci.yml (about)

     1  run:
     2    tests: false
     3    deadline: 5m
     4  
     5  linters-settings:
     6    gofumpt:
     7      extra-rules: true
     8  
     9  linters:
    10    enable-all: true
    11    disable:
    12      - cyclop # duplicate of gocyclo
    13      - deadcode # deprecated
    14      - execinquery # deprecated
    15      - exhaustivestruct # deprecated
    16      - golint # deprecated
    17      - gomnd # deprecated
    18      - ifshort # deprecated
    19      - interfacer # deprecated
    20      - maligned # deprecated
    21      - nosnakecase # deprecated
    22      - scopelint # deprecated
    23      - structcheck # deprecated
    24      - varcheck # deprecated
    25      - depguard
    26      - err113
    27      - exhaustive
    28      - exhaustruct
    29      - forcetypeassert
    30      - funlen
    31      - gochecknoglobals
    32      - gochecknoinits
    33      - gocognit
    34      - goconst
    35      - gocyclo
    36      - gosmopolitan
    37      - inamedparam
    38      - interfacebloat
    39      - ireturn
    40      - mnd
    41      - nestif
    42      - nlreturn
    43      - nonamedreturns
    44      - tagliatelle
    45      - varnamelen
    46      - wrapcheck
    47      - wsl
    48  
    49  issues:
    50    exclude-use-default: false
    51    exclude:
    52      - 'package-comments: should have a package comment'
    53      - 'G103: Use of unsafe calls should be audited'
    54    exclude-rules:
    55    - path: (schema|protocol)\.go
    56      linters:
    57        - gosec