Skip to content

Commit 262ad89

Browse files
committed
chore: prettier
1 parent 59dba95 commit 262ad89

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ node_modules
33
.env
44
.pnp.cjs
55
.parcel-cache
6+
**/.parcel-cache
7+
**/.nx
68

79
yarn-error.log
810
debug.log

scripts/formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export async function formatter(language: string, cwd: string): Promise<void> {
3838
break;
3939
case 'javascript':
4040
await run(
41-
`yarn oxlint -c ${toAbsolutePath('oxlintrc.json')} --fix --fix-suggestions --fix-dangerously --disable-react-plugin --promise-plugin --node-plugin --security-plugin --import-plugin ${cwd} && yarn prettier --write ${cwd}`,
41+
`yarn oxlint -c ${toAbsolutePath('oxlintrc.json')} --fix --fix-suggestions --fix-dangerously --disable-react-plugin --promise-plugin --node-plugin --security-plugin --import-plugin ${cwd} && yarn prettier --write ${cwd} --ignore-path=${toAbsolutePath('.prettierignore')}`,
4242
{ language },
4343
);
4444
break;

0 commit comments

Comments
 (0)