We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9acdd6 commit efd7de4Copy full SHA for efd7de4
1 file changed
.golangci.yaml
@@ -1,19 +1,32 @@
1
+version: "2"
2
run:
- timeout: 5m
3
-
4
build-tags:
5
- e2e
6
- preupgrade
7
- postupgrade
8
- postdowngrade
9
10
-issues:
11
- exclude-dirs:
12
- - pkg/client # Excludes generated client
13
14
linters:
15
enable:
16
- - unconvert
17
- prealloc
+ - unconvert
18
disable:
19
- errcheck
+ exclusions:
+ generated: lax
+ presets:
+ - comments
+ - common-false-positives
+ - legacy
20
+ - std-error-handling
21
+ paths:
22
+ - pkg/client
23
+ - third_party$
24
+ - builtin$
25
+ - examples$
26
+formatters:
27
28
29
30
31
32
0 commit comments