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 5
5
[linters ]
6
6
disable-all = true
7
7
enable = [
8
+ " bodyclose" ,
8
9
" deadcode" ,
9
10
" depguard" ,
10
11
" errcheck" ,
12
+ " exportloopref" ,
11
13
" goconst" ,
12
14
" gocyclo" ,
13
15
" gocritic" ,
14
- " gofmt " ,
16
+ " gofumpt " ,
15
17
" golint" ,
16
18
" gosec" ,
17
19
" gosimple" ,
20
+ " govet" ,
18
21
" ineffassign" ,
19
22
" maligned" ,
20
23
" misspell" ,
21
24
" nakedret" ,
25
+ " noctx" ,
26
+ " nolintlint" ,
27
+ " sqlclosecheck" ,
22
28
" staticcheck" ,
23
29
" structcheck" ,
30
+ " stylecheck" ,
24
31
" typecheck" ,
25
32
" unconvert" ,
26
33
" unparam" ,
34
+ " unused" ,
27
35
" varcheck" ,
28
- " vet" ,
29
36
" vetshadow" ,
30
37
]
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