# selector-attribute-name-disallowed-list Specify a list of disallowed attribute names. ```css [class~="foo"] {} /** ↑ * This name */ ``` The [`message` secondary option](../../../docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options `array|string|regex`: `["array", "of", /names/, "regex"]|"name"|"/regex/"|/regex/` Given: ```json ["class", "id", "/^data-/"] ``` The following patterns are considered problems: ```css [class*="foo"] {} ``` ```css [id~="bar"] {} ``` ```css [data-foo*="bar"] {} ``` The following patterns are _not_ considered problems: ```css [lang~="en-us"] {} ``` ```css [target="_blank"] {} ``` ```css [href$=".bar"] {} ```