Skip to content

Commit 7fcd0a8

Browse files
docs: clarify nolintlint.allow-unused (#2319)
1 parent 1012c10 commit 7fcd0a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.golangci.example.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ linters-settings:
518518
block-size: 1
519519

520520
nolintlint:
521-
# Enable to ensure that nolint directives are all used. Default is true.
521+
# Disable to ensure that all nolint directives actually have an effect. Default is true.
522522
allow-unused: false
523523
# Disable to ensure that nolint directives don't have a leading space. Default is true.
524524
allow-leading-space: true

0 commit comments

Comments
 (0)