fix(oxfmt): Update wrong doc comment#17288
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. |
There was a problem hiding this comment.
Pull request overview
This PR corrects the documentation comment for the embedded_language_formatting configuration option. The changes update both the description text and the default value from "auto" to "off", which accurately reflects the actual default implementation in the code.
- Updated documentation text from "Control whether formats quoted code embedded in the file" to "Control whether formats embedded part in the file"
- Corrected the default value from
"auto"to"off"across all documentation locations
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| crates/oxc_formatter/src/oxfmtrc.rs | Updated doc comment for embedded_language_formatting field with corrected description and default value |
| npm/oxfmt/configuration_schema.json | Updated schema descriptions and markdown descriptions to match the corrected documentation |
| crates/oxc_formatter/tests/snapshots/schema_json.snap | Updated snapshot test file to reflect the corrected schema descriptions |
| tasks/website_formatter/src/snapshots/schema_markdown.snap | Updated markdown snapshot to reflect the corrected documentation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fdd2cc8 to
2267ec5
Compare
Merge activity
|
2267ec5 to
0a39cba
Compare

No description provided.