Skip to content

fix(workflow-vite): resolve lint hanging in TypeScript-only projects - #877

Merged
jordan-a-young merged 1 commit into
masterfrom
fix/linter-hangs-bug
Jun 29, 2026
Merged

jordan-a-young merged 1 commit into
masterfrom
fix/linter-hangs-bug

Conversation

@jordan-a-young

Copy link
Copy Markdown
Member
  • Add errorOnUnmatchedPattern: false to ESLint constructor so glob patterns matching zero files (e.g. *.js in TS-only projects) no longer throw
  • Change handleError to call process.exit(1) instead of setting process.exitCode so the process terminates on failure instead of hanging on lingering event-loop handles

- Add errorOnUnmatchedPattern: false to ESLint constructor so glob
  patterns matching zero files (e.g. *.js in TS-only projects) no
  longer throw
- Change handleError to call process.exit(1) instead of setting
  process.exitCode so the process terminates on failure instead of
  hanging on lingering event-loop handles
@jordan-a-young
jordan-a-young merged commit e380f0d into master Jun 29, 2026
7 checks passed
@jordan-a-young
jordan-a-young deleted the fix/linter-hangs-bug branch June 29, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant