Skip to content

Commit

Permalink
Merge pull request #561 from preco21/patch-1
Browse files Browse the repository at this point in the history
docs: Update obsoleted reference
  • Loading branch information
benmosher authored Sep 15, 2016
2 parents c07c057 + 935f8a9 commit 32b5494
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/rules/no-named-as-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 32b5494

Please sign in to comment.