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

Add suggestion property to rule meta #1292

Closed
fisker opened this issue May 18, 2021 · 1 comment · Fixed by #1306
Closed

Add suggestion property to rule meta #1292

fisker opened this issue May 18, 2021 · 1 comment · Fixed by #1306

Comments

@fisker
Copy link
Collaborator

fisker commented May 18, 2021

  1. Add suggestion: true to meta, this may change in ESLint V8 Reevaluate the meta.docs.suggestion property eslint/eslint#14312
  2. Add suggestion info to rule table https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/scripts/generate-rules-table.mjs
  3. Enable eslint rule New: Add new rule require-meta-has-suggestions eslint-community/eslint-plugin-eslint-plugin#105
@bmish
Copy link
Sponsor Contributor

bmish commented May 18, 2021

Yeah, enabling us to easily mention which rules provide suggestions in the readme is exactly the problem I want to solve with the upcoming ESLint changes to the property.

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

Successfully merging a pull request may close this issue.

2 participants