Skip to content
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

feat(utils): remove obsolete meta.docs.suggestion rule type #5967

Merged

Conversation

bmish
Copy link
Contributor

@bmish bmish commented Nov 11, 2022

BREAKING CHANGE:
Removes meta.docs.suggestion property

PR Checklist

Overview

meta.docs.suggestion was replaced by meta.hasSuggestions as of ESLint v8: eslint/eslint#14573

The old property was never used for anything, while the presence of the new property is enforced by ESLint when a rule provides suggestions.

It's confusing to leave the old, redundant property in place, so I have removed it here.

We can remove the old type as a breaking change in the upcoming v6 release.

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @bmish!

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

@nx-cloud
Copy link

nx-cloud bot commented Nov 11, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 6399a7f. 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 46 targets

Sent with 💌 from NxCloud.

@bradzacher bradzacher added the breaking change This change will require a new major version to be released label Nov 11, 2022
@bradzacher
Copy link
Member

I thought we'd marked it as @deprecated already - but apparently not!
I'm more than happy to delete it!

@bradzacher bradzacher changed the title Remove obsolete meta.docs.suggestion rule type feat(utils): remove obsolete meta.docs.suggestion rule type Nov 11, 2022
@bradzacher bradzacher merged commit ed6d55d into typescript-eslint:v6 Nov 11, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking change This change will require a new major version to be released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants