1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-25 06:35:31 +00:00
notes/node_modules/stylelint/lib/rules/selector-pseudo-class-case
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00
..
index.js Initial commit 2017-03-09 13:16:08 -05:00
README.md Initial commit 2017-03-09 13:16:08 -05:00

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 warnings:

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

The following patterns are not considered warnings:

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

"upper"

The following patterns are considered warnings:

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

The following patterns are not considered warnings:

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