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 b1fa930 commit 9db3b41Copy full SHA for 9db3b41
.golangci.yaml
@@ -1,21 +1,20 @@
1
+version: "2"
2
linters:
3
enable:
4
- cyclop
5
- dupl
6
- durationcheck
7
- errorlint
8
- exhaustive
- - exportloopref
9
- forcetypeassert
10
- gocognit
11
- goconst
12
- gocritic
13
- gocyclo
14
- - gofmt
15
- - mnd
16
- gosec
17
- lll
18
- makezero
+ - mnd
19
- nakedret
20
- nestif
21
- nilerr
@@ -25,3 +24,23 @@ linters:
25
24
- unparam
26
- wastedassign
27
- wrapcheck
+ exclusions:
28
+ generated: lax
29
+ presets:
30
+ - comments
31
+ - common-false-positives
32
+ - legacy
33
+ - std-error-handling
34
+ paths:
35
+ - third_party$
36
+ - builtin$
37
+ - examples$
38
+formatters:
39
+ enable:
40
+ - gofmt
41
42
43
44
45
46
0 commit comments