Skip to content

Commit 6e4a6c4

Browse files
extemporalgenomeSeigeC
authored andcommitted
docs: clarify nolintlint.allow-unused (golangci#2319)
1 parent 1582af7 commit 6e4a6c4

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
@@ -523,7 +523,7 @@ linters-settings:
523523
block-size: 1
524524

525525
nolintlint:
526-
# Enable to ensure that nolint directives are all used. Default is true.
526+
# Disable to ensure that all nolint directives actually have an effect. Default is true.
527527
allow-unused: false
528528
# Disable to ensure that nolint directives don't have a leading space. Default is true.
529529
allow-leading-space: true

0 commit comments

Comments
 (0)