Skip to content

Commit 0a7ad0c

Browse files
committed
Migrate prettier
1 parent 28db553 commit 0a7ad0c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
node-version-file: '.nvmrc'
1515
cache: 'pnpm'
1616
- run: pnpm install --frozen-lockfile
17-
- run: pnpm lint:format
17+
- run: pnpm run format:check
1818
- run: pnpm -r test:run
1919
- run: pnpm lint
2020
- run: pnpm build

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"scripts": {
77
"test:e2e": "nx run-many --target=e2e --all",
88
"lint": "nx run-many --target=lint --all",
9-
"lint:format": "nx format:check --all",
10-
"lint:workspace": "nx workspace-lint",
9+
"format:check": "pnpm prettier {packages,apps}/**/*.{ts,tsx,md,vue} --check --no-error-on-unmatched-pattern",
10+
"format:apply": "pnpm prettier {packages,apps}/**/*.{ts,tsx,md,vue} --write --no-error-on-unmatched-pattern",
1111
"lint:changes": "changeset status",
1212
"build": "nx run-many --target=build --all",
1313
"format": "nx format:write",

0 commit comments

Comments
 (0)