From 0549a028760c9b68df5aef4814e3da70602f6394 Mon Sep 17 00:00:00 2001 From: KJ7LNW <93454819+KJ7LNW@users.noreply.github.com> Date: Sun, 27 Apr 2025 19:39:56 -0700 Subject: [PATCH] test: run linting during npm test (#2981) Run linting checks alongside tests to catch style and formatting issues before pushing code or creating PRs, saving developers time by identifying problems earlier. - Added lint:* to npm test command execution - Maintains parallel execution on non-Windows systems Signed-off-by: Eric Wheeler Co-authored-by: Eric Wheeler --- scripts/run-tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run-tests.js b/scripts/run-tests.js index 9ea8a835dd..b8f87182bd 100644 --- a/scripts/run-tests.js +++ b/scripts/run-tests.js @@ -2,7 +2,7 @@ const { execSync } = require("child_process") if (process.platform === "win32") { - execSync("npm-run-all test:*", { stdio: "inherit" }) + execSync("npm-run-all test:* lint:*", { stdio: "inherit" }) } else { - execSync("npm-run-all -p test:*", { stdio: "inherit" }) + execSync("npm-run-all -p test:* lint:*", { stdio: "inherit" }) }