issues: max-same-issues: 0 exclude-rules: - linters: - gosec text: G115 - linters: - revive text: var-naming - linters: - revive text: exported - linters: - revive text: empty-block - linters: - revive text: unused-parameter linters: enable: - asciicheck - contextcheck - durationcheck - errorlint - gci - gofmt - gofumpt - goimports - gomodguard - gosec - gosimple - importas - misspell - nakedret - nolintlint - perfsprint - predeclared - revive - testifylint - typecheck - unparam disable: - errcheck - govet - ineffassign - staticcheck - unused linters-settings: gci: sections: - standard - default - prefix(github.com/shirou) gomodguard: blocked: modules: - io/ioutil: recommandations: - io - os perfsprint: # Optimizes even if it requires an int or uint type cast. int-conversion: true # Optimizes into `err.Error()` even if it is only equivalent for non-nil errors. err-error: true # Optimizes `fmt.Errorf`. errorf: true # Optimizes `fmt.Sprintf` with only one argument. sprintf1: true # Optimizes into strings concatenation. strconcat: true testifylint: enable-all: true