build: upgrade golangci to 1.22.2 (#20566)

* build: upgrade golangci to 1.22.2

* .golangci.yml: don't fail on asset deadcode
This commit is contained in:
Guillaume Ballet
2020-01-16 13:09:38 +01:00
committed by Péter Szilágyi
parent b3b8d36995
commit 1ee754b056
3 changed files with 21 additions and 16 deletions

View File

@@ -6,6 +6,8 @@ run:
# default is true. Enables skipping of directories:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
skip-dirs-use-default: true
skip-files:
- core/genesis_alloc.go
linters:
disable-all: true
@@ -43,3 +45,6 @@ issues:
- path: core/vm/instructions_test.go
linters:
- goconst
- path: cmd/faucet/
linters:
- deadcode