Atom Indentation Problem


#1

There is a problem with indentation of atom. When I write inline code, such as this, the indentation should be like this :

if (true){ console.log("asdasd"); }
else{ console.log("sdfas"); }

But Auto-Indent does this :

Could that be fixed ? And how ?
Thanks

Oguz Gelal