Skip to content

Commit 0127685

Browse files
committed
Allow export default
1 parent 638a1d4 commit 0127685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/component/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const component = createRule({
8282
const isTargetComponent = (name: string) => name === targetComponentName
8383

8484
return {
85-
ExportDefaultDeclaration(defaultExport) {
85+
ExportDefaultDeclaration() {
8686
ok = true
8787
},
8888
ExportNamedDeclaration(namedExport) {

0 commit comments

Comments
 (0)