mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
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>
8 lines
235 B
JavaScript
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" })
|
|
}
|