Updated golandci-lint to 1.21.0

Signed-off-by: Michał Matczuk <michal@scylladb.com>
This commit is contained in:
Michał Matczuk
2019-11-08 00:03:26 +01:00
committed by Michal Matczuk
parent 3e60935d2a
commit 1668ca5832
8 changed files with 36 additions and 31 deletions

View File

@@ -4,20 +4,33 @@ run:
silent: true
linters-settings:
errcheck:
check-blank: true
gocognit:
min-complexity: 50
gocritic:
enabled-tags:
- diagnostic
- performance
- style
lll:
line-length: 180
linters:
enable-all: true
disable:
- gas
- interfacer
- maligned
- nakedret
- funlen
- gas
- gochecknoglobals
- interfacer
- maligned
- nakedret
- stylecheck
- wsl
issues:
exclude-use-default: false
exclude:
- composite literal uses unkeyed fields
- Error return value of `.+\.Close` is not checked
- method Json should be JSON
- composite literal uses unkeyed fields
- Error return value of `.+\.Close` is not checked
- method Json should be JSON