eslint-plugin-deprecate icon indicating copy to clipboard operation
eslint-plugin-deprecate copied to clipboard

Provide "plugin:deprecate/recommended"

Open gabssnake opened this issue 2 years ago • 1 comments

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!

gabssnake avatar Nov 07 '21 19:11 gabssnake

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

AlexMost avatar Dec 14 '21 09:12 AlexMost