From 7fcd0a8113035d110c4c2111f452993a2fe2d099 Mon Sep 17 00:00:00 2001 From: Kevin Gillette Date: Mon, 1 Nov 2021 19:07:10 -0600 Subject: [PATCH] docs: clarify nolintlint.allow-unused (#2319) --- .golangci.example.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.example.yml b/.golangci.example.yml index c7023375..a8187e01 100644 --- a/.golangci.example.yml +++ b/.golangci.example.yml @@ -518,7 +518,7 @@ linters-settings: block-size: 1 nolintlint: - # Enable to ensure that nolint directives are all used. Default is true. + # Disable to ensure that all nolint directives actually have an effect. Default is true. allow-unused: false # Disable to ensure that nolint directives don't have a leading space. Default is true. allow-leading-space: true