Skip to content

Commit

Permalink
*: disable intrange linter (#3282)
Browse files Browse the repository at this point in the history
Go v1.23 allows to range over int slices without calling `len` first.

Since it's a low-importance change, we can disable intrange linter to avoid being blocked by it during pre-commit.

category: misc
ticket: none
  • Loading branch information
gsora committed Sep 18, 2024
1 parent c835711 commit a53651c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ linters:
enable-all: true
disable:
# Keep disabled
- intrange
- containedctx
- contextcheck
- cyclop
Expand Down

0 comments on commit a53651c

Please sign in to comment.