From 49cf441d1f8f6d093ecdaecb7d1f0662ef6dff5a Mon Sep 17 00:00:00 2001 From: Plusb Preco Date: Thu, 15 Sep 2016 08:49:13 +0900 Subject: [PATCH 1/2] Update obsoleted reference --- docs/rules/no-named-as-default.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/rules/no-named-as-default.md b/docs/rules/no-named-as-default.md index feac9347f..8509f5da7 100644 --- a/docs/rules/no-named-as-default.md +++ b/docs/rules/no-named-as-default.md @@ -39,6 +39,8 @@ export bar from './foo.js'; ## Further Reading -- Lee Byron's [ES7] export proposal +- ECMAScript Proposal: export ns from +- ECMAScript Proposal: export default from -[ES7]: https://github.com/leebyron/ecmascript-more-export-from +[export-ns-from]: https://github.com/leebyron/ecmascript-export-ns-from +[export-default-from]: https://github.com/leebyron/ecmascript-export-default-from From 935f8a9b75d2eb991bffbf01c817c639a7ef1e2f Mon Sep 17 00:00:00 2001 From: Ben Mosher Date: Thu, 15 Sep 2016 06:08:15 -0400 Subject: [PATCH 2/2] rebound links + corrected ES7 --- docs/rules/no-named-as-default.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/rules/no-named-as-default.md b/docs/rules/no-named-as-default.md index 8509f5da7..9176dc35e 100644 --- a/docs/rules/no-named-as-default.md +++ b/docs/rules/no-named-as-default.md @@ -27,7 +27,7 @@ import foo from './foo.js'; import bar from './foo.js'; ``` -For [ES7], this also prevents exporting the default from a referenced module as a name within than module, for the same reasons: +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: ```js // valid: @@ -39,8 +39,8 @@ export bar from './foo.js'; ## Further Reading -- ECMAScript Proposal: export ns from -- ECMAScript Proposal: export default from +- ECMAScript Proposal: [export ns from] +- ECMAScript Proposal: [export default from] -[export-ns-from]: https://github.com/leebyron/ecmascript-export-ns-from -[export-default-from]: https://github.com/leebyron/ecmascript-export-default-from +[export ns from]: https://github.com/leebyron/ecmascript-export-ns-from +[export default from]: https://github.com/leebyron/ecmascript-export-default-from