Skip to content

Conversation

@lucasweng
Copy link
Contributor

Summary

Fixed #6042. The rule now reports useless escapes after skipping \${ in template literals.

Test Plan

  • Added more tests for template literals with \${.
  • Existing tests pass.

@codspeed-hq
Copy link

codspeed-hq bot commented May 17, 2025

CodSpeed Performance Report

Merging #6044 will not alter performance

Comparing lucasweng:fix/noUselessEscapeInString (01c962c) with main (3e8fbee)

Summary

✅ 94 untouched benchmarks
🆕 1 new benchmarks

Benchmarks breakdown

Benchmark BASE HEAD Change
🆕 html_formatter[index_1033418810622582172.html] N/A 462.7 µs N/A

@dyc3 dyc3 requested a review from Conaclos May 17, 2025 03:20
Copy link
Member

@Conaclos Conaclos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Conaclos Conaclos merged commit a82a1f2 into biomejs:main May 17, 2025
13 checks passed
@lucasweng lucasweng deleted the fix/noUselessEscapeInString branch May 17, 2025 11:16
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants