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

Add support for ES2025 duplicate named capturing groups #752

Merged
merged 19 commits into from
Sep 12, 2024
Merged

Conversation

ota-meshi
Copy link
Owner

This PR updates regexpp and some rules to add support for ES2025 duplicate named capturing groups.

Copy link

changeset-bot bot commented Jun 28, 2024

🦋 Changeset detected

Latest commit: 990b3ec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-regexp Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ota-meshi
Copy link
Owner Author

Oh, we might need to update regexp-ast-analysis too.

@ota-meshi
Copy link
Owner Author

Although the refa hasn't been updated yet, I think this PR can be merged, so I will mark this PR as ready for review.

@@ -86,6 +86,7 @@ export function testTypeTrackerWithLinter(testCase: TestCase): string[] {
parserOptions: {
tsconfigRootDir,
project,
disallowAutomaticSingleRunInference: true,
Copy link
Owner Author

Choose a reason for hiding this comment

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

This was what we needed to get tests to pass with the new tseslint.

@ota-meshi
Copy link
Owner Author

I'll merge this since CI has been failing for a long time.

@ota-meshi ota-meshi merged commit 799fab3 into master Sep 12, 2024
7 checks passed
@ota-meshi ota-meshi deleted the es2025 branch September 12, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant