Repository navigation
v1.17.19 - Fix ESLint timeout in large repos
Fixed
-
TypeScript Guard: ESLint timeout in large monorepos
- Optimized
@invar/require-schema-validationto traverse AST usingvisitorKeys(avoids pathological traversal) - Precomputes
.parse()/.safeParse()arguments once per function for O(1) checks - Fixes real-world hangs (e.g.
src/paralex/shell/actions/message.actions.ts) that triggered the 120s ESLint timeout
- Optimized
-
ESLint CLI: Faster file discovery
- Prefer
git ls-filesfor TS/TSX discovery when linting a directory - Avoids expensive filesystem globbing in repos with huge
node_modules
- Prefer
-
ESLint CLI: Parser resolution
- Prefer resolving
@typescript-eslint/parservia projecttypescript-eslintinstallation when available
- Prefer resolving