Skip to content

fix: relax type for rule.meta.docs.recommended #235

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

Merged
merged 7 commits into from
Aug 2, 2025

Conversation

kirkwaiblinger
Copy link
Contributor

@kirkwaiblinger kirkwaiblinger commented Jun 30, 2025

Prerequisites checklist

What is the purpose of this pull request?

fixes #234

@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Jun 30, 2025
@eslint-github-bot eslint-github-bot bot added the bug Something isn't working label Jun 30, 2025
@kirkwaiblinger kirkwaiblinger force-pushed the adjust-recommended-type branch from 2ad531c to 0c121bc Compare June 30, 2025 21:31
@kirkwaiblinger kirkwaiblinger marked this pull request as ready for review July 15, 2025 15:00
@fasttime fasttime moved this from Needs Triage to Implementing in Triage Jul 16, 2025
Copy link
Member

@fasttime fasttime left a comment

Choose a reason for hiding this comment

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

Thanks for the pull request. Since we are here, can we add a unit test to packages/core/tests/types/types.test.ts to make sure that RulesMetaDocs allows a recommended property?

Also, the CI build is failing. Can you check?

@kirkwaiblinger kirkwaiblinger requested a review from fasttime July 19, 2025 22:33
@kirkwaiblinger
Copy link
Contributor Author

kirkwaiblinger commented Jul 19, 2025

Thanks for the pull request. Since we are here, can we add a unit test to packages/core/tests/types/types.test.ts to make sure that RulesMetaDocs allows a recommended property?

Added tests 👍

Also, the CI build is failing. Can you check?

Looks to be green now? But I'm not sure that the CI actually ran — looks like it needs an approval to run

@nzakas
Copy link
Member

nzakas commented Jul 21, 2025

Looks like Prettier formatting is failing. If you run npm run fmt locally that should fix it.

Copy link
Member

@fasttime fasttime 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!

@fasttime fasttime merged commit 9a4fe34 into eslint:main Aug 2, 2025
21 checks passed
@github-project-automation github-project-automation bot moved this from Implementing to Complete in Triage Aug 2, 2025
@github-actions github-actions bot mentioned this pull request Aug 2, 2025
@kirkwaiblinger kirkwaiblinger deleted the adjust-recommended-type branch August 2, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted bug Something isn't working contributor pool
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

Change Request: internal rule.meta.docs.recommended type is leaked
3 participants