Files
Holocron/plugins/kyberforge/docs/research/docs/vale/cli-reference.md
T
Defame1297 5e22672189 docs(kyberforge): add vale.sh research docs
Prep work for issue #84 - gathers Vale (vale.sh) config, styles/rules,
CLI, installation, and troubleshooting reference material into
plugins/kyberforge/docs/research/docs/vale/ alongside the existing
research topics.

Refs #84
2026-08-08 20:20:58 +00:00

1.3 KiB

topic, source_keys
topic source_keys
cli-reference
context7-websites-vale-sh

Core Invocation

$ vale README.md

Lints the given file(s)/glob against the styles configured in .vale.ini.

Key Flags and Subcommands

Command/Flag Purpose
vale sync Downloads and installs packages/styles declared in .vale.ini. Run after install and whenever Packages changes.
vale ls-config Prints the currently active, fully-resolved configuration as JSON. Useful for debugging what settings actually apply to a file.
--output=<style> Sets the output format/template: line, JSON, CLI (default), or a custom template.
--no-exit Suppresses the non-zero exit code Vale normally returns when alerts are found — useful in CI pipelines that shouldn't hard-fail on lint output.
--ignore-syntax Treats input as plain, unformatted text, skipping syntax-aware parsing (Markdown/HTML/etc).
--minAlertLevel=<level> Overrides MinAlertLevel from the config for this run (suggestion, warning, error).
--version Prints the Vale binary version.

Exit Codes

By default, vale exits non-zero when it finds any alert at or above MinAlertLevel — this is what makes it usable as a CI gate. Pass --no-exit to always exit 0 regardless of findings.