Skip to content

Commit 2a1c8f2

Browse files
committed
feat(prettier-config): adjust trailingComma to all
1 parent effab31 commit 2a1c8f2

File tree

3 files changed

+27
-12
lines changed

3 files changed

+27
-12
lines changed

packages/prettier-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
],
2626
"homepage": "https://github.com/vexip-ui/lint-config",
2727
"dependencies": {
28-
"prettier-plugin-packagejson": "^2.5.14"
28+
"prettier-plugin-packagejson": "^2.5.19"
2929
},
3030
"peerDependencies": {
3131
"prettier": ">=3.0.0"

packages/prettier-config/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
semi: false,
1414
singleQuote: true,
1515
tabWidth: 2,
16-
trailingComma: 'none',
16+
trailingComma: 'all',
1717
useTabs: false,
1818
vueIndentScriptAndStyle: false,
1919
jsxSingleQuote: true,

pnpm-lock.yaml

Lines changed: 25 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)