Skip to content

Commit 0893896

Browse files
authored
feat: add import/no-default-export rule (#182)
1 parent 5d695a7 commit 0893896

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ module.exports = {
140140
'import/no-dynamic-require': 'error',
141141
'import/no-useless-path-segments': 'error',
142142
'import/no-duplicates': 'error',
143+
'import/no-default-export': 'error',
143144

144145
// JSDoc
145146
'jsdoc/require-returns': 'off',
@@ -423,6 +424,7 @@ module.exports = {
423424
'@typescript-eslint/explicit-member-accessibility': 'off',
424425
'unicorn/prevent-abbreviations': 'off',
425426
'id-length': 'off',
427+
'import/no-default-export': 'off',
426428
},
427429
},
428430
{

0 commit comments

Comments
 (0)