Skip to content

Commit 323f954

Browse files
committed
chore: Fix formatting
1 parent 9ce346d commit 323f954

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.cursor/rules/eslint-plugin-playwright.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ runRuleTester('{rule-name}', rule, {
235235
- `pnpm test:watch` - Run tests in watch mode
236236
- `pnpm build` - Build the plugin
237237
- `pnpm lint` - Run ESLint
238-
- `pnpm fmt` - Format code with Prettier
238+
- `pnpm format` - Format code with Prettier
239239

240240
### Release Process
241241

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node-version: [18.x, 20.x, 22.x]
12+
node-version: [20.x, 22.x, 24.x]
1313
steps:
1414
- name: Setup Node.js ${{ matrix.node-version }}
1515
uses: mskelton/setup-pnpm@v2
1616
with:
1717
node-version: ${{ matrix.node-version }}
18-
- run: pnpm fmt:check
18+
- run: pnpm format:check
1919
- run: pnpm lint
2020
- run: pnpm test
2121
- run: pnpm ts

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"scripts": {
3434
"build": "tsup src/index.ts --format cjs --out-dir dist",
3535
"lint": "eslint .",
36-
"fmt": "prettier --write .",
37-
"fmt:check": "prettier --check .",
36+
"format": "prettier --write .",
37+
"format:check": "prettier --check .",
3838
"test": "vitest --run --hideSkippedTests",
3939
"test:watch": "vitest --reporter=dot --run",
4040
"ts": "tsc --noEmit"

src/rules/missing-playwright-await.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ runRuleTester('missing-playwright-await', rule, {
377377
const expectation = expect(pageCover, "message").toBeVisible();
378378
await page.clock.runFor(60_000);
379379
await expectation;
380-
`)
380+
`),
381381
),
382382
},
383383
],

0 commit comments

Comments
 (0)