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 698956d commit 845fb3eCopy full SHA for 845fb3e
pkg/lint/lintersdb/manager.go
@@ -898,6 +898,10 @@ func linterConfigsToMap(lcs []*linter.Config) map[string]*linter.Config {
898
func (m Manager) GetAllLinterConfigsForPreset(p string) []*linter.Config {
899
var ret []*linter.Config
900
for _, lc := range m.GetAllSupportedLinterConfigs() {
901
+ if lc.IsDeprecated() {
902
+ continue
903
+ }
904
+
905
for _, ip := range lc.InPresets {
906
if p == ip {
907
ret = append(ret, lc)
0 commit comments