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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # function-max-empty-lines
  2. Limit the number of adjacent empty lines within functions.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a {
  6. transform:
  7. translate(
  8. /* ← */
  9. 1, /* ↑ */
  10. /* ← */
  11. 1 /* ↑ */
  12. /* ← */
  13. ); /* ↑ */
  14. } /* ↑ */
  15. /** ↑
  16. * These lines */
  17. ```
  18. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
  19. ## Options
  20. `int`: Maximum number of adjacent empty lines allowed.
  21. For example, with `0`:
  22. The following patterns are considered violations:
  23. <!-- prettier-ignore -->
  24. ```css
  25. a {
  26. transform:
  27. translate(
  28. 1,
  29. 1
  30. );
  31. }
  32. ```
  33. <!-- prettier-ignore -->
  34. ```css
  35. a {
  36. transform:
  37. translate(
  38. 1,
  39. 1
  40. );
  41. }
  42. ```
  43. <!-- prettier-ignore -->
  44. ```css
  45. a {
  46. transform:
  47. translate(
  48. 1,
  49. 1
  50. );
  51. }
  52. ```
  53. The following patterns are _not_ considered violations:
  54. <!-- prettier-ignore -->
  55. ```css
  56. a {
  57. transform:
  58. translate(
  59. 1,
  60. 1
  61. );
  62. }
  63. ```