Skip to content

Commit 62c11a9

Browse files
committed
misc: disable G601 lint rule
This rule is no longer relevant to Go 1.22+, however golangci-lint is still using an older version of gosec which does not yet include the changes to disable this warning on this version of Go. The changes to update gosec have been merged, but are not yet included in the latest version of golangci-lint (to the best of my knowledge, given the linter is still complaining about it, and the milestone for that PR is 'next' at the time of writing this): golangci/golangci-lint#4724
1 parent 6338ed9 commit 62c11a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ linters-settings:
6161
case:
6262
rules:
6363
json: snake
64+
gosec:
65+
excludes:
66+
- G601

0 commit comments

Comments
 (0)