From 6a83dd772559545413cc4efbb27d9f21784e8757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 26 Apr 2023 18:22:31 +0300 Subject: [PATCH] docs: clarify mnd ignore usage examples to be regexps (#3805) --- .golangci.reference.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.golangci.reference.yml b/.golangci.reference.yml index 37324b856153..1864e5b11388 100644 --- a/.golangci.reference.yml +++ b/.golangci.reference.yml @@ -702,15 +702,15 @@ linters-settings: # Values always ignored: `.+_test.go` # Default: [] ignored-files: - - 'magic1_.*.go' + - 'magic1_.+\.go$' # List of function patterns to exclude from analysis. # Following functions are always ignored: `time.Date`, # `strconv.FormatInt`, `strconv.FormatUint`, `strconv.FormatFloat`, # `strconv.ParseInt`, `strconv.ParseUint`, `strconv.ParseFloat`. # Default: [] ignored-functions: - - 'math.*' - - 'http.StatusText' + - '^math\.' + - '^http\.StatusText$' gomoddirectives: # Allow local `replace` directives.