eslint-plugin-deprecate
eslint-plugin-deprecate copied to clipboard
Provide "plugin:deprecate/recommended"
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!
Hi, @gabssnake! Seems like a reasonable improvement. PR will be appreciated!