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:
KJ7LNW 2025-04-27 19:39:56 -07:00 committed by GitHub
parent 1924e10e72
commit 0549a02876
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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" })
}