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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # at-rule-property-required-list
  2. Specify a list of required properties for an at-rule.
  3. <!-- prettier-ignore -->
  4. ```css
  5. @font-face { font-display: swap; font-family: 'foo'; }
  6. /** ↑ ↑ ↑
  7. * At-rule and required property names */
  8. ```
  9. ## Options
  10. `object`: `{ "at-rule-name": ["array", "of", "properties"] }`
  11. Given:
  12. ```
  13. {
  14. "font-face": ["font-display", "font-family", "font-style"]
  15. }
  16. ```
  17. The following patterns are considered violations:
  18. <!-- prettier-ignore -->
  19. ```css
  20. @font-face {
  21. font-family: 'foo';
  22. src: url('./fonts/foo.woff2') format('woff2');
  23. }
  24. ```
  25. <!-- prettier-ignore -->
  26. ```css
  27. @font-face {
  28. font-family: 'foo';
  29. font-style: normal;
  30. src: url('./fonts/foo.woff2') format('woff2');
  31. }
  32. ```
  33. The following patterns are _not_ considered violations:
  34. <!-- prettier-ignore -->
  35. ```css
  36. @font-face {
  37. font-display: swap;
  38. font-family: 'foo';
  39. font-style: normal;
  40. src: url('./fonts/foo.woff2') format('woff2');
  41. }
  42. ```