Skip to content

Commit

Permalink
chore: rename format:check to check:format (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1sk9 authored Jun 23, 2024
1 parent 07c6538 commit 94ccc77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Run fmt
run: |
pnpm format:check
pnpm check:format
- name: Run lint
run: |
Expand Down
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pre-commit:
commands:
check:format:
glob: '*.{js,ts,md}'
run: pnpm run format:check
run: pnpm run check:format
check:filename:
glob: '*.{js,ts}'
run: pnpm run check:filename
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"build:api": "node ./build/scripts/apidoc.js",
"build:prisma": "prisma generate",
"clean": "rm -r ./build",
"format": "prettier --write \"./**/*.{js,ts,md}\"",
"lint": "eslint . ",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"check:type": "tsc -p .",
"check:filename": "ls-lint",
"format": "prettier --write \"./**/*.{js,ts,md}\"",
"format:check": "prettier --check \"./**/*.{js,ts,md}\"",
"lint": "eslint . ",
"check:format": "prettier --check \"./**/*.{js,ts,md}\"",
"prepare": "pnpm run build:prisma",
"postinstall": "lefthook install"
},
Expand Down

0 comments on commit 94ccc77

Please sign in to comment.