mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
feat: explain typecheck and remove it from the linter list (#3929)
This commit is contained in:
parent
a303529ad3
commit
79c78d6f6f
13 changed files with 96 additions and 19 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue