From c0364d4b1f18a066d18aa5ab5339e29032c931f9 Mon Sep 17 00:00:00 2001 From: Oleg Butuzov Date: Fri, 14 Jan 2022 15:29:29 +0200 Subject: [PATCH] docs: updates usage settings for `go-mnd` (#2476) --- .golangci.example.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.golangci.example.yml b/.golangci.example.yml index f8fef409eeab..8885df89f991 100644 --- a/.golangci.example.yml +++ b/.golangci.example.yml @@ -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.