File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,14 @@ linters-settings:
203
203
- G601
204
204
205
205
issues :
206
+ exclude-dirs :
207
+ - coderd/database/dbmem
208
+ - node_modules
209
+ - .git
210
+
211
+ skip-files :
212
+ - scripts/rules.go
213
+
206
214
# Rules listed here: https://github.com/securego/gosec#available-rules
207
215
exclude-rules :
208
216
- path : _test\.go
@@ -211,25 +219,17 @@ issues:
211
219
- errcheck
212
220
- forcetypeassert
213
221
- exhaustruct # This is unhelpful in tests.
214
- - revive:unused-parameter # TODO(JonA): disabling in order to update golangci-lint
222
+ - revive # TODO(JonA): disabling in order to update golangci-lint
215
223
- gosec # TODO(JonA): disabling in order to update golangci-lint
216
224
- path : scripts/*
217
225
linters :
218
226
- exhaustruct
219
- - path : coderd/database/dbmem/* # dbmem is being deprecated and removed.
220
- linters :
221
- - ALL
222
227
223
228
fix : true
224
229
max-issues-per-linter : 0
225
230
max-same-issues : 0
226
231
227
232
run :
228
- skip-dirs :
229
- - node_modules
230
- - .git
231
- skip-files :
232
- - scripts/rules.go
233
233
timeout : 10m
234
234
235
235
# Over time, add more and more linters from
You can’t perform that action at this time.
0 commit comments