File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 55[linters ]
66 disable-all = true
77 enable = [
8+ " bodyclose" ,
89 " deadcode" ,
910 " depguard" ,
1011 " errcheck" ,
12+ " exportloopref" ,
1113 " goconst" ,
1214 " gocyclo" ,
1315 " gocritic" ,
14- " gofmt " ,
16+ " gofumpt " ,
1517 " golint" ,
1618 " gosec" ,
1719 " gosimple" ,
20+ " govet" ,
1821 " ineffassign" ,
1922 " maligned" ,
2023 " misspell" ,
2124 " nakedret" ,
25+ " noctx" ,
26+ " nolintlint" ,
27+ " sqlclosecheck" ,
2228 " staticcheck" ,
2329 " structcheck" ,
30+ " stylecheck" ,
2431 " typecheck" ,
2532 " unconvert" ,
2633 " unparam" ,
34+ " unused" ,
2735 " varcheck" ,
28- " vet" ,
2936 " vetshadow" ,
3037 ]
38+
39+ [linters-settings .gofumpt ]
40+ extra-rules = true
41+
42+ [issues ]
43+ exclude-use-default = false
44+
45+ [[issues .exclude-rules ]]
46+ linters = [
47+ " gosec"
48+ ]
49+
50+ # G404 - "Use of weak random number generator (math/rand instead of crypto/rand)"
51+ # We only use this in tests.
52+ text = " G404"
You can’t perform that action at this time.
0 commit comments