From 8d6319f3903b19886e490b0684f2660980c0f297 Mon Sep 17 00:00:00 2001 From: Francesco Zanoni Date: Fri, 25 Dec 2020 16:10:04 +0100 Subject: [PATCH] ESLint configutration > React plugin: set React version to 'latest', as per https://github.com/yannickcr/eslint-plugin-react/issues/1955 --- .eslintrc.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 3bef887..07a577d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -25,5 +25,10 @@ }, "plugins": [ "react" - ] -} + ], + "settings": { + "react": { + "version": "latest" + } + } +} \ No newline at end of file