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

Mark recommended #6

Closed
erosman opened this issue Mar 30, 2024 · 2 comments · Fixed by #9
Closed

Mark recommended #6

erosman opened this issue Mar 30, 2024 · 2 comments · Fixed by #9

Comments

@erosman
Copy link

erosman commented Mar 30, 2024

configs.recommended

It would be helpful to mark rules with "recommended": true, to show that they are part of configs.recommended.

Config payload

const payload = await $fetch<Payload | ErrorInfo>('/api/get')

Data example

    "constructor-super": {
      "type": "problem",
      "docs": {
        "description": "Require `super()` calls in constructors",
        "recommended": true,
        "url": "https://eslint.org/docs/latest/rules/constructor-super"
      },
      "name": "constructor-super",
      "plugin": "eslint"
    },
@erosman
Copy link
Author

erosman commented Apr 1, 2024

Thank you. Looks good. 👍

@erosman
Copy link
Author

erosman commented Apr 1, 2024

@antfu Would you mind checking Discrepancy in the recommended?

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

Successfully merging a pull request may close this issue.

1 participant