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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. # function-comma-space-after
  2. Require a single space or disallow whitespace after the commas of functions.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { transform: translate(1, 1) }
  6. /** ↑
  7. * The space after this comma */
  8. ```
  9. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
  10. ## Options
  11. `string`: `"always"|"never"|"always-single-line"|"never-single-line"`
  12. ### `"always"`
  13. There _must always_ be a single space after the commas.
  14. The following patterns are considered violations:
  15. <!-- prettier-ignore -->
  16. ```css
  17. a { transform: translate(1,1) }
  18. ```
  19. <!-- prettier-ignore -->
  20. ```css
  21. a { transform: translate(1 ,1) }
  22. ```
  23. The following patterns are _not_ considered violations:
  24. <!-- prettier-ignore -->
  25. ```css
  26. a { transform: translate(1, 1) }
  27. ```
  28. <!-- prettier-ignore -->
  29. ```css
  30. a { transform: translate(1 , 1) }
  31. ```
  32. ### `"never"`
  33. There _must never_ be whitespace after the commas.
  34. The following patterns are considered violations:
  35. <!-- prettier-ignore -->
  36. ```css
  37. a { transform: translate(1, 1) }
  38. ```
  39. <!-- prettier-ignore -->
  40. ```css
  41. a { transform: translate(1 , 1) }
  42. ```
  43. The following patterns are _not_ considered violations:
  44. <!-- prettier-ignore -->
  45. ```css
  46. a { transform: translate(1,1) }
  47. ```
  48. <!-- prettier-ignore -->
  49. ```css
  50. a { transform: translate(1 ,1) }
  51. ```
  52. ### `"always-single-line"`
  53. There _must always_ be a single space after the commas in single-line functions.
  54. The following patterns are considered violations:
  55. <!-- prettier-ignore -->
  56. ```css
  57. a { transform: translate(1,1) }
  58. ```
  59. <!-- prettier-ignore -->
  60. ```css
  61. a { transform: translate(1 ,1) }
  62. ```
  63. The following patterns are _not_ considered violations:
  64. <!-- prettier-ignore -->
  65. ```css
  66. a { transform: translate(1, 1) }
  67. ```
  68. <!-- prettier-ignore -->
  69. ```css
  70. a { transform: translate(1 , 1) }
  71. ```
  72. <!-- prettier-ignore -->
  73. ```css
  74. a {
  75. transform: translate(1
  76. ,1)
  77. }
  78. ```
  79. ### `"never-single-line"`
  80. There _must never_ be whitespace after the commas in single-line functions.
  81. The following patterns are considered violations:
  82. <!-- prettier-ignore -->
  83. ```css
  84. a { transform: translate(1, 1) }
  85. ```
  86. <!-- prettier-ignore -->
  87. ```css
  88. a { transform: translate(1 , 1) }
  89. ```
  90. The following patterns are _not_ considered violations:
  91. <!-- prettier-ignore -->
  92. ```css
  93. a { transform: translate(1,1) }
  94. ```
  95. <!-- prettier-ignore -->
  96. ```css
  97. a { transform: translate(1 ,1) }
  98. ```
  99. <!-- prettier-ignore -->
  100. ```css
  101. a {
  102. transform: translate(1
  103. , 1)
  104. }
  105. ```