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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # selector-pseudo-element-no-unknown
  2. Disallow unknown pseudo-element selectors.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a::before {}
  6. /** ↑
  7. * This pseudo-element selector */
  8. ```
  9. This rule considers pseudo-element selectors defined in the CSS Specifications, up to and including Editor's Drafts, to be known.
  10. This rule ignores vendor-prefixed pseudo-element selectors.
  11. ## Options
  12. ### `true`
  13. The following patterns are considered violations:
  14. <!-- prettier-ignore -->
  15. ```css
  16. a::pseudo {}
  17. ```
  18. <!-- prettier-ignore -->
  19. ```css
  20. a::PSEUDO {}
  21. ```
  22. <!-- prettier-ignore -->
  23. ```css
  24. a::element {}
  25. ```
  26. The following patterns are _not_ considered violations:
  27. <!-- prettier-ignore -->
  28. ```css
  29. a:before {}
  30. ```
  31. <!-- prettier-ignore -->
  32. ```css
  33. a::before {}
  34. ```
  35. <!-- prettier-ignore -->
  36. ```css
  37. ::selection {}
  38. ```
  39. <!-- prettier-ignore -->
  40. ```css
  41. input::-moz-placeholder {}
  42. ```
  43. ## Optional secondary options
  44. ### `ignorePseudoElements: ["/regex/", "string"]`
  45. Given:
  46. ```
  47. ["/^my-/", "pseudo-element"]
  48. ```
  49. The following patterns are _not_ considered violations:
  50. <!-- prettier-ignore -->
  51. ```css
  52. a::pseudo-element {}
  53. ```
  54. <!-- prettier-ignore -->
  55. ```css
  56. a::my-pseudo {}
  57. ```
  58. <!-- prettier-ignore -->
  59. ```css
  60. a::my-other-pseudo {}
  61. ```