Skip to content

Commit 479d265

Browse files
committed
Allow default exports in config files
1 parent d08ac9c commit 479d265

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.eslintrc.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,11 @@ module.exports = {
6565
'import/extensions': ['error', { js: 'never', json: 'always' }],
6666
},
6767
},
68+
{
69+
files: ['*.config.js'],
70+
rules: {
71+
'import/no-default-export': 'off',
72+
},
73+
},
6874
],
6975
};

0 commit comments

Comments
 (0)