Skip to content

Commit 82a133d

Browse files
committed
fix: tweaking the import/no-anonymous-default-export rule
1 parent ce10092 commit 82a133d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = {
2828

2929
'func-names': 'off',
3030

31-
'import/no-anonymous-default-export': 'error',
31+
'import/no-anonymous-default-export': ['error', { allowArray: true, allowObject: true }],
3232
'import/order': 'off',
3333
'import/prefer-default-export': 'off',
3434

0 commit comments

Comments
 (0)