[#1023] .golangci.yml: add unused
linter
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
5a03a14940
commit
312071b9bd
1 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@ linters:
|
||||||
- gofmt
|
- gofmt
|
||||||
- whitespace
|
- whitespace
|
||||||
- goimports
|
- goimports
|
||||||
|
- unused
|
||||||
disable-all: true
|
disable-all: true
|
||||||
fast: false
|
fast: false
|
||||||
|
|
||||||
|
@ -51,4 +52,4 @@ issues:
|
||||||
exclude-rules:
|
exclude-rules:
|
||||||
- path: policy/grammar\.go # ignore structtag issues there
|
- path: policy/grammar\.go # ignore structtag issues there
|
||||||
linters:
|
linters:
|
||||||
- govet
|
- govet
|
||||||
|
|
Loading…
Reference in a new issue