summaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml34
1 files changed, 17 insertions, 17 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 99133badd9..130ad286b5 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,28 +1,28 @@
linters:
enable:
- - gosimple
- - deadcode
- - typecheck
- - govet
- - errcheck
- - staticcheck
- - unused
- - structcheck
- - varcheck
+ - bidichk
+ # - deadcode # deprecated - https://github.com/golangci/golangci-lint/issues/1841
+ - depguard
- dupl
- #- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
- - gofmt
+ - errcheck
- gocritic
- - bidichk
- - ineffassign
- - revive
+ # - gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
+ - gofmt
- gofumpt
- - depguard
+ - gosimple
+ - govet
+ - ineffassign
- nakedret
- - unconvert
- - wastedassign
- nolintlint
+ - revive
+ - staticcheck
+ # - structcheck # deprecated - https://github.com/golangci/golangci-lint/issues/1841
- stylecheck
+ - typecheck
+ - unconvert
+ - unused
+ # - varcheck # deprecated - https://github.com/golangci/golangci-lint/issues/1841
+ # - wastedassign # disabled - https://github.com/golangci/golangci-lint/issues/2649
enable-all: false
disable-all: true
fast: false