Skip to content

Commit 218d5a5

Browse files
authored
chore: rename fmt script to follow general convention (#95)
1 parent fcc4b05 commit 218d5a5

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
@@ -47,4 +47,4 @@ jobs:
4747
4848
- name: Check formatting of everything (prettier)
4949
run: |
50-
npm run fmt
50+
npm run fmt:check

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"lint:fix": "npm-run-all --parallel lint:fix:*",
1818
"lint:js": "eslint --max-warnings 0 .",
1919
"lint:fix:js": "eslint --max-warnings 0 . --fix",
20-
"fmt": "prettier --check .",
21-
"fmt:fix": "prettier --write ."
20+
"fmt": "prettier --write .",
21+
"fmt:check": "prettier --check ."
2222
},
2323
"lint-staged": {
2424
"**/*.{ts,tsx,jsx,js}": [

0 commit comments

Comments
 (0)