Skip to content

Commit b6bf82f

Browse files
committed
build: updated prettier command
1 parent 657e9a5 commit b6bf82f

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"eslint": "^8.57.0",
4040
"eslint-config-prettier": "^9.1.0",
4141
"eslint-plugin-jsdoc": "^48.2.0",
42+
"eslint-plugin-prettier": "^5.1.3",
4243
"eslint-plugin-tsdoc": "^0.2.17",
4344
"fs-extra": "^11.2.0",
4445
"klaw": "^4.1.0",

pnpm-lock.yaml

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

src/build/build-prettier.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export async function prettifySrc(basePath: string, srcPath: string, ci: boolean
2727
options.endOfLine = "lf";
2828
options.parser = "typescript";
2929
options.tabWidth = 4;
30+
options.arrowParens = "avoid" as const;
3031

3132
if (ci) {
3233
if (!(await prettier.check(contents, options))) {

0 commit comments

Comments
 (0)