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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. # unit-case
  2. Specify lowercase or uppercase for units.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { width: 10px; }
  6. /** ↑
  7. * These units */
  8. ```
  9. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix most 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. width: 10PX;
  18. }
  19. ```
  20. <!-- prettier-ignore -->
  21. ```css
  22. a {
  23. width: 10Px;
  24. }
  25. ```
  26. <!-- prettier-ignore -->
  27. ```css
  28. a {
  29. width: 10pX;
  30. }
  31. ```
  32. <!-- prettier-ignore -->
  33. ```css
  34. a {
  35. width: 10PIXEL;
  36. }
  37. ```
  38. <!-- prettier-ignore -->
  39. ```css
  40. a {
  41. width: calc(10PX * 2);
  42. }
  43. ```
  44. The following patterns are _not_ considered violations:
  45. <!-- prettier-ignore -->
  46. ```css
  47. a {
  48. width: 10px;
  49. }
  50. ```
  51. <!-- prettier-ignore -->
  52. ```css
  53. a {
  54. width: calc(10px * 2);
  55. }
  56. ```
  57. ### `"upper"`
  58. The following patterns are considered violations:
  59. <!-- prettier-ignore -->
  60. ```css
  61. a {
  62. width: 10px;
  63. }
  64. ```
  65. <!-- prettier-ignore -->
  66. ```css
  67. a {
  68. width: 10Px;
  69. }
  70. ```
  71. <!-- prettier-ignore -->
  72. ```css
  73. a {
  74. width: 10pX;
  75. }
  76. ```
  77. <!-- prettier-ignore -->
  78. ```css
  79. a {
  80. width: 10pixel;
  81. }
  82. ```
  83. <!-- prettier-ignore -->
  84. ```css
  85. a {
  86. width: calc(10px * 2);
  87. }
  88. ```
  89. The following patterns are _not_ considered violations:
  90. <!-- prettier-ignore -->
  91. ```css
  92. a {
  93. width: 10PX;
  94. }
  95. ```
  96. <!-- prettier-ignore -->
  97. ```css
  98. a {
  99. width: calc(10PX * 2);
  100. }
  101. ```