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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # property-blacklist
  2. **_Deprecated: Instead use the [`property-disallowed-list`](../property-disallowed-list/README.md) rule._**
  3. Specify a list of disallowed properties.
  4. <!-- prettier-ignore -->
  5. ```css
  6. a { text-rendering: optimizeLegibility; }
  7. /** ↑
  8. * This property */
  9. ```
  10. ## Options
  11. `array|string`: `["array", "of", "unprefixed", /properties/ or "regex"]|"property"|"/regex/"`|/regex/
  12. If a string is surrounded with `"/"` (e.g. `"/^background/"`), it is interpreted as a regular expression. This allows, for example, easy targeting of shorthands: `/^background/` will match `background`, `background-size`, `background-color`, etc.
  13. Given:
  14. ```
  15. ["text-rendering", "animation", "/^background/"]
  16. ```
  17. The following patterns are considered violations:
  18. <!-- prettier-ignore -->
  19. ```css
  20. a { text-rendering: optimizeLegibility; }
  21. ```
  22. <!-- prettier-ignore -->
  23. ```css
  24. a {
  25. animation: my-animation 2s;
  26. color: pink;
  27. }
  28. ```
  29. <!-- prettier-ignore -->
  30. ```css
  31. a { -webkit-animation: my-animation 2s; }
  32. ```
  33. <!-- prettier-ignore -->
  34. ```css
  35. a { background: pink; }
  36. ```
  37. <!-- prettier-ignore -->
  38. ```css
  39. a { background-size: cover; }
  40. ```
  41. The following patterns are _not_ considered violations:
  42. <!-- prettier-ignore -->
  43. ```css
  44. a { color: pink; }
  45. ```
  46. <!-- prettier-ignore -->
  47. ```css
  48. a { no-background: sure; }
  49. ```