Closed brupelo closed 8 years ago
From http://jscs.info/rule/validateIndentation
Validates indentation for switch statements and block statements
@markelog : So, what does that mean? Did you see the .jscsrc i've pasted? I'm already using "validateIndentation": 2 .
When you say "Validates indentation for switch statements and block statements" you mean this is a jscs limitation won't be fixed? It'd be cool if arrays were indented properly, that way i could use jscs fix and standard wouldn't complain.
When you say "Validates indentation for switch statements and block statements" you mean this is a jscs limitation won't be fixed?
We have tickets about this - https://github.com/jscs-dev/node-jscs/issues/1866, so if anyone has the time to implement this, it would be most appreciated.
Hi,
I'm trying to create .jscsrc following standard conventions and i'm having some issue with jscs 2.11.0 and arrays, here's my .jscsrc file:
For instance, in this function i'd expect Sublime-Linter + SublimeLinter-jscs to notify me about the 4 spaces in that array, it's not saying anything though:
Is this a well known issue, any recommendation to fix it?
PS: I'd prefer using jscs to check my code against standard convention instead standard itself, don't ask me why :-)