refactor(oxfmt/migrate-biome): Borrow tiny-jsonc implementation#18684
Conversation
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. |
tiny-jsonc implementation
There was a problem hiding this comment.
Pull request overview
This PR refactors the JSONC parsing implementation in the Biome configuration migration tool by replacing a custom stripJsonComments function with a more concise regex-based implementation borrowed from the tiny-jsonc library.
Changes:
- Replaced custom
stripJsonCommentsimplementation with a borrowedparseJSONCfunction from tiny-jsonc - Added proper source attribution with commit SHA reference
- Marked unused
formatterConfigparameter with underscore prefix
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
49bd926 to
77b23c9
Compare

Follow up on #18638
Replace JSONC parse logic with
tiny-jsonc.