Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refactor: Deprecate createDefaultProgram/shouldCreateDefaultProgram #5857

Closed
Assignees
JoshuaKGoldberg
Labels
accepting prsGo ahead, send a pull request that resolves this issuebreaking changeThis change will require a new major version to be releasedrefactorPRs that refactor code only
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Overview

Back in the day, if a user didn't provide aparserOptions.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 informationfor each file added.

We wish to remove thecreateDefaultProgram option. But, there may be some users who still rely on it. See#3627.

For now, our plan will be:

  1. In the upcoming major version, rename it todeprecated__createDefaultProgram
  2. Remove it in thenext major version

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issuebreaking changeThis change will require a new major version to be releasedrefactorPRs that refactor code only

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp