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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # no-invalid-double-slash-comments
  2. Disallow double-slash comments (`//...`) which are not supported by CSS and [could lead to unexpected results](https://stackoverflow.com/a/20192639/130652).
  3. <!-- prettier-ignore -->
  4. ```css
  5. a {
  6. //color: pink;
  7. }
  8. /** ↑
  9. * This comment */
  10. ```
  11. If you are using a preprocessor that allows `//` single-line comments (e.g. Sass, Less, Stylus), this rule will not complain about those. They are compiled into standard CSS comments by your preprocessor, so stylelint will consider them valid. This rule only complains about the lesser-known method of using `//` to "comment out" a single-line of code in regular CSS. (If you didn't know this was possible, have a look at ["Single Line Comments (//) in CSS"](http://www.xanthir.com/b4U10)).
  12. ## Options
  13. ### `true`
  14. The following patterns are considered violations:
  15. <!-- prettier-ignore -->
  16. ```css
  17. a {
  18. //color: pink;
  19. }
  20. ```
  21. <!-- prettier-ignore -->
  22. ```css
  23. //a { color: pink; }
  24. ```
  25. <!-- prettier-ignore -->
  26. ```css
  27. // Comment {}
  28. a {
  29. color: pink;
  30. }
  31. ```
  32. The following patterns are _not_ considered violations:
  33. <!-- prettier-ignore -->
  34. ```css
  35. a {
  36. /* color: pink; */
  37. }
  38. ```
  39. <!-- prettier-ignore -->
  40. ```css
  41. /* a { color: pink; } */
  42. ```