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(eslint-plugin): [prefer-optional-chain] collect MetaProperty type#6083

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

Merged
JoshuaKGoldberg merged 4 commits intotypescript-eslint:mainfromYuseiUeno:6000-fix_pref_opt_chain_meta
Nov 29, 2022
Merged

fix(eslint-plugin): [prefer-optional-chain] collect MetaProperty type#6083

JoshuaKGoldberg merged 4 commits intotypescript-eslint:mainfromYuseiUeno:6000-fix_pref_opt_chain_meta
Nov 29, 2022

Conversation

@YuseiUeno
Copy link
Contributor

@YuseiUenoYuseiUeno commentedNov 25, 2022
edited
Loading

PR Checklist

Overview

Fix prefer-optional-chain cannot collect MetaProperty type bug

@nx-cloud
Copy link

nx-cloudbot commentedNov 25, 2022
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commiteadef41. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 47 targets

Sent with 💌 fromNxCloud.

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@YuseiUeno!

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.

@netlify
Copy link

netlifybot commentedNov 25, 2022
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commiteadef41
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/63865648e1cdd6000906b688
😎 Deploy Previewhttps://deploy-preview-6083--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify site settings.

@codecov
Copy link

codecovbot commentedNov 25, 2022
edited
Loading

Codecov Report

Merging#6083 (d01801d) intomain (76aacc0) willincrease coverage by0.00%.
The diff coverage is100.00%.

❗ Current headd01801d differs from pull request most recent headeadef41. Consider uploading reports for the commiteadef41 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@##             main    #6083   +/-   ##=======================================  Coverage   91.27%   91.27%           =======================================  Files         366      366             Lines       12417    12419    +2       Branches     3631     3632    +1     =======================================+ Hits        11333    11335    +2  Misses        774      774             Partials      310      310
FlagCoverage Δ
unittest91.27% <100.00%> (+<0.01%)⬆️

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

Impacted FilesCoverage Δ
...s/eslint-plugin/src/rules/prefer-optional-chain.ts98.63% <100.00%> (+0.01%)⬆️

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.

Looks great so far, thanks!

Could you please also add aninvalid test case to make sure meta properties work for the rule reporting complaints?

YuseiUeno reacted with thumbs up emoji
@JoshuaKGoldbergJoshuaKGoldberg added the awaiting responseIssues waiting for a reply from the OP or another party labelNov 25, 2022
@YuseiUeno
Copy link
ContributorAuthor

I'm late but I fixed it

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.

Looks great, thanks for this@YuseiUeno! 🙌

I added a few tests at the end - didn't want to bug you about them, since they're just small edge cases. 😄

YuseiUeno reacted with thumbs up emoji
@JoshuaKGoldbergJoshuaKGoldbergenabled auto-merge (squash)November 29, 2022 18:58
@JoshuaKGoldbergJoshuaKGoldberg merged commitd7114d3 intotypescript-eslint:mainNov 29, 2022
@YuseiUeno
Copy link
ContributorAuthor

Thank you for adding test cases :)

JoshuaKGoldberg reacted with heart emoji

@YuseiUenoYuseiUeno deleted the 6000-fix_pref_opt_chain_meta branchNovember 30, 2022 00:43
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsDec 7, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@JoshuaKGoldbergJoshuaKGoldbergJoshuaKGoldberg approved these changes

+1 more reviewer

@omril1omril1omril1 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

awaiting responseIssues waiting for a reply from the OP or another party

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Bug: [prefer-optional-chain] Crashes when parsing animport.meta member with both the|| and! operators

3 participants

@YuseiUeno@JoshuaKGoldberg@omril1

[8]ページ先頭

©2009-2025 Movatter.jp