Skip to content

Latest commit

 

History

History
89 lines (63 loc) · 869 Bytes

File metadata and controls

89 lines (63 loc) · 869 Bytes

selector-pseudo-class-case

Specify lowercase or uppercase for pseudo-class selectors.

    a:hover {}
/**   ↑
 * This is pseudo-class selector */

Options

string: "lower"|"upper"

"lower"

The following patterns are considered violations:

a:Hover {}
a:hOvEr {}
a:HOVER {}
:ROOT {}
:-MS-INPUT-PLACEHOLDER {}

The following patterns are not considered violations:

a:hover {}
:root {}
:-ms-input-placeholder {}

"upper"

The following patterns are considered violations:

a:Hover {}
a:hOvEr {}
a:hover {}
:root {}
:-ms-input-placeholder {}

The following patterns are not considered violations:

a:HOVER {}
:ROOT {}
:-MS-INPUT-PLACEHOLDER {}