We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
golangci-lint migrate
1 parent 816b083 commit 87f376dCopy full SHA for 87f376d
1 file changed
.golangci.yml
@@ -1,8 +1,23 @@
1
+version: "2"
2
linters:
- disable-all: true
3
+ default: none
4
enable:
5
- nosprintfhostport
- presets: []
6
- fast: true
7
-run:
8
- timeout: 5m
+ exclusions:
+ generated: lax
+ presets:
9
+ - comments
10
+ - common-false-positives
11
+ - legacy
12
+ - std-error-handling
13
+ paths:
14
+ - third_party$
15
+ - builtin$
16
+ - examples$
17
+formatters:
18
19
20
21
22
23
0 commit comments