X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstylelint%2Flib%2Frules%2Funit-case%2FREADME.md;fp=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstylelint%2Flib%2Frules%2Funit-case%2FREADME.md;h=b695f280bee36f3e212115d649451dc16e83c911;hb=3aba54c891969552833dbc350b3139e944e17a97;hp=0000000000000000000000000000000000000000;hpb=1def8ecce8e6f3aa32e6978d0ba7846a99b8de34;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/unit-case/README.md b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/unit-case/README.md new file mode 100644 index 00000000..b695f280 --- /dev/null +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/unit-case/README.md @@ -0,0 +1,109 @@ +# unit-case + +Specify lowercase or uppercase for units. + +```css + a { width: 10px; } +/** ↑ + * These units */ +``` + +## Options + +`string`: `"lower"|"upper"` + +### `"lower"` + +The following patterns are considered violations: + +```css +a { + width: 10PX; +} +``` + +```css +a { + width: 10Px; +} +``` + +```css +a { + width: 10pX; +} +``` + +```css +a { + width: 10PIXEL; +} +``` + +```css +a { + width: calc(10PX * 2); +} +``` + +The following patterns are *not* considered violations: + +```css +a { + width: 10px; +} +``` + +```css +a { + width: calc(10px * 2); +} +``` + +### `"upper"` + +The following patterns are considered violations: + +```css +a { + width: 10px; +} +``` + +```css +a { + width: 10Px; +} +``` + +```css +a { + width: 10pX; +} +``` + +```css +a { + width: 10pixel; +} +``` + +```css +a { + width: calc(10px * 2); +} +``` + +The following patterns are *not* considered violations: + +```css +a { + width: 10PX; +} +``` + +```css +a { + width: calc(10PX * 2); +} +```