Of my experience with VSCode, most applications that use JSON for configurations have support for JSONC (JSON with Comments).
Attempting to use comments in vercel.json throws an error on build:
Error: Invalid vercel.json file provided
I’d like support for comments in vercel.json so that something like this is valid:
{
"$schema": "https://openapi.vercel.sh/vercel.json",
// commands
"buildCommand": "npm run build",
"installCommand": "npm ci", // NOT "npm install"
// server
"framework": "express",
"trailingSlash": false
}
It’d also be a nice bonus to allow for trailing commas!
While I could use a TypeScript file to include these syntax features, I prefer JSON for any top-level configuration files, and support for this syntax would be an appreciable addition.
If there is something I’m missing regarding this feature request—if JSONC is supported to an extent—I’d appreciate a heads-up.