Browse Source

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

pull/401/head
Dan Ditomaso 1 year ago
parent
commit
e896555694
  1. 3
      package.json

3
package.json

@ -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"

Loading…
Cancel
Save