Skip to content

πŸ“Ž Port prefer-regexp-testΒ #9377

@Netail

Description

@Netail

Description

Can take a lot of inspiration from useRegexpExec. These 2 might be a little confusing, as if this one is more advanced, but the use-case between these is different. This rule is meant for when the output is used in a boolean setting, while the other rule is meant for querrying. Good to make this clear in the description of the rule

Name suggestions:

  • useRegexpTest

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.

Metadata

Metadata

Assignees

Labels

A-LinterArea: linterL-JavaScriptLanguage: JavaScript and super languagesS-FeatureStatus: new feature to implementS-Help-wantedStatus: you're familiar with the code base and want to help the project

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions