# selector-disallowed-list Specify a list of disallowed selectors. ```css .foo > .bar /** ↑ * This is selector */ ``` ## Options `array|string|regexp`: `["array", "of", "selectors", /or/, "/regex/"]|"selector"|"/regex/"` If a string is surrounded with `"/"` (e.g. `"/\.foo/"`), it is interpreted as a regular expression. Given: ``` ["a > .foo", /\[data-.+]/] ``` The following patterns are considered violations: ```css a > .foo {} ``` ```css a[data-auto="1"] {} ``` ```css .foo, [data-auto="1"] {} ``` The following patterns are _not_ considered violations: ```css .foo {} ``` ```css a > .foo {} ``` ```css .bar > a > .foo {} ``` ```css .data-auto {} ``` ```css a[href] {} ```