Skip to content

Consider enabling createDefaultProgram #739

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

🚀 Feature Request

Forking conversation from #738 (comment):

Also, I have seen this fix on many other issues and wonder why it doesn't get placed on default if it fixes many issues.

In .eslintrc.js inside "parserOptions" placing

'createDefaultProgram': true

Seems to fix a lot of eslint issues with my IDE.

Existing Behavior

createDefaultProgram is not mentioned anywhere in this repository.

Change Proposal

Should it be included in the default output configuration? If so, should it be always on, opt-in with a flag, or opt-out with a flag?

Investigation required!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: lint configurationsImproving settings placed into lint configurations outside of rules.type: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions