forked from TrueCloudLab/frostfs-node
[#1023] .golangci.yml: add `unused` linter
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>support/v0.27
parent
5a03a14940
commit
312071b9bd
|
@ -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 New Issue