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): [no-unsafe-return] handle recursive type#10883

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 3 commits intotypescript-eslint:mainfromyeonjuan:fixes/10868
Mar 10, 2025

Conversation

@yeonjuan
Copy link
Contributor

PR Checklist

Overview

Zamralik reacted with heart emoji
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@yeonjuan!

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 commentedFeb 25, 2025
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commitf257658
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/67c70bc411ca4b0008db7069
😎 Deploy Previewhttps://deploy-preview-10883--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: 89 (🔴 down 9 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-cloud
Copy link

nx-cloudbot commentedFeb 25, 2025
edited
Loading

View yourCI Pipeline Execution ↗ for commitf257658.

CommandStatusDurationResult
nx run-many --target=build --exclude website --...✅ Succeeded4sView ↗
nx run-many --target=clean✅ Succeeded10sView ↗

☁️Nx Cloud last updated this comment at2025-03-05 12:22:15 UTC

@codecov
Copy link

codecovbot commentedFeb 25, 2025
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.58%. Comparing base(fb790dc) to head(f257658).
Report is 52 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@##             main   #10883      +/-   ##==========================================+ Coverage   87.30%   87.58%   +0.27%==========================================  Files         450      470      +20       Lines       15768    16095     +327       Branches     4617     4667      +50     ==========================================+ Hits        13767    14097     +330+ Misses       1645     1642       -3  Partials      356      356
FlagCoverage Δ
unittest87.58% <100.00%> (+0.27%)⬆️

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

Files with missing linesCoverage Δ
packages/type-utils/src/discriminateAnyType.ts100.00% <100.00%> (ø)
packages/type-utils/src/predicates.ts30.76% <ø> (+9.55%)⬆️

... and41 files with indirect coverage changes

🚀 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.

@yeonjuanyeonjuan marked this pull request as ready for reviewMarch 4, 2025 14:12
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.

Awesome! +1 on the moving out of the 'predicates' file and further +1 on the extra unit test coverage. 🔥 Thanks!

yeonjuan, ronami, and Zamralik reacted with heart emoji
@JoshuaKGoldbergJoshuaKGoldberg added the 1 approval>=1 team member has approved this PR; we're now leaving it open for more reviews before we merge labelMar 5, 2025
@JoshuaKGoldberg
Copy link
Member

Merging a couple days sooner than our normal 1 week waiting period to get it into the weekly release today. ⚡

@JoshuaKGoldbergJoshuaKGoldberg merged commitee90e45 intotypescript-eslint:mainMar 10, 2025
90 of 93 checks passed
renovatebot added a commit to andrei-picus-tink/auto-renovate that referenced this pull requestMar 11, 2025
| datasource | package                          | from   | to     || ---------- | -------------------------------- | ------ | ------ || npm        | @typescript-eslint/eslint-plugin | 8.26.0 | 8.26.1 || npm        | @typescript-eslint/parser        | 8.26.0 | 8.26.1 |## [v8.26.1](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8261-2025-03-10)##### 🩹 Fixes-   **eslint-plugin:** \[no-unsafe-return] handle recursive type ([#10883](typescript-eslint/typescript-eslint#10883))-   **eslint-plugin:** \[prefer-nullish-coalescing] treat `any`/`unknown` as eligible for nullish coalescing ([#10865](typescript-eslint/typescript-eslint#10865))##### ❤️ Thank You-   Kirk Waiblinger [@kirkwaiblinger](https://github.com/kirkwaiblinger)-   YeonJuan [@yeonjuan](https://github.com/yeonjuan)You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
renovatebot added a commit to andrei-picus-tink/auto-renovate that referenced this pull requestMar 13, 2025
| datasource | package                          | from   | to     || ---------- | -------------------------------- | ------ | ------ || npm        | @typescript-eslint/eslint-plugin | 8.26.0 | 8.26.1 || npm        | @typescript-eslint/parser        | 8.26.0 | 8.26.1 |## [v8.26.1](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8261-2025-03-10)##### 🩹 Fixes-   **eslint-plugin:** \[no-unsafe-return] handle recursive type ([#10883](typescript-eslint/typescript-eslint#10883))-   **eslint-plugin:** \[prefer-nullish-coalescing] treat `any`/`unknown` as eligible for nullish coalescing ([#10865](typescript-eslint/typescript-eslint#10865))##### ❤️ Thank You-   Kirk Waiblinger [@kirkwaiblinger](https://github.com/kirkwaiblinger)-   YeonJuan [@yeonjuan](https://github.com/yeonjuan)You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
renovatebot added a commit to andrei-picus-tink/auto-renovate that referenced this pull requestMar 14, 2025
| datasource | package                          | from   | to     || ---------- | -------------------------------- | ------ | ------ || npm        | @typescript-eslint/eslint-plugin | 8.26.0 | 8.26.1 || npm        | @typescript-eslint/parser        | 8.26.0 | 8.26.1 |## [v8.26.1](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8261-2025-03-10)##### 🩹 Fixes-   **eslint-plugin:** \[no-unsafe-return] handle recursive type ([#10883](typescript-eslint/typescript-eslint#10883))-   **eslint-plugin:** \[prefer-nullish-coalescing] treat `any`/`unknown` as eligible for nullish coalescing ([#10865](typescript-eslint/typescript-eslint#10865))##### ❤️ Thank You-   Kirk Waiblinger [@kirkwaiblinger](https://github.com/kirkwaiblinger)-   YeonJuan [@yeonjuan](https://github.com/yeonjuan)You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
renovatebot added a commit to andrei-picus-tink/auto-renovate that referenced this pull requestMar 15, 2025
| datasource | package                          | from   | to     || ---------- | -------------------------------- | ------ | ------ || npm        | @typescript-eslint/eslint-plugin | 8.26.0 | 8.26.1 || npm        | @typescript-eslint/parser        | 8.26.0 | 8.26.1 |## [v8.26.1](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8261-2025-03-10)##### 🩹 Fixes-   **eslint-plugin:** \[no-unsafe-return] handle recursive type ([#10883](typescript-eslint/typescript-eslint#10883))-   **eslint-plugin:** \[prefer-nullish-coalescing] treat `any`/`unknown` as eligible for nullish coalescing ([#10865](typescript-eslint/typescript-eslint#10865))##### ❤️ Thank You-   Kirk Waiblinger [@kirkwaiblinger](https://github.com/kirkwaiblinger)-   YeonJuan [@yeonjuan](https://github.com/yeonjuan)You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
renovatebot added a commit to andrei-picus-tink/auto-renovate that referenced this pull requestMar 16, 2025
| datasource | package                          | from   | to     || ---------- | -------------------------------- | ------ | ------ || npm        | @typescript-eslint/eslint-plugin | 8.26.0 | 8.26.1 || npm        | @typescript-eslint/parser        | 8.26.0 | 8.26.1 |## [v8.26.1](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8261-2025-03-10)##### 🩹 Fixes-   **eslint-plugin:** \[no-unsafe-return] handle recursive type ([#10883](typescript-eslint/typescript-eslint#10883))-   **eslint-plugin:** \[prefer-nullish-coalescing] treat `any`/`unknown` as eligible for nullish coalescing ([#10865](typescript-eslint/typescript-eslint#10865))##### ❤️ Thank You-   Kirk Waiblinger [@kirkwaiblinger](https://github.com/kirkwaiblinger)-   YeonJuan [@yeonjuan](https://github.com/yeonjuan)You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsMar 18, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@JoshuaKGoldbergJoshuaKGoldbergJoshuaKGoldberg approved these changes

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: [no-unsafe-return] Infinite recursion with thenable this return type

2 participants

@yeonjuan@JoshuaKGoldberg

[8]ページ先頭

©2009-2025 Movatter.jp