.golangci.yaml
1version: "2"
2linters:
3 default: none
4 enable:
5 - errcheck
6 - govet
7 - ineffassign
8 - misspell
9 - staticcheck
10 - testifylint
11 - unused
12 exclusions:
13 generated: lax
14 presets:
15 - comments
16 - common-false-positives
17 - legacy
18 - std-error-handling
19 paths:
20 - third_party$
21 - builtin$
22 - examples$
23formatters:
24 enable:
25 - gofmt
26 exclusions:
27 generated: lax
28 paths:
29 - third_party$
30 - builtin$
31 - examples$