If you have validateIndentation set to an integer (in my case 4), it complains about switch statements where the opening curly bracket isn't on the opening line. See:
Freaks out:
Fine:
I write my code Allman style and everything else is fine, just switch statements seem to be actin weird.
Was able to reproduce using the JSCS CLI as well, screenshots from Atom for convenience.
If you have
validateIndentation
set to an integer (in my case4
), it complains about switch statements where the opening curly bracket isn't on the opening line. See:Freaks out:
Fine:
I write my code Allman style and everything else is fine, just switch statements seem to be actin weird.
Was able to reproduce using the JSCS CLI as well, screenshots from Atom for convenience.