Configuration
KAEV automatically loads .kaevrc.json from the analyzed project root. Command-line options override configuration values.
Create a safe default file:
kaev initAn existing configuration is never overwritten.
Example
Section titled “Example”{ "version": 1, "severity": "info", "failOn": "high", "ui5Lint": true, "color": "auto", "baseline": ".kaev-baseline.json", "exclude": ["webapp/generated/**"], "suppressions": [ { "ruleId": "KAEV-PERF-001", "file": "webapp/local/**", "reason": "Approved small offline dataset; reviewed in ADR-014", "expires": "2027-03-31" } ]}Properties
Section titled “Properties”| Property | Meaning |
|---|---|
version |
Configuration schema version. Must be 1. |
category |
Optional single category: project, config, ui5, odata, architecture, performance, or security. |
severity |
Minimum displayed severity: info, low, medium, high, or critical. It does not change scores or exit status. |
failOn |
Quality-gate threshold (info through critical) or none. Defaults to high. |
ui5Lint |
Enable or disable the official UI5 Linter integration. |
color |
auto, always, or never. |
baseline |
A single safe filename in the project root. Nested, absolute, drive-qualified, UNC, and traversal paths are rejected. |
exclude |
Up to 100 bounded glob patterns, each at most 200 characters, matched against /-separated project-relative paths. |
suppressions |
Up to 1,000 reviewed rule/file exceptions with a mandatory reason and optional expiry. |
Unknown properties, invalid values, unsafe paths, oversized policy lists, and malformed suppressions fail closed with exit code 2.
CLI options override configuration values. kaev workspace loads a separate .kaevrc.json from each discovered project.
Suppression file patterns support *, **, and ?. A missing file matches the rule across the project. Expiry dates use YYYY-MM-DD; an expired suppression stops matching automatically.