Configuration
contextlint’s behavior is controlled by contextlint.config.json at the repository root. This category covers how to write the config file, how to specify what gets validated, and how to scope rules at a per-file granularity.
In this category
Section titled “In this category”- Config file — Structure of
contextlint.config.jsonand an overview of each field - Include patterns — Specifying which files to validate, and the precedence order
- Per-file rule scoping — Applying a rule to only a subset of files
- Config auto-detection — How
findConfigwalks up parent directories