5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 10:30:26 +00:00

Update golangci-lint. Disable hugeParam check for now

This commit is contained in:
Wim 2019-02-12 20:30:36 +01:00
parent 127eb908f3
commit f236d12166
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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.