[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:
parent
b084844565
commit
6236adf4bc
5 changed files with 362 additions and 11 deletions
3
.lintstagedrc.json
Normal file
3
.lintstagedrc.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"*.{ts,tsx,js,jsx}": ["eslint -c ./.eslintrc-staged.js", "prettier --check"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue