mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
.golangci.yml: enable goconst and ineffassign linters
This commit is contained in:
parent
ab8cd1508e
commit
7fb4cede88
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue