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 0a402a6 commit 798fb57Copy full SHA for 798fb57
.golangci.yml
@@ -1,12 +1,28 @@
1
----
+version: "2"
2
linters:
3
enable:
4
- misspell
5
- revive
6
- sloglint
7
-
8
-issues:
9
- exclude-rules:
10
- - path: _test.go
11
- linters:
12
- - errcheck
+ exclusions:
+ generated: lax
+ presets:
+ - comments
+ - common-false-positives
+ - legacy
13
+ - std-error-handling
14
+ rules:
15
+ - linters:
16
+ - errcheck
17
+ path: _test.go
18
+ paths:
19
+ - third_party$
20
+ - builtin$
21
+ - examples$
22
+formatters:
23
24
25
26
27
28
0 commit comments