Prettier config's trailing comma option #10520
Unanswered
hyunbinseo
asked this question in
Q&A
Replies: 1 comment
-
This is for my personal use: {
"singleQuote": true,
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The default template's Prettier configuration sets the trailing comma to none.
Is there a specific reason for this?
The default option changed to
"trailingComma": "all"
in Prettier v3.Beta Was this translation helpful? Give feedback.
All reactions