We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1123d06 commit 9c35bedCopy full SHA for 9c35bed
.golangci.yaml
@@ -2,6 +2,14 @@
2
# Over time we should try tightening some of these.
3
4
linters-settings:
5
+ exhaustruct:
6
+ exclude:
7
+ - 'clibase\.Cmd'
8
+ - 'clibase\.Option'
9
+ - 'codersdk\.Response'
10
+ - 'codersdk\.\w+Request'
11
+ - 'http\.Client'
12
+ - "TypescriptType"
13
gocognit:
14
min-complexity: 46 # Min code complexity (def 30).
15
@@ -196,6 +204,9 @@ issues:
196
204
- errcheck
197
205
- forcetypeassert
198
206
- exhaustruct # This is unhelpful in tests.
207
+ - path: scripts/*
208
+ linters:
209
+ - exhaustruct
199
210
200
211
fix: true
201
212
max-issues-per-linter: 0
0 commit comments