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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # function-whitespace-after
  2. Require or disallow whitespace after functions.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { transform: translate(1, 1) scale(3); }
  6. /** ↑
  7. * This space */
  8. ```
  9. This rule does not check for space immediately after `)` if the very next character is `,`, `)`, `/` or `}`, allowing some of the patterns exemplified below.
  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"|"never"`
  13. ### `"always"`
  14. There _must always_ be whitespace after the function.
  15. The following patterns are considered violations:
  16. <!-- prettier-ignore -->
  17. ```css
  18. a { transform: translate(1, 1)scale(3); }
  19. ```
  20. The following patterns are _not_ considered violations:
  21. <!-- prettier-ignore -->
  22. ```css
  23. a { transform: translate(1, 1) scale(3); }
  24. ```
  25. <!-- prettier-ignore -->
  26. ```css
  27. a { transform: translate(1, 1) scale(3); }
  28. ```
  29. <!-- prettier-ignore -->
  30. ```css
  31. a {
  32. transform:
  33. translate(1, 1)
  34. scale(3);
  35. }
  36. ```
  37. <!-- prettier-ignore -->
  38. ```css
  39. /* notice the two closing parentheses without a space between */
  40. a { top: calc(1 * (1 + 3)); }
  41. ```
  42. <!-- prettier-ignore -->
  43. ```css
  44. /* notice the ), with no space after the closing parenthesis */
  45. a { padding: calc(1 * 2px), calc(2 * 5px); }
  46. ```
  47. ### `"never"`
  48. There _must never_ be whitespace after the function.
  49. The following patterns are considered violations:
  50. <!-- prettier-ignore -->
  51. ```css
  52. a { transform: translate(1, 1) scale(3); }
  53. ```
  54. The following patterns are _not_ considered violations:
  55. <!-- prettier-ignore -->
  56. ```css
  57. a { transform: translate(1, 1)scale(3); }
  58. ```