Skip to content

Commit 226e838

Browse files
committed
update golangci rules
1 parent 77b2908 commit 226e838

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,17 @@ issues:
211211
- errcheck
212212
- forcetypeassert
213213
- exhaustruct # This is unhelpful in tests.
214+
- unused-parameter # TODO(JonA): disabling in order to update golangci-lint
215+
- gosec # TODO(JonA): disabling in order to update golangci-lint
214216
- path: scripts/*
215217
linters:
216218
- exhaustruct
217219

218220
fix: true
219221
max-issues-per-linter: 0
220222
max-same-issues: 0
223+
exclude-rules:
224+
- coderd/database/dbmem # dbmem is being deprecated and removed.
221225

222226
run:
223227
skip-dirs:

0 commit comments

Comments
 (0)