require-vercel-valid-json
Require vercel.json to be valid JSON.
Targeted pattern scopeâ
- JSON syntax validity of
vercel.json.
What this rule reportsâ
This rule reports parse-invalid vercel.json configuration files.
Why this rule existsâ
Syntax-invalid provider config often slips through reviews and then fails at runtime/deploy time. Catching it in lint keeps config quality gates local.
â Incorrectâ
{"buildCommand": "npm run build",}
â Correctâ
{
"buildCommand": "npm run build"
}
When not to use itâ
Disable this rule if vercel.json is generated and validated by another trusted
step before deployment.
Rule catalog ID: R092