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