Updating husky hook and adding lint-staged

This commit is contained in:
a8trejo
2024-12-10 14:27:28 -08:00
parent 51e034c399
commit 3ec7bbc5d3
4 changed files with 590 additions and 2 deletions

View File

@@ -169,6 +169,7 @@
"eslint": "^8.57.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.11",
"npm-run-all": "^4.1.5",
"ts-jest": "^29.2.5",
"typescript": "^5.4.5"
@@ -206,5 +207,10 @@
"tree-sitter-wasms": "^0.1.11",
"turndown": "^7.2.0",
"web-tree-sitter": "^0.22.6"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"npx eslint -c .eslintrc.json"
]
}
}