diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..3ddcefe --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,51 @@ +linters: + enable-all: false + disable-all: true + fast: false + enable: + - bodyclose + - dogsled + - dupl + - errcheck + - exportloopref + - exhaustive + - gochecknoinits + - goconst + - gocritic + - gocyclo + - gofmt + - goimports + - goprintffuncname + - gosec + - gosimple + - govet + - ineffassign + - lll + - misspell + - nakedret + - noctx + - nolintlint + - rowserrcheck + - staticcheck + - stylecheck + - typecheck + - unconvert + - unparam + - unused + - whitespace + - gofumpt + +issues: + exclude-rules: + - path: authenticator_test.go + linters: + - bodyclose + - unparam + - path: parser_test.go + linters: + - lll + - path: signatureheader_test.go + linters: + - lll +run: + timeout: 3m