Releases: errata-ai/vale
v3.7.1
v3.7.0
Capture group support
This release introduces support for referencing capture groups in substitution
-based rules:
extends: substitution
message: "Use '%s' instead of '%s'."
ignorecase: true
swap:
"within the (.*)?directory": in the $1 directory
The $1
will be replaced by the contents captured within (.*)
in the regular expression. You can reference multiple capture groups by incrementing the index (such as $2
for a second one, etc.).
Action results now populate the message
key
The results of your custom actions will now be inserted into the relevant rule's message
key, allowing you to create dynamic, script-based suggestions using the CLI.
Changelog
v3.6.1
v3.6.0
v3.5.0
This release includes improved, tree-sitter powered support for linting comments in Go, Rust, Python, Ruby, C/C++, JavaScript, TypeScript, YAML, and CSS files.
Changelog
v3.4.2
v3.4.1
v3.4.0
This release adds support for including the observed count of occurrence
-based rules:
message: "Topic titles should use fewer than 70 characters (found: %s)."
The use of %s
is optional.
Changelog
v3.3.1
v3.3.0
This release adds support for including the expected form in the message
field of capitalization
-based rules:
message: "Found: '%s'; expected: '%s'."
As with substitution
, the second %s
is optional.