How do we not allow hard tabs in my codebase? We a

2019-08-06 16:05发布

问题:

How do we not allow hard tabs in my codebase? We are using JSHint.

I think smarttabs only disallows mixed tabs on the same line.

What option should we be using to achieve this?

回答1:

JSCS validateIndentation is the relevant option. It corresponds to the (deprecated) JSHint indent option.