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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # selector-attribute-quotes
  2. Require or disallow quotes for attribute values.
  3. <!-- prettier-ignore -->
  4. ```css
  5. [target="_blank"] {}
  6. /** ↑ ↑
  7. * These quotes */
  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`: `"always"|"never"`
  12. ### `"always"`
  13. Attribute values _must always_ be quoted.
  14. The following patterns are considered violations:
  15. <!-- prettier-ignore -->
  16. ```css
  17. [title=flower] {}
  18. ```
  19. <!-- prettier-ignore -->
  20. ```css
  21. [class^=top] {}
  22. ```
  23. The following patterns are _not_ considered violations:
  24. <!-- prettier-ignore -->
  25. ```css
  26. [title] {}
  27. ```
  28. <!-- prettier-ignore -->
  29. ```css
  30. [target="_blank"] {}
  31. ```
  32. <!-- prettier-ignore -->
  33. ```css
  34. [class|="top"] {}
  35. ```
  36. <!-- prettier-ignore -->
  37. ```css
  38. [title~='text'] {}
  39. ```
  40. <!-- prettier-ignore -->
  41. ```css
  42. [data-attribute='component'] {}
  43. ```
  44. ### `"never"`
  45. Attribute values _must never_ be quoted.
  46. The following patterns are considered violations:
  47. <!-- prettier-ignore -->
  48. ```css
  49. [target="_blank"] {}
  50. ```
  51. <!-- prettier-ignore -->
  52. ```css
  53. [class|="top"] {}
  54. ```
  55. <!-- prettier-ignore -->
  56. ```css
  57. [title~='text'] {}
  58. ```
  59. <!-- prettier-ignore -->
  60. ```css
  61. [data-attribute='component'] {}
  62. ```
  63. The following patterns are _not_ considered violations:
  64. <!-- prettier-ignore -->
  65. ```css
  66. [title] {}
  67. ```
  68. <!-- prettier-ignore -->
  69. ```css
  70. [title=flower] {}
  71. ```
  72. <!-- prettier-ignore -->
  73. ```css
  74. [class^=top] {}
  75. ```