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

View File

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