feat: explain typecheck and remove it from the linter list (#3929)

This commit is contained in:
Ludovic Fernandez 2023-06-29 22:40:59 +02:00 committed by GitHub
parent a303529ad3
commit 79c78d6f6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 96 additions and 19 deletions

View file

@ -238,6 +238,10 @@ func getLintersListMarkdown(enabled bool) string {
var neededLcs []*linter.Config
lcs := lintersdb.NewManager(nil, nil).GetAllSupportedLinterConfigs()
for _, lc := range lcs {
if lc.Internal {
continue
}
if lc.EnabledByDefault == enabled {
neededLcs = append(neededLcs, lc)
}