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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # selector-attribute-brackets-space-inside
  2. Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.
  3. <!-- prettier-ignore -->
  4. ```css
  5. [ target=_blank ]
  6. /** ↑ ↑
  7. * The space inside these two brackets */
  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`: `"always"|"never"`
  12. ### `"always"`
  13. There _must always_ be a single space inside the brackets.
  14. The following patterns are considered violations:
  15. <!-- prettier-ignore -->
  16. ```css
  17. [target] {}
  18. ```
  19. <!-- prettier-ignore -->
  20. ```css
  21. [ target] {}
  22. ```
  23. <!-- prettier-ignore -->
  24. ```css
  25. [target ] {}
  26. ```
  27. <!-- prettier-ignore -->
  28. ```css
  29. [target=_blank] {}
  30. ```
  31. <!-- prettier-ignore -->
  32. ```css
  33. [ target=_blank] {}
  34. ```
  35. <!-- prettier-ignore -->
  36. ```css
  37. [target=_blank ] {}
  38. ```
  39. The following patterns are _not_ considered violations:
  40. <!-- prettier-ignore -->
  41. ```css
  42. [ target ] {}
  43. ```
  44. <!-- prettier-ignore -->
  45. ```css
  46. [ target=_blank ] {}
  47. ```
  48. ### `"never"`
  49. There _must never_ be whitespace on the inside the brackets.
  50. The following patterns are considered violations:
  51. <!-- prettier-ignore -->
  52. ```css
  53. [ target] {}
  54. ```
  55. <!-- prettier-ignore -->
  56. ```css
  57. [target ] {}
  58. ```
  59. <!-- prettier-ignore -->
  60. ```css
  61. [ target ] {}
  62. ```
  63. <!-- prettier-ignore -->
  64. ```css
  65. [ target=_blank] {}
  66. ```
  67. <!-- prettier-ignore -->
  68. ```css
  69. [target=_blank ] {}
  70. ```
  71. <!-- prettier-ignore -->
  72. ```css
  73. [ target=_blank ] {}
  74. ```
  75. The following patterns are _not_ considered violations:
  76. <!-- prettier-ignore -->
  77. ```css
  78. [target] {}
  79. ```
  80. <!-- prettier-ignore -->
  81. ```css
  82. [target=_blank] {}
  83. ```