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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. # media-query-list-comma-space-after
  2. Require a single space or disallow whitespace after the commas of media query lists.
  3. <!-- prettier-ignore -->
  4. ```css
  5. @media screen and (color), projection and (color) {}
  6. /** ↑
  7. * The space after this comma */
  8. ```
  9. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
  10. ## Options
  11. `string`: `"always"|"never"|"always-single-line"|"never-single-line"`
  12. ### `"always"`
  13. There _must always_ be a single space after 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), projection and (color) {}
  28. ```
  29. <!-- prettier-ignore -->
  30. ```css
  31. @media screen and (color)
  32. , projection and (color) {}
  33. ```
  34. ### `"never"`
  35. There _must never_ be whitespace after the commas.
  36. The following patterns are considered violations:
  37. <!-- prettier-ignore -->
  38. ```css
  39. @media screen and (color), projection and (color) {}
  40. ```
  41. <!-- prettier-ignore -->
  42. ```css
  43. @media screen and (color)
  44. , projection and (color) {}
  45. ```
  46. The following patterns are _not_ considered violations:
  47. <!-- prettier-ignore -->
  48. ```css
  49. @media screen and (color),projection and (color) {}
  50. ```
  51. <!-- prettier-ignore -->
  52. ```css
  53. @media screen and (color)
  54. ,projection and (color) {}
  55. ```
  56. ### `"always-single-line"`
  57. There _must always_ be a single space after the commas in single-line media query lists.
  58. The following patterns are considered violations:
  59. <!-- prettier-ignore -->
  60. ```css
  61. @media screen and (color),projection and (color) {}
  62. ```
  63. The following patterns are _not_ considered violations:
  64. <!-- prettier-ignore -->
  65. ```css
  66. @media screen and (color), projection and (color) {}
  67. ```
  68. <!-- prettier-ignore -->
  69. ```css
  70. @media screen and (color)
  71. , projection and (color) {}
  72. ```
  73. <!-- prettier-ignore -->
  74. ```css
  75. @media screen and (color)
  76. ,projection and (color) {}
  77. ```
  78. ### `"never-single-line"`
  79. There _must never_ be whitespace after the commas in single-line media query lists.
  80. The following patterns are considered violations:
  81. <!-- prettier-ignore -->
  82. ```css
  83. @media screen and (color), projection and (color) {}
  84. ```
  85. The following patterns are _not_ considered violations:
  86. <!-- prettier-ignore -->
  87. ```css
  88. @media screen and (color),projection and (color) {}
  89. ```
  90. <!-- prettier-ignore -->
  91. ```css
  92. @media screen and (color)
  93. ,projection and (color) {}
  94. ```
  95. <!-- prettier-ignore -->
  96. ```css
  97. @media screen and (color)
  98. , projection and (color) {}
  99. ```