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 e4c139e commit e9aaa6fCopy full SHA for e9aaa6f
2 files changed
.golangci.bck.yaml
@@ -0,0 +1,6 @@
1
+run:
2
+ timeout: 3m
3
+
4
+linters:
5
+ enable:
6
+ - gofmt
.golangci.yaml
@@ -1,6 +1,22 @@
-run:
- timeout: 3m
-
+version: "2"
linters:
+ exclusions:
+ generated: lax
+ presets:
+ - comments
7
+ - common-false-positives
8
+ - legacy
9
+ - std-error-handling
10
+ paths:
11
+ - third_party$
12
+ - builtin$
13
+ - examples$
14
+formatters:
15
enable:
16
- gofmt
17
18
19
20
21
22
0 commit comments