Skip to content

Commit 40f945e

Browse files
committed
Report _all_ lint failures at once
Otherwise, a CI run reports 3 issues, we fix them, and the CI run reports _next_ 3 issues. That's a waste of time all around, and it does not allow judging the scale of the issue. Signed-off-by: Miloslav Trmač <[email protected]>
1 parent 81e7229 commit 40f945e

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

common/.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,7 @@ linters:
8787
- contextcheck
8888
path: libimage
8989
text: LookupImage
90+
91+
issues:
92+
max-issues-per-linter: 0
93+
max-same-issues: 0

image/.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ linters:
1616
- comments
1717
- common-false-positives
1818
- std-error-handling
19+
20+
issues:
21+
max-issues-per-linter: 0
22+
max-same-issues: 0

storage/.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ linters:
1818
- all
1919
- -ST1003 # https://staticcheck.dev/docs/checks/#ST1003 Poorly chosen identifier.
2020
- -QF1008 # https://staticcheck.dev/docs/checks/#QF1008 Omit embedded fields from selector expression.
21+
22+
issues:
23+
max-issues-per-linter: 0
24+
max-same-issues: 0

0 commit comments

Comments
 (0)