Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
tools,lib: refactor prefer-primordials rule#36018
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
aduh95 commented Nov 7, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot commented Nov 7, 2020
Leko left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you separate this pull request for each purpose?
- Refactoring of the rule
- Add
Safeprefix on the Map and Set, etc. - Replace
prototypeproperty with primordials.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
5ef69fb to 601d050CompareTrott commented Nov 14, 2020
Not sure if this needs to be rebased or closed (since it overlaps with PRs that landed?) but one or the other. |
601d050 to 599119cComparenodejs-github-bot commented Nov 14, 2020
nodejs-github-bot commented Dec 21, 2020
richardlau commented Dec 21, 2020
Blocked on nodejs/build#2504. |
ExE-Boss commented Feb 15, 2021
nodejs/build#2504 has now been fixed by nodejs/build#2514. |
nodejs-github-bot commented Feb 15, 2021
nodejs-github-bot commented Feb 15, 2021
aduh95 commented Feb 15, 2021
@Leko I think this is ready to land, would you kindly have another look at this PR, I believe I've addressed all your objections. |
Leko left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aduh95 Thank you for a lot of works to support optional chaining! LGTM
Use optional chaining to improve code readability and remove use of `Array.prototype.reduce`. PR-URL: nodejs#36018 Reviewed-By: Shingo Inoue <[email protected]>
599119c to 7fd6c20Compareaduh95 commented Feb 16, 2021
Landed in 7fd6c20 |
Use optional chaining to improve code readability and remove use of `Array.prototype.reduce`. PR-URL: #36018 Reviewed-By: Shingo Inoue <[email protected]>
Use optional chaining to improve code readability and remove use of `Array.prototype.reduce`. PR-URL: #36018 Reviewed-By: Shingo Inoue <[email protected]>
Use optional chaining to improve code readability and remove use of `Array.prototype.reduce`. PR-URL: #36018 Reviewed-By: Shingo Inoue <[email protected]>
Use optional chaining to improve code readability and remove use of `Array.prototype.reduce`. PR-URL: #36018 Reviewed-By: Shingo Inoue <[email protected]>
Use optional chaining to improve code readability and remove use of `Array.prototype.reduce`. PR-URL: #36018 Reviewed-By: Shingo Inoue <[email protected]>
Refactor the ESLint rule source code to improve readability.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes