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

Lines changed: 4 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy