We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb9de92 commit 50da0a3Copy full SHA for 50da0a3
1 file changed
.golangci.yml
@@ -0,0 +1,44 @@
1
+version: "2"
2
+run:
3
+ tests: true
4
+linters:
5
+ enable:
6
+ - asciicheck
7
+ - bidichk
8
+ - gocheckcompilerdirectives
9
+ - misspell
10
+ - rowserrcheck
11
+ - sqlclosecheck
12
+ - forbidigo
13
+ disable:
14
+ - gochecknoglobals
15
+ - prealloc
16
+ - wsl
17
+ exclusions:
18
+ generated: lax
19
+ presets:
20
+ - comments
21
+ - common-false-positives
22
+ - legacy
23
+ - std-error-handling
24
+ paths:
25
+ - third_party$
26
+ - builtin$
27
+ - examples$
28
+ rules:
29
+ - path: cmd
30
+ linters:
31
32
+ settings:
33
+ forbidigo:
34
+ forbid:
35
+ - pattern: ^(fmt\.Print(|f|ln))$
36
+formatters:
37
38
+ - gofmt
39
40
41
42
43
44
0 commit comments