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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. # block-closing-brace-space-after
  2. Require a single space or disallow whitespace after the closing brace of blocks.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { color: pink; }
  6. /** ↑
  7. * The space after this brace */
  8. ```
  9. This rule allows a trailing semicolon after the closing brace of a block. For example,
  10. <!-- prettier-ignore -->
  11. ```css
  12. :root {
  13. --toolbar-theme: {
  14. background-color: hsl(120, 70%, 95%);
  15. };
  16. /* ↑
  17. * This semicolon */
  18. }
  19. ```
  20. ## Options
  21. `string`: `"always"|"never"|"always-single-line"|"never-single-line"|"always-multi-line"|"never-multi-line"`
  22. ### `"always"`
  23. There _must always_ be a single space after the closing brace.
  24. The following patterns are considered violations:
  25. <!-- prettier-ignore -->
  26. ```css
  27. a { color: pink; }b { color: red; }
  28. ```
  29. <!-- prettier-ignore -->
  30. ```css
  31. a { color: pink; }
  32. b { color: red; }
  33. ```
  34. The following patterns are _not_ considered violations:
  35. <!-- prettier-ignore -->
  36. ```css
  37. a { color: pink; } b { color: red; }
  38. ```
  39. ### `"never"`
  40. There _must never_ be whitespace after the closing brace.
  41. The following patterns are considered violations:
  42. <!-- prettier-ignore -->
  43. ```css
  44. a { color: pink; } b { color: red; }
  45. ```
  46. <!-- prettier-ignore -->
  47. ```css
  48. a { color: pink; }
  49. b { color: red; }
  50. ```
  51. The following patterns are _not_ considered violations:
  52. <!-- prettier-ignore -->
  53. ```css
  54. a { color: pink; }b { color: red; }
  55. ```
  56. <!-- prettier-ignore -->
  57. ```css
  58. a { color: pink;
  59. }b { color: red; }
  60. ```
  61. ### `"always-single-line"`
  62. There _must always_ be a single space after the closing brace in single-line blocks.
  63. The following patterns are considered violations:
  64. <!-- prettier-ignore -->
  65. ```css
  66. a { color: pink; }b { color: red; }
  67. ```
  68. The following patterns are _not_ considered violations:
  69. <!-- prettier-ignore -->
  70. ```css
  71. a { color: pink; } b { color: red; }
  72. ```
  73. <!-- prettier-ignore -->
  74. ```css
  75. a { color: pink;
  76. }b { color: red; }
  77. ```
  78. ### `"never-single-line"`
  79. There _must never_ be whitespace after the closing brace in single-line blocks.
  80. The following patterns are considered violations:
  81. <!-- prettier-ignore -->
  82. ```css
  83. a { color: pink; } b { color: red; }
  84. ```
  85. The following patterns are _not_ considered violations:
  86. <!-- prettier-ignore -->
  87. ```css
  88. a { color: pink; }b { color: red; }
  89. ```
  90. <!-- prettier-ignore -->
  91. ```css
  92. a { color: pink;
  93. } b { color: red; }
  94. ```
  95. ### `"always-multi-line"`
  96. There _must always_ be a single space after the closing brace in multi-line blocks.
  97. The following patterns are considered violations:
  98. <!-- prettier-ignore -->
  99. ```css
  100. a { color: pink;
  101. }b { color: red; }
  102. ```
  103. The following patterns are _not_ considered violations:
  104. <!-- prettier-ignore -->
  105. ```css
  106. a { color: pink; }b { color: red; }
  107. ```
  108. <!-- prettier-ignore -->
  109. ```css
  110. a { color: pink;
  111. } b { color: red; }
  112. ```
  113. ### `"never-multi-line"`
  114. There _must never_ be whitespace after the closing brace in multi-line blocks.
  115. The following patterns are considered violations:
  116. <!-- prettier-ignore -->
  117. ```css
  118. a { color: pink;
  119. } b { color: red; }
  120. ```
  121. The following patterns are _not_ considered violations:
  122. <!-- prettier-ignore -->
  123. ```css
  124. a { color: pink; } b { color: red; }
  125. ```
  126. <!-- prettier-ignore -->
  127. ```css
  128. a { color: pink;
  129. }b { color: red; }
  130. ```