Skip to content

Commit 8fc77f1

Browse files
Disable prefer-default-export for React
1 parent a002278 commit 8fc77f1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

React/eslint.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ export default [
1313
},
1414
...spellCheck,
1515
...reactConfig,
16+
{
17+
rules: {
18+
'import/prefer-default-export': 'off',
19+
},
20+
},
1621
{
1722
files: ['**/*.ts', '**/*.tsx'],
1823
languageOptions: {

React/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)