Skip to content

Commit 92c80dc

Browse files
committed
fix(eslint-config): disable import rules for *.config.js
1 parent 789d578 commit 92c80dc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/eslint-config/src/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ module.exports = {
2020
},
2121
overrides: [
2222
{
23-
files: 'rollup.config.js',
23+
files: '*.config.js',
2424
rules: {
25-
'import/no-default-export': 'off'
25+
'import/no-default-export': 'off',
26+
'import/no-anonymous-default-export': 'off'
2627
}
2728
}
2829
]

0 commit comments

Comments
 (0)