Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[[FIX]] ES6 modules respect undef and unused
This adds scoping rules for ES6 modules, ensuring that undef and unused rules accurate reflect the behavior of ES6 modules on the scope. This also adds syntax parsing support for `export { foo as bar }` aliasing. Fixes: #2147 Fixes: #2148
- Loading branch information
Showing
4 changed files
with
108 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters