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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. # function-comma-newline-after
  2. Require a newline or disallow whitespace after the commas of functions.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { transform: translate(1,
  6. 1) } /* ↑ */
  7. /** ↑
  8. * These commas */
  9. ```
  10. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all 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 { transform: translate(1,1) }
  19. ```
  20. <!-- prettier-ignore -->
  21. ```css
  22. a { transform: translate(1 ,1) }
  23. ```
  24. <!-- prettier-ignore -->
  25. ```css
  26. a { transform: translate(1
  27. ,1) }
  28. ```
  29. The following patterns are _not_ considered violations:
  30. <!-- prettier-ignore -->
  31. ```css
  32. a {
  33. transform: translate(1,
  34. 1)
  35. }
  36. ```
  37. ### `"always-multi-line"`
  38. There _must always_ be a newline after the commas in multi-line functions.
  39. The following patterns are considered violations:
  40. <!-- prettier-ignore -->
  41. ```css
  42. a { transform: translate(1
  43. ,1) }
  44. ```
  45. The following patterns are _not_ considered violations:
  46. <!-- prettier-ignore -->
  47. ```css
  48. a { transform: translate(1,1) }
  49. ```
  50. <!-- prettier-ignore -->
  51. ```css
  52. a { transform: translate(1 ,1) }
  53. ```
  54. <!-- prettier-ignore -->
  55. ```css
  56. a {
  57. transform: translate(1,
  58. 1)
  59. }
  60. ```
  61. ### `"never-multi-line"`
  62. There _must never_ be whitespace after the commas in multi-line functions.
  63. The following patterns are considered violations:
  64. <!-- prettier-ignore -->
  65. ```css
  66. a { transform: translate(1
  67. , 1) }
  68. ```
  69. The following patterns are _not_ considered violations:
  70. <!-- prettier-ignore -->
  71. ```css
  72. a { transform: translate(1, 1) }
  73. ```
  74. <!-- prettier-ignore -->
  75. ```css
  76. a { transform: translate(1 , 1) }
  77. ```
  78. <!-- prettier-ignore -->
  79. ```css
  80. a {
  81. transform: translate(1
  82. ,1)
  83. }
  84. ```