1 # selector-no-qualifying-type
3 Disallow qualifying a selector by type.
8 * This type selector is qualifying the class */
11 A type selector is "qualifying" when it is compounded with (chained to) another selector (e.g. a.foo, a#foo). This rule does not regulate type selectors that are combined with other selectors via a combinator (e.g. a > .foo, a #foo).
17 The following patterns are considered violations:
32 input[type='button'] {
37 The following patterns are *not* considered violations:
57 ## Optional secondary options
59 ### `ignore: ["attribute", "class", "id"]`
63 Allow attribute selectors qualified by type.
65 The following patterns are *not* considered violations:
68 input[type='button'] {
75 Allow class selectors qualified by type.
77 The following patterns are *not* considered violations:
87 Allow id selectors qualified by type.
89 The following patterns are *not* considered violations: