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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # no-invalid-position-at-import-rule
  2. Disallow invalid position `@import` rules within a stylesheet.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a {}
  6. @import 'foo.css';
  7. /** ↑
  8. * This @import */
  9. ```
  10. Any `@import` rules must precede all other valid at-rules and style rules in a stylesheet (ignoring `@charset`), or else the `@import` rule is invalid.
  11. ## Options
  12. ### `true`
  13. The following patterns are considered violations:
  14. <!-- prettier-ignore -->
  15. ```css
  16. a {}
  17. @import 'foo.css';
  18. ```
  19. <!-- prettier-ignore -->
  20. ```css
  21. @media print {}
  22. @import 'foo.css';
  23. ```
  24. The following patterns are _not_ considered violations:
  25. <!-- prettier-ignore -->
  26. ```css
  27. @import 'foo.css';
  28. a {}
  29. ```
  30. <!-- prettier-ignore -->
  31. ```css
  32. /* some comment */
  33. @import 'foo.css';
  34. ```
  35. <!-- prettier-ignore -->
  36. ```css
  37. @charset 'utf-8';
  38. @import 'foo.css';
  39. ```