summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-13 17:55:07 +0300
committerValery Piashchynski <[email protected]>2020-11-13 17:55:07 +0300
commit3b0b05ce1680001d5c13f9a78aea04689ae9464d (patch)
tree8a11fac65e65dfbeabc56ec5b69d0b72c5441654
parent6141e44546d7092a50ba0c509d81c76fa8a4b77e (diff)
Skip tests files from golangci
-rwxr-xr-x.golangci.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 1d9eb013..e2f66db1 100755
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,12 +1,13 @@
linters:
- # please, do not use `enable-all`: it's deprecated and will be removed soon.
- # inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
+ skip-files:
+ - ".*_test.go$"
+ - lib/bad.go
disable-all: true
enable:
- bodyclose
- depguard
- dogsled
-# - dupl
+ # - dupl
- gochecknoinits
- goconst
- gocritic
@@ -27,7 +28,7 @@ linters:
- scopelint
- staticcheck
- structcheck
-# - stylecheck
+ # - stylecheck
- typecheck
- unconvert
- unparam