errata-ai / vale

:pencil: A markup-aware linter for prose built with speed and extensibility in mind.
https://vale.sh
MIT License
4.44k stars 153 forks source link

`minalertlevel` via CLI #825

Closed ArthurFlag closed 4 months ago

ArthurFlag commented 4 months ago

Check for existing issues

Describe the feature

I'm certain I've overridden the minAlertLevel setting in my ini via the CLI but I can't remember what the flag was. vale -h also doesn't show it, and I cannot find it in the docs.

Would it be possible to have added to CLI help and to the docs?

Thanks!

jdkato commented 4 months ago

The intended way to do this now is through a filter, which can reference any key (not just level):

$ vale --filter='.Level=="error"' docs