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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. # at-rule-name-space-after
  2. Require a single space after at-rule names.
  3. <!-- prettier-ignore -->
  4. ```css
  5. @media (max-width: 600px) {}
  6. /** ↑
  7. * The space after at-rule names */
  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"|"always-single-line"`
  12. ### `"always"`
  13. There _must always_ be a single space after at-rule names.
  14. The following patterns are considered violations:
  15. <!-- prettier-ignore -->
  16. ```css
  17. @charset"UTF-8";
  18. ```
  19. <!-- prettier-ignore -->
  20. ```css
  21. @media(min-width: 700px) {}
  22. ```
  23. <!-- prettier-ignore -->
  24. ```css
  25. @media (min-width: 700px) {}
  26. ```
  27. <!-- prettier-ignore -->
  28. ```css
  29. @media
  30. (min-width: 700px) {}
  31. ```
  32. The following patterns are _not_ considered violations:
  33. <!-- prettier-ignore -->
  34. ```css
  35. @charset "UTF-8";
  36. ```
  37. <!-- prettier-ignore -->
  38. ```css
  39. @import url("x.css");
  40. ```
  41. <!-- prettier-ignore -->
  42. ```css
  43. @media (min-width: 700px) {}
  44. ```
  45. ### `"always-single-line"`
  46. There _must always_ be a single space after at-rule names in single-line declaration blocks.
  47. The following patterns are considered violations:
  48. <!-- prettier-ignore -->
  49. ```css
  50. @charset"UTF-8";
  51. ```
  52. <!-- prettier-ignore -->
  53. ```css
  54. @media(min-width: 700px) {}
  55. ```
  56. <!-- prettier-ignore -->
  57. ```css
  58. @media (min-width: 700px) {}
  59. ```
  60. The following patterns are _not_ considered violations:
  61. <!-- prettier-ignore -->
  62. ```css
  63. @charset "UTF-8";
  64. ```
  65. <!-- prettier-ignore -->
  66. ```css
  67. @import url("x.css");
  68. ```
  69. <!-- prettier-ignore -->
  70. ```css
  71. @media (min-width: 700px) {}
  72. ```
  73. <!-- prettier-ignore -->
  74. ```css
  75. @media
  76. (min-width: 700px) {}
  77. ```
  78. <!-- prettier-ignore -->
  79. ```css
  80. @media(min-width: 700px) and
  81. (orientation: portrait) {}
  82. ```
  83. <!-- prettier-ignore -->
  84. ```css
  85. @media
  86. (min-width: 700px) and
  87. (orientation: portrait) {}
  88. ```