I'm really struggling to understand why npm create cloudflare@latest creates a wrangler.jsonc file, not wrangler.toml?
- cloudflare workers have been promoting
wrangler.toml for years
- it's the default in your docs
- it's much the most common on github (24k files called
wrangler.toml, 1.4k called wrangler.json, 98 called wrangler.jsonc)
- JSON with comments is a non-standard format - where's the spec, where's the parser for every language
- (subjectively) it's much uglier and harder to read or edit
Surely just do the obvious thing and create a wrangler.toml file?
Also while I'm at it:
- seems a bit odd to create a
.editorconfig, they're pretty uncommon in repos these days
- surely it would be cleaner to put the prettier config in
package.json, not a separate file
@mikenomitch I'll keep pointing out these DX footguns until you block me π .