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
I guess some memoization/caching of isEnablingThisRule could help, as it seems to repeat the same version check for every file and doing Denver intersect checks that I guess can be somewhat expensive.
It should at most have to do those checks once for every unique version number.
Environment
Node version: 22.11
npm version: pnpm 9.15.3
ESLint version: 9.9.1
eslint-plugin-n version: 17.9.0
Operating System: Linux
What rule do you want to report?
n/prefer-node-protocol
Link to Minimal Reproducible Example
https://github.com/sveltejs/svelte
What did you expect to happen?
If I set
TIMING=20
while running eslint, I can see that almost half the time linting the Svelte codebase is spent on this ruleParticipation
Additional comments
No response
The text was updated successfully, but these errors were encountered: