Skip to content

Commit 811587b

Browse files
committed
chore: update prettier config
1 parent b04cdce commit 811587b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

config/.prettierrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ module.exports = {
22
quoteProps: 'consistent',
33
singleQuote: true,
44
tabWidth: 2,
5-
trailingComma: 'es5',
5+
trailingComma: 'all',
66
useTabs: false,
7+
singleAttributePerLine: true,
78
semi: false,
8-
};
9-
9+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"typescript": "bun --filter=\"**\" typescript",
2323
"lint": "bun package lint && bun example lint",
2424
"lint-cpp": "./scripts/clang-format.sh",
25+
"prettier": "prettier --write .",
2526
"clean": "rm -rf **/tsconfig.tsbuildinfo node_modules package/node_module package/lib",
2627
"release": "./scripts/release.sh",
2728
"package": "bun --cwd package",

0 commit comments

Comments
 (0)