# attr-no-unnecessary-whitespace

> Disallows unnecessary spaces between attribute names and values in HTML elements.

No spaces between attribute names and values.

Level: Error

## Config value

[Section titled “Config value”](#config-value)

* `true`: enable rule
* `false`: disable rule

### 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
<div title="a"></div>
```

### 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
<div title = "a"></div>
<div title= "a"></div>
<div title ="a"></div>
```