We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f1de50 commit d20d704Copy full SHA for d20d704
.golangci.yml
@@ -1,15 +1,37 @@
1
+version: "2"
2
linters:
- enable-all: true
3
disable:
4
+ - cyclop
5
+ - depguard
6
- dupl
- - wrapcheck
7
+ - exhaustruct
8
- forbidigo
9
- funlen
- - gocognit
- - varnamelen
10
- - cyclop
11
- gochecknoglobals
12
- - exhaustivestruct
13
- - exhaustruct
+ - gocognit
14
- lll
15
- - depguard
+ - varnamelen
+ - wrapcheck
+ exclusions:
16
+ generated: lax
17
+ presets:
18
+ - comments
19
+ - common-false-positives
20
+ - legacy
21
+ - std-error-handling
22
+ paths:
23
+ - third_party$
24
+ - builtin$
25
+ - examples$
26
+formatters:
27
+ enable:
28
+ - gci
29
+ - gofmt
30
+ - gofumpt
31
+ - goimports
32
33
34
35
36
37
0 commit comments