X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstylelint%2Flib%2Frules%2Fcolor-hex-length%2FREADME.md;fp=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstylelint%2Flib%2Frules%2Fcolor-hex-length%2FREADME.md;h=b7747a3f9155951d28d18ae0bd1c96dd24c158e3;hb=3c06164f15bd10aed7d66b6314764a2961a14762;hp=0000000000000000000000000000000000000000;hpb=0e9c3ceb40901f4d44981c1376cb9e23a248e006;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/color-hex-length/README.md b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/color-hex-length/README.md new file mode 100644 index 00000000..b7747a3f --- /dev/null +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/color-hex-length/README.md @@ -0,0 +1,63 @@ +# color-hex-length + +Specify short or long notation for hex colors. + +```css +a { color: #fff } +/** ↑ + * These hex colors */ +``` + +The `--fix` option on the [command line](../../../docs/user-guide/cli.md#autofixing-errors) can automatically fix all of the problems reported by this rule. + +## Options + +`string`: `"short"|"long"` + +### `"short"` + +The following patterns are considered violations: + +```css +a { color: #ffffff; } +``` + +```css +a { color: #ffffffaa; } +``` + +The following patterns are *not* considered violations: + +```css +a { color: #fff; } +``` + +```css +a { color: #fffa; } +``` + +```css +a { color: #a4a4a4; } +``` + +### `"long"` + +The following patterns are considered violations: + +```css +a { color: #fff; } +``` + +```css +a { color: #fffa; } +``` + +The following patterns are *not* considered violations: + +```css +a { color: #ffffff; } +``` + +```css +a { color: #ffffffaa; } +```