.aislop/config.yml is published at:
Top-level keys
| Key | Type | Default | Description |
|---|---|---|---|
version | number | 1 | Config schema version |
engines | object | all true except architecture | Engine toggles |
quality | object | function 80, file 400, nesting 5, params 6 | Complexity thresholds |
lint | object | typecheck: false | Lint-engine options |
security | object | audit: true, auditTimeout: 25000 | Security audit settings |
scoring | object | default weights and labels | Score calculation settings |
ci | object | failBelow: 70, format: json | CI gate settings |
telemetry | object | enabled: true | Anonymous telemetry opt-in setting |
rules | object | {} | Per-rule severity overrides |
exclude | string array | node_modules, .git, dist, build, coverage | Paths to skip |
include | string array | [] | Paths to include |
extends | string or string array | none | Parent config paths |
Engine keys
architecture is disabled by default because it requires .aislop/rules.yml.
Quality keys
Scoring keys
weights accepts numeric values by engine name. thresholds.good controls the Healthy label, and thresholds.ok controls the Needs Work/Critical boundary.
Rule override values
Therules map accepts rule IDs as keys and one of three values:
| Value | Meaning |
|---|---|
error | Escalate matching findings to error |
warning | Report matching findings as warnings |
off | Remove matching findings before scoring |
Extends
extends can be a single path or an array of paths.
extends. Nested objects are deep-merged. Arrays are replaced wholesale. Chains deeper than five levels and circular references are rejected.
Related pages
- Config File gives the full config guide.
- Example Configs provides copy-ready profiles.
- Ignoring Code explains
exclude,include, and.aislopignore.
