Linter: new output formats #11279
GeoffreyParrier
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With OxLint there is some cool output format but I think of two that could be nice to have
Format:
files: A list of files that have errors with their numbers without showing the rules
rules: A list of rules that have errors without showing the files
To extend:
It could be interesting to have the possibility to sort the output (alphabetically, max, least...)
Reasoning
Showing only rules or files without more details could help to chose to fix thing in a more granular way, really helping during development and during review processes
Note
Maybe there is a way to show that, but I didn't see any without writing a custom formatter (and I don't know if it's possible yet with OxLint) or writing something on top, but I think that could be nice to have it already in the possible format output
Some use cases:
Migrating language or framework comes with a lot of work and linters can help a lot, but in these cases details could be too much infos, instead a view with only rules or files that needs to be fixed could be perfect
New versions comes with new, deprecated and removed features and rules/recommended config can change a lot
Output examples:
Files
Rules
Beta Was this translation helpful? Give feedback.
All reactions