Skip to content

📎 Expand useIncludes with more cases #10552

@Netail

Description

@Netail

Description

Now that typescript-eslint's useIncludes is in (#10516 / #7654), let's make the rule more powerful like eslint-unicorn's version (https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs%2Frules%2Fprefer-includes.md) by covering lastIndexOf() & some()

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AnalyzerArea: analyzerL-JavaScriptLanguage: JavaScript and super languagesS-EnhancementStatus: Improve an existing featureS-Help-wantedStatus: you're familiar with the code base and want to help the project

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions