Ohm-Management - Projektarbeit B-ME
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.

eslint-recommended.js 9.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. /**
  2. * @fileoverview Configuration applied when a user configuration extends from
  3. * eslint:recommended.
  4. * @author Nicholas C. Zakas
  5. */
  6. "use strict";
  7. /* eslint sort-keys: ["error", "asc"] */
  8. module.exports = {
  9. rules: {
  10. "accessor-pairs": "off",
  11. "array-bracket-newline": "off",
  12. "array-bracket-spacing": "off",
  13. "array-callback-return": "off",
  14. "array-element-newline": "off",
  15. "arrow-body-style": "off",
  16. "arrow-parens": "off",
  17. "arrow-spacing": "off",
  18. "block-scoped-var": "off",
  19. "block-spacing": "off",
  20. "brace-style": "off",
  21. "callback-return": "off",
  22. camelcase: "off",
  23. "capitalized-comments": "off",
  24. "class-methods-use-this": "off",
  25. "comma-dangle": "off",
  26. "comma-spacing": "off",
  27. "comma-style": "off",
  28. complexity: "off",
  29. "computed-property-spacing": "off",
  30. "consistent-return": "off",
  31. "consistent-this": "off",
  32. "constructor-super": "error",
  33. curly: "off",
  34. "default-case": "off",
  35. "dot-location": "off",
  36. "dot-notation": "off",
  37. "eol-last": "off",
  38. eqeqeq: "off",
  39. "for-direction": "error",
  40. "func-call-spacing": "off",
  41. "func-name-matching": "off",
  42. "func-names": "off",
  43. "func-style": "off",
  44. "function-paren-newline": "off",
  45. "generator-star-spacing": "off",
  46. "getter-return": "error",
  47. "global-require": "off",
  48. "guard-for-in": "off",
  49. "handle-callback-err": "off",
  50. "id-blacklist": "off",
  51. "id-length": "off",
  52. "id-match": "off",
  53. "implicit-arrow-linebreak": "off",
  54. indent: "off",
  55. "indent-legacy": "off",
  56. "init-declarations": "off",
  57. "jsx-quotes": "off",
  58. "key-spacing": "off",
  59. "keyword-spacing": "off",
  60. "line-comment-position": "off",
  61. "linebreak-style": "off",
  62. "lines-around-comment": "off",
  63. "lines-around-directive": "off",
  64. "lines-between-class-members": "off",
  65. "max-classes-per-file": "off",
  66. "max-depth": "off",
  67. "max-len": "off",
  68. "max-lines": "off",
  69. "max-lines-per-function": "off",
  70. "max-nested-callbacks": "off",
  71. "max-params": "off",
  72. "max-statements": "off",
  73. "max-statements-per-line": "off",
  74. "multiline-comment-style": "off",
  75. "multiline-ternary": "off",
  76. "new-cap": "off",
  77. "new-parens": "off",
  78. "newline-after-var": "off",
  79. "newline-before-return": "off",
  80. "newline-per-chained-call": "off",
  81. "no-alert": "off",
  82. "no-array-constructor": "off",
  83. "no-async-promise-executor": "off",
  84. "no-await-in-loop": "off",
  85. "no-bitwise": "off",
  86. "no-buffer-constructor": "off",
  87. "no-caller": "off",
  88. "no-case-declarations": "error",
  89. "no-catch-shadow": "off",
  90. "no-class-assign": "error",
  91. "no-compare-neg-zero": "error",
  92. "no-cond-assign": "error",
  93. "no-confusing-arrow": "off",
  94. "no-console": "error",
  95. "no-const-assign": "error",
  96. "no-constant-condition": "error",
  97. "no-continue": "off",
  98. "no-control-regex": "error",
  99. "no-debugger": "error",
  100. "no-delete-var": "error",
  101. "no-div-regex": "off",
  102. "no-dupe-args": "error",
  103. "no-dupe-class-members": "error",
  104. "no-dupe-keys": "error",
  105. "no-duplicate-case": "error",
  106. "no-duplicate-imports": "off",
  107. "no-else-return": "off",
  108. "no-empty": "error",
  109. "no-empty-character-class": "error",
  110. "no-empty-function": "off",
  111. "no-empty-pattern": "error",
  112. "no-eq-null": "off",
  113. "no-eval": "off",
  114. "no-ex-assign": "error",
  115. "no-extend-native": "off",
  116. "no-extra-bind": "off",
  117. "no-extra-boolean-cast": "error",
  118. "no-extra-label": "off",
  119. "no-extra-parens": "off",
  120. "no-extra-semi": "error",
  121. "no-fallthrough": "error",
  122. "no-floating-decimal": "off",
  123. "no-func-assign": "error",
  124. "no-global-assign": "error",
  125. "no-implicit-coercion": "off",
  126. "no-implicit-globals": "off",
  127. "no-implied-eval": "off",
  128. "no-inline-comments": "off",
  129. "no-inner-declarations": "error",
  130. "no-invalid-regexp": "error",
  131. "no-invalid-this": "off",
  132. "no-irregular-whitespace": "error",
  133. "no-iterator": "off",
  134. "no-label-var": "off",
  135. "no-labels": "off",
  136. "no-lone-blocks": "off",
  137. "no-lonely-if": "off",
  138. "no-loop-func": "off",
  139. "no-magic-numbers": "off",
  140. "no-misleading-character-class": "off",
  141. "no-mixed-operators": "off",
  142. "no-mixed-requires": "off",
  143. "no-mixed-spaces-and-tabs": "error",
  144. "no-multi-assign": "off",
  145. "no-multi-spaces": "off",
  146. "no-multi-str": "off",
  147. "no-multiple-empty-lines": "off",
  148. "no-native-reassign": "off",
  149. "no-negated-condition": "off",
  150. "no-negated-in-lhs": "off",
  151. "no-nested-ternary": "off",
  152. "no-new": "off",
  153. "no-new-func": "off",
  154. "no-new-object": "off",
  155. "no-new-require": "off",
  156. "no-new-symbol": "error",
  157. "no-new-wrappers": "off",
  158. "no-obj-calls": "error",
  159. "no-octal": "error",
  160. "no-octal-escape": "off",
  161. "no-param-reassign": "off",
  162. "no-path-concat": "off",
  163. "no-plusplus": "off",
  164. "no-process-env": "off",
  165. "no-process-exit": "off",
  166. "no-proto": "off",
  167. "no-prototype-builtins": "off",
  168. "no-redeclare": "error",
  169. "no-regex-spaces": "error",
  170. "no-restricted-globals": "off",
  171. "no-restricted-imports": "off",
  172. "no-restricted-modules": "off",
  173. "no-restricted-properties": "off",
  174. "no-restricted-syntax": "off",
  175. "no-return-assign": "off",
  176. "no-return-await": "off",
  177. "no-script-url": "off",
  178. "no-self-assign": "error",
  179. "no-self-compare": "off",
  180. "no-sequences": "off",
  181. "no-shadow": "off",
  182. "no-shadow-restricted-names": "off",
  183. "no-spaced-func": "off",
  184. "no-sparse-arrays": "error",
  185. "no-sync": "off",
  186. "no-tabs": "off",
  187. "no-template-curly-in-string": "off",
  188. "no-ternary": "off",
  189. "no-this-before-super": "error",
  190. "no-throw-literal": "off",
  191. "no-trailing-spaces": "off",
  192. "no-undef": "error",
  193. "no-undef-init": "off",
  194. "no-undefined": "off",
  195. "no-underscore-dangle": "off",
  196. "no-unexpected-multiline": "error",
  197. "no-unmodified-loop-condition": "off",
  198. "no-unneeded-ternary": "off",
  199. "no-unreachable": "error",
  200. "no-unsafe-finally": "error",
  201. "no-unsafe-negation": "error",
  202. "no-unused-expressions": "off",
  203. "no-unused-labels": "error",
  204. "no-unused-vars": "error",
  205. "no-use-before-define": "off",
  206. "no-useless-call": "off",
  207. "no-useless-computed-key": "off",
  208. "no-useless-concat": "off",
  209. "no-useless-constructor": "off",
  210. "no-useless-escape": "error",
  211. "no-useless-rename": "off",
  212. "no-useless-return": "off",
  213. "no-var": "off",
  214. "no-void": "off",
  215. "no-warning-comments": "off",
  216. "no-whitespace-before-property": "off",
  217. "no-with": "off",
  218. "nonblock-statement-body-position": "off",
  219. "object-curly-newline": "off",
  220. "object-curly-spacing": "off",
  221. "object-property-newline": "off",
  222. "object-shorthand": "off",
  223. "one-var": "off",
  224. "one-var-declaration-per-line": "off",
  225. "operator-assignment": "off",
  226. "operator-linebreak": "off",
  227. "padded-blocks": "off",
  228. "padding-line-between-statements": "off",
  229. "prefer-arrow-callback": "off",
  230. "prefer-const": "off",
  231. "prefer-destructuring": "off",
  232. "prefer-numeric-literals": "off",
  233. "prefer-object-spread": "off",
  234. "prefer-promise-reject-errors": "off",
  235. "prefer-reflect": "off",
  236. "prefer-rest-params": "off",
  237. "prefer-spread": "off",
  238. "prefer-template": "off",
  239. "quote-props": "off",
  240. quotes: "off",
  241. radix: "off",
  242. "require-atomic-updates": "off",
  243. "require-await": "off",
  244. "require-jsdoc": "off",
  245. "require-unicode-regexp": "off",
  246. "require-yield": "error",
  247. "rest-spread-spacing": "off",
  248. semi: "off",
  249. "semi-spacing": "off",
  250. "semi-style": "off",
  251. "sort-imports": "off",
  252. "sort-keys": "off",
  253. "sort-vars": "off",
  254. "space-before-blocks": "off",
  255. "space-before-function-paren": "off",
  256. "space-in-parens": "off",
  257. "space-infix-ops": "off",
  258. "space-unary-ops": "off",
  259. "spaced-comment": "off",
  260. strict: "off",
  261. "switch-colon-spacing": "off",
  262. "symbol-description": "off",
  263. "template-curly-spacing": "off",
  264. "template-tag-spacing": "off",
  265. "unicode-bom": "off",
  266. "use-isnan": "error",
  267. "valid-jsdoc": "off",
  268. "valid-typeof": "error",
  269. "vars-on-top": "off",
  270. "wrap-iife": "off",
  271. "wrap-regex": "off",
  272. "yield-star-spacing": "off",
  273. yoda: "off"
  274. }
  275. };