Refactor: Deprecate createDefaultProgram/shouldCreateDefaultProgram #5857
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
breaking change
This change will require a new major version to be released
refactor
PRs that refactor code only
Overview
Back in the day, if a user didn't provide a
parserOptions.project
,@typescript-eslint/parser
would create one behind-the-scenes for them. This was convenient but came at severe performance cost: the parser would recompute a bunch of information for each file added.We wish to remove the
createDefaultProgram
option. But, there may be some users who still rely on it. See #3627.For now, our plan will be:
deprecated__createDefaultProgram
The text was updated successfully, but these errors were encountered: