diff --git a/docs/src/docs/usage/false-positives.mdx b/docs/src/docs/usage/false-positives.mdx index 3a489d7560ab..bf542a9a406f 100644 --- a/docs/src/docs/usage/false-positives.mdx +++ b/docs/src/docs/usage/false-positives.mdx @@ -122,7 +122,7 @@ var bad_name int //nolint:all To exclude issues from specific linters only: ```go -var bad_name int //nolint:golint,unused +var bad_name int //nolint:wsl,unused ``` To exclude issues for the block of code use this directive on the beginning of a line: diff --git a/pkg/result/processors/nolint_filter_test.go b/pkg/result/processors/nolint_filter_test.go index 852602a86ad2..79dc6c1ce4bb 100644 --- a/pkg/result/processors/nolint_filter_test.go +++ b/pkg/result/processors/nolint_filter_test.go @@ -63,7 +63,7 @@ func TestTestNolintFilter_Process(t *testing.T) { processAssertEmpty(t, p, newNolintFileIssue(6, "any")) processAssertEmpty(t, p, newNolintFileIssue(7, "any")) - processAssertSame(t, p, newNolintFileIssue(1, "golint")) // no directive + processAssertSame(t, p, newNolintFileIssue(1, "wsl")) // no directive // test preceding comments processAssertEmpty(t, p, newNolintFileIssue(10, "any")) // preceding comment for var