feat: add code style (#242)

This commit is contained in:
Joel 2023-05-29 17:49:01 +08:00 • committed by GitHub
commit 091beffae7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 53 additions and 8 deletions

4
web/.husky/pre-commit Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
cd ./web && npx lint-staged