@@ -107,6 +107,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
107107 var errorlintCfg * config.ErrorLintSettings
108108 var exhaustiveCfg * config.ExhaustiveSettings
109109 var exhaustiveStructCfg * config.ExhaustiveStructSettings
110+ var floatCompareStructCfg * config.FloatCompareSettings
110111 var gciCfg * config.GciSettings
111112 var goModDirectivesCfg * config.GoModDirectivesSettings
112113 var goMndCfg * config.GoMndSettings
@@ -140,6 +141,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
140141 errorlintCfg = & m .cfg .LintersSettings .ErrorLint
141142 exhaustiveCfg = & m .cfg .LintersSettings .Exhaustive
142143 exhaustiveStructCfg = & m .cfg .LintersSettings .ExhaustiveStruct
144+ floatCompareStructCfg = & m .cfg .LintersSettings .FloatCompare
143145 gciCfg = & m .cfg .LintersSettings .Gci
144146 goModDirectivesCfg = & m .cfg .LintersSettings .GoModDirectives
145147 goMndCfg = & m .cfg .LintersSettings .Gomnd
@@ -289,6 +291,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
289291 WithLoadForGoAnalysis ().
290292 WithURL ("https://github.com/kyoh86/exportloopref" ),
291293
294+ linter .NewConfig (golinters .NewFloatCompare (floatCompareStructCfg )).
295+ WithSince ("v.1.46.0" ).
296+ WithPresets (linter .PresetBugs ).
297+ WithLoadForGoAnalysis ().
298+ WithURL ("https://github.com/mweb/floatcompare" ),
299+
292300 linter .NewConfig (golinters .NewForbidigo ()).
293301 WithSince ("v1.34.0" ).
294302 WithPresets (linter .PresetStyle ).
0 commit comments