aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml17
1 files changed, 6 insertions, 11 deletions
diff --git a/.golangci.yml b/.golangci.yml
index ad60981..1d2d29f 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,27 +1,24 @@
linters:
enable:
- - deadcode
+ - govet
+ - unused
- dupl
- errcheck
- funlen
- # - gochecknoglobals
- ineffassign
- - structcheck
- typecheck
- - varcheck
- asciicheck
- bodyclose
- depguard
- dogsled
- errorlint
- exhaustive
- # - exhaustivestruct
- exportloopref
- gci
- gochecknoinits
- gocognit
- # - goconst
+ - goconst
- gocritic
- gocyclo
- godot
@@ -29,14 +26,12 @@ linters:
- gofmt
# - gofumpt
- goheader
- # - goimports
- - golint
+ - goimports
+ - revive
- gomnd
- gomodguard
- goprintffuncname
- - interfacer
- lll
- - maligned
- misspell
- nakedret
- nestif
@@ -46,7 +41,7 @@ linters:
- paralleltest
- prealloc
- rowserrcheck
- - scopelint
+ - exportloopref
- sqlclosecheck
- stylecheck
- testpackage