prettier/prettier-vscode

TS configuration does not wrap

NoRainLand opened this issue · 1 comments

HI😊,I want a switch to control line breaks, as follows:

let obj = true;
if(obj){//test
    console.log('123');
}
//format:
✔:
let obj = true;
if(obj){  //test 
    console.log('123');
}
❌:
let obj = true;
if(obj){
    //test 
    console.log('123');
}

Looking forward to your reply😊