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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. # selector-type-case
  2. Specify lowercase or uppercase for type selectors.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a {}
  6. /** ↑
  7. * This is type selector */
  8. ```
  9. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
  10. ## Options
  11. `string`: `"lower"|"upper"`
  12. ### `"lower"`
  13. The following patterns are considered violations:
  14. <!-- prettier-ignore -->
  15. ```css
  16. A {}
  17. ```
  18. <!-- prettier-ignore -->
  19. ```css
  20. LI {}
  21. ```
  22. The following patterns are _not_ considered violations:
  23. <!-- prettier-ignore -->
  24. ```css
  25. a {}
  26. ```
  27. <!-- prettier-ignore -->
  28. ```css
  29. li {}
  30. ```
  31. ### `"upper"`
  32. The following patterns are considered violations:
  33. <!-- prettier-ignore -->
  34. ```css
  35. a {}
  36. ```
  37. <!-- prettier-ignore -->
  38. ```css
  39. li {}
  40. ```
  41. The following patterns are _not_ considered violations:
  42. <!-- prettier-ignore -->
  43. ```css
  44. A {}
  45. ```
  46. <!-- prettier-ignore -->
  47. ```css
  48. LI {}
  49. ```
  50. ## Optional secondary options
  51. ### `ignoreTypes: ["/regex/", "non-regex"]`
  52. Given:
  53. ```
  54. ["$childClass", "/(p|P)arent.*/"]
  55. ```
  56. The following patterns are _not_ considered violations:
  57. <!-- prettier-ignore -->
  58. ```css
  59. myParentClass {
  60. color: pink;
  61. }
  62. $childClass {
  63. color: pink;
  64. }
  65. ```