Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse the output to 20 diagnostics maximum #51

Open
illright opened this issue Jul 4, 2024 · 0 comments
Open

Collapse the output to 20 diagnostics maximum #51

illright opened this issue Jul 4, 2024 · 0 comments
Labels
good first issue Good for newcomers PRIORITY | LOW Can wait until after release TYPE | enhancement New feature or request

Comments

@illright
Copy link
Member

illright commented Jul 4, 2024

Ideally we should do it cleverly — if there are more diagnostics than the limit, we should make sure that we show as many unique issues as possible. Usually that means taking a diagnostic from each rule until we hit the limit and then printing it out, but still printing diagnostics from the same rule together.

Also we should mention in the footer of the output that the actual amount of diagnostics is larger, it's just that X of them were hidden

@illright illright added PRIORITY | LOW Can wait until after release TYPE | enhancement New feature or request labels Jul 6, 2024
@illright illright added the good first issue Good for newcomers label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers PRIORITY | LOW Can wait until after release TYPE | enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant