@@ -147,6 +147,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
147147 makezeroCfg * config.MakezeroSettings
148148 malignedCfg * config.MalignedSettings
149149 misspellCfg * config.MisspellSettings
150+ musttagCfg * config.MustTagSettings
150151 nakedretCfg * config.NakedretSettings
151152 nestifCfg * config.NestifSettings
152153 nilNilCfg * config.NilNilSettings
@@ -224,6 +225,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
224225 makezeroCfg = & m .cfg .LintersSettings .Makezero
225226 malignedCfg = & m .cfg .LintersSettings .Maligned
226227 misspellCfg = & m .cfg .LintersSettings .Misspell
228+ musttagCfg = & m .cfg .LintersSettings .MustTag
227229 nakedretCfg = & m .cfg .LintersSettings .Nakedret
228230 nestifCfg = & m .cfg .LintersSettings .Nestif
229231 nilNilCfg = & m .cfg .LintersSettings .NilNil
@@ -632,6 +634,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
632634 WithAutoFix ().
633635 WithURL ("https://github.com/client9/misspell" ),
634636
637+ linter .NewConfig (golinters .NewMustTag (musttagCfg )).
638+ WithSince ("v1.51.0" ).
639+ WithLoadForGoAnalysis ().
640+ WithPresets (linter .PresetStyle , linter .PresetBugs ).
641+ WithURL ("https://github.com/junk1tm/musttag" ),
642+
635643 linter .NewConfig (golinters .NewNakedret (nakedretCfg )).
636644 WithSince ("v1.19.0" ).
637645 WithPresets (linter .PresetStyle ).
0 commit comments