This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/stylelint/lib/rules/selector-pseudo-element-case

selector-pseudo-element-case

Specify lowercase or uppercase for pseudo-element selectors.

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

The fix option can automatically fix all of the problems reported by this rule.

Options

string: "lower"|"upper"

"lower"

The following patterns are considered violations:

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

The following patterns are not considered violations:

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

"upper"

The following patterns are considered violations:

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

The following patterns are not considered violations:

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