forked from rollup/rollup-docs-cn
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: run lint while constructing nodes (#5207)
* wip: remove swc_ecma_lints * wip: duplicate_bindings rule * wip: disallow assign to import * wip: duplicate_exports rule * wip: no_dupe_args * Improve catch clause scoping and add more tests * Use enum for variable kinds * Handle variable and import redeclarations and duplicate parameters * Detect nested conflictes with hoisted variables * Handle redeclared parameters * Attempt to improve scoping * Fix catch scoping TODO: Parameter redeclaration * Fix remaining tests * Update TODOs * Improve coverage * Fix nested catch scope hoisting * Improve coverage * Improve coverage * Improve coverage * hasExportNamedAs -> assertUniqueExportName * extract `specifier.local.name` as `localName` * Improve handling of missing entry exports Otherwise, it will throw an internal error * Use forceExit to fix failing MacOS CI --------- Co-authored-by: Lukas Taegert-Atkinson <[email protected]> Co-authored-by: Lukas Taegert-Atkinson <[email protected]>
- Loading branch information
1 parent
52c55bb
commit fe6cb3a
Showing
131 changed files
with
1,096 additions
and
796 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.