X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstylelint%2Flib%2Frules%2Fmedia-feature-name-case%2FREADME.md;fp=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstylelint%2Flib%2Frules%2Fmedia-feature-name-case%2FREADME.md;h=973992e0d522637499fec23d0d82b26aa4c329fa;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/media-feature-name-case/README.md b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/media-feature-name-case/README.md new file mode 100644 index 00000000..973992e0 --- /dev/null +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/media-feature-name-case/README.md @@ -0,0 +1,75 @@ +# media-feature-name-case + +Specify lowercase or uppercase for media feature names. + +```css +@media (min-width: 700px) {} +/** ↑ + * These media feature names */ +``` + +**Caveat:** Media feature names within a range context are currently ignored. + +## Options + +`string`: `"lower"|"upper"` + +### `"lower"` + +The following patterns are considered violations: + +```css +@media (MIN-WIDTH: 700px) {} +``` + +```css +@media not all and (MONOCHROME) {} +``` + +```css +@media (min-width: 700px) and (ORIENTATION: landscape) {} +``` + +The following patterns are *not* considered violations: + +```css +@media (min-width: 700px) {} +``` + +```css +@media not all and (monochrome) {} +``` + +```css +@media (min-width: 700px) and (orientation: landscape) {} +``` + +### `"upper"` + +The following patterns are considered violations: + +```css +@media (min-width: 700px) {} +``` + +```css +@media not all and (monochrome) {} +``` + +```css +@media (MIN-WIDTH: 700px) and (orientation: landscape) {} +``` + +The following patterns are *not* considered violations: + +```css +@media (MIN-WIDTH: 700px) {} +``` + +```css +@media not all and (MONOCHROME) {} +``` + +```css +@media (MIN-WIDTH: 700px) and (ORIENTATION: landscape) {} +```