I've googled for a while and not found how to do this. I have eslint and prettier setup in my project.
// What I have:
if (a == b) doSomething();
// What I want from either eslint or prettier
if (a == b) {
doSomething();
}
Can any one show me how to get this done? Or show me their config that does this?