mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-21 18:22:00 -08:00
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
|
# ifElseChain regexpMust singleCaseSwitch sloppyLen switchTrue typeSwitchVar underef
|
||||||
# unlambda unslice rangeValCopy defaultCaseOrder];
|
# unlambda unslice rangeValCopy defaultCaseOrder];
|
||||||
# all checks list: https://github.com/go-critic/checkers
|
# all checks list: https://github.com/go-critic/checkers
|
||||||
|
# disabled for now - hugeParam
|
||||||
enabled-checks:
|
enabled-checks:
|
||||||
- appendAssign
|
- appendAssign
|
||||||
- assignOp
|
- assignOp
|
||||||
@ -147,7 +148,6 @@ linters-settings:
|
|||||||
- dupSubExpr
|
- dupSubExpr
|
||||||
- elseif
|
- elseif
|
||||||
- emptyFallthrough
|
- emptyFallthrough
|
||||||
- hugeParam
|
|
||||||
- ifElseChain
|
- ifElseChain
|
||||||
- importShadow
|
- importShadow
|
||||||
- indexAlloc
|
- indexAlloc
|
||||||
|
@ -12,7 +12,7 @@ git:
|
|||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- GOOS=linux GOARCH=amd64
|
- GOOS=linux GOARCH=amd64
|
||||||
- GOLANGCI_VERSION="v1.12.3"
|
- GOLANGCI_VERSION="v1.14.0"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
# It's ok if our code fails on unstable development versions of Go.
|
# It's ok if our code fails on unstable development versions of Go.
|
||||||
|
Loading…
Reference in New Issue
Block a user