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
When useBraces: "always" and singleBodyPosition: "sameLine".
The text was updated successfully, but these errors were encountered:
dsherret
changed the title
Single line if statement with braces should not to multi-line when useBraces: always and singleBodyPosition: sameLine
Single line if statement with braces should not go to multi-line when useBraces: always and singleBodyPosition: sameLine
Sep 22, 2019
See here:
https://dprint.dev/playground/#code/JYMwBAFALgTgrgUwJRgN5gMYHsB2BnLAGwQDpCsBzCAViQG4wBfAWACg3RJZEk2x-MuAsTKUa9IA/config/N4IgNglgdgpg6hAJgFwBYgFwA4AMAaEaRGKZBFdDAFgIFcBnGAFQEMAjezAMxbEYMYBbCAGEA9mDFROGZACdaMAdADmYGAEVaY5DBk8+SkPJYRIUFeMGCWMkLABuMOSDqMAQnJYBjPZhC8AO4sAJ6cBGxevgAKYvQQyBBS-rAAHsgAMtAwAJJcABIsFqquIPEW6u5iiCGx8YnJGGUsgjBZsKVpyOKkchIAYpKBdQlJUCkw6e0wpWIADs4syGJyIw3jTV3TpVwrvgCytGCJ0wCCciq0raT6vPwgu3IHRyfZ0Sxerbpyt4ZuMABlOY+QEwYFeZY-TDyRQEEhXAAiMG8YA+SzGADpWoI2M4gT4Sk0bNBkKZxgQPn1Av1aFBvOsAKKpOZyPTxKQYhgwd6s0ioPR+Ilk0nQEAAXyAA
This:
Should format as the same:
When
useBraces: "always"
andsingleBodyPosition: "sameLine"
.The text was updated successfully, but these errors were encountered: