Hi 

I'm new to eslint. My first go with the tool yielded two errors i don't 
understand (but for clarity, I'll ask one at the time) 

I have this code:
switch (networkState) {
case Connection.ETHERNET:
case Connection.WIFI:
case Connection.CELL_2G:
case Connection.CELL_3G:
case Connection.CELL_4G:
case Connection.CELL:
networkOn = true;
break;
.... etc

Eslint gives me this error: "Expected indentation of 1 tab character but 
found 2"
this is on the line of all the case statements. 

Is this wrong? I always indent after a line which ends with a curly brace 
and in functions and "for" etc eslint is OK with that.
Maybe a config setting somewhere?

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to