From 882f183c8ec0d675325012e12ea25a5af92ec3ff Mon Sep 17 00:00:00 2001 From: Sofiya Tepikin <sofiya.tepikin@gmail.com> Date: Thu, 6 Feb 2020 00:17:00 +0100 Subject: [PATCH] Removes linter complaint about react version not being specified --- .eslintrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.eslintrc b/.eslintrc index 028ba73c..04a05da7 100644 --- a/.eslintrc +++ b/.eslintrc @@ -19,6 +19,11 @@ "plugins": [ "react" ], + "settings": { + "react": { + "version": require('./package.json').dependencies.react, + }, + }, "rules": { "quotemark": false, "ordered-imports": false, -- GitLab