@@ -99,6 +99,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
9999 var ifshortCfg * config.IfshortSettings
100100 var reviveCfg * config.ReviveSettings
101101 var cyclopCfg * config.Cyclop
102+ var importAsCfg * config.ImportAsSettings
102103 if m .cfg != nil {
103104 govetCfg = & m .cfg .LintersSettings .Govet
104105 testpackageCfg = & m .cfg .LintersSettings .Testpackage
@@ -110,6 +111,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
110111 ifshortCfg = & m .cfg .LintersSettings .Ifshort
111112 reviveCfg = & m .cfg .LintersSettings .Revive
112113 cyclopCfg = & m .cfg .LintersSettings .Cyclop
114+ importAsCfg = & m .cfg .LintersSettings .ImportAs
113115 }
114116 const megacheckName = "megacheck"
115117 lcs := []* linter.Config {
@@ -380,6 +382,10 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
380382 WithPresets (linter .PresetStyle ).
381383 WithLoadForGoAnalysis ().
382384 WithURL ("https://github.com/sanposhiho/wastedassign" ),
385+ linter .NewConfig (golinters .NewImportAs (importAsCfg )).
386+ WithPresets (linter .PresetStyle ).
387+ WithLoadForGoAnalysis ().
388+ WithURL ("https://github.com/julz/importas" ),
383389
384390 // nolintlint must be last because it looks at the results of all the previous linters for unused nolint directives
385391 linter .NewConfig (golinters .NewNoLintLint ()).
0 commit comments