require-vercel-version-value
Require vercel.json to declare version: 2.
Targeted pattern scopeâ
- Top-level
versionfield invercel.json.
What this rule reportsâ
This rule reports missing or non-2 version values.
Why this rule existsâ
Vercel configuration behavior is versioned; pinning to the expected version keeps configuration semantics stable.
â Incorrectâ
{
"version": 1
}
â Correctâ
{
"version": 2
}
When not to use itâ
Disable this rule if your repository intentionally uses a different Vercel config versioning strategy.
Rule catalog ID: R113