[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
|
|
@ -21,11 +21,15 @@
|
|||
"start": "turbo run start",
|
||||
"lint": "turbo run lint",
|
||||
"clean": "turbo run clean",
|
||||
"format": "prettier --write \"**/*.{ts,tsx,md}\""
|
||||
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.15",
|
||||
"eslint-config-custom": "*",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"husky": "^9.0.11",
|
||||
"lint-staged": "^15.2.2",
|
||||
"postcss": "^8.4.29",
|
||||
"prettier": "latest",
|
||||
"prettier-plugin-tailwindcss": "^0.5.4",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue