Skip to content

Commit

Permalink
docs: updates usage settings for go-mnd (#2476)
Browse files Browse the repository at this point in the history
  • Loading branch information
butuzov authored Jan 14, 2022
1 parent 8cdecc9 commit 9dacd61
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .golangci.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,17 @@ linters-settings:
settings:
mnd:
# the list of enabled checks, see https://github.com/tommy-muehle/go-mnd/#checks for description.
checks: argument,case,condition,operation,return,assign
# ignored-numbers: 1000
# ignored-files: magic_.*.go
# ignored-functions: math.*
checks:
- argument
- case
- condition
- operation
- return
- assign
# Next settings are expecting comma separated string values
ignored-numbers: "0666,0755,42" # values always ignored: 1, 1.0, 0 and 0.0
ignored-files: "magic1_.*.go" # values always ignored:_test.go
ignored-functions: "math.*,http.StatusText,make" # values always ignored: time.Time

gomoddirectives:
# Allow local `replace` directives. Default is false.
Expand Down

0 comments on commit 9dacd61

Please sign in to comment.