Open SimonGodefroid opened 3 years ago
Make a CLI option to list only errors or only warnings.
npx flow --show-only-errors => this would be a --show-all-errors but without the warnings
npx flow --show-only-errors
npx flow --show-only-warnings => this would be a --show-all-errors but with errors instead of warnings
npx flow --show-only-warnings
I am migrating from 0.133.0 to 0.151.0, needless to say I have a lot of warnings and errors.
However I can live with warnings for now and am just trying to fix errors first.
If I run
npx flow
I see errors + warnings.
I can run
npx flow --show-all-errors
It's annoying not to be able to fix each kind separately.
Thanks for considering.
For anyone else reading; here is what I do as a workaround:
(flow --show-all-errors --color=always | sed '/Warning ---/q') 2> /dev/null
Proposal
Make a CLI option to list only errors or only warnings.
npx flow --show-only-errors
=> this would be a --show-all-errors but without the warningsnpx flow --show-only-warnings
=> this would be a --show-all-errors but with errors instead of warningsUse case
I am migrating from 0.133.0 to 0.151.0, needless to say I have a lot of warnings and errors.
However I can live with warnings for now and am just trying to fix errors first.
If I run
npx flow
I see errors + warnings.
I can run
npx flow --show-all-errors
It's annoying not to be able to fix each kind separately.
Thanks for considering.