Skip to content

Commit

Permalink
lint: Raise max issues output (#2067)
Browse files Browse the repository at this point in the history
By default it stops after 3 issues of a given type, which gives false
impression and also unhelpful if you fixing it with aider.

1000 is almost like unlimited but not unlimited in case there is a bug
in a linter.
  • Loading branch information
denik authored Jan 2, 2025
1 parent 890c57e commit cae2169
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ linters-settings:
- require-error
issues:
exclude-dirs-use-default: false # recommended by docs https://golangci-lint.run/usage/false-positives/
max-issues-per-linter: 1000
max-same-issues: 1000

0 comments on commit cae2169

Please sign in to comment.