Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / media-feature-name-whitelist / README.md
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/media-feature-name-whitelist/README.md b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/media-feature-name-whitelist/README.md
new file mode 100644 (file)
index 0000000..aba34f5
--- /dev/null
@@ -0,0 +1,41 @@
+# media-feature-name-whitelist
+
+Specify a whitelist of allowed media feature names.
+
+```css
+@media (min-width: 700px) {}
+/**     ↑
+ * These media feature names */
+```
+
+**Caveat:** Media feature names within a range context are currently ignored.
+
+## Options
+
+`array|string|regex`: `["array", "of", "unprefixed", "media-features" or "regex"]|"media-feature"|/regex/`
+
+Given:
+
+```js
+["max-width", "/^my-/"]
+```
+
+The following patterns are considered violations:
+
+```css
+@media (min-width: 50em) {}
+```
+
+```css
+@media print and (min-resolution: 300dpi) {}
+```
+
+The following patterns are *not* considered violations:
+
+```css
+@media (max-width: 50em) {}
+```
+
+```css
+@media (my-width: 50em) {}
+```