Skip to content

Commit 32b5494

Browse files
authored
Merge pull request #561 from preco21/patch-1
docs: Update obsoleted reference
2 parents c07c057 + 935f8a9 commit 32b5494

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/rules/no-named-as-default.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import foo from './foo.js';
2727
import bar from './foo.js';
2828
```
2929

30-
For [ES7], this also prevents exporting the default from a referenced module as a name within than module, for the same reasons:
30+
For post-ES2015 `export` extensions, this also prevents exporting the default from a referenced module as a name within than module, for the same reasons:
3131

3232
```js
3333
// valid:
@@ -39,6 +39,8 @@ export bar from './foo.js';
3939

4040
## Further Reading
4141

42-
- Lee Byron's [ES7] export proposal
42+
- ECMAScript Proposal: [export ns from]
43+
- ECMAScript Proposal: [export default from]
4344

44-
[ES7]: https://github.com/leebyron/ecmascript-more-export-from
45+
[export ns from]: https://github.com/leebyron/ecmascript-export-ns-from
46+
[export default from]: https://github.com/leebyron/ecmascript-export-default-from

0 commit comments

Comments
 (0)