github errata-ai/vale v2.23.0

latest releases: v3.7.1, v3.7.0, v3.6.1...
19 months ago

This release introduces the ability to filter Vale's output by rule metadata. A filter is an expression targeting one of the following keys defined in the rule definition: .Name, .Level, .Scope, .Message, .Description, .Extends, or .Link.

You can pass filters through the CLI one of two ways:

$ vale --filter='"heading" in .Scope' test.md
$ vale --filter='some/path/filter.expr' test.md

Examples

# Show rules with severity of "error" or "suggestion" that aren't named "demo.Cap"
.Level in ["error", "suggestion"] and .Name != "demo.Cap"
# Only show rules extending "existence"
.Extends=="existence"
# Only show rules targeting the "heading" scope
"heading" in .Scope

Changelog

Don't miss a new vale release

NewReleases is sending notifications on new releases.