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 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. # media-query-list-comma-newline-before
  2. Require a newline or disallow whitespace before the commas of media query lists.
  3. <!-- prettier-ignore -->
  4. ```css
  5. @media screen and (color)
  6. , projection and (color) {}
  7. /** ↑
  8. * This comma */
  9. ```
  10. ## Options
  11. `string`: `"always"|"always-multi-line"|"never-multi-line"`
  12. ### `"always"`
  13. There _must always_ be a newline before the commas.
  14. The following patterns are considered violations:
  15. <!-- prettier-ignore -->
  16. ```css
  17. @media screen and (color), projection and (color) {}
  18. ```
  19. <!-- prettier-ignore -->
  20. ```css
  21. @media screen and (color),
  22. projection and (color) {}
  23. ```
  24. The following patterns are _not_ considered violations:
  25. <!-- prettier-ignore -->
  26. ```css
  27. @media screen and (color)
  28. ,projection and (color) {}
  29. ```
  30. <!-- prettier-ignore -->
  31. ```css
  32. @media screen and (color)
  33. ,
  34. projection and (color) {}
  35. ```
  36. ### `"always-multi-line"`
  37. There _must always_ be a newline before the commas in multi-line media query lists.
  38. The following patterns are considered violations:
  39. <!-- prettier-ignore -->
  40. ```css
  41. @media screen and (color),
  42. projection and (color) {}
  43. ```
  44. The following patterns are _not_ considered violations:
  45. <!-- prettier-ignore -->
  46. ```css
  47. @media screen and (color), projection and (color) {}
  48. ```
  49. <!-- prettier-ignore -->
  50. ```css
  51. @media screen and (color)
  52. ,projection and (color) {}
  53. ```
  54. <!-- prettier-ignore -->
  55. ```css
  56. @media screen and (color)
  57. ,
  58. projection and (color) {}
  59. ```
  60. ### `"never-multi-line"`
  61. There _must never_ be whitespace before the commas in multi-line media query lists.
  62. The following patterns are considered violations:
  63. <!-- prettier-ignore -->
  64. ```css
  65. @media screen and (color)
  66. ,projection and (color) {}
  67. ```
  68. <!-- prettier-ignore -->
  69. ```css
  70. @media screen and (color)
  71. ,
  72. projection and (color) {}
  73. ```
  74. The following patterns are _not_ considered violations:
  75. <!-- prettier-ignore -->
  76. ```css
  77. @media screen and (color), projection and (color) {}
  78. ```
  79. <!-- prettier-ignore -->
  80. ```css
  81. @media screen and (color),
  82. projection and (color) {}
  83. ```