-
Notifications
You must be signed in to change notification settings - Fork 689
Refactor repeated object property access to destructuring across repo #5747
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f15e5a0
refactor: destructure repeated object property references in rush-plu…
Copilot 0dc6c85
refactor: destructure repeated object property references across repo
Copilot e1a7891
chore: add rush change files (bump-type none)
Copilot 08f561f
refactor: move default values into destructuring assignments
Copilot cc05c46
fix: maintain reference-based array assignment in TextRewriterTransform
Copilot 1d2b769
fixup! chore: add rush change files (bump-type none)
iclanton e003740
Add more defaults to destructuring.
iclanton afd769f
Minor cleanup.
iclanton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
11 changes: 11 additions & 0 deletions
11
...t/api-extractor-model/copilot-refactor-repeated-property-references_2026-04-05-04-20.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "comment": "Refactor repeated object property access to use destructuring", | ||
| "type": "none", | ||
| "packageName": "@microsoft/api-extractor-model" | ||
| } | ||
| ], | ||
| "packageName": "@microsoft/api-extractor-model", | ||
| "email": "198982749+Copilot@users.noreply.github.com" | ||
| } |
11 changes: 11 additions & 0 deletions
11
...crosoft/api-extractor/copilot-refactor-repeated-property-references_2026-04-05-04-20.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "comment": "Refactor repeated object property access to use destructuring", | ||
| "type": "none", | ||
| "packageName": "@microsoft/api-extractor" | ||
| } | ||
| ], | ||
| "packageName": "@microsoft/api-extractor", | ||
| "email": "198982749+Copilot@users.noreply.github.com" | ||
| } |
11 changes: 11 additions & 0 deletions
11
...anges/@microsoft/rush/copilot-refactor-repeated-property-references_2026-04-05-04-20.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "comment": "Refactor repeated object property access to use destructuring", | ||
| "type": "none", | ||
| "packageName": "@microsoft/rush" | ||
| } | ||
| ], | ||
| "packageName": "@microsoft/rush", | ||
| "email": "198982749+Copilot@users.noreply.github.com" | ||
| } |
11 changes: 11 additions & 0 deletions
11
...tack/heft-config-file/copilot-refactor-repeated-property-references_2026-04-05-04-20.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "comment": "Refactor repeated object property access to use destructuring", | ||
| "type": "none", | ||
| "packageName": "@rushstack/heft-config-file" | ||
| } | ||
| ], | ||
| "packageName": "@rushstack/heft-config-file", | ||
| "email": "198982749+Copilot@users.noreply.github.com" | ||
| } |
11 changes: 11 additions & 0 deletions
11
...anges/@rushstack/heft/copilot-refactor-repeated-property-references_2026-04-05-04-20.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "comment": "Refactor repeated object property access to use destructuring", | ||
| "type": "none", | ||
| "packageName": "@rushstack/heft" | ||
| } | ||
| ], | ||
| "packageName": "@rushstack/heft", | ||
| "email": "198982749+Copilot@users.noreply.github.com" | ||
| } |
11 changes: 11 additions & 0 deletions
11
...stack/operation-graph/copilot-refactor-repeated-property-references_2026-04-05-04-20.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "comment": "Refactor repeated object property access to use destructuring", | ||
| "type": "none", | ||
| "packageName": "@rushstack/operation-graph" | ||
| } | ||
| ], | ||
| "packageName": "@rushstack/operation-graph", | ||
| "email": "198982749+Copilot@users.noreply.github.com" | ||
| } |
11 changes: 11 additions & 0 deletions
11
...s/@rushstack/terminal/copilot-refactor-repeated-property-references_2026-04-05-04-20.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "comment": "Refactor repeated object property access to use destructuring", | ||
| "type": "none", | ||
| "packageName": "@rushstack/terminal" | ||
| } | ||
| ], | ||
| "packageName": "@rushstack/terminal", | ||
| "email": "198982749+Copilot@users.noreply.github.com" | ||
| } |
11 changes: 11 additions & 0 deletions
11
...stack/ts-command-line/copilot-refactor-repeated-property-references_2026-04-05-04-20.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "comment": "Refactor repeated object property access to use destructuring", | ||
| "type": "none", | ||
| "packageName": "@rushstack/ts-command-line" | ||
| } | ||
| ], | ||
| "packageName": "@rushstack/ts-command-line", | ||
| "email": "198982749+Copilot@users.noreply.github.com" | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.