We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
deno fmt can lose comments without any indication. Minimal reproducible examples (via deno fmt): here Additional details: denoland/std#3502 (comment)
deno fmt
Another way to reproduce:
dprint fmt --config <(echo '{"plugins": ["https://plugins.dprint.dev/json-0.17.4.wasm"]}')
dprint version: 0.41.0 dprint-plugin-json version: 0.17.4
Input Code
// before-value (context: top-level) { // before-key (context: object spot 0) "k0" // after-key (context: object spot 0) : // before-value (context: object spot 0) "v0" // after-value (context: object spot 0) , // before-key (context: object spot 1) } // after-value (context: top-level)
Expected Output
One of two options:
Actual Output
// before-value (context: top-level) { // before-key (context: object spot 0) "k0": // before-value (context: object spot 0) "v0" // before-key (context: object spot 1) } // after-value (context: top-level)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
deno fmt
can lose comments without any indication.Minimal reproducible examples (via
deno fmt
): hereAdditional details: denoland/std#3502 (comment)
Another way to reproduce:
dprint fmt --config <(echo '{"plugins": ["https://plugins.dprint.dev/json-0.17.4.wasm"]}')
dprint version: 0.41.0
dprint-plugin-json version: 0.17.4
Input Code
Expected Output
One of two options:
Actual Output
The text was updated successfully, but these errors were encountered: