From d475b8422c6528c607b12f9a3c7ed694e4322368 Mon Sep 17 00:00:00 2001 From: Emmanuel Chambon Date: Wed, 10 Aug 2022 11:21:00 +0200 Subject: [PATCH] feat(eslint-config): disable prefer-default-export --- packages/eslint-config-react/shared.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/eslint-config-react/shared.js b/packages/eslint-config-react/shared.js index db5aa7b0c..abcf5544e 100644 --- a/packages/eslint-config-react/shared.js +++ b/packages/eslint-config-react/shared.js @@ -21,6 +21,8 @@ module.exports = { 'newlines-between': 'never', }, ], + // We allow named and default export + 'import/prefer-default-export': 'off', // This allows us to reenable ForOfStatement. // While this has been disabled in airbnb configuration it's native to the browsers we support // so the original argument about weight is no up to date https://github.com/airbnb/javascript/issues/1271