diff --git a/.golangci.yaml b/.golangci.yaml new file mode 100644 index 0000000..4094a01 --- /dev/null +++ b/.golangci.yaml @@ -0,0 +1,33 @@ +linters-settings: + gofmt: + simplify: true + misspell: + locale: US + gofumpt: + lang-version: "1.20" + extra-rules: true + errorlint: + errorf-multi: true + +linters: + disable-all: true + enable: + - bidichk + - errcheck + - gofmt + - goimports + - gosimple + - govet + - ineffassign + - misspell + - revive + - staticcheck + - typecheck + - unused + - whitespace + - gofumpt + - errorlint + +run: + timeout: 5m + go: '1.20'