diff options
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml index 4ac5ccb..fce8563 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -9,6 +9,8 @@ linters: - gci - gofmt - gofumpt + - gosec + - nolintlint linters-settings: gci: sections: @@ -17,6 +19,12 @@ linters-settings: - prefix(git.lukeshu.com/go/lowmemjson) gofmt: simplify: true + gosec: + excludes: + - G104 # duplicates errcheck + nolintlint: + require-explanation: true + require-specific: true issues: exclude-use-default: false exclude-rules: @@ -24,5 +32,6 @@ issues: linters: - errcheck - gofumpt + - gosec max-issues-per-linter: 0 max-same-issues: 0 |