From a2ea2d38eacf8b20fcee4e5af5b5b86ad9fa5bc3 Mon Sep 17 00:00:00 2001 From: Aleks Lozovyuk Date: Fri, 3 Jan 2025 17:44:07 +0200 Subject: [PATCH] Fix some linter varning (depricated options) --- .golangci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 6d34726..f347c05 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -56,7 +56,7 @@ run: output: # colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions # default is "colored-line-number" - format: colored-line-number + formats: colored-line-number # print lines of code with issue, default is true print-issued-lines: true @@ -64,9 +64,6 @@ output: # print linter name in the end of issue text, default is true print-linter-name: true - # make issues output unique by line, default is true - uniq-by-line: true - # add a prefix to the output file references; default is no prefix path-prefix: "" @@ -295,9 +292,6 @@ linters-settings: checks: [ "all" ] govet: - # report about shadowed variables - check-shadowing: false - # settings per analyzer settings: printf: # analyzer name, run `go tool vet help` to see all analyzers @@ -596,6 +590,9 @@ issues: # Fix found issues (if it's supported by the linter) fix: true + + # make issues output unique by line, default is true + uniq-by-line: true severity: # Default value is empty string.