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 845B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # function-disallowed-list
  2. Specify a list of disallowed 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: scale(1); }
  20. ```
  21. <!-- prettier-ignore -->
  22. ```css
  23. a {
  24. color: rgba(0, 0, 0, 0.5);
  25. }
  26. ```
  27. <!-- prettier-ignore -->
  28. ```css
  29. a {
  30. background:
  31. red,
  32. -moz-linear-gradient(45deg, blue, red);
  33. }
  34. ```
  35. The following patterns are _not_ considered violations:
  36. <!-- prettier-ignore -->
  37. ```css
  38. a { background: red; }
  39. ```