Skip to content

Commit e156316

Browse files
kkyaruekljharb
authored andcommitted
[Docs] prefer-default-export: fix typo
1 parent e8d79b5 commit e156316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/prefer-default-export.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The following patterns are not warnings:
2222
// There is a default export.
2323
export const foo = 'foo';
2424
const bar = 'bar';
25-
export default 'bar';
25+
export default bar;
2626
```
2727

2828
```javascript

0 commit comments

Comments
 (0)