Skip to content

Commit

Permalink
linter: Update config
Browse files Browse the repository at this point in the history
Option `output.format` is deprecated for the latest linter version.

Signed-off-by: Evgenii Baidakov <[email protected]>
  • Loading branch information
smallhive committed Jul 23, 2024
1 parent 0f4ca1d commit 7e2bcbd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ run:
# output configuration options
output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
format: tab
formats:
- format: tab

# all available settings of specific linters
linters-settings:
Expand All @@ -21,9 +22,6 @@ linters-settings:
# 'default' case is present, even if all enum members aren't listed in the
# switch
default-signifies-exhaustive: true
govet:
# report about shadowed variables
check-shadowing: false

linters:
enable:
Expand Down

0 comments on commit 7e2bcbd

Please sign in to comment.