Skip to content

Commit

Permalink
docs: clarify mnd ignore usage examples to be regexps (#3805)
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Apr 26, 2023
1 parent 66ac4b5 commit 6a83dd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .golangci.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6a83dd7

Please sign in to comment.