From fab1996c0efc5f8197f0b6d6c9f0dbd73f759b71 Mon Sep 17 00:00:00 2001 From: Ryunosuke Sato Date: Thu, 9 Nov 2017 04:03:40 +0900 Subject: [PATCH] Fix `.eslintrc` to resolve react-redux react-on-rails no longer depends on react-redux. The template file that uses react-redux should be passed ESLint regardless its dependency. --- .eslintrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.eslintrc b/.eslintrc index 4a22951b2..0b38660e9 100644 --- a/.eslintrc +++ b/.eslintrc @@ -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