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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # media-feature-parentheses-space-inside
  2. Require a single space or disallow whitespace on the inside of the parentheses within media features.
  3. <!-- prettier-ignore -->
  4. ```css
  5. @media ( max-width: 300px ) {}
  6. /** ↑ ↑
  7. * The space inside these two parentheses */
  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"`
  12. ### `"always"`
  13. There _must always_ be a single space inside the parentheses.
  14. The following patterns are considered violations:
  15. <!-- prettier-ignore -->
  16. ```css
  17. @media (max-width: 300px) {}
  18. ```
  19. <!-- prettier-ignore -->
  20. ```css
  21. @media (max-width: 300px ) {}
  22. ```
  23. The following patterns are _not_ considered violations:
  24. <!-- prettier-ignore -->
  25. ```css
  26. @media ( max-width: 300px ) {}
  27. ```
  28. ### `"never"`
  29. There _must never_ be whitespace on the inside the parentheses.
  30. The following patterns are considered violations:
  31. <!-- prettier-ignore -->
  32. ```css
  33. @media ( max-width: 300px ) {}
  34. ```
  35. <!-- prettier-ignore -->
  36. ```css
  37. @media ( max-width: 300px) {}
  38. ```
  39. The following patterns are _not_ considered violations:
  40. <!-- prettier-ignore -->
  41. ```css
  42. @media (max-width: 300px) {}
  43. ```