diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..be78900 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,23 @@ +--- +run: + timeout: 3m +linters: + enable: + - bodyclose + - exportloopref + - gofmt + - gosec + - govet + - misspell + - noctx + - staticcheck + - unconvert + - unparam + - whitespace +issues: + max-same-issues: 0 +linters-settings: + goimports: + local-prefixes: github.com/jakekeeys/hg612-exporter + misspell: + locale: US