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

Don't lint files that have no React in them

binarykitchen opened this issue · comments

In my project there are many files with React and some others without. But this linter lints them all, even those without React.

Lots of unnecessary errors like

Definition for rule 'react-redux/connect-prefer-named-arguments' was not found. (react-redux/connect-prefer-named-arguments)

in non-React files

Ah, ignore. The react-redux plugin was missing.