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
|
disable-all: true
|
||||||
enable:
|
enable:
|
||||||
- deadcode
|
- deadcode
|
||||||
|
- goconst
|
||||||
- goimports
|
- goimports
|
||||||
- gosimple
|
- gosimple
|
||||||
- govet
|
- govet
|
||||||
|
- ineffassign
|
||||||
- misspell
|
- misspell
|
||||||
# - staticcheck
|
# - staticcheck
|
||||||
- unconvert
|
- unconvert
|
||||||
|
|
@ -38,3 +40,6 @@ issues:
|
||||||
- path: p2p/discv5/
|
- path: p2p/discv5/
|
||||||
linters:
|
linters:
|
||||||
- deadcode
|
- deadcode
|
||||||
|
- path: core/vm/instructions_test.go
|
||||||
|
linters:
|
||||||
|
- goconst
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue