test(linter): enable more no-misleading-character-class tests#19005
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Merging this PR will not alter performance
Comparing Footnotes
|
66881ba to
b249ee2
Compare
7d6eaf6 to
97c1de0
Compare
Merge activity
|
97c1de0 to
87f78a7
Compare
There was a problem hiding this comment.
Pull request overview
This PR enables 4 previously commented-out test cases for the no-misleading-character-class ESLint rule. These tests now pass after PR #18998 fixed the handling of unicode escape sequences in regex patterns created from string literals. The fix ensures that unicode escapes like \uXXXX are correctly identified as CharacterKind::UnicodeEscape rather than CharacterKind::Symbol.
Changes:
- Removed resolved issue #13660 from TODO comment since it was fixed by PR #18998
- Enabled 3 test cases using
RegExp()with string literals containing unicode escape sequences - Enabled 1 test case using
RegExp()with template literal containing unicode escape sequences
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
after #18998 the tests are now passing now
87f78a7 to
a308b42
Compare
after #18998 the tests are now passing now
a308b42 to
f0df9ed
Compare
…project#19005) after oxc-project#18998 the tests are now passing now

after #18998 the tests are now passing now