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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # selector-max-empty-lines
  2. Limit the number of adjacent empty lines within selectors.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a,
  6. /* ← */
  7. b { /* ↑ */
  8. color: red; /* ↑ */
  9. } /* ↑ */
  10. /** ↑
  11. * This empty line */
  12. ```
  13. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
  14. ## Options
  15. `int`: Maximum number of adjacent empty lines allowed.
  16. For example, with `0`:
  17. The following patterns are considered violations:
  18. <!-- prettier-ignore -->
  19. ```css
  20. a
  21. b {
  22. color: red;
  23. }
  24. ```
  25. <!-- prettier-ignore -->
  26. ```css
  27. a,
  28. b {
  29. color: red;
  30. }
  31. ```
  32. <!-- prettier-ignore -->
  33. ```css
  34. a
  35. >
  36. b {
  37. color: red;
  38. }
  39. ```
  40. <!-- prettier-ignore -->
  41. ```css
  42. a
  43. >
  44. b {
  45. color: red;
  46. }
  47. ```
  48. The following patterns are _not_ considered violations:
  49. <!-- prettier-ignore -->
  50. ```css
  51. a b {
  52. color: red;
  53. }
  54. ```
  55. <!-- prettier-ignore -->
  56. ```css
  57. a
  58. b {
  59. color: red;
  60. }
  61. ```
  62. <!-- prettier-ignore -->
  63. ```css
  64. a,
  65. b {
  66. color: red;
  67. }
  68. ```
  69. <!-- prettier-ignore -->
  70. ```css
  71. a > b {
  72. color: red;
  73. }
  74. ```
  75. <!-- prettier-ignore -->
  76. ```css
  77. a
  78. >
  79. b {
  80. color: red;
  81. }
  82. ```