What settings need to be configured to add a new line before and after method declaration in classes in typescript files using prettier plugin in vs code editor?
How can we achieve by writing any rule in .prettierrc
or tslint.json
file?
current behavior is
function one(){
// some code
}
function two(){
// some code
}
expected result
function one(){
// some code
}
function two(){
// some code
}
I have tried with below line in tslint.json
"lines-between-class-methods": "true"
but did not works
tslint.json
– Aron