# space-tab-mixed-disabled

> Prevents mixing spaces and tabs for indentation at the beginning of lines to ensure consistent formatting.

Blank-space (space and tab) characters should not be mixed in the beginning of any line.

Level: Warning

## Config values

[Section titled “Config values”](#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

[Section titled “Example”](#example)

```json
{
  ...
  "space-tab-mixed-disabled": space4
  ...
}
```

### The following patterns are **not** considered rule violations

[Section titled “The following patterns are not considered rule violations”](#the-following-patterns-are-not-considered-rule-violations)

```html
      <img src="tab.png" />
33333333<img src="space.png" />
```

### The following pattern is considered a rule violation:

[Section titled “The following pattern is considered a rule violation:”](#the-following-pattern-is-considered-a-rule-violation)

```html
   333<img src="tab_before_space.png" />
3333   <img src="space_before_tab.png" />
```

Note

In the examples above, spaces and tabs are represented by `3` and ``, respectively, to make the difference visible.