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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. # value-list-comma-newline-before
  2. Require a newline or disallow whitespace before the commas of value lists.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { background-size: 0
  6. , 0; }
  7. /** ↑
  8. * The newline before 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. a { background-size: 0,0; }
  18. ```
  19. <!-- prettier-ignore -->
  20. ```css
  21. a { background-size: 0,
  22. 0; }
  23. ```
  24. The following patterns are _not_ considered violations:
  25. <!-- prettier-ignore -->
  26. ```css
  27. a { background-size: 0
  28. , 0; }
  29. ```
  30. ### `"always-multi-line"`
  31. There _must always_ be a newline before the commas in multi-line value lists.
  32. The following patterns are considered violations:
  33. <!-- prettier-ignore -->
  34. ```css
  35. a { background-size: 0,
  36. 0; }
  37. ```
  38. The following patterns are _not_ considered violations:
  39. <!-- prettier-ignore -->
  40. ```css
  41. a { background-size: 0, 0; }
  42. ```
  43. <!-- prettier-ignore -->
  44. ```css
  45. a { background-size: 0,0; }
  46. ```
  47. <!-- prettier-ignore -->
  48. ```css
  49. a { background-size: 0
  50. , 0; }
  51. ```
  52. ### `"never-multi-line"`
  53. There _must never_ be whitespace before the commas in multi-line value lists.
  54. The following patterns are considered violations:
  55. <!-- prettier-ignore -->
  56. ```css
  57. a { background-size: 0
  58. , 0; }
  59. ```
  60. The following patterns are _not_ considered violations:
  61. <!-- prettier-ignore -->
  62. ```css
  63. a { background-size: 0,0; }
  64. ```
  65. <!-- prettier-ignore -->
  66. ```css
  67. a { background-size: 0, 0; }
  68. ```
  69. <!-- prettier-ignore -->
  70. ```css
  71. a { background-size: 0,
  72. 0; }
  73. ```