Skip to content

Commit

Permalink
Fix some linter varning (depricated options)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksraiden committed Jan 3, 2025
1 parent 493d119 commit a2ea2d3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,14 @@ 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

# 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: ""

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit a2ea2d3

Please sign in to comment.