You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(compat-eslint): drop loadEslintInternals indirection
The wrapper was a cached `require` for one symbol — but Node's
`require` is already lazy (loads on first call) and cached
(subsequent calls return the same exports). The module-level
`eslintInternals` slot, the `loadEslintInternals` function, and
the duplicated CodePathAnalyzer constructor type were all
re-implementing what `require` already does for free.
Inline the require directly inside `runCpaInline` with a `typeof
import('...')` annotation that picks up the existing
`code-path-analyzer.d.ts`. Same lazy-load behavior, fewer pieces.
0 commit comments