Skip to content

Commit 0d9da30

Browse files
committed
Allow default & named exports
1 parent 06f3d72 commit 0d9da30

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ module.exports = {
7878

7979
// https://humanwhocodes.com/blog/2019/01/stop-using-default-exports-javascript-module
8080
'import/prefer-default-export': 'off',
81+
82+
/** We need to be able to export both normal and connected versions of components
83+
* using named for the base component in tests, and default for connected/router
84+
* component in the app-proper. */
85+
'import/no-named-as-default': 'off',
8186
},
8287
settings: {
8388

0 commit comments

Comments
 (0)