@@ -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
@@ -212,6 +213,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
212213 gomodguardCfg = & m .cfg .LintersSettings .Gomodguard
213214 gosecCfg = & m .cfg .LintersSettings .Gosec
214215 gosimpleCfg = & m .cfg .LintersSettings .Gosimple
216+ gosmopolitanCfg = & m .cfg .LintersSettings .Gosmopolitan
215217 govetCfg = & m .cfg .LintersSettings .Govet
216218 grouperCfg = & m .cfg .LintersSettings .Grouper
217219 ifshortCfg = & m .cfg .LintersSettings .Ifshort
@@ -550,6 +552,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
550552 WithAlternativeNames (megacheckName ).
551553 WithURL ("https://github.com/dominikh/go-tools/tree/master/simple" ),
552554
555+ linter .NewConfig (golinters .NewGosmopolitan (gosmopolitanCfg )).
556+ WithSince ("v1.51.0" ).
557+ WithLoadForGoAnalysis ().
558+ WithPresets (linter .PresetBugs ).
559+ WithURL ("https://github.com/xen0n/gosmopolitan" ),
560+
553561 linter .NewConfig (golinters .NewGovet (govetCfg )).
554562 WithSince ("v1.0.0" ).
555563 WithLoadForGoAnalysis ().
0 commit comments