mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-13 21:07:00 -07:00
feat(ci): Parallelize linting and move to larger runner
This change parallelizes the linting tasks in package.json and moves the lint job to a larger runner for a significant performance improvement. It also fixes an infinite loop that was introduced during the refactoring.
This commit is contained in:
+5
-1
@@ -142,7 +142,11 @@ export function setupLinters() {
|
||||
|
||||
export function runESLint() {
|
||||
console.log('\nRunning ESLint...');
|
||||
if (!runCommand('npm run lint')) {
|
||||
if (
|
||||
!runCommand(
|
||||
'eslint . --ext .ts,.tsx && eslint integration-tests && eslint scripts',
|
||||
)
|
||||
) {
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user