diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..8e2ddd9 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,12 @@ +run: + timeout: 5m + tests: false +linters: + enable: + - revive # replacement for golint + - dupl # check duplicated code + - goconst # check strings that can turn into constants + - gofmt # check fmt + - goheader # Check license headers, only checks files in current year + - goimports # check imports + - gocyclo # check complexity \ No newline at end of file