Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[eslint-plugin] Breaking: enable type information for prefer-optional-chain #4820

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Overview

Following #4706 (comment): neither rule @typescript-eslint/prefer-optional-chain does not require type information right now but would be able to avoid many false positives with it. Both @bradzacher and I have felt that pain repeatedly.

For the 6.0 release, it'd be great have type information added as a breaking change! That would enable adding the rules rule to recommended-requiring-type-checking stylistic-type-checked.

Metadata

Metadata

Assignees

Labels

accepting prsGo ahead, send a pull request that resolves this issuebreaking changeThis change will require a new major version to be releasedenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions