From f236d12166a8ae186b251fee15b88d774dabc69c Mon Sep 17 00:00:00 2001 From: Wim <wim@42.be> Date: Tue, 12 Feb 2019 20:30:36 +0100 Subject: [PATCH] Update golangci-lint. Disable hugeParam check for now --- .golangci.yaml | 2 +- .travis.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index acdc612e..64c7f4c2 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -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 diff --git a/.travis.yml b/.travis.yml index 4dd02ee5..9830d88c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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. @@ -54,4 +54,4 @@ deploy: file: ci/deploy.json user: 42wim key: - secure: "CeXXe6JOmt7HYR81MdWLua0ltQHhDdkIeRGBFbgd7hkb1wi8eF9DgpAcQrTso8NIlHNZmSAP46uhFgsRvkuezzX0ygalZ7DCJyAyn3sAMEh+UQSHV1WGThRehTtidqRGjetzsIGSwdrJOWil+XTfbO1Z8DGzfakhSuAZka8CM4BAoe3YeP9rYK8h+84x0GHfczvsLtXZ3mWLvQuwe4pK6+ItBCUg0ae7O7ZUpWHy0xQQkkWztY/6RAzXfaG7DuGjIw+20fhx3WOXRNpHCtZ6Bc3qERCpk0s1HhlQWlrN9wDaFTBWYwlvSnNgvxxMbNXJ6RrRJ0l0bA7FUswYwyroxhzrGLdzWDg8dHaQkypocngdalfhpsnoO9j3ApJhomUF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