mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-25 16:51:35 +00: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.
|
||||||
@ -54,4 +54,4 @@ deploy:
|
|||||||
file: ci/deploy.json
|
file: ci/deploy.json
|
||||||
user: 42wim
|
user: 42wim
|
||||||
key:
|
key:
|
||||||
secure: "CeXXe6JOmt7HYR81MdWLua0ltQHhDdkIeRGBFbgd7hkb1wi8eF9DgpAcQrTso8NIlHNZmSAP46uhFgsRvkuezzX0ygalZ7DCJyAyn3sA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