Releases: errata-ai/vale
Releases · errata-ai/vale
v2.24.3
v2.24.2
v2.24.1
v2.24.0
v2.23.3
Changelog
- 0b5d829 chore: fix naming again
- fd9a758 fix: handle trailing commas in listing block (#573)
- 38a59b4 Add PowerShell as a supported code language (#579)
- 96aced2 feat: support Typescript, TSX and JSX files (#564)
- a1faf82 fix: ignore empty tokens (#567)
- 6cbdc83 fix: trim leading newlines from sentences (#563)
v2.23.2
v2.23.1
v2.23.0
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