[WEB-1390] chore: Add pre commit hook to check for lint and formatting errors (#4537)

* Add pre commit hook

* Add comments
This commit is contained in:
Satish Gandham 2024-05-22 15:50:15 +05:30 committed by GitHub
parent b084844565
commit 6236adf4bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 362 additions and 11 deletions

3
.lintstagedrc.json Normal file
View file

@ -0,0 +1,3 @@
{
"*.{ts,tsx,js,jsx}": ["eslint -c ./.eslintrc-staged.js", "prettier --check"]
}