@@ -107,6 +107,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
107
107
var errorlintCfg * config.ErrorLintSettings
108
108
var exhaustiveCfg * config.ExhaustiveSettings
109
109
var exhaustiveStructCfg * config.ExhaustiveStructSettings
110
+ var floatCompareStructCfg * config.FloatCompareSettings
110
111
var gciCfg * config.GciSettings
111
112
var goModDirectivesCfg * config.GoModDirectivesSettings
112
113
var goMndCfg * config.GoMndSettings
@@ -140,6 +141,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
140
141
errorlintCfg = & m .cfg .LintersSettings .ErrorLint
141
142
exhaustiveCfg = & m .cfg .LintersSettings .Exhaustive
142
143
exhaustiveStructCfg = & m .cfg .LintersSettings .ExhaustiveStruct
144
+ floatCompareStructCfg = & m .cfg .LintersSettings .FloatCompare
143
145
gciCfg = & m .cfg .LintersSettings .Gci
144
146
goModDirectivesCfg = & m .cfg .LintersSettings .GoModDirectives
145
147
goMndCfg = & m .cfg .LintersSettings .Gomnd
@@ -289,6 +291,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
289
291
WithLoadForGoAnalysis ().
290
292
WithURL ("https://github.com/kyoh86/exportloopref" ),
291
293
294
+ linter .NewConfig (golinters .NewFloatCompare (floatCompareStructCfg )).
295
+ WithSince ("v1.46.0" ).
296
+ WithPresets (linter .PresetBugs ).
297
+ WithLoadForGoAnalysis ().
298
+ WithURL ("https://github.com/mweb/floatcompare" ),
299
+
292
300
linter .NewConfig (golinters .NewForbidigo ()).
293
301
WithSince ("v1.34.0" ).
294
302
WithPresets (linter .PresetStyle ).
0 commit comments