Skip to content

Configuration

KAEV automatically loads .kaevrc.json from the analyzed project root. Command-line options override configuration values.

Create a safe default file:

Terminal window
kaev init

An existing configuration is never overwritten.

.kaevrc.json
{
"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"
}
]
}
Property Meaning
version Configuration schema version. Must be 1.
severity Minimum displayed severity.
failOn Quality-gate threshold or none.
ui5Lint Enable or disable the official UI5 Linter integration.
color auto, always, or never.
baseline Safe project-root-relative baseline filename.
exclude Bounded glob patterns excluded from discovery.
suppressions Reviewed rule/file exceptions with a mandatory reason.

Unknown properties, invalid values, unsafe paths, oversized policy lists, and malformed suppressions fail closed with exit code 2.