Skip to content
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

💅 incorrect noMisleadingCharacterClass on regexp #4950

Open
1 task done
piranha opened this issue Jan 23, 2025 · 0 comments
Open
1 task done

💅 incorrect noMisleadingCharacterClass on regexp #4950

piranha opened this issue Jan 23, 2025 · 0 comments
Labels
A-Linter Area: linter good first issue Good for newcomers S-Bug-confirmed Status: report has been confirmed as a valid bug S-Help-wanted Status: you're familiar with the code base and want to help the project

Comments

@piranha
Copy link

piranha commented Jan 23, 2025

Environment information

CLI:
  Version:                      1.9.4

Rule name

noMisleadingCharacterClass

Playground link

https://biomejs.dev/playground/?code=JwB0AGUAcwB0ACAAXAB1ADAAMwAwADEAIAB0AGgAaQBzACcALgByAGUAcABsAGEAYwBlACgALwBbAFwAdQAwADMAMAAwAC0AXAB1ADAAMwAwADIAXQAvAGcALAAgACcAWABYAFgAJwApAA%3D%3D

Expected result

I don't think /[\u0300-\u0302]/ warrants this error, it seems to be working well (it did work for me way before I installed biome 😁).

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@piranha piranha added the S-Needs triage Status: this issue needs to be triaged label Jan 23, 2025
@arendjr arendjr added good first issue Good for newcomers S-Help-wanted Status: you're familiar with the code base and want to help the project A-Linter Area: linter S-Bug-confirmed Status: report has been confirmed as a valid bug and removed S-Needs triage Status: this issue needs to be triaged labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter good first issue Good for newcomers S-Bug-confirmed Status: report has been confirmed as a valid bug 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

2 participants