From e8965556941ecbca5974b13337298cbfc86451ab Mon Sep 17 00:00:00 2001 From: Dan Ditomaso Date: Mon, 3 Feb 2025 20:35:31 -0500 Subject: [PATCH] added: added lint-staged so linting runs when a file is staged. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 2b685ffe..26e9d0a8 100644 --- a/package.json +++ b/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"