Roo-Code/scripts/run-tests.js
KJ7LNW 0549a02876
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 <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-27 22:39:56 -04:00

8 lines
235 B
JavaScript

// run-tests.js
const { execSync } = require("child_process")
if (process.platform === "win32") {
execSync("npm-run-all test:* lint:*", { stdio: "inherit" })
} else {
execSync("npm-run-all -p test:* lint:*", { stdio: "inherit" })
}