feat: format code before submitting it #1251 (#1252)

### What problem does this PR solve?

feat: format code before submitting it #1251 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-06-24 14:48:21 +08:00
committed by GitHub
parent 4fcd05ad23
commit 9a0736b20f
4 changed files with 694 additions and 36 deletions

2
web/.husky/pre-commit Normal file
View File

@ -0,0 +1,2 @@
cd web
npx lint-staged