Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # media-feature-name-no-unknown
  2. Disallow unknown media feature names.
  3. <!-- prettier-ignore -->
  4. ```css
  5. @media (min-width: 700px) {}
  6. /** ↑
  7. * This media feature name */
  8. ```
  9. This rule considers media feature names defined in the CSS Specifications, up to and including Editor's Drafts, to be known.
  10. This rule ignores vendor-prefixed media feature names.
  11. ## Options
  12. ### `true`
  13. The following patterns are considered violations:
  14. <!-- prettier-ignore -->
  15. ```css
  16. @media screen and (unknown) {}
  17. ```
  18. <!-- prettier-ignore -->
  19. ```css
  20. @media screen and (unknown: 10px) {}
  21. ```
  22. <!-- prettier-ignore -->
  23. ```css
  24. @media screen and (unknown > 10px) {}
  25. ```
  26. The following patterns are _not_ considered violations:
  27. <!-- prettier-ignore -->
  28. ```css
  29. @media all and (monochrome) {}
  30. ```
  31. <!-- prettier-ignore -->
  32. ```css
  33. @media (min-width: 700px) {}
  34. ```
  35. <!-- prettier-ignore -->
  36. ```css
  37. @media (MIN-WIDTH: 700px) {}
  38. ```
  39. <!-- prettier-ignore -->
  40. ```css
  41. @media (min-width: 700px) and (orientation: landscape) {}
  42. ```
  43. <!-- prettier-ignore -->
  44. ```css
  45. @media (-webkit-min-device-pixel-ratio: 2) {}
  46. ```
  47. ## Optional secondary options
  48. ### `ignoreMediaFeatureNames: ["/regex/", /regex/, "string"]`
  49. Given:
  50. ```
  51. ["/^my-/", "custom"]
  52. ```
  53. The following patterns are _not_ considered violations:
  54. <!-- prettier-ignore -->
  55. ```css
  56. @media screen and (my-media-feature-name) {}
  57. ```
  58. <!-- prettier-ignore -->
  59. ```css
  60. @media screen and (custom: 10px) {}
  61. ```
  62. <!-- prettier-ignore -->
  63. ```css
  64. @media screen and (100px < custom < 700px) {}
  65. ```
  66. <!-- prettier-ignore -->
  67. ```css
  68. @media (min-width: 700px) and (custom: 10px) {}
  69. ```