golangci-lint: remove exclusions for ST1020, ST1022

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-05-19 15:33:44 +02:00
parent 0ffb72419a
commit d14b7e8d09
+6 -2
View File
@@ -133,8 +133,6 @@ linters:
checks:
- all
- -QF1008 # Omit embedded fields from selector expression
- -ST1020 # The documentation of an exported function should start with the functions name
- -ST1022 # The documentation of an exported variable or constant should start with variables name
revive:
rules:
@@ -207,6 +205,12 @@ linters:
linters:
- govet
# Ignore for cli/command/formatter/tabwriter, which is forked from go stdlib, so we want to align with it.
- text: '^(ST1020|ST1022): comment on exported'
path: "cli/command/formatter/tabwriter"
linters:
- staticcheck
# Log a warning if an exclusion rule is unused.
# Default: false
warn-unused: true