Skip to content

Commit 64e8f54

Browse files
committed
chore: rename fmt script
1 parent 142bdc9 commit 64e8f54

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
cache: "pnpm"
2121
- run: pnpm install
2222
- name: Fix lint issues
23-
run: pnpm run lint:fix
23+
run: pnpm run fmt
2424
- uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8
2525
with:
2626
commit-message: "chore: apply automated updates"

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Custom `CLIError` class with error codes: `EARG`, `E_UNKNOWN_COMMAND`, `E_NO_COM
7272
| `pnpm test` | Lint + typecheck + vitest with coverage |
7373
| `pnpm test:types` | Type checking via `tsgo --noEmit` |
7474
| `pnpm lint` | `oxlint . && oxfmt --check` |
75-
| `pnpm lint:fix` | `oxlint . --fix && oxfmt` |
75+
| `pnpm fmt` | `oxlint . --fix && oxfmt` |
7676
| `pnpm build` | Build with obuild → `dist/` |
7777
| `pnpm play` | Run playground CLI |
7878

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build": "obuild",
1818
"dev": "vitest dev",
1919
"lint": "oxlint . && oxfmt --check",
20-
"lint:fix": "oxlint . --fix && oxfmt",
20+
"fmt": "oxlint . --fix && oxfmt",
2121
"prepack": "pnpm run build",
2222
"play": "node ./playground/cli.ts",
2323
"release": "pnpm test && pnpm build && changelogen --release --push && npm publish",

0 commit comments

Comments
 (0)