DianaSuvorova / eslint-plugin-react-redux

Enforcing best practices for react-redux

Home Page:https://www.npmjs.com/package/eslint-plugin-react-redux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Config should include plugins

jordanbtucker opened this issue · comments

The config should include:

{
  "plugins": ["react-redux"]
}

So that you only need this in your .eslintrc:

{
  "extends": "plugin:react-redux/recommended"
}

This follows the pattern of most ESLint plugins including import, promise, node, react, and react-hooks.

In case someone arrives at this issue from searching, this would also resolve the errors: Definition for rule 'react-redux/...' was not found.