1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 02:27:20 -04:00
notes/node_modules/stylelint/lib/rules/selector-pseudo-element-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-element-case

Specify lowercase or uppercase for pseudo-element selectors.

    a::before {}
/**    ↑
 * This is pseudo-element selector */

Options

string: "lower"|"upper"

"lower"

The following patterns are considered warnings:

a:Before {}
a:bEfOrE {}
a:BEFORE {}
a::Before {}
a::bEfOrE {}
a::BEFORE {}
input::-MOZ-PLACEHOLDER {}

The following patterns are not considered warnings:

a:before {}
a::before {}
input::-moz-placeholder {}

"upper"

The following patterns are considered warnings:

a:Before {}
a:bEfOrE {}
a:BEFORE {}
a::Before {}
a::bEfOrE {}
a::before {}
input::-moz-placeholder {}

The following patterns are not considered warnings:

a:BEFORE {}
a::BEFORE {}
input::-MOZ-PLACEHOLDER {}