@@ -135,6 +135,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
135135 gomodguardCfg * config.GoModGuardSettings
136136 gosecCfg * config.GoSecSettings
137137 gosimpleCfg * config.StaticCheckSettings
138+ gosmopolitanCfg * config.GosmopolitanSettings
138139 govetCfg * config.GovetSettings
139140 grouperCfg * config.GrouperSettings
140141 ifshortCfg * config.IfshortSettings
@@ -213,6 +214,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
213214 gomodguardCfg = & m .cfg .LintersSettings .Gomodguard
214215 gosecCfg = & m .cfg .LintersSettings .Gosec
215216 gosimpleCfg = & m .cfg .LintersSettings .Gosimple
217+ gosmopolitanCfg = & m .cfg .LintersSettings .Gosmopolitan
216218 govetCfg = & m .cfg .LintersSettings .Govet
217219 grouperCfg = & m .cfg .LintersSettings .Grouper
218220 ifshortCfg = & m .cfg .LintersSettings .Ifshort
@@ -558,6 +560,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
558560 WithAlternativeNames (megacheckName ).
559561 WithURL ("https://github.com/dominikh/go-tools/tree/master/simple" ),
560562
563+ linter .NewConfig (golinters .NewGosmopolitan (gosmopolitanCfg )).
564+ WithSince ("v1.53.0" ).
565+ WithLoadForGoAnalysis ().
566+ WithPresets (linter .PresetBugs ).
567+ WithURL ("https://github.com/xen0n/gosmopolitan" ),
568+
561569 linter .NewConfig (golinters .NewGovet (govetCfg )).
562570 WithSince ("v1.0.0" ).
563571 WithLoadForGoAnalysis ().
0 commit comments