github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/.golangci.yml (about)

     1  linters-settings:
     2    gofumpt:
     3      simplify: true
     4  
     5    misspell:
     6      locale: US
     7  
     8    staticcheck:
     9      checks: ['all', '-ST1005', '-ST1000', '-SA4000', '-SA9004', '-SA1019', '-SA1008', '-U1000', '-ST1016']
    10  
    11  linters:
    12    disable-all: true
    13    enable:
    14      - durationcheck
    15      - gocritic
    16      - gofumpt
    17      - goimports
    18      - gomodguard
    19      - govet
    20      - ineffassign
    21      - misspell
    22      - revive
    23      - staticcheck
    24      - tenv
    25      - typecheck
    26      - unconvert
    27      - unused
    28  
    29  issues:
    30    exclude-use-default: false
    31    exclude:
    32      - "empty-block:"
    33      - "unused-parameter:"
    34      - "dot-imports:"
    35      - should have a package comment
    36      - error strings should not be capitalized or end with punctuation or a newline