Migrate remaining eligible private members to ECMAScript syntax - #6024
Open
Bharat Middha (bmiddha) wants to merge 1 commit into
Open
Migrate remaining eligible private members to ECMAScript syntax#6024Bharat Middha (bmiddha) wants to merge 1 commit into
Bharat Middha (bmiddha) wants to merge 1 commit into
Conversation
Bharat Middha (bmiddha)
requested a review
from Jonathon Anthony (jxanthony)
as a code owner
September 10, 2026 21:12
Bharat Middha (bmiddha)
added this pull request to stack #6025
September 10, 2026 21:19
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Bharat Middha (bmiddha)
force-pushed
the
bharatmiddha-microsoft-migrate-ecmascript-private-members
branch
from
September 11, 2026 01:48
d3e2852 to
f4077df
Compare
Sean Larkin (TheLarkInn)
approved these changes
Sep 11, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@rushstack/prefer-ecmascript-private-membersto ECMAScript#privatesyntaxprotectedhandlers instead of native private identifiersThis is a prerequisite for #5945.
Validation
@microsoft/rush-lib,@rushstack/rush-reporter,@rushstack/rush-terminal-renderer,rushd-wire-e2e-test,@rushstack/rush-amazon-s3-build-cache-plugin,@rushstack/rush-buildxl-graph-plugin, andeslint-9-testrush change --verifypassedrush buildpassed after temporarily overlaying only Require ECMAScript private class members #5945's ESLint rule/config changes, with 0@rushstack/prefer-ecmascript-private-memberswarningsIntentional exclusions
libraries/node-core-libraryremains unchanged because its declarations must remain compatible with ES5 consumersprotectedmembers rather than changing their compilation target