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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # function-allowed-list
  2. Specify a list of allowed functions.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { transform: scale(1); }
  6. /** ↑
  7. * This function */
  8. ```
  9. ## Options
  10. `array|string`: `["array", "of", "unprefixed", /functions/ or "regex"]|"function"|"/regex/"`
  11. If a string is surrounded with `"/"` (e.g. `"/^rgb/"`), it is interpreted as a regular expression.
  12. Given:
  13. ```
  14. ["scale", "rgba", "linear-gradient"]
  15. ```
  16. The following patterns are considered violations:
  17. <!-- prettier-ignore -->
  18. ```css
  19. a { transform: rotate(1); }
  20. ```
  21. <!-- prettier-ignore -->
  22. ```css
  23. a {
  24. color: hsla(170, 50%, 45%, 1)
  25. }
  26. ```
  27. <!-- prettier-ignore -->
  28. ```css
  29. a {
  30. background:
  31. red,
  32. -webkit-radial-gradient(red, green, blue);
  33. }
  34. ```
  35. The following patterns are _not_ considered violations:
  36. <!-- prettier-ignore -->
  37. ```css
  38. a { background: red; }
  39. ```
  40. <!-- prettier-ignore -->
  41. ```css
  42. a { transform: scale(1); }
  43. ```
  44. <!-- prettier-ignore -->
  45. ```css
  46. a {
  47. color: rgba(0, 0, 0, 0.5);
  48. }
  49. ```
  50. <!-- prettier-ignore -->
  51. ```css
  52. a {
  53. background:
  54. red,
  55. -moz-linear-gradient(45deg, blue, red);
  56. }
  57. ```