Skip to content

Commit

Permalink
Fix .eslintrc to resolve react-redux
Browse files Browse the repository at this point in the history
react-on-rails no longer depends on react-redux.
The template file that uses react-redux should be passed ESLint
regardless its dependency.
  • Loading branch information
tricknotes committed Nov 10, 2017
1 parent 7ccac2c commit cb35cc4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ rules:

# https://github.com/benmosher/eslint-plugin-import/issues/340
import/no-extraneous-dependencies: 0

settings:
import/core-modules:
- react-redux

0 comments on commit cb35cc4

Please sign in to comment.