File tree 1 file changed +45
-45
lines changed
1 file changed +45
-45
lines changed Original file line number Diff line number Diff line change 11
11
#
12
12
# See the file `.golangci.reference.yml` to have a list of all available configuration options.
13
13
14
+ linters :
15
+ disable-all : true
16
+ # This list of linters is not a recommendation (same thing for all this configuration file).
17
+ # We intentionally use a limited set of linters.
18
+ # See the comment on top of this file.
19
+ enable :
20
+ - bodyclose
21
+ - copyloopvar
22
+ - depguard
23
+ - dogsled
24
+ - dupl
25
+ - errcheck
26
+ - errorlint
27
+ - funlen
28
+ - gocheckcompilerdirectives
29
+ - gochecknoinits
30
+ - gochecknoinits
31
+ - goconst
32
+ - gocritic
33
+ - gocyclo
34
+ - godox
35
+ - gofmt
36
+ - goimports
37
+ - mnd
38
+ - goprintffuncname
39
+ - gosec
40
+ - gosimple
41
+ - govet
42
+ - intrange
43
+ - ineffassign
44
+ - lll
45
+ - misspell
46
+ - nakedret
47
+ - noctx
48
+ - nolintlint
49
+ - revive
50
+ - staticcheck
51
+ - stylecheck
52
+ - testifylint
53
+ - unconvert
54
+ - unparam
55
+ - unused
56
+ - whitespace
57
+
58
+
14
59
linters-settings :
15
60
depguard :
16
61
rules :
@@ -102,51 +147,6 @@ linters-settings:
102
147
- name : unused-parameter
103
148
- name : unused-receiver
104
149
105
- linters :
106
- disable-all : true
107
- enable :
108
- - bodyclose
109
- - copyloopvar
110
- - depguard
111
- - dogsled
112
- - dupl
113
- - errcheck
114
- - errorlint
115
- - funlen
116
- - gocheckcompilerdirectives
117
- - gochecknoinits
118
- - gochecknoinits
119
- - goconst
120
- - gocritic
121
- - gocyclo
122
- - godox
123
- - gofmt
124
- - goimports
125
- - mnd
126
- - goprintffuncname
127
- - gosec
128
- - gosimple
129
- - govet
130
- - intrange
131
- - ineffassign
132
- - lll
133
- - misspell
134
- - nakedret
135
- - noctx
136
- - nolintlint
137
- - revive
138
- - staticcheck
139
- - stylecheck
140
- - testifylint
141
- - unconvert
142
- - unparam
143
- - unused
144
- - whitespace
145
-
146
- # This list of linters is not a recommendation (same thing for all this configuration file).
147
- # We intentionally use a limited set of linters.
148
- # See the comment on top of this file.
149
-
150
150
issues :
151
151
exclude-rules :
152
152
- path : (.+)_test\.go
You can’t perform that action at this time.
0 commit comments