added: added lint-staged so linting runs when a file is staged.

This commit is contained in:
Dan Ditomaso
2025-02-03 20:35:31 -05:00
parent 095f1fde27
commit e896555694

View File

@@ -18,6 +18,9 @@
"simple-git-hooks": {
"pre-commit": "npm run check:fix && npm run format"
},
"lint-staged": {
"*.{ts,tsx}": ["npm run check:fix", "npm run format"]
},
"repository": {
"type": "git",
"url": "git+https://github.com/meshtastic/web.git"