Update golangci-lint version to v1.21.0

Signed-off-by: Woohyung Han <techhanx@gmail.com>
This commit is contained in:
Woohyung Han
2019-12-12 12:22:55 +09:00
committed by mergify[bot]
parent 118f34525e
commit 8a16f740d6
16 changed files with 8 additions and 26 deletions

View File

@ -141,6 +141,10 @@ linters-settings:
# make an issue if func has more lines of code than this setting and
# it has naked returns; default is 30
max-func-lines: 30
gocognit:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
# TODO: decrease complexity with refacoring the code
min-complexity: 40
linters:
enable-all: true
@ -149,3 +153,6 @@ linters:
- dupl
- gochecknoinits
- gochecknoglobals
- godox
- wsl
- funlen