gotest.tools/gotestsum@v1.11.0/.project/golangci-lint.yml (about)

     1  linters-settings:
     2    goconst:
     3      min-len: 2
     4      min-occurrences: 4
     5    lll:
     6      line-length: 120
     7  
     8  issues:
     9    exclude-use-default: false
    10    exclude-rules:
    11      - linters: [revive]
    12        text: 'should have comment .*or be unexported'
    13      - linters: [revive]
    14        text: 'package-comments: should have a package comment'
    15      - linters: [stylecheck]
    16        text: 'ST1000: at least one file in a package should have a package comment'
    17      - linters: [errcheck]
    18        text: 'Error return value of `.*\.WriteString` is not checked'
    19      - linters: [unparam]
    20        text: 'result .* is always'
    21      - linters: [unparam]
    22        text: 'always receives'
    23      # Remove once go1.16 is dropped
    24      - linters: staticcheck
    25        text: 'env.Patch is deprecated'
    26  
    27  linters:
    28    disable-all: true
    29    enable:
    30      - bodyclose
    31      - deadcode
    32      - depguard
    33      - errcheck
    34      - goconst
    35      - gofmt
    36      - goimports
    37      - gosimple
    38      - govet
    39      - ineffassign
    40      - interfacer
    41      - lll
    42      - misspell
    43      - nakedret
    44      - prealloc
    45      - revive
    46      - staticcheck
    47      - structcheck
    48      - stylecheck
    49      - typecheck
    50      - unconvert
    51      - unparam
    52      - unused
    53      - varcheck
    54      - whitespace