Skip to content

Commit

Permalink
fix: tweaking the import/no-anonymous-default-export rule
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Dec 17, 2021
1 parent ce10092 commit 82a133d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = {

'func-names': 'off',

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

Expand Down

0 comments on commit 82a133d

Please sign in to comment.