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

Docs: Prepare data for website to indicate rules with suggestions #14830

merged 3 commits into from Jul 29, 2021


Copy link

@bmish bmish commented Jul 23, 2021

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[X] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

Prepare for the ESLint website to display an emoji/notice for rules with suggestions.

Fixes eslint/website#859
Other part to this change: eslint/website#860

TODO: After this is merged, remember to update #14573 to change the new usage of to meta.hasSuggestions.

Is there anything you'd like reviewers to focus on?


@bmish bmish changed the title Docs: Display emoji/notice on website for rules with suggestions Docs: Prepare data for website to indicate rules with suggestions Jul 23, 2021
@@ -197,7 +197,8 @@ function generateRuleIndexPage() {
name: basename,
recommended: || false,
fixable: !!rule.meta.fixable
fixable: !!rule.meta.fixable,
Copy link

@nzakas nzakas Jul 24, 2021

FYI: This is changing in v8.0.0. It will be meta.hasSuggestions. See #13398

Copy link
Member Author

@bmish bmish Jul 24, 2021

I think you meant to link to #14573? I'll update that PR after this is merged to ensure this code refers to meta.hasSuggestions once that change takes place.

Copy link

@nzakas nzakas Jul 27, 2021

That works too. I was intending to point out that would be going away.

Makefile.js Show resolved Hide resolved
Makefile.js Outdated Show resolved Hide resolved
Makefile.js Outdated Show resolved Hide resolved
Copy link

@mdjermanovic mdjermanovic commented Jul 25, 2021

Marked as accepted since eslint/website#859 is accepted.

bmish and others added 2 commits Jul 26, 2021
Co-authored-by: Milos Djermanovic <>
Co-authored-by: Milos Djermanovic <>
nzakas approved these changes Jul 27, 2021
Copy link

@nzakas nzakas left a comment


Copy link

@mdjermanovic mdjermanovic left a comment

LGTM, thanks!

Copy link

@snitin315 snitin315 left a comment


@bmish bmish merged commit d53d906 into eslint:master Jul 29, 2021
14 checks passed
@bmish bmish deleted the docs-hasSuggestions branch Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants