Skip to content

Commit 0549a02

Browse files
KJ7LNWEric Wheeler
andauthored
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 <[email protected]> Co-authored-by: Eric Wheeler <[email protected]>
1 parent 1924e10 commit 0549a02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/run-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
const { execSync } = require("child_process")
33

44
if (process.platform === "win32") {
5-
execSync("npm-run-all test:*", { stdio: "inherit" })
5+
execSync("npm-run-all test:* lint:*", { stdio: "inherit" })
66
} else {
7-
execSync("npm-run-all -p test:*", { stdio: "inherit" })
7+
execSync("npm-run-all -p test:* lint:*", { stdio: "inherit" })
88
}

0 commit comments

Comments
 (0)