mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-12 23:01:21 +00:00
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>
This commit is contained in:
parent
1924e10e72
commit
0549a02876
1 changed files with 2 additions and 2 deletions
|
|
@ -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" })
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue