Content-Length: 311547 | pFad | https://github.com/typescript-eslint/typescript-eslint/pull/10939

25 fix(typescript-estree): fix span start for decorated `AssignmentPattern` function parameter by ronami · Pull Request #10939 · typescript-eslint/typescript-eslint · GitHub
Skip to content

fix(typescript-estree): fix span start for decorated AssignmentPattern function parameter #10939

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

Conversation

ronami
Copy link
Member

@ronami ronami commented Mar 11, 2025

PR Checklist

Overview

This PR addresses #10937 and adjusts the range for decorated AssignmentPattern function parameter to match other binding patterns.

I've added a test for this since the change didn't cause any tests to fail (and so this was probably missing a test).

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @ronami!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

Copy link

netlify bot commented Mar 11, 2025

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit 0b94d61
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/67d0741dfc809200081dc582
😎 Deploy Preview https://deploy-preview-10939--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94 (🟢 up 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 98 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

nx-cloud bot commented Mar 11, 2025

View your CI Pipeline Execution ↗ for commit 0b94d61.

Command Status Duration Result
nx run-many --target=build --exclude website --... ✅ Succeeded 2s View ↗
nx run-many --target=clean ✅ Succeeded 10s View ↗

☁️ Nx Cloud last updated this comment at 2025-03-11 17:52:01 UTC

@ronami ronami marked this pull request as ready for review March 11, 2025 17:56
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

👍 LGTM! Confirmed the range doesn't include the parameter in the snapshots.

@JoshuaKGoldberg JoshuaKGoldberg merged commit 3af10cc into typescript-eslint:main Mar 17, 2025
60 of 61 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: wrong span start for decorated AssignmentPattern parameter
2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/typescript-eslint/typescript-eslint/pull/10939

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy