Update golangci-lint. Disable hugeParam check for now
This commit is contained in:
parent
127eb908f3
commit
f236d12166
|
@ -132,6 +132,7 @@ linters-settings:
|
|||
# ifElseChain regexpMust singleCaseSwitch sloppyLen switchTrue typeSwitchVar underef
|
||||
# unlambda unslice rangeValCopy defaultCaseOrder];
|
||||
# all checks list: https://github.com/go-critic/checkers
|
||||
# disabled for now - hugeParam
|
||||
enabled-checks:
|
||||
- appendAssign
|
||||
- assignOp
|
||||
|
@ -147,7 +148,6 @@ linters-settings:
|
|||
- dupSubExpr
|
||||
- elseif
|
||||
- emptyFallthrough
|
||||
- hugeParam
|
||||
- ifElseChain
|
||||
- importShadow
|
||||
- indexAlloc
|
||||
|
|
|
@ -12,7 +12,7 @@ git:
|
|||
env:
|
||||
global:
|
||||
- GOOS=linux GOARCH=amd64
|
||||
- GOLANGCI_VERSION="v1.12.3"
|
||||
- GOLANGCI_VERSION="v1.14.0"
|
||||
|
||||
matrix:
|
||||
# It's ok if our code fails on unstable development versions of Go.
|
||||
|
|
Loading…
Reference in New Issue