Skip to content

Releases: errata-ai/vale

Compare
Choose a tag to compare

Changelog

Compare
Choose a tag to compare

This release adds support for Org files.

Changelog

Compare
Choose a tag to compare

This release adds support for linting markup embedded within source code, such as Rust + Markdown (shown below).

/// Creates a new empty `String`.
///
/// Given that the `String` is empty, this will not allocate any initial
/// buffer. While that means that this initial operation is very
/// inexpensive, it may cause excessive allocation later when you add
/// data. If you have an idea of how much data the `String` will hold,
/// consider the [`with_capacity`] method to prevent excessive
/// re-allocation.
///
/// [`with_capacity`]: #method.with_capacity
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// let s = String::new();
/// ```
pub const fn new() -> String {
    String { vec: Vec::new() }
}

To enable this, use the format association section to specify the combination:

StylesPath = styles
MinAlertLevel = suggestion

[formats]
# Rust + Markdown
rs = md

[*.md]
BasedOnStyles = Vale

Changelog

  • 76dc710 chore: add dispatch step
  • 6d48ef3 chore: build linux_arm64
  • b4ef295 feat: support embedded markup
Compare
Choose a tag to compare

This release implements a new tokenization algorithm (#346) and exposes two new scopes: text.figure.caption and text.table.caption (#274).

Changelog

  • 04ce2ea feat: implement iterTokenizer
  • 7190a77 fix: remove auto-wrapping links
  • a54fb7c fix: we no longer need to test GoReleaser
  • 4b9d98c feat: add caption scopes
Compare
Choose a tag to compare

You can now customize the attributes passed to asciidoctor:

StylesPath = <...>

[asciidoctor]
# attribute = value
# 
# where 'YES' enables and 'NO' disables.

# enable
experimental = YES

# assign a specific value
attribute-missing = drop

[*]
BasedOnStyles = Vale

# normal config ...

Changelog

Compare
Choose a tag to compare

This release includes a major new feature: the ability to share, sync, and extend Vale configurations through packages. A package is a .zip file that contains a .vale.ini file, a StylesPath folder, or both. You include a package by using the top-level Packages key in your local .vale.ini file:

StylesPath = .github/styles
MinAlertLevel = suggestion

Packages = Microsoft, \
https://github.com/errata-ai/errata.ai/releases/download/v1.0.0/Test.zip

[README.md]
BasedOnStyles = Vale

See Packages 101 for a quick walkthrough.

vale.sh

Vale now also has its own website, https://vale.sh/, which includes a few new resources:

  • Rule Explorer: Explore community-made rules for Vale.
  • Package Hub: Browse, learn from, or build upon configuration packages for Vale.
  • Config Generator: Quickly generate comprehensive configuration files for Vale.

The project now also has a Discord channel.

Compare
Choose a tag to compare

Changelog