Skip to main content
.vectorlint.ini is VectorLint’s project configuration file. It lives in your project root and controls three things: global behavior settings, where VectorLint looks for custom rules, and which rule packs run on which files. Run vectorlint init to generate a starter file. You can edit it manually at any time.

Global Settings

These settings apply to all evaluations in the project.

File Pattern Sections

Use [glob/pattern] sections to map file types to rule packs. Each section targets files matching the pattern and specifies which rules to run.

RunRules

A comma-separated list of rule pack names. Pack names correspond to subdirectory names inside RulesPath.
Set RunRules= with no value to explicitly skip all rules for matching files (useful for drafts or generated content).

Rule Pack Directory Structure

The RulesPath setting defines where VectorLint looks for rule packs. Each subdirectory becomes an available pack name.
Rules inside Acme/ are available when you set RunRules=Acme. Nesting is supported — you can organize rules into subdirectories within a pack.

Cascading Configuration

VectorLint applies configuration blocks from general to specific, similar to Vale’s cascade behavior. All blocks that match a given file are applied; more specific patterns override settings from more general ones, and rule packs accumulate.
Specificity is determined by path depth and wildcard count. content/docs/**/*.md is more specific than **/*.md.

Strictness Overrides

You can tune how harshly individual check rules score content on a per-pattern basis.
Strictness controls the penalty weight applied to error density. Higher values penalize the same error rate more severely. You can use named levels (lenient, standard, strict) or direct numeric multipliers:

Complete Example

Global Style Guide (VECTORLINT.md)

In addition to .vectorlint.ini, you can place a VECTORLINT.md file in your project root to define global style instructions in plain language. Zero-config mode: If no .vectorlint.ini exists, VectorLint automatically detects VECTORLINT.md, creates a synthetic “Style Guide Compliance” rule, and evaluates content against it. Combined mode: When .vectorlint.ini is present, the contents of VECTORLINT.md are prepended to the system prompt for every evaluation — making your global tone and terminology preferences active across all rules.
Keep VECTORLINT.md concise. VectorLint emits a warning if the file exceeds approximately 4,000 tokens, as very large contexts can degrade evaluation quality and increase API costs.

Next Steps

  • LLM Providers — configure the model that runs evaluations
  • Style Guide — write custom rules for your content standards