Skip to content

Commit

Permalink
skip gocritic lint for ifElseChain
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimutant committed Dec 9, 2024
1 parent 6881987 commit 68acf84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ linters-settings:
# "rewrap.wrappingColumn": 200 ... requires the rewrap plugin
# "editor.rulers": [200]
line-length: 500
gocritic:
disable:
- ifElseChain

linters:
enable-all: true
Expand Down Expand Up @@ -53,7 +56,6 @@ linters:
- unused
- staticcheck
- deadcode
- ifElseChain

issues:
exclude:
Expand Down

0 comments on commit 68acf84

Please sign in to comment.