You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proposal is to set a fixed Prettier version like 3.2.2 solving previous problem with .json files and preventing future breaking changes.
This is, in fact, an official Prettier recommendation:
[...] we change how code is formatted in each release! It’s important to have a locked down version of Prettier in your package.json. And it’s faster, too.
The text was updated successfully, but these errors were encountered:
Prettier has deployed a patch version (3.2.3) that changes the parser used for .json files from
json
tojsonc
. This parser set trailing commas to "all", and this breaks JSON specification.The proposal is to set a fixed Prettier version like 3.2.2 solving previous problem with .json files and preventing future breaking changes.
This is, in fact, an official Prettier recommendation:
The text was updated successfully, but these errors were encountered: