diff options
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.golangci.yml b/.golangci.yml index 4082864..12a114c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,9 +6,6 @@ skip-dirs: - report # megalinter results+fixes linters-settings: - gocyclo: - # minimal code complexity to report, 30 by default (but we recommend 10-20) - min-complexity: 15 gocritic: disabled-checks: - ifElseChain @@ -18,6 +15,10 @@ linters-settings: alias: log - pkg: 'github.com/stretchr/testify/assert' alias: assert + revive: + rules: + - name: unused-parameter + disabled: true depguard: rules: main: @@ -29,23 +30,22 @@ linters-settings: - pkg: log desc: Please keep logging unified using only github.com/sirupsen/logrus linters: + disable: + - staticcheck enable: - - megacheck - govet - - revive - gocyclo - gosec - unconvert - dupl - nakedret - prealloc - - exportloopref - gocritic + - gosimple - goimports - whitespace - misspell - depguard - importas - - contextcheck - nolintlint - revive |