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
+ enable :
17
+ - bodyclose
18
+ - copyloopvar
19
+ - depguard
20
+ - dogsled
21
+ - dupl
22
+ - errcheck
23
+ - errorlint
24
+ - funlen
25
+ - gocheckcompilerdirectives
26
+ - gochecknoinits
27
+ - gochecknoinits
28
+ - goconst
29
+ - gocritic
30
+ - gocyclo
31
+ - godox
32
+ - gofmt
33
+ - goimports
34
+ - mnd
35
+ - goprintffuncname
36
+ - gosec
37
+ - gosimple
38
+ - govet
39
+ - intrange
40
+ - ineffassign
41
+ - lll
42
+ - misspell
43
+ - nakedret
44
+ - noctx
45
+ - nolintlint
46
+ - revive
47
+ - staticcheck
48
+ - stylecheck
49
+ - testifylint
50
+ - unconvert
51
+ - unparam
52
+ - unused
53
+ - whitespace
54
+
55
+ # This list of linters is not a recommendation (same thing for all this configuration file).
56
+ # We intentionally use a limited set of linters.
57
+ # See the comment on top of this file.
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