From 7afffb5408fe9e64c1037e4cbe100fa581ecd2eb Mon Sep 17 00:00:00 2001 From: Rikard Eide Date: Tue, 2 Jul 2019 14:43:30 +0200 Subject: [PATCH] React: fix config error after eslint 6 upgrade --- react/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/index.js b/react/index.js index 3f814d3..2ec6cc1 100644 --- a/react/index.js +++ b/react/index.js @@ -12,7 +12,7 @@ module.exports = { 'react/require-default-props': [ 2, { - forbidDefaultForRequired: 0 + forbidDefaultForRequired: false } ], // We want to encourage destructuring, but in order to do this incrementally we'll onyl warng about it.