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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # declaration-property-unit-disallowed-list
  2. Specify a list of disallowed property and unit pairs within declarations.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { width: 100px; }
  6. /** ↑ ↑
  7. * These properties and these units */
  8. ```
  9. ## Options
  10. `object`: `{ "unprefixed-property-name": ["array", "of", "units"] }`
  11. If a property name is surrounded with `"/"` (e.g. `"/^animation/"`), it is interpreted as a regular expression. This allows, for example, easy targeting of shorthands: `/^animation/` will match `animation`, `animation-duration`, `animation-timing-function`, etc.
  12. Given:
  13. ```
  14. {
  15. "font-size": ["em", "px"],
  16. "/^animation/": ["s"]
  17. }
  18. ```
  19. The following patterns are considered violations:
  20. <!-- prettier-ignore -->
  21. ```css
  22. a { font-size: 1em; }
  23. ```
  24. <!-- prettier-ignore -->
  25. ```css
  26. a { animation: animation-name 5s ease; }
  27. ```
  28. <!-- prettier-ignore -->
  29. ```css
  30. a { -webkit-animation: animation-name 5s ease; }
  31. ```
  32. <!-- prettier-ignore -->
  33. ```css
  34. a { animation-duration: 5s; }
  35. ```
  36. The following patterns are _not_ considered violations:
  37. <!-- prettier-ignore -->
  38. ```css
  39. a { font-size: 1.2rem; }
  40. ```
  41. <!-- prettier-ignore -->
  42. ```css
  43. a { height: 100px; }
  44. ```
  45. <!-- prettier-ignore -->
  46. ```css
  47. a { animation: animation-name 500ms ease; }
  48. ```
  49. <!-- prettier-ignore -->
  50. ```css
  51. a { -webkit-animation: animation-name 500ms ease; }
  52. ```
  53. <!-- prettier-ignore -->
  54. ```css
  55. a { animation-duration: 500ms; }
  56. ```