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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # property-allowed-list
  2. Specify a list of allowed properties.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { display: block; }
  6. /** ↑
  7. * This property */
  8. ```
  9. This rule ignores variables (`$sass`, `@less`, `--custom-property`).
  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. ["display", "animation", "/^background/"]
  16. ```
  17. The following patterns are considered violations:
  18. <!-- prettier-ignore -->
  19. ```css
  20. a { color: pink; }
  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 { borkgrund: orange; }
  32. ```
  33. The following patterns are _not_ considered violations:
  34. <!-- prettier-ignore -->
  35. ```css
  36. a { display: block; }
  37. ```
  38. <!-- prettier-ignore -->
  39. ```css
  40. a { -webkit-animation: my-animation 2s; }
  41. ```
  42. <!-- prettier-ignore -->
  43. ```css
  44. a {
  45. animation: my-animation 2s;
  46. -webkit-animation: my-animation 2s;
  47. display: block;
  48. }
  49. ```
  50. <!-- prettier-ignore -->
  51. ```css
  52. a { background: pink; }
  53. ```
  54. <!-- prettier-ignore -->
  55. ```css
  56. a { background-color: pink; }
  57. ```