We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b3f3d8 commit 55ca154Copy full SHA for 55ca154
1 file changed
.golangci.yml
@@ -1,9 +1,5 @@
1
-version: 2
2
-run:
3
- timeout: 5m
+version: "2"
4
linters:
5
- disable:
6
- - errcheck
7
enable:
8
- bodyclose
9
- containedctx
@@ -12,7 +8,6 @@ linters:
12
- durationcheck
13
- errname
14
10
- errorlint
15
- - gofmt
16
11
- misspell
17
- nilerr
18
- nilnil
@@ -24,6 +19,27 @@ linters:
24
19
- sqlclosecheck
25
20
- unconvert
26
21
- unparam
27
- - unused
28
22
- wastedassign
29
23
- whitespace
+ disable:
+ - errcheck
+ exclusions:
+ generated: lax
+ presets:
+ - comments
30
+ - common-false-positives
31
+ - legacy
32
+ - std-error-handling
33
+ paths:
34
+ - third_party$
35
+ - builtin$
36
+ - examples$
37
+formatters:
38
+ enable:
39
+ - gofmt
40
41
42
43
44
45
0 commit comments