Replies: 3 comments 2 replies
-
Fast fix for this behavior set parser to json for all json files or tsconfig only "overrides": [
{
"files": "*.json",
"options": {
"parser": "json"
}
}
] |
Beta Was this translation helpful? Give feedback.
-
curious why tsconfig.json is a special case in the first place? why is it not auto-formatted like every other json file? |
Beta Was this translation helpful? Give feedback.
-
This is extremely annoying for a lot of reasons:
While I generally am 100% in agreement with whatever |
Beta Was this translation helpful? Give feedback.
-
In the most recent update of prettier, tsconfig.json files are now formatted with trailing commas when using
"trailingComma": "all"
, but this change does not effect tsconfig.node.json, which does not have trailing commas. This file is a part of the setup for a Vite environment. I like trailing commas! But I would like the two files to be stylised consistently. :) Thanks!Beta Was this translation helpful? Give feedback.
All reactions