Skip to content

Commit c2c8ff2

Browse files
committed
move to allowlist instead
1 parent 9c35bed commit c2c8ff2

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.golangci.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@
33

44
linters-settings:
55
exhaustruct:
6-
exclude:
7-
- 'clibase\.Cmd'
8-
- 'clibase\.Option'
9-
- 'codersdk\.Response'
10-
- 'codersdk\.\w+Request'
11-
- 'http\.Client'
12-
- "TypescriptType"
6+
include:
7+
# Gradually extend to cover more of the codebase.
8+
- 'httpmw\.\w+'
139
gocognit:
1410
min-complexity: 46 # Min code complexity (def 30).
1511

0 commit comments

Comments
 (0)