diff options
Diffstat (limited to '.golangci.yml')
-rwxr-xr-x | .golangci.yml | 9 |
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 |