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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # selector-disallowed-list
  2. Specify a list of disallowed selectors.
  3. <!-- prettier-ignore -->
  4. ```css
  5. .foo > .bar
  6. /** ↑
  7. * This is selector */
  8. ```
  9. ## Options
  10. `array|string|regexp`: `["array", "of", "selectors", /or/, "/regex/"]|"selector"|"/regex/"`
  11. If a string is surrounded with `"/"` (e.g. `"/\.foo/"`), it is interpreted as a regular expression.
  12. Given:
  13. ```
  14. ["a > .foo", /\[data-.+]/]
  15. ```
  16. The following patterns are considered violations:
  17. <!-- prettier-ignore -->
  18. ```css
  19. a > .foo {}
  20. ```
  21. <!-- prettier-ignore -->
  22. ```css
  23. a[data-auto="1"] {}
  24. ```
  25. <!-- prettier-ignore -->
  26. ```css
  27. .foo, [data-auto="1"] {}
  28. ```
  29. The following patterns are _not_ considered violations:
  30. <!-- prettier-ignore -->
  31. ```css
  32. .foo {}
  33. ```
  34. <!-- prettier-ignore -->
  35. ```css
  36. a
  37. >
  38. .foo {}
  39. ```
  40. <!-- prettier-ignore -->
  41. ```css
  42. .bar > a > .foo {}
  43. ```
  44. <!-- prettier-ignore -->
  45. ```css
  46. .data-auto {}
  47. ```
  48. <!-- prettier-ignore -->
  49. ```css
  50. a[href] {}
  51. ```