-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
96 lines (96 loc) · 1.65 KB
/
.golangci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
linters:
disable:
- gosimple
- ineffassign
- typecheck
enable:
- errcheck
- govet
- staticcheck
- unused
- asasalint
- errname
- exportloopref
- forcetypeassert
- gocheckcompilerdirectives
- misspell
- gofumpt
- makezero
- musttag
- nilnil
- predeclared
- sqlclosecheck
- unconvert
- unparam
- wrapcheck
- errorlint
- durationcheck
linters-settings:
errcheck:
check-type-assertions: true
exclude-functions:
- github.com/horockey/go-toolbox/options.ApplyOptions
govet:
check-shadowing: false
tagalign:
align: true
misspell:
locale: US
makezero:
always: true
errorlint:
errorf: true
errorf-multi: true
asserts: false
comparison: true
staticcheck:
checks:
- "all"
- "-SA1003"
- "-SA1005"
- "-SA1007"
- "-SA1010"
- "-SA1011"
- "-SA1013"
- "-SA1016"
- "-SA1018"
- "-SA1020"
- "-SA1024"
- "-SA1026"
- "-SA1029"
- "-SA1030"
- "-SA4013"
- "-SA4014"
- "-SA4015"
- "-SA4016"
- "-SA4017"
- "-SA4018"
- "-SA4019"
- "-SA4021"
- "-SA4022"
- "-SA4023"
- "-SA4025"
- "-SA4026"
- "-SA4028"
- "-SA4029"
- "-SA4031"
- "-SA5002"
- "-SA5005"
- "-SA5008"
- "-SA5010"
- "-SA5012"
- "-SA6001"
- "-SA6003"
- "-SA6005"
- "-SA9001"
- "-SA9002"
- "-SA9003"
- "-SA9006"
- "-SA9007"
- "-S1006"
- "-S1012"
- "-S1016"
- "-ST1"
- "-QF1"
severity:
default-severity: error