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

docs: fix misleadingreturn-await options and config group#11227

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

Open
tomasossa wants to merge2 commits intotypescript-eslint:main
base:main
Choose a base branch
Loading
fromtomasossa:main

Conversation

tomasossa
Copy link

@tomasossatomasossa commentedMay 18, 2025
edited
Loading

PR Checklist

Overview

This PR includes two fixes:

  1. Fixes thegetRuleDefaultOptions ininsertNewRuleReferences.ts that generates the code referenced byDocs:return-await options are misleading #11102.
  2. In the rules table, the config group ofreturn-await is shown 'recommended' when it should be 'strict'

Screenshots

Before

Before: rule default options

Before: rule config group

After

After: rule config group

After: rule default options

EDIT: Fix alt-text for images

The `getActualRecommended` function was returning 'recommended' when `docs.recommended` property was an object. This led to an incorrect value for rule return-await.
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@tomasossa!

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 commentedMay 18, 2025
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commite3d4089
🔍 Latest deploy loghttps://app.netlify.com/projects/typescript-eslint/deploys/68295182ee3dfb000887abcf
😎 Deploy Previewhttps://deploy-preview-11227--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: 90 (🔴 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 project configuration.

@nx-cloudNx Cloud
Copy link

nx-cloudbot commentedMay 18, 2025
edited
Loading

View yourCI Pipeline Execution ↗ for commite3d4089.

CommandStatusDurationResult
nx test visitor-keys✅ Succeeded1sView ↗
nx run types:build✅ Succeeded1sView ↗
nx typecheck ast-spec✅ Succeeded1sView ↗
nx test utils✅ Succeeded2sView ↗
nx run-many --target=build --exclude website --...✅ Succeeded3sView ↗
nx test typescript-eslint✅ Succeeded1sView ↗
nx run-many --target=clean --parallel=20✅ Succeeded22sView ↗
nx test typescript-estree✅ Succeeded1sView ↗
Additional runs (26)✅ Succeeded...View ↗

☁️Nx Cloud last updated this comment at2025-05-18 03:26:36 UTC

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.

LGTM, thanks!

tomasossa 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 labelMay 19, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
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.

Docs:return-await options are misleading
2 participants
@tomasossa@JoshuaKGoldberg

[8]ページ先頭

©2009-2025 Movatter.jp