From 312071b9bdf889c6af598ff0394af310d4602bbc Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Sat, 29 Jan 2022 16:26:07 +0300 Subject: [PATCH] [#1023] .golangci.yml: add `unused` linter Signed-off-by: Evgenii Stratonikov --- .golangci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index f55f33cc..6f89a624 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -43,6 +43,7 @@ linters: - gofmt - whitespace - goimports + - unused disable-all: true fast: false @@ -51,4 +52,4 @@ issues: exclude-rules: - path: policy/grammar\.go # ignore structtag issues there linters: - - govet \ No newline at end of file + - govet