From bc2c107eb5ca81333cf5f5d549143aa7f7e8987f Mon Sep 17 00:00:00 2001 From: Denis Rechkunov Date: Thu, 17 Feb 2022 11:15:13 +0100 Subject: [PATCH] Make the `forbidigo` comment clearer --- .golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 3a2893afc9d..1e5fa003bd6 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -22,7 +22,7 @@ linters: - errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. - goconst # finds repeated strings that could be replaced by a constant - dupl # tool for code clone detection - - forbidigo # forbids identifiers by reg exps + - forbidigo # forbids identifiers matched by reg exps - gomoddirectives # manage the use of 'replace', 'retract', and 'excludes' directives in go.mod. - gosimple # linter for Go source code that specializes in simplifying a code - misspell # finds commonly misspelled English words in comments