File tree Expand file tree Collapse file tree 1 file changed +13
-19
lines changed
Expand file tree Collapse file tree 1 file changed +13
-19
lines changed Original file line number Diff line number Diff line change @@ -35,22 +35,16 @@ linters:
3535 - linters :
3636 - revive
3737 text : " should have a package comment"
38-
39- linters-settings :
40- errcheck :
41- # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`.
42- check-blank : true
43- gosimple :
44- # Select the Go version to target.
45- go : " 1.17"
46- # https://staticcheck.io/docs/options#checks
47- checks : ["all"]
48- govet :
49- check-shadowing : true
50- staticcheck :
51- go : " 1.17"
52- # https://staticcheck.io/docs/options#checks
53- checks : ["all"]
54- decorder :
55- disable-dec-order-check : false
56- disable-init-func-first-check : false
38+ settings :
39+ errcheck :
40+ # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`.
41+ check-blank : true
42+ govet :
43+ enable :
44+ - shadow
45+ staticcheck :
46+ # https://staticcheck.io/docs/options#checks
47+ checks : ["all"]
48+ decorder :
49+ disable-dec-order-check : false
50+ disable-init-func-first-check : false
You can’t perform that action at this time.
0 commit comments