# id-class-value

> Enforces specific naming conventions for id and class attribute values in HTML elements.

Id and class value must meet some rules: underline, dash, hump.

Level: Warning

## Config value

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

* `underline`: underline mode ( aaa\_bb )
* `dash`: enable rule ( aaa-bbb )
* `hump`: enable rule ( aaaBbb )
* `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
underline: <div id="aaa_bbb">
dash: <div id="aaa-bbb">
hump: <div id="aaaBbb">
```