diff options
Diffstat (limited to '.golangci.yaml')
| -rw-r--r-- | .golangci.yaml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/.golangci.yaml b/.golangci.yaml index 4655178..6065695 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,7 +1,27 @@ +version: "2" linters: enable: - - bodyclose - 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$ |