From 7fb4cede883e8f55df4223f4908765fe535abece Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 15 Nov 2019 14:47:19 +0100 Subject: [PATCH] .golangci.yml: enable goconst and ineffassign linters --- .golangci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 16af0fad54..44fce8bea3 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -11,9 +11,11 @@ linters: disable-all: true enable: - deadcode + - goconst - goimports - gosimple - govet + - ineffassign - misspell # - staticcheck - unconvert @@ -38,3 +40,6 @@ issues: - path: p2p/discv5/ linters: - deadcode + - path: core/vm/instructions_test.go + linters: + - goconst