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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # value-list-comma-newline-after
  2. Require a newline or disallow whitespace after the commas of value lists.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { background-size: 0,
  6. 0; } ↑
  7. /** ↑
  8. * The newline after this comma */
  9. ```
  10. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix most of the problems reported by this rule.
  11. ## Options
  12. `string`: `"always"|"always-multi-line"|"never-multi-line"`
  13. ### `"always"`
  14. There _must always_ be a newline after the commas.
  15. The following patterns are considered violations:
  16. <!-- prettier-ignore -->
  17. ```css
  18. a { background-size: 0,0; }
  19. ```
  20. <!-- prettier-ignore -->
  21. ```css
  22. a { background-size: 0
  23. , 0; }
  24. ```
  25. The following patterns are _not_ considered violations:
  26. <!-- prettier-ignore -->
  27. ```css
  28. a { background-size: 0,
  29. 0; }
  30. ```
  31. ### `"always-multi-line"`
  32. There _must always_ be a newline after the commas in multi-line value lists.
  33. The following patterns are considered violations:
  34. <!-- prettier-ignore -->
  35. ```css
  36. a { background-size: 0
  37. , 0; }
  38. ```
  39. The following patterns are _not_ considered violations:
  40. <!-- prettier-ignore -->
  41. ```css
  42. a { background-size: 0, 0; }
  43. ```
  44. <!-- prettier-ignore -->
  45. ```css
  46. a { background-size: 0,0; }
  47. ```
  48. <!-- prettier-ignore -->
  49. ```css
  50. a { background-size: 0,
  51. 0; }
  52. ```
  53. ### `"never-multi-line"`
  54. There _must never_ be whitespace after the commas in multi-line value lists.
  55. The following patterns are considered violations:
  56. <!-- prettier-ignore -->
  57. ```css
  58. a { background-size: 0
  59. , 0; }
  60. ```
  61. The following patterns are _not_ considered violations:
  62. <!-- prettier-ignore -->
  63. ```css
  64. a { background-size: 0,0; }
  65. ```
  66. <!-- prettier-ignore -->
  67. ```css
  68. a { background-size: 0, 0; }
  69. ```
  70. <!-- prettier-ignore -->
  71. ```css
  72. a { background-size: 0
  73. ,0; }
  74. ```