From a348312d4840705f8c52e2fea26797e5ee7e25e3 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Wed, 15 Jan 2020 19:12:35 +0100 Subject: [PATCH] .golangci.yml: don't fail on asset deadcode --- .golangci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 44fce8bea3..24d00da6ec 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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