Skip to content

Commit 814999f

Browse files
committed
Start warning for default exports for TS React files
1 parent 815ad5c commit 814999f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/app/.eslintrc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,13 @@
66
}
77
},
88
"import/external-module-folders": ["src", "node_modules"]
9-
}
9+
},
10+
"overrides": [
11+
{
12+
"files": ["*.tsx"],
13+
"rules": {
14+
"import/no-default-export": 1
15+
}
16+
}
17+
]
1018
}

0 commit comments

Comments
 (0)