github vale-cli/vale v3.29.0

2 hours ago
  • LaTeX. Vale now lints .tex files. It reads the source without running TeX, so a document that doesn't compile still lints. Math, citations, references, and verbatim text are treated as code; sections, captions, footnotes, list items, and table cells are prose.
  • Typst, built in. typst2vast is now embedded, so Typst files need nothing else installed.
  • IgnoredPaths. A new .vale.ini key for paths that are never linted, even when named on the command line.
  • Pinned packages. A package can be pinned to its archive's digest.
  • .yaml rules. Rules load from .yaml files as well as .yml (#1232, thanks @seragAhmed).

A Markdown page, a Go file, and a YAML file sketched as bars, with the prose lit, the code and markup dark, and one alert in each at its exact position.

Spell checking is a parsing problem

Vale reads the format before it checks the spelling, so in fifteen markup formats, six programming languages, and three data formats, its output is the misspellings in your prose and nothing else. What that gets you, how fast it is, and how to bring a technical vocabulary along.

Changelog

  • 74aa23a feat: Add IgnoredPaths
  • 68c6705 ci: Link a release's blog post
  • 6388481 fix: Read math shorthands and place rewritten words in LaTeX
  • f2dbb55 chore: Accept 'Kato' in the vocabulary
  • 7d3f82a chore: Embed typst2vast v0.2.0
  • 33e310d docs: Credit the author in the README
  • c99e68e chore: Drop typst2vast from the image
  • 99ccbb2 feat: Read Typst with an embedded typst2vast
  • 7a948db feat: Lint LaTeX
  • 159a4a8 feat: Pin a package to its archive's digest
  • 4579d16 fix: Load a grammar once when files of its language are linted at once
  • 3f9b738 fix: Compare a wrapped phrase as one line against its swap
  • 1f9bf38 chore: Bump prose to v3.3.3
  • 237289e fix: Anchor the list-number pattern so a version isn't one
  • 7498767 fix: Skip character classes when finding a substitution key's lookarounds
  • d02e820 fix: Fill in a substitution's capture groups when its key has a lookbehind
  • f5624b9 fix: Anchor a doc() selection without claiming its text is contiguous
  • 6d048b1 fix: Place a doc() match in its element, not at an earlier copy
  • d5eaeab fix: Read Rust block comments, and a Python module docstring after comments
  • 4967fc2 fix: Match a large vocabulary, and load it and dictionaries faster
  • d84e96d fix: Match a large vocabulary instead of failing on it
  • 5b36876 chore: Name both rule paths when a parent is missing
  • c96964f test: Skip the View order test without views
  • 40507c4 feat: load rules from .yaml files as well as .yml (#1232)
  • 8eb84cd fix: Pick a file's View by section order, the later one winning
  • 4a6c9a5 chore: Update prose to v3.3.2 (#1234)
  • c198c5d chore: Update regexp2 to v2.5.7
  • 6142ce3 perf: Derive a pattern's prefilter on first use
  • 5d484ac perf: Split a rule's tokens when one is anchored
  • ba32aaf fix: A raw-text tag in prose no longer swallows the rest of the document
  • d4e8023 perf: Anchor sequences on their rarest token, and filter on lookarounds
  • 9cbdd4d perf: One memo lookup per block, and remember sequence rules
  • 56ccf62 build: Add vale_nodict to leave out the default dictionary
  • a2843f6 ci: Leave e2e out of the minimal-tags test run
  • fbab1cc fix: Stop IgnoredClasses growing with every HTML file
  • 313d1a8 fix: sync a package whose archive root differs from its name
  • 1ea3e6b chore: buld wasm
  • 2b9161a perf: Find a rule's literals in one pass
  • 4b67a3f test: Expect write-good 0.5.0 messages
  • bab1513 perf: Smaller wasm build and faster rule matching
  • 02e3ca8 build: Strip and pack the grammar modules

Don't miss a new vale release

NewReleases is sending notifications on new releases.