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.

index.js 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. 'use strict';
  2. module.exports = {
  3. extends: 'stylelint-config-recommended',
  4. rules: {
  5. 'at-rule-empty-line-before': [
  6. 'always',
  7. {
  8. except: ['blockless-after-same-name-blockless', 'first-nested'],
  9. ignore: ['after-comment'],
  10. },
  11. ],
  12. 'at-rule-name-case': 'lower',
  13. 'at-rule-name-space-after': 'always-single-line',
  14. 'at-rule-semicolon-newline-after': 'always',
  15. 'block-closing-brace-empty-line-before': 'never',
  16. 'block-closing-brace-newline-after': 'always',
  17. 'block-closing-brace-newline-before': 'always-multi-line',
  18. 'block-closing-brace-space-before': 'always-single-line',
  19. 'block-opening-brace-newline-after': 'always-multi-line',
  20. 'block-opening-brace-space-after': 'always-single-line',
  21. 'block-opening-brace-space-before': 'always',
  22. 'color-hex-case': 'lower',
  23. 'color-hex-length': 'short',
  24. 'comment-empty-line-before': [
  25. 'always',
  26. {
  27. except: ['first-nested'],
  28. ignore: ['stylelint-commands'],
  29. },
  30. ],
  31. 'comment-whitespace-inside': 'always',
  32. 'custom-property-empty-line-before': [
  33. 'always',
  34. {
  35. except: ['after-custom-property', 'first-nested'],
  36. ignore: ['after-comment', 'inside-single-line-block'],
  37. },
  38. ],
  39. 'declaration-bang-space-after': 'never',
  40. 'declaration-bang-space-before': 'always',
  41. 'declaration-block-semicolon-newline-after': 'always-multi-line',
  42. 'declaration-block-semicolon-space-after': 'always-single-line',
  43. 'declaration-block-semicolon-space-before': 'never',
  44. 'declaration-block-single-line-max-declarations': 1,
  45. 'declaration-block-trailing-semicolon': 'always',
  46. 'declaration-colon-newline-after': 'always-multi-line',
  47. 'declaration-colon-space-after': 'always-single-line',
  48. 'declaration-colon-space-before': 'never',
  49. 'declaration-empty-line-before': [
  50. 'always',
  51. {
  52. except: ['after-declaration', 'first-nested'],
  53. ignore: ['after-comment', 'inside-single-line-block'],
  54. },
  55. ],
  56. 'function-comma-newline-after': 'always-multi-line',
  57. 'function-comma-space-after': 'always-single-line',
  58. 'function-comma-space-before': 'never',
  59. 'function-max-empty-lines': 0,
  60. 'function-name-case': 'lower',
  61. 'function-parentheses-newline-inside': 'always-multi-line',
  62. 'function-parentheses-space-inside': 'never-single-line',
  63. 'function-whitespace-after': 'always',
  64. indentation: 2,
  65. 'length-zero-no-unit': true,
  66. 'max-empty-lines': 1,
  67. 'media-feature-colon-space-after': 'always',
  68. 'media-feature-colon-space-before': 'never',
  69. 'media-feature-name-case': 'lower',
  70. 'media-feature-parentheses-space-inside': 'never',
  71. 'media-feature-range-operator-space-after': 'always',
  72. 'media-feature-range-operator-space-before': 'always',
  73. 'media-query-list-comma-newline-after': 'always-multi-line',
  74. 'media-query-list-comma-space-after': 'always-single-line',
  75. 'media-query-list-comma-space-before': 'never',
  76. 'no-eol-whitespace': true,
  77. 'no-missing-end-of-source-newline': true,
  78. 'number-leading-zero': 'always',
  79. 'number-no-trailing-zeros': true,
  80. 'property-case': 'lower',
  81. 'rule-empty-line-before': [
  82. 'always-multi-line',
  83. {
  84. except: ['first-nested'],
  85. ignore: ['after-comment'],
  86. },
  87. ],
  88. 'selector-attribute-brackets-space-inside': 'never',
  89. 'selector-attribute-operator-space-after': 'never',
  90. 'selector-attribute-operator-space-before': 'never',
  91. 'selector-combinator-space-after': 'always',
  92. 'selector-combinator-space-before': 'always',
  93. 'selector-descendant-combinator-no-non-space': true,
  94. 'selector-list-comma-newline-after': 'always',
  95. 'selector-list-comma-space-before': 'never',
  96. 'selector-max-empty-lines': 0,
  97. 'selector-pseudo-class-case': 'lower',
  98. 'selector-pseudo-class-parentheses-space-inside': 'never',
  99. 'selector-pseudo-element-case': 'lower',
  100. 'selector-pseudo-element-colon-notation': 'double',
  101. 'selector-type-case': 'lower',
  102. 'unit-case': 'lower',
  103. 'value-keyword-case': 'lower',
  104. 'value-list-comma-newline-after': 'always-multi-line',
  105. 'value-list-comma-space-after': 'always-single-line',
  106. 'value-list-comma-space-before': 'never',
  107. 'value-list-max-empty-lines': 0,
  108. },
  109. };