golangci-lint: remove exclusions for ST1020, ST1022
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
0ffb72419a
commit
d14b7e8d09
@ -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 function’s name
|
||||
- -ST1022 # The documentation of an exported variable or constant should start with variable’s 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user