Skip to content

Releases: errata-ai/vale

v2.24.3

18 Apr 03:56
Compare
Choose a tag to compare

Changelog

  • cca5a1b test: add occurrence case
  • 4b5c779 fix: don't crash on no extends

v2.24.2

15 Apr 22:41
Compare
Choose a tag to compare

Changelog

  • 2519b55 fix: ensure negate is always checked for tags
  • 953cabf fix: don't make tmpdir for local pkg
  • ec58046 refactor: match case in returned suggestions

v2.24.1

05 Apr 21:51
Compare
Choose a tag to compare

Changelog

  • 2e356ab refactor: unknown keys are now an error
  • 5b9232b (GH-597) Find config in home folder as last resort (#598)
  • 2a4f073 (MAINT) Add tests for PowerShell code linting (#586)

v2.24.0

05 Mar 18:19
Compare
Choose a tag to compare

Changelog

v2.23.3

28 Feb 19:05
Compare
Choose a tag to compare

Changelog

v2.23.2

28 Feb 18:55
Compare
Choose a tag to compare

Changelog

v2.23.1

28 Feb 18:46
Compare
Choose a tag to compare

Changelog

  • 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.0

11 Feb 19:04
Compare
Choose a tag to compare

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

v2.22.0

09 Jan 23:37
Compare
Choose a tag to compare

Changelog

  • 74e4bde Allow for more generic errors in loadPkg (#543)
  • ea5dac7 feat: install package from local directory (#534)
  • 0117e82 chore: use docker buildx

v2.21.3

10 Dec 22:08
Compare
Choose a tag to compare

Changelog

  • dbee689 fix: always use last StylesPath loaded
  • d2e0395 feat(config): expand ~ to home directory (#530)
  • 754b3b5 refactor: remove ioutil
  • 5aa2c1b fix: don't treat span as a block