@@ -140,6 +140,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
140
140
interfaceBloatCfg * config.InterfaceBloatSettings
141
141
ireturnCfg * config.IreturnSettings
142
142
lllCfg * config.LllSettings
143
+ loggerCheckCfg * config.LoggerCheckSettings
143
144
maintIdxCfg * config.MaintIdxSettings
144
145
makezeroCfg * config.MakezeroSettings
145
146
malignedCfg * config.MalignedSettings
@@ -214,6 +215,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
214
215
interfaceBloatCfg = & m .cfg .LintersSettings .InterfaceBloat
215
216
ireturnCfg = & m .cfg .LintersSettings .Ireturn
216
217
lllCfg = & m .cfg .LintersSettings .Lll
218
+ loggerCheckCfg = & m .cfg .LintersSettings .LoggerCheck
217
219
maintIdxCfg = & m .cfg .LintersSettings .MaintIdx
218
220
makezeroCfg = & m .cfg .LintersSettings .Makezero
219
221
malignedCfg = & m .cfg .LintersSettings .Maligned
@@ -583,11 +585,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
583
585
WithSince ("v1.8.0" ).
584
586
WithPresets (linter .PresetStyle ),
585
587
586
- linter .NewConfig (golinters .NewLogrLint ( )).
588
+ linter .NewConfig (golinters .NewLoggerCheck ( loggerCheckCfg )).
587
589
WithSince ("v1.49.0" ).
588
590
WithLoadForGoAnalysis ().
589
- WithPresets (linter .PresetBugs ).
590
- WithURL ("https://github.com/timonwong/logrlint" ),
591
+ WithPresets (linter .PresetStyle , linter .PresetBugs ).
592
+ WithAlternativeNames ("logrlint" ).
593
+ WithURL ("https://github.com/timonwong/loggercheck" ),
591
594
592
595
linter .NewConfig (golinters .NewMaintIdx (maintIdxCfg )).
593
596
WithSince ("v1.44.0" ).
0 commit comments