File tree 2 files changed +1
-2
lines changed
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ type LintersSettings struct {
201
201
Testpackage TestpackageSettings
202
202
Thelper ThelperSettings
203
203
Unparam UnparamSettings
204
- Unused StaticCheckSettings
205
204
UseStdlibVars UseStdlibVarsSettings
206
205
Varcheck VarCheckSettings
207
206
Varnamelen VarnamelenSettings
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
247
247
testpackageCfg = & m .cfg .LintersSettings .Testpackage
248
248
thelperCfg = & m .cfg .LintersSettings .Thelper
249
249
unparamCfg = & m .cfg .LintersSettings .Unparam
250
- unusedCfg = & m . cfg . LintersSettings . Unused
250
+ unusedCfg = new (config. StaticCheckSettings )
251
251
varcheckCfg = & m .cfg .LintersSettings .Varcheck
252
252
varnamelenCfg = & m .cfg .LintersSettings .Varnamelen
253
253
whitespaceCfg = & m .cfg .LintersSettings .Whitespace
You can’t perform that action at this time.
0 commit comments