diff --git a/.golangci.yml b/.golangci.yml index 0e32a11..38507bb 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -8,7 +8,7 @@ linters-settings: packages-with-error-message: - github.com/sirupsen/logrus: "logging is allowed only by logutils.Log" dupl: - threshold: 100 + threshold: 125 funlen: lines: 125 statements: 50 @@ -21,11 +21,10 @@ linters-settings: enabled-tags: - diagnostic - experimental - - opinionated - performance - - style + #- style + #- opinionated disabled-checks: - - commentFormatting - dupImport # https://github.com/go-critic/go-critic/issues/845 - ifElseChain - octalLiteral @@ -35,8 +34,6 @@ linters-settings: min-complexity: 15 goimports: local-prefixes: github.com/golangci/golangci-lint - #golint: - # min-confidence: 0 gomnd: settings: mnd: @@ -69,12 +66,12 @@ linters: disable-all: true enable: - bodyclose - #- deadcode - depguard - dogsled - dupl - errcheck - exhaustive + - exportloopref - funlen - gochecknoinits - goconst @@ -109,15 +106,22 @@ linters: # don't enable: # - asciicheck + # - deadcode # - gochecknoglobals # - gocognit # - godot # - godox # - goerr113 + # - golint + # - interfacer # - maligned # - nestif # - prealloc + ## - rowserrcheck + # - scopelint + # - structcheck # - testpackage + # - varcheck # - wsl issues: