From 13671c1d80c1b72f6acc6ec9cb8d9088733b487d Mon Sep 17 00:00:00 2001 From: Armand Abric Date: Tue, 22 Jan 2019 14:20:46 +0100 Subject: [PATCH] qa(lint): Fix #342 ESLint `eslint-plugin-react` warning on lint (#345) chore(lint): Fix #342 ESLint `eslint-plugin-react` warning on lint --- .eslintrc.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index b739a4db1..673ed1232 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,6 +5,12 @@ module.exports = { es6: true, }, + settings: { + react: { + version: 'detect', + }, + }, + rules: { 'max-params': ['error', 10], 'no-warning-comments': 'error',