space-tab-mixed-disabled
Blank-space (space and tab) characters should not be mixed in the beginning of any line.
Level: warning
Config values
- space: space mode (only spaces are valid for indentation)
- space4: space mode and require 4 space characters
- tab: tab mode (only tab characters are valid for indentation)
- false: disable rule
Example
{
...
"space-tab-mixed-disabled": space4
...
}
The following patterns are not considered rule violations:
→ →<img src="tab.png" />
········<img src="space.png" />
The following pattern is considered a rule violation:
→····<img src="tab_before_space.png" />
···· →<img src="space_before_tab.png" />
note
In the examples above, spaces and tabs are represented by ·
and →
, respectively, to make the difference visible.