mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
Update golangci-lint version to v1.21.0
Signed-off-by: Woohyung Han <techhanx@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
118f34525e
commit
8a16f740d6
@ -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
|
||||
|
Reference in New Issue
Block a user