Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(typescript-estree): correctTSImportType property name whenassert#11115

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

overlookmotel
Copy link
Contributor

PR Checklist

Overview

Iguesstoken.getText() is the best API to use to obtain the property name, but I'm unfamiliar with bothtypescript-eslint and TypeScript compiler, so I may well be on the wrong track. Ditto Ithink I've put the test in the right place.

If any changes required (or if I've gone about this in completely the wrong way), please do let me know.

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@overlookmotel!

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 onhttps://opencollective.com/typescript-eslint.

@netlifyNetlify
Copy link

netlifybot commentedApr 29, 2025
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commit5de0989
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/6818d7376a8b5100090f8939
😎 Deploy Previewhttps://deploy-preview-11115--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 (🔴 down 4 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 yourNetlify site configuration.

@nx-cloudNx Cloud
Copy link

nx-cloudbot commentedApr 29, 2025
edited
Loading

View yourCI Pipeline Execution ↗ for commit5de0989.

CommandStatusDurationResult
nx typecheck ast-spec✅ Succeeded3sView ↗
nx run-many --target=build --exclude website --...✅ Succeeded50sView ↗
nx run-many --target=clean✅ Succeeded11sView ↗

☁️Nx Cloud last updated this comment at2025-05-05 15:57:33 UTC

@codecovCodecov
Copy link

codecovbot commentedApr 29, 2025
edited
Loading

Codecov Report

Attention: Patch coverage is0% with13 lines in your changes missing coverage. Please review.

Project coverage is 90.89%. Comparing base(ccbfcdc) to head(5de0989).
Report is 11 commits behind head on main.

Files with missing linesPatch %Lines
packages/typescript-estree/src/convert.ts0.00%13 Missing⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust thetarget coverage.

Additional details and impacted files
@@            Coverage Diff             @@##             main   #11115      +/-   ##==========================================- Coverage   90.90%   90.89%   -0.02%==========================================  Files         498      498                Lines       50655    50663       +8       Branches     8335     8335              ==========================================  Hits        46049    46049- Misses       4591     4599       +8  Partials       15       15
FlagCoverage Δ
unittest90.89% <0.00%> (-0.02%)⬇️

Flags with carried forward coverage won't be shown.Click here to find out more.

Files with missing linesCoverage Δ
packages/typescript-estree/src/convert.ts30.66% <0.00%> (-0.09%)⬇️
🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@overlookmotel
Copy link
ContributorAuthor

Could someone please advise on how to fix thecodecov/patch CI fail? I'm a bit baffled as the changes made to tests does exercise multiple possible values ofwithOrAssertName. Is it just due to using longer var names?

@JoshuaKGoldberg
Copy link
Member

Could someone please advise on how to fix thecodecov/patch CI fail? I'm a bit baffled as the changes made to tests does exercise multiple possible values ofwithOrAssertName. Is it just due to using longer var names?

#6701 🫠. This PR is fine, it's the test coverage reporting that's wrong. You can ignore codecov. That's what I'd do (along with an exasperated sigh).

If you want to be awesome and go the extra mile, you could try to fix#6701. 😄

Copy link
Member

@JoshuaKGoldbergJoshuaKGoldberg left a comment
edited
Loading

Choose a reason for hiding this comment

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

Great first PR! 👏

I'm just requesting changes on making a dedicated fixture for this. The text parsing stuff I'm not confident on.

Jack Torrence in The Shining at the bar, happily waggling his eyebrows and holding a drink

@JoshuaKGoldbergJoshuaKGoldberg added the awaiting responseIssues waiting for a reply from the OP or another party labelMay 2, 2025
@overlookmotel
Copy link
ContributorAuthor

If you want to be awesome and go the extra mile, you could try to fix#6701. 😄

I aspire to being awesome, but I'm sorry to say I wouldn't have a clue how to do that!

JoshuaKGoldberg reacted with laugh emoji

@github-actionsgithub-actionsbot removed the awaiting responseIssues waiting for a reply from the OP or another party labelMay 2, 2025
bradzacher
bradzacher previously approved these changesMay 3, 2025
Copy link
Member

@bradzacherbradzacher left a comment

Choose a reason for hiding this comment

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

LGTM - great work!

@bradzacherbradzacher added the 1 approval>=1 team member has approved this PR; we're now leaving it open for more reviews before we merge labelMay 3, 2025
JoshuaKGoldberg
JoshuaKGoldberg previously approved these changesMay 5, 2025
Copy link
Member

@JoshuaKGoldbergJoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

🙌

@JoshuaKGoldbergJoshuaKGoldberg dismissed stale reviews frombradzacher and themself via5de0989May 5, 2025 15:20
@JoshuaKGoldbergJoshuaKGoldberg changed the titlefix(typescript-eslint): correctTSImportType property name whenassertfix(typescript-estree): correctTSImportType property name whenassertMay 5, 2025
@JoshuaKGoldbergJoshuaKGoldberg merged commit3c61357 intotypescript-eslint:mainMay 5, 2025
56 checks passed
@overlookmoteloverlookmotel deleted the fix-tsimporttype branchMay 5, 2025 19:10
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsMay 13, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@JoshuaKGoldbergJoshuaKGoldbergJoshuaKGoldberg left review comments

@bradzacherbradzacherbradzacher left review comments

Assignees
No one assigned
Labels
1 approval>=1 team member has approved this PR; we're now leaving it open for more reviews before we merge
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Bug:TSImportType'soption object always has keywith
3 participants
@overlookmotel@JoshuaKGoldberg@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp