docs: updates usage settings for go-mnd
(#2476)
This commit is contained in:
parent
8cdecc968b
commit
9dacd6170c
@ -414,10 +414,17 @@ linters-settings:
|
|||||||
settings:
|
settings:
|
||||||
mnd:
|
mnd:
|
||||||
# the list of enabled checks, see https://github.com/tommy-muehle/go-mnd/#checks for description.
|
# the list of enabled checks, see https://github.com/tommy-muehle/go-mnd/#checks for description.
|
||||||
checks: argument,case,condition,operation,return,assign
|
checks:
|
||||||
# ignored-numbers: 1000
|
- argument
|
||||||
# ignored-files: magic_.*.go
|
- case
|
||||||
# ignored-functions: math.*
|
- 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:
|
gomoddirectives:
|
||||||
# Allow local `replace` directives. Default is false.
|
# Allow local `replace` directives. Default is false.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user