diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..ef8981c --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,24 @@ +linters-settings: + govet: + check-shadowing: true + golint: + min-confidence: 0 + gocyclo: + min-complexity: 25 + maligned: + suggest-new: true + dupl: + threshold: 100 + goconst: + min-len: 2 + min-occurrences: 2 + +linters: + enable-all: true + disable: + - maligned + - lll + +issues: + exclude: + - G304