From 01ae4c477bc22e4fcb632bf0804d7198c6726d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 9 Nov 2021 15:07:20 +0100 Subject: [PATCH] fix(lint) remove warning in eslint-plugin-react Fixes: Warning: React version not specified in eslint-plugin-react settings. --- react/.eslintrc.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/react/.eslintrc.js b/react/.eslintrc.js index 419e27dc2c..866590beef 100644 --- a/react/.eslintrc.js +++ b/react/.eslintrc.js @@ -9,5 +9,10 @@ module.exports = { 'rules': { // XXX remove this eventually. 'react/jsx-indent-props': 0 + }, + 'settings': { + 'react': { + 'version': 'detect' + } } };