chore(oxfmt): Add comments for migrate overrides#18216
chore(oxfmt): Add comments for migrate overrides#18216graphite-app[bot] merged 1 commit intomainfrom
overrides#18216Conversation
overrides
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Dunqing
left a comment
There was a problem hiding this comment.
Can we throw a warning with brief information and include the issue link?
eef144f to
f16abee
Compare
15a5fcc to
63df94b
Compare
f16abee to
6e57199
Compare
6e57199 to
3aad578
Compare
3aad578 to
b35ef39
Compare
There was a problem hiding this comment.
Pull request overview
This PR addresses issue #18215 by updating the Prettier migration logic to acknowledge that overrides configuration is now supported in Oxfmt but cannot be automatically migrated. The change removes the code that previously skipped overrides with an error message during config iteration, and adds a TODO comment with a warning explaining why automatic migration isn't possible.
Changes:
- Removed the conditional skip logic for
overridesduring Prettier config iteration - Added a TODO comment explaining the technical limitation (resolveConfig() doesn't include raw overrides)
- Added an unconditional warning message directing users to issue #18215 for more information
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
460baa6 to
6c4c4c0
Compare
6c4c4c0 to
a77294e
Compare
a77294e to
9a5e3e2
Compare

Please refer to #18215 for details.