@@ -90,6 +90,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
9090 gocycloCfg * config.GoCycloSettings
9191 godotCfg * config.GodotSettings
9292 godoxCfg * config.GodoxSettings
93+ goFactoryCfg * config.GoFactoryLintSettings
9394 gofmtCfg * config.GoFmtSettings
9495 gofumptCfg * config.GofumptSettings
9596 goheaderCfg * config.GoHeaderSettings
@@ -174,6 +175,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
174175 gocycloCfg = & m .cfg .LintersSettings .Gocyclo
175176 godotCfg = & m .cfg .LintersSettings .Godot
176177 godoxCfg = & m .cfg .LintersSettings .Godox
178+ goFactoryCfg = & m .cfg .LintersSettings .Gofactory
177179 gofmtCfg = & m .cfg .LintersSettings .Gofmt
178180 gofumptCfg = & m .cfg .LintersSettings .Gofumpt
179181 goheaderCfg = & m .cfg .LintersSettings .Goheader
@@ -488,6 +490,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
488490 WithLoadForGoAnalysis ().
489491 WithURL ("https://github.com/Djarvur/go-err113" ),
490492
493+ linter .NewConfig (golinters .NewGoFactoryLint (goFactoryCfg )).
494+ WithSince ("next_version" ).
495+ WithPresets (linter .PresetStyle ).
496+ WithURL ("https://github.com/maranqz/go-factory-lint" ),
497+ 491498 linter .NewConfig (golinters .NewGofmt (gofmtCfg )).
492499 WithSince ("v1.0.0" ).
493500 WithPresets (linter .PresetFormatting ).
0 commit comments