We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49e5bc0 commit 67d57f4Copy full SHA for 67d57f4
pkg/lint/lintersdb/manager.go
@@ -895,6 +895,10 @@ func linterConfigsToMap(lcs []*linter.Config) map[string]*linter.Config {
895
func (m Manager) GetAllLinterConfigsForPreset(p string) []*linter.Config {
896
var ret []*linter.Config
897
for _, lc := range m.GetAllSupportedLinterConfigs() {
898
+ if lc.IsDeprecated() {
899
+ continue
900
+ }
901
+
902
for _, ip := range lc.InPresets {
903
if p == ip {
904
ret = append(ret, lc)
0 commit comments