I give this code to Prettier
function firstFunction(){console.log('1 func')}; function secondFunction() {console.log('2 func')}
The output looks like this:
function firstFunction() {
console.log("1 func");
}
function secondFunction() {
console.log("2 func");
}
The problem is that two functions stick to each other.
I’d like to make code look like this. How do I make it?
function firstFunction() {
console.log("1 func");
}
function secondFunction() {
console.log("2 func");
}
I tried to read Prettier settings but didn’t find any option that would help me.
New contributor
miksa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.