8000 When clearing typed linting options, also delete parserOptions.EXPERIMENTAL_useProjectService · Issue #2962 · import-js/eslint-plugin-import · GitHub
[go: up one dir, main page]

Skip to content
When clearing typed linting options, also delete parserOptions.EXPERIMENTAL_useProjectService #2962
Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0