You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comments at the end of objects have their preceding newlines removed; this is awkward in config files where I'm commenting out a setting at the bottom of an object temporarily, as it removes the formatting I had there for spacing.
dprint-plugin-json version: 0.19.2
Input Code
{// This is a setting."foo": "",// These settings are temporarily commented out.// "baz": "",// "qux": ""}
Expected Output
{// This is a setting."foo": ""// These settings are temporarily commented out.// "baz": "",// "qux": ""}
Actual Output
{// This is a setting."foo": ""// These settings are temporarily commented out.// "baz": "",// "qux": ""}
The text was updated successfully, but these errors were encountered:
Describe the bug
Comments at the end of objects have their preceding newlines removed; this is awkward in config files where I'm commenting out a setting at the bottom of an object temporarily, as it removes the formatting I had there for spacing.
dprint-plugin-json version: 0.19.2
Input Code
Expected Output
Actual Output
The text was updated successfully, but these errors were encountered: