We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fec9fc3 commit 5751a5fCopy full SHA for 5751a5f
1 file changed
.golangci.yaml
@@ -1,23 +1,37 @@
1
# yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json
2
-issues:
3
- exclude-dirs:
4
- - hack
5
-
6
-run:
7
- timeout: 2m
8
+version: "2"
9
linters:
10
- disable:
11
- - errcheck
12
13
enable:
14
- goconst
15
- gocritic
16
- - goimports
17
- govet
18
- - revive
19
- gosec
20
- misspell
+ - revive
+ - staticcheck
21
- unconvert
22
- unparam
23
- - stylecheck
+ disable:
+ - errcheck
+ exclusions:
+ generated: lax
+ presets:
+ - comments
+ - common-false-positives
+ - legacy
+ - std-error-handling
+ paths:
24
+ - hack
25
+ - third_party$
26
+ - builtin$
27
+ - examples$
28
+formatters:
29
+ enable:
30
+ - goimports
31
32
33
34
35
36
37
0 commit comments