Specify lowercase or uppercase for keywords values.
a { display: block; }
/** ↑
* These values */This rule ignores <custom-idents> of known properties. Values which are paired with non-properties (e.g. $vars and custom properties), and do not conform to the primary option, can be ignored using the ignoreValues: [] secondary option.
string: "lower"|"upper"
The following patterns are considered warnings:
a {
display: Block;
}a {
display: bLoCk;
}a {
display: BLOCK;
}a {
transition: -WEBKIT-TRANSFORM 2s;
}The following patterns are not considered warnings:
a {
display: block;
}a {
transition: -webkit-transform 2s;
}The following patterns are considered warnings:
a {
display: Block;
}a {
display: bLoCk;
}a {
display: block;
}a {
transition: -webkit-transform 2s;
}The following patterns are not considered warnings:
a {
display: BLOCK;
}a {
transition: -WEBKIT-TRANSFORM 2s;
}Ignore case of keywords values.
For example, with "lower".
Given:
["Block", "/^(f|F)lex$/"]The following patterns are considered warnings:
a {
display: bLoCk;
}a {
display: BLOCK;
}a {
display: fLeX;
}a {
display: FLEX;
}The following patterns are not considered warnings:
a {
display: block;
}a {
display: Block;
}a {
display: flex;
}a {
display: Flex;
}For example, with "upper".
Given:
["Block", "/^(f|F)lex$/"]The following patterns are considered warnings:
a {
display: bLoCk;
}a {
display: block;
}a {
display: fLeX;
}a {
display: fLEX;
}The following patterns are not considered warnings:
a {
display: BLOCK;
}a {
display: Block;
}a {
display: FLEX;
}a {
display: Flex;
}a {
display: flex;
}