Skip to content

Commit d03073b

Browse files
committed
style(prettier): 💄 update Prettier configuration
- Remove useTabs option from .prettierrc.cjs - Uncomment trailingComma option in .prettierrc.cjs
1 parent 1c2fb68 commit d03073b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.prettierrc.cjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = {
4040

4141
// use spaces instead of indentations
4242
// https://github.com/prettier/prettier/issues/7475
43-
useTabs: true,
43+
// useTabs: true,
4444

4545
// semicolon at the end of the line
4646
// default
@@ -60,7 +60,7 @@ module.exports = {
6060

6161
// no comma at the end
6262
// default
63-
// trailingComma: "all",
63+
trailingComma: "all",
6464

6565
// spaces are required at the beginning and end of the braces
6666
// default

0 commit comments

Comments
 (0)