Skip to content

Commit d5aea2b

Browse files
committed
Enable trailing commas
1 parent 0888d89 commit d5aea2b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.prettierrc

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"printWidth": 100,
33
"singleQuote": true,
4-
"trailingComma": "es5",
54
"plugins": ["prettier-plugin-organize-imports"]
65
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"fix:eslint": "pnpm lint:eslint --fix",
2424
"fix:json": "jsonsort src/locale",
2525
"fix:stylelint": "pnpm lint:stylelint --fix",
26-
"fix:prettier": "pnpm lint:prettier --write",
26+
"fix:prettier": "prettier \"src/**/*.{js,ts,tsx,cjs,mjs,cts,mts,scss}\" --write",
2727
"bundle": "webpack --config ./config/webpack.ts",
2828
"build:release": "pnpm -s bundle --env=release --node-env=production",
2929
"build:beta": "pnpm -s bundle --env=beta --node-env=production",

0 commit comments

Comments
 (0)