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

fix(noUselessEscapeInRegex): handle \9 backreference #3610

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

Conaclos
Copy link
Member

@Conaclos Conaclos commented Aug 7, 2024

Summary

Fix the failing build on the website. See https://github.com/biomejs/website/actions/runs/10282489937/job/28454302319

Actually this caught a bug, because the range should be inclusive.

Test Plan

I added a test to avoid a regression. I also added a test for Unicode characters.

@Conaclos Conaclos added the A-Changelog Area: changelog label Aug 7, 2024
@github-actions github-actions bot added A-Linter Area: linter L-JavaScript Language: JavaScript and super languages and removed A-Changelog Area: changelog labels Aug 7, 2024
@Conaclos Conaclos added the A-Changelog Area: changelog label Aug 7, 2024
@Conaclos Conaclos merged commit 7a8a1cc into main Aug 7, 2024
14 checks passed
@Conaclos Conaclos deleted the conaclos/noUselessEscapeInRegex-fix-website-error branch August 7, 2024 11:40
Copy link

codspeed-hq bot commented Aug 7, 2024

CodSpeed Performance Report

Merging #3610 will improve performances by 6.49%

Comparing conaclos/noUselessEscapeInRegex-fix-website-error (5a2419b) with main (f1ceeef)

Summary

⚡ 1 improvements
✅ 103 untouched benchmarks

Benchmarks breakdown

Benchmark main conaclos/noUselessEscapeInRegex-fix-website-error Change
pure_9395922602181450299.css[cached] 4.1 ms 3.9 ms +6.49%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog A-Linter Area: linter L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants