github errata-ai/vale v2.19.0

latest releases: v3.6.0, v3.5.0, v3.4.2...
2 years ago

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

Don't miss a new vale release

NewReleases is sending notifications on new releases.