diff --git a/.golangci.yml b/.golangci.yml index 97198a3..f7e204b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -45,9 +45,26 @@ linters: - wsl linter-settings: + gocritic: + enabled-tags: + - diagnostic + - experimental + - opinionated + - performance + - style + disabled-checks: + - dupImport # https://github.com/go-critic/go-critic/issues/845 + - ifElseChain + - octalLiteral + - whyNoLint + - wrapperFunc + gocyclo: + min-complexity: 15 gofumpt: extra-rules: true lang-version: "1.18" + govet: + check-shadowing: true revive: severity: warning confidence: 0.8