Basic usage
Commands
vectorlint init
Initializes VectorLint in your project. Generates configuration files based on the mode you choose.
--quick flag
VECTORLINT.md file in your project root. VectorLint detects it automatically and creates a “Style Guide Compliance” rule from its contents — no .vectorlint.ini required.
vectorlint --help
Prints available commands and flags.
Flags
Output
VectorLint prints findings to standard output. Each finding includes the rule that triggered it, the location in the file, the specific violation, and a suggested fix. A file with no violations produces no output.Exit codes
Exit codes make VectorLint suitable for CI pipelines. A non-zero exit blocks a merge when content fails quality checks. See CI Integration for setup examples.
Environment variables
VectorLint reads configuration from environment variables in addition to config files. Project-level.env values take precedence over the global config.toml.
For the full environment variable reference see Environment variables.
Related
- Installation — install VectorLint globally or run with npx
- Configuration — configure VectorLint for your project
- Tuning evaluation precision — adjust
CONFIDENCE_THRESHOLDand strictness - CI Integration — use exit codes to gate merges on content quality