File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 11version : " 2"
2-
2+ run :
3+ modules-download-mode : readonly
34linters :
45 default : none
56 enable :
@@ -39,7 +40,11 @@ linters:
3940 exhaustive :
4041 default-signifies-exhaustive : true
4142 gocritic :
43+ enabled-checks :
44+ - ruleguard
4245 settings :
46+ ruleguard :
47+ rules : ${base-path}/tools/rules.go
4348 underef :
4449 skipRecvDeref : false
4550 govet :
@@ -96,20 +101,22 @@ linters:
96101 - linters :
97102 - godot
98103 source : (TODO)
104+ - path : (.+)\.go$
105+ text : third_party$
106+ - path : (.+)\.go$
107+ text : builtin$
108+ - path : (.+)\.go$
109+ text : examples$
99110 paths :
100111 - third_party$
101112 - builtin$
102113 - examples$
103-
104114issues :
105115 max-same-issues : 50
106-
107116formatters :
108- enable :
109- - goimports
110117 exclusions :
111118 generated : lax
112119 paths :
113120 - third_party$
114121 - builtin$
115- - examples$
122+ - examples$
You can’t perform that action at this time.
0 commit comments