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 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. "use strict";
  2. const includeDeprecated = !process.env.ESLINT_CONFIG_PRETTIER_NO_DEPRECATED;
  3. module.exports = {
  4. rules: {
  5. // The following rules can be used in some cases. See the README for more
  6. // information. (These are marked with `0` instead of `"off"` so that a
  7. // script can distinguish them.)
  8. "curly": 0,
  9. "lines-around-comment": 0,
  10. "max-len": 0,
  11. "no-confusing-arrow": 0,
  12. "no-mixed-operators": 0,
  13. "no-tabs": 0,
  14. "no-unexpected-multiline": 0,
  15. "quotes": 0,
  16. "@typescript-eslint/quotes": 0,
  17. "babel/quotes": 0,
  18. "vue/html-self-closing": 0,
  19. "vue/max-len": 0,
  20. // The rest are rules that you never need to enable when using Prettier.
  21. "array-bracket-newline": "off",
  22. "array-bracket-spacing": "off",
  23. "array-element-newline": "off",
  24. "arrow-parens": "off",
  25. "arrow-spacing": "off",
  26. "block-spacing": "off",
  27. "brace-style": "off",
  28. "comma-dangle": "off",
  29. "comma-spacing": "off",
  30. "comma-style": "off",
  31. "computed-property-spacing": "off",
  32. "dot-location": "off",
  33. "eol-last": "off",
  34. "func-call-spacing": "off",
  35. "function-call-argument-newline": "off",
  36. "function-paren-newline": "off",
  37. "generator-star": "off",
  38. "generator-star-spacing": "off",
  39. "implicit-arrow-linebreak": "off",
  40. "indent": "off",
  41. "jsx-quotes": "off",
  42. "key-spacing": "off",
  43. "keyword-spacing": "off",
  44. "linebreak-style": "off",
  45. "multiline-ternary": "off",
  46. "newline-per-chained-call": "off",
  47. "new-parens": "off",
  48. "no-arrow-condition": "off",
  49. "no-comma-dangle": "off",
  50. "no-extra-parens": "off",
  51. "no-extra-semi": "off",
  52. "no-floating-decimal": "off",
  53. "no-mixed-spaces-and-tabs": "off",
  54. "no-multi-spaces": "off",
  55. "no-multiple-empty-lines": "off",
  56. "no-reserved-keys": "off",
  57. "no-space-before-semi": "off",
  58. "no-trailing-spaces": "off",
  59. "no-whitespace-before-property": "off",
  60. "no-wrap-func": "off",
  61. "nonblock-statement-body-position": "off",
  62. "object-curly-newline": "off",
  63. "object-curly-spacing": "off",
  64. "object-property-newline": "off",
  65. "one-var-declaration-per-line": "off",
  66. "operator-linebreak": "off",
  67. "padded-blocks": "off",
  68. "quote-props": "off",
  69. "rest-spread-spacing": "off",
  70. "semi": "off",
  71. "semi-spacing": "off",
  72. "semi-style": "off",
  73. "space-after-function-name": "off",
  74. "space-after-keywords": "off",
  75. "space-before-blocks": "off",
  76. "space-before-function-paren": "off",
  77. "space-before-function-parentheses": "off",
  78. "space-before-keywords": "off",
  79. "space-in-brackets": "off",
  80. "space-in-parens": "off",
  81. "space-infix-ops": "off",
  82. "space-return-throw-case": "off",
  83. "space-unary-ops": "off",
  84. "space-unary-word-ops": "off",
  85. "switch-colon-spacing": "off",
  86. "template-curly-spacing": "off",
  87. "template-tag-spacing": "off",
  88. "unicode-bom": "off",
  89. "wrap-iife": "off",
  90. "wrap-regex": "off",
  91. "yield-star-spacing": "off",
  92. "@babel/object-curly-spacing": "off",
  93. "@babel/semi": "off",
  94. "@typescript-eslint/brace-style": "off",
  95. "@typescript-eslint/comma-dangle": "off",
  96. "@typescript-eslint/comma-spacing": "off",
  97. "@typescript-eslint/func-call-spacing": "off",
  98. "@typescript-eslint/indent": "off",
  99. "@typescript-eslint/keyword-spacing": "off",
  100. "@typescript-eslint/member-delimiter-style": "off",
  101. "@typescript-eslint/no-extra-parens": "off",
  102. "@typescript-eslint/no-extra-semi": "off",
  103. "@typescript-eslint/object-curly-spacing": "off",
  104. "@typescript-eslint/semi": "off",
  105. "@typescript-eslint/space-before-function-paren": "off",
  106. "@typescript-eslint/space-infix-ops": "off",
  107. "@typescript-eslint/type-annotation-spacing": "off",
  108. "babel/object-curly-spacing": "off",
  109. "babel/semi": "off",
  110. "flowtype/boolean-style": "off",
  111. "flowtype/delimiter-dangle": "off",
  112. "flowtype/generic-spacing": "off",
  113. "flowtype/object-type-curly-spacing": "off",
  114. "flowtype/object-type-delimiter": "off",
  115. "flowtype/quotes": "off",
  116. "flowtype/semi": "off",
  117. "flowtype/space-after-type-colon": "off",
  118. "flowtype/space-before-generic-bracket": "off",
  119. "flowtype/space-before-type-colon": "off",
  120. "flowtype/union-intersection-spacing": "off",
  121. "react/jsx-child-element-spacing": "off",
  122. "react/jsx-closing-bracket-location": "off",
  123. "react/jsx-closing-tag-location": "off",
  124. "react/jsx-curly-newline": "off",
  125. "react/jsx-curly-spacing": "off",
  126. "react/jsx-equals-spacing": "off",
  127. "react/jsx-first-prop-new-line": "off",
  128. "react/jsx-indent": "off",
  129. "react/jsx-indent-props": "off",
  130. "react/jsx-max-props-per-line": "off",
  131. "react/jsx-newline": "off",
  132. "react/jsx-one-expression-per-line": "off",
  133. "react/jsx-props-no-multi-spaces": "off",
  134. "react/jsx-tag-spacing": "off",
  135. "react/jsx-wrap-multilines": "off",
  136. "standard/array-bracket-even-spacing": "off",
  137. "standard/computed-property-even-spacing": "off",
  138. "standard/object-curly-even-spacing": "off",
  139. "unicorn/empty-brace-spaces": "off",
  140. "unicorn/no-nested-ternary": "off",
  141. "unicorn/number-literal-case": "off",
  142. "vue/array-bracket-newline": "off",
  143. "vue/array-bracket-spacing": "off",
  144. "vue/arrow-spacing": "off",
  145. "vue/block-spacing": "off",
  146. "vue/block-tag-newline": "off",
  147. "vue/brace-style": "off",
  148. "vue/comma-dangle": "off",
  149. "vue/comma-spacing": "off",
  150. "vue/comma-style": "off",
  151. "vue/dot-location": "off",
  152. "vue/func-call-spacing": "off",
  153. "vue/html-closing-bracket-newline": "off",
  154. "vue/html-closing-bracket-spacing": "off",
  155. "vue/html-end-tags": "off",
  156. "vue/html-indent": "off",
  157. "vue/html-quotes": "off",
  158. "vue/key-spacing": "off",
  159. "vue/keyword-spacing": "off",
  160. "vue/max-attributes-per-line": "off",
  161. "vue/multiline-html-element-content-newline": "off",
  162. "vue/mustache-interpolation-spacing": "off",
  163. "vue/no-extra-parens": "off",
  164. "vue/no-multi-spaces": "off",
  165. "vue/no-spaces-around-equal-signs-in-attribute": "off",
  166. "vue/object-curly-newline": "off",
  167. "vue/object-curly-spacing": "off",
  168. "vue/object-property-newline": "off",
  169. "vue/operator-linebreak": "off",
  170. "vue/script-indent": "off",
  171. "vue/singleline-html-element-content-newline": "off",
  172. "vue/space-in-parens": "off",
  173. "vue/space-infix-ops": "off",
  174. "vue/space-unary-ops": "off",
  175. "vue/template-curly-spacing": "off",
  176. ...(includeDeprecated && {
  177. // Deprecated since version 4.0.0.
  178. // https://github.com/eslint/eslint/pull/8286
  179. "indent-legacy": "off",
  180. // Deprecated since version 3.3.0.
  181. // https://eslint.org/docs/rules/no-spaced-func
  182. "no-spaced-func": "off",
  183. // Deprecated since version 7.0.0.
  184. // https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#700---2017-05-06
  185. "react/jsx-space-before-closing": "off",
  186. }),
  187. },
  188. };