mirror of
https://github.com/meshtastic/web.git
synced 2026-04-20 13:58:44 -04:00
added: added lint-staged so linting runs when a file is staged.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user