diff options
Diffstat (limited to '.golangci.yaml')
| -rw-r--r-- | .golangci.yaml | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/.golangci.yaml b/.golangci.yaml index 4655178..33097d7 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,7 +1,27 @@ +version: "2" linters: enable: - - bodyclose - - asciicheck - - gosec + - asciicheck + - bodyclose + - goconst + - gosec + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling + paths: + - third_party$ + - builtin$ + - examples$ +formatters: + enable: - gci - - goconst + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$ |