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

Use meta.hasSuggestions for suggestable rules to prepare for ESLint 8 #186

Merged
merged 1 commit into from
Jun 12, 2021

Conversation

bmish
Copy link
Member

@bmish bmish commented Jun 12, 2021

The change to require suggestable rules to have meta.hasSuggestions has been accepted and mentioned in the blog post for the upcoming ESLint 8 breaking changes. So we should adopt this change now to ensure we are compatible with ESLint 8 as soon as possible. The old property meta.docs.suggestion was unused anyway.

https://eslint.org/blog/2021/06/whats-coming-in-eslint-8.0.0#rules-with-suggestions-now-require-the-metahassuggestions-property

…int 8

The change to require suggestable rules to have `meta.hasSuggestions` has been accepted and mentioned in the blog post for the upcoming ESLint 8 breaking changes. So we should adopt this change now to ensure we are compatible with ESLint 8 as soon as possible. The old property `meta.docs.suggestion` was unused anyway.

https://eslint.org/blog/2021/06/whats-coming-in-eslint-8.0.0#rules-with-suggestions-now-require-the-metahassuggestions-property
@coveralls
Copy link

coveralls commented Jun 12, 2021

Coverage Status

Coverage remained the same at 100.0% when pulling f0af2fc on bmish:hasSuggestions into 7fda3c4 on platinumazure:master.

Copy link
Collaborator

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for contributing!

@platinumazure platinumazure merged commit 9c8e1fd into qunitjs:master Jun 12, 2021
@bmish
Copy link
Member Author

bmish commented Jun 27, 2021

@platinumazure can we get a patch release with this? Would like to have this out since ember-cli 3.27 was finally released containing eslint-plugin-qunit so hopefully that means a lot more usage of this plugin.

@platinumazure
Copy link
Collaborator

@bmish I've published 6.2.0 which includes this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants