Skip to content

Commit 7d311a6

Browse files
authored
feat(eslint-config): disable prefer-default-export (#913)
1 parent 48a4b5a commit 7d311a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/eslint-config-react/shared.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ module.exports = {
2121
'newlines-between': 'never',
2222
},
2323
],
24+
// We allow named and default export
25+
'import/prefer-default-export': 'off',
2426
// This allows us to reenable ForOfStatement.
2527
// While this has been disabled in airbnb configuration it's native to the browsers we support
2628
// so the original argument about weight is no up to date https://github.com/airbnb/javascript/issues/1271

0 commit comments

Comments
 (0)