Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
README.md | 2 years ago | |
index.js | 2 years ago |
Specify lowercase or uppercase for hex colors.
a { color: #fff }
/** ↑
* This hex color */
The fix
option can automatically fix all of the problems reported by this rule.
string
: "lower"|"upper"
"lower"
The following patterns are considered violations:
a { color: #FFF; }
The following patterns are not considered violations:
a { color: #000; }
a { color: #fff; }
"upper"
The following patterns are considered violations:
a { color: #fff; }
The following patterns are not considered violations:
a { color: #000; }
a { color: #FFF; }