vale — Prose linter rebased on Red Hat Hardened Images
622
Vale is a configurable prose linter for technical documentation. Apply Microsoft Style Guide, Google Style, Mozilla Writing Style, the alex inclusive-language rules, or write-good — or your org's own style — to Markdown, AsciiDoc, reStructuredText, Org-mode, and any other plain-text format that ships in your repo.
This image builds Vale from upstream source on hi/go:latest-builder and lands on hi/core-runtime (Red Hat Hardened). The binary is cosign-signed with a CycloneDX SBOM and SLSA Level 3 provenance attestation attached.
# Lint all Markdown in a repo against the in-repo .vale.ini config
podman run --rm -v "$(pwd):/repo:ro,Z" vale:<version>-rhhi --output=JSON .
# Use the Microsoft Style Guide pack (assumes styles already vendored at .github/styles/)
podman run --rm -v "$(pwd):/repo:ro,Z" vale:<version>-rhhi --output=line --no-exit docs/
# Filter by severity
podman run --rm -v "$(pwd):/repo:ro,Z" vale:<version>-rhhi --minAlertLevel=warning .
Vale reads .vale.ini from the repo root. A minimal example:
StylesPath = .github/styles
MinAlertLevel = suggestion
Packages = Microsoft, alex
[*.md]
BasedOnStyles = Vale, Microsoft, alex
Vendored style packs go under StylesPath (typically .github/styles/). Available packs are listed at https://github.com/errata-ai/styles.
registry.access.redhat.com/hi/go:latest-builder (build) → registry.access.redhat.com/hi/core-runtime (runtime)Content type
Image
Digest
sha256:44d1f1bb8…
Size
24.6 MB
Last updated
4 months ago
docker pull timothyswan/vale:v3.14.2-rhhi