Skip to content

Remove project property from @typescript-eslint/parser options - #6701

Merged
ianschmitz merged 2 commits into
react:masterfrom
jackwilsdon:typescript-eslint-remove-project
Mar 29, 2019
Merged

Remove project property from @typescript-eslint/parser options#6701
ianschmitz merged 2 commits into
react:masterfrom
jackwilsdon:typescript-eslint-remove-project

Conversation

@jackwilsdon

Copy link
Copy Markdown
Contributor

The "project" property has a significant performance impact on linting,
and none our rules currently need it.

Fixes#6661.

@ianschmitz

Copy link
Copy Markdown
Contributor

We also have logic at the top of this file that is specific to the typescript project settings: https://github.com/facebook/create-react-app/blob/1f4516dd714732c00d1c3d02f9e3a3a495b3f608/packages/eslint-config-react-app/index.js#L26-L34.

The "project" property has a significant performance impact on linting,
and none our rules currently need it.
Fixes#6661.
@jackwilsdon

Copy link
Copy Markdown
ContributorAuthor

Oops, missed those! I've removed them now 👍

@ianschmitz

Copy link
Copy Markdown
Contributor

I removed some unnecessary code that was added for the project setting.

@jackwilsdon

Copy link
Copy Markdown
ContributorAuthor

Oops, missed those too 😖 cheers

@ianschmitz
ianschmitz merged commit 1a61db5 into react:masterMar 29, 2019
Idered added a commit to eyedea-io/create-react-app that referenced this pull request Apr 1, 2019
Remove project property from @typescript-eslint/parser options (react#6701)
@locklockBot locked and limited conversation to collaborators Apr 3, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jackwilsdon@ianschmitz@facebook-github-bot