Vale is a command-line linter that checks prose against your team's style rules in editors, CI, and alongside code. It runs offline on macOS, Windows, and Linux.
Overview
Vale enforces writing guidelines you define rather than shipping fixed opinions. Teams map published guides such as Microsoft or Google styles, in-house terminology, or custom YAML rules into automated checks that run locally.
It parses markup instead of treating files as plain text. Markdown, AsciiDoc, reStructuredText, HTML, and other formats go through real parsers so rules can target headings, lists, or table cells while skipping code spans, URLs, and fenced blocks. Tree-sitter grammars lift comments and docstrings from many programming languages, and Views locate prose inside OpenAPI specs, notebook cells, or commit messages.
Rules are YAML files with extensions for substitutions, readability formulas, cross-file checks, and built-in fixes editors can apply in one step. A single Go binary lints files in parallel without a separate runtime. Nothing is uploaded; linting stays on your machine.
Installation options include OS package managers, Docker, go install, prebuilt binaries, and a WebAssembly build. Styles sync from a package explorer; integrations cover editors, CI, pre-commit, language server mode, a browser extension, and agent hooks that return alerts in the same turn as edits.
Key features
- Real markup parsers for many formats
- Docstring and comment linting
- Views for prose inside non-doc files
- YAML rules with optional auto-fixes
- Published and custom style packages
- Parallel offline CLI binary
- Editor and CI integrations
- Browser extension for web text fields
Use cases
- Enforcing docs style in pull requests
- In-editor prose diagnostics while writing
- Linting README and API descriptions
- CI checks before docs merge
- Consistent terminology across repositories