Skip to content

Commit

Permalink
🔨 使提交时检查文档格式
Browse files Browse the repository at this point in the history
Signed-off-by: 舰队的偶像-岛风酱! <[email protected]>
  • Loading branch information
frg2089 committed Aug 1, 2023
1 parent 4ed8570 commit f993084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn format
yarn prettier --check --config prettier.config.yaml .

0 comments on commit f993084

Please sign in to comment.