Skip to content

Commit

Permalink
golangci: fix deprecated configs
Browse files Browse the repository at this point in the history
Follow nspcc-dev/neo-go#3511, use newer syntax and
defaults.

Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Aug 9, 2024
1 parent 90b1388 commit 1b94e64
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 1b94e64

Please sign in to comment.