Skip to content

📎 Implement useCharacterClassShortcut - unicorn/better-regex #5572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Conaclos opened this issue Apr 3, 2025 · 1 comment
Open

📎 Implement useCharacterClassShortcut - unicorn/better-regex #5572

Conaclos opened this issue Apr 3, 2025 · 1 comment
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Help-wanted Status: you're familiar with the code base and want to help the project

Comments

@Conaclos
Copy link
Member

Conaclos commented Apr 3, 2025

Description

Implement unicorn/better-regex.

Want to contribute? Lets we 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.

@Conaclos Conaclos added A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Help-wanted Status: you're familiar with the code base and want to help the project labels Apr 3, 2025
@Conaclos
Copy link
Member Author

Conaclos commented Apr 5, 2025

I wonder if we should not implement a rule that allows users to choose between character class shortcuts and expanded character classes. Some users may prefer [0-9] instead of \d. The rule could be named useConsistentCharacterClass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Help-wanted Status: you're familiar with the code base and want to help the project
Projects
None yet
Development

No branches or pull requests

1 participant