Add dev setup script. Run prettier on web app pre-commit

This commit is contained in:
Debanjum Singh Solanky
2024-08-05 15:48:58 +05:30
parent 91047d1619
commit 7cb14ff07a
2 changed files with 120 additions and 1 deletions

View File

@@ -186,7 +186,7 @@ In whichever clients you're using for testing, you'll need to update the server
### Before Making Changes
1. Install Git Hooks for Validation
```shell
pre-commit install -t pre-push -t pre-commit
./scripts/dev_setup.sh
```
- This ensures standard code formatting fixes and other checks run automatically on every commit and push
- Note 1: If [pre-commit](https://pre-commit.com/#intro) didn't already get installed, [install it](https://pre-commit.com/#install) via `pip install pre-commit`