Whatever stops my linter complaining.
Seriously though, it's arbitrary, especially when a lot of code might be processed compiled or minified. If your project has a particular standard, I'd use that, it's good to adapt and be able to stick to new rules, it increases your familiarity with other styles, and over time, who knows, you might discover the perfect syntax. A buddha of code.
If it's my own project, it's a case of what seems logical- obviously stick to the same rule all the time, but does the rule make sense given how you're styling the rest of your code. Is it, as a whole, pleasing to read and easy to visually pick apart?