-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Only report files with violations in txt mode #243
Comments
Basically you would like to see in the logs only the files with errors ? :) |
nvuillam
added a commit
that referenced
this issue
Oct 5, 2022
nvuillam
added a commit
that referenced
this issue
Oct 5, 2022
Fixes #243 --failon "info" by default
nvuillam
added a commit
that referenced
this issue
Oct 6, 2022
* Display all files only with --verbose + defaut failure with info mode Fixes #243 --failon "info" by default * cspell * Fixes + Update test classes * changelog * [Mega-Linter] Apply linters fixes * Fix misc * fixes ? * changelog Co-authored-by: nvuillam <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I'm using this manually on the CLI I'm only interested in the files that have violations. Having hundreds of files scroll past my screen that have no violations adds a lot of noise to the signal I'm looking for.
I don't care if I have to set a flag, choose a different output formatter, or what.
Looks like the relevant line of code is https://github.com/nvuillam/npm-groovy-lint/blob/master/lib/output.js#L111
What's your preference for this?
For example, the text output could look like the following:
instead of what happens currently:
The text was updated successfully, but these errors were encountered: