Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When clearing typed linting options, also delete parserOptions.EXPERIMENTAL_useProjectService #2962

Closed
JoshuaKGoldberg opened this issue Feb 10, 2024 · 0 comments · Fixed by #2963

Comments

@JoshuaKGoldberg
Copy link
Contributor

Following typescript-eslint/typescript-eslint#8424 (comment): right now, eslint-plugin-import deletes the two known parserOptions from typescript-eslint's typed linting:

// @typescript-eslint/parser will parse the entire project with typechecking if you provide
// "project" or "projects" in parserOptions. Removing these options means the parser will
// only parse one file in isolate mode, which is much, much faster.
// https://github.com/import-js/eslint-plugin-import/issues/1408#issuecomment-509298962
delete parserOptions.project;
delete parserOptions.projects;

...but we added an EXPERIMENTAL_useProjectService too. Folks using it are experiencing the performance issues from #1408 again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant