Skip to content

Commit

Permalink
chore: disable goconst linter (#662)
Browse files Browse the repository at this point in the history
We recently discussed this and agreed that not everything should be a
constant - notably this linter seems to have changed in v1.55 so it
finds a few more strings it thinks should be constants
  • Loading branch information
G-Rath authored Nov 20, 2023
1 parent 9e18c1f commit e62c1b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ linters:
- testpackage # will re-add later (another-rex)
- goerr113 # will re-add later (another-rex)
- nonamedreturns # disagree with, for now (another-rex)
- goconst # not everything should be a constant
presets:
- bugs
- comment
Expand Down

0 comments on commit e62c1b0

Please sign in to comment.