Closed reklatsmasters closed 7 years ago
Tabs are not allowed, but unfortunately the eslint options for the indent rule are not flexible enough to enforce all of Google's rules around indentation. You can see I have a TODO to fix this: https://github.com/google/eslint-config-google/blob/master/index.js#L198-L199
That explains why there's not currently a warning for tabs (though you could easily add this yourself to your own config).
Actually, I think the answer to this question can be addressed by adding the no-tabs
rule, which I think was mistakenly turned off.
Google JavaScript Style Guide says:
but rule
indent
works incorrectly. As a result, I can write like this: And it will not cause an error.