diff options
Diffstat (limited to '.golangci.yml')
| -rw-r--r-- | .golangci.yml | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/.golangci.yml b/.golangci.yml index e8e8364..d3062dc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,25 +1,31 @@ version: "2" run: tests: true - timeout: 5m - linters: - disable-all: true - disable: - - errcheck + default: none enable: - - staticcheck - govet - ineffassign - - unparam - misspell - + - staticcheck + - unparam + exclusions: + generated: lax + rules: + - linters: + - errcheck + path: .*_test\.go + paths: + - third_party$ + - builtin$ + - examples$ issues: - exclude-use-default: false max-issues-per-linter: 0 max-same-issues: 0 - exclude-rules: - - path: .*_test\.go - linters: - - errcheck - +formatters: + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$ |
