biome icon indicating copy to clipboard operation
biome copied to clipboard

📎 Port `prefer-includes` from typescript-eslint

Open jakeleventhal opened this issue 4 months ago • 5 comments

Description

https://typescript-eslint.io/rules/prefer-includes/

jakeleventhal avatar Oct 02 '25 18:10 jakeleventhal

Name suggestions:

  • useIncludes
  • noIndexOf (probably a worse name)

Want to contribute? Let us know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.

dyc3 avatar Oct 02 '25 22:10 dyc3

I don't have a preference on the name but I do not have time to contribute at the moment. I just wanted to open this to make sure it's tracked somewhere for now.

jakeleventhal avatar Oct 03 '25 09:10 jakeleventhal

I will work on it

kedevked avatar Oct 04 '25 21:10 kedevked

Still working on this one? @kedevked :)

Netail avatar Nov 12 '25 17:11 Netail

Yes I am still on it. I will open the PR this week.

kedevked avatar Nov 12 '25 18:11 kedevked