We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce88b4 commit 2d2a48aCopy full SHA for 2d2a48a
.golangci.bck.yaml
@@ -0,0 +1,11 @@
1
+run:
2
+ timeout: 10m
3
+linters:
4
+ enable:
5
+ - errcheck
6
+ - gosimple
7
+ - govet
8
+ - ineffassign
9
+ - staticcheck
10
+ - typecheck
11
+ - unused
.golangci.yaml
@@ -1,11 +1,20 @@
-run:
- timeout: 10m
+version: "2"
linters:
- enable:
- - errcheck
- - gosimple
- - govet
- - ineffassign
- - staticcheck
- - typecheck
- - unused
+ exclusions:
+ generated: lax
+ presets:
+ - comments
+ - common-false-positives
+ - legacy
+ - std-error-handling
+ paths:
+ - third_party$
12
+ - builtin$
13
+ - examples$
14
+formatters:
15
16
17
18
19
20
0 commit comments