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
Describe the bug
Unsure if this is an intended feature or not, but passing objects as arguments, for example fetch or json stringify, the braces stay on the same line instead of moving down to the next line (and the same for the braces of nested objects).
dprint-plugin-typescript version: 0.88.10
Input Code
fetch('some/api/',{method: 'delete'});
Expected Output
fetch('some/api/',{method: 'delete'});
Actual Output
fetch('some/api/',{method: 'delete'});
Input Code
JSON.stringify({name: name})
Expected Output
JSON.stringify({name: name})
Actual Output
JSON.stringify({name: name})
The text was updated successfully, but these errors were encountered:
Describe the bug
Unsure if this is an intended feature or not, but passing objects as arguments, for example fetch or json stringify, the braces stay on the same line instead of moving down to the next line (and the same for the braces of nested objects).
dprint-plugin-typescript version: 0.88.10
Input Code
Expected Output
Actual Output
Input Code
Expected Output
Actual Output
The text was updated successfully, but these errors were encountered: