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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # declaration-bang-space-before
  2. Require a single space or disallow whitespace before the bang of declarations.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { color: pink !important; }
  6. /** ↑
  7. * The space before this exclamation mark */
  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 before the bang.
  14. The following patterns are considered violations:
  15. <!-- prettier-ignore -->
  16. ```css
  17. a { color: pink!important; }
  18. ```
  19. <!-- prettier-ignore -->
  20. ```css
  21. a { color: pink ! important; }
  22. ```
  23. The following patterns are _not_ considered violations:
  24. <!-- prettier-ignore -->
  25. ```css
  26. a { color: pink !important; }
  27. ```
  28. <!-- prettier-ignore -->
  29. ```css
  30. a { color:pink ! important; }
  31. ```
  32. ### `"never"`
  33. There _must never_ be whitespace before the bang.
  34. The following patterns are considered violations:
  35. <!-- prettier-ignore -->
  36. ```css
  37. a { color : pink !important; }
  38. ```
  39. The following patterns are _not_ considered violations:
  40. <!-- prettier-ignore -->
  41. ```css
  42. a { color: pink!important; }
  43. ```
  44. <!-- prettier-ignore -->
  45. ```css
  46. a { color: pink! important; }
  47. ```