Skip to content

Commit 63c37fd

Browse files
authored
Allowed accessing named exports via default import
1 parent 03f9a05 commit 63c37fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export default [
4848
'no-inner-declarations': 'off', // allow function declarations anywhere
4949
'no-useless-escape': 'off', // allow all escape chars cause ESLint sucks at detecting truly useless ones
5050
'no-unused-vars': ['error', { 'caughtErrors': 'none' }], // allow unused named args in catch blocks
51+
'import/no-named-as-default-member': 'off', // allow accessing named exports via default import
5152
'import/no-unresolved': ['error', { ignore: ['bump-utils'] }] // ignore missing bump-utils in --dev mode
5253
}
5354
},

0 commit comments

Comments
 (0)