I am using prettier with VSCode, How can I configure it to format my code like this :
function test()
{
if()
{
MYCODE GOES HERE;
}
}
I want the {
and }
on new lines, and an empty line after {
and before }
.
Currently, it moves the curly brackets to same lines if condition or function name, and also remove the empty lines after/before {
and }
.