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

Provide "plugin:deprecate/recommended" #22

Open
gabssnake opened this issue Nov 7, 2021 · 1 comment
Open

Provide "plugin:deprecate/recommended" #22

gabssnake opened this issue Nov 7, 2021 · 1 comment

Comments

@gabssnake
Copy link

Hi there, thanks for your work with this!

It would be great to have a recommended setting, like other eslint plugins.

So for the simplest use case, we would do:

{
  "extends": ["plugin:deprecate/recommended"]
}

Instead of:

{
    "plugins": ["deprecate"],
    "rules": {
        "deprecate/function": 2,
        "deprecate/member-expression": 2,
        "deprecate/import": 2
    }
}

The second version is always possible for users that want to customize the rules.
But for most, recommended settings are awesome!

Let me know if you're open to a PR!

@AlexMost
Copy link
Owner

Hi, @gabssnake! Seems like a reasonable improvement. PR will be appreciated!

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

No branches or pull requests

2 participants