repoburg 1.3.98 → 1.3.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1234) hide show
  1. package/backend/.env +3 -1
  2. package/backend/dist/src/application-state/application-state.controller.d.ts +6 -0
  3. package/backend/dist/src/application-state/application-state.controller.js +26 -0
  4. package/backend/dist/src/application-state/application-state.controller.js.map +1 -1
  5. package/backend/dist/src/application-state/application-state.service.d.ts +3 -0
  6. package/backend/dist/src/application-state/application-state.service.js +15 -0
  7. package/backend/dist/src/application-state/application-state.service.js.map +1 -1
  8. package/backend/dist/src/application-state/dto/set-ollama-config.dto.d.ts +3 -0
  9. package/backend/dist/src/application-state/dto/set-ollama-config.dto.js +23 -0
  10. package/backend/dist/src/application-state/dto/set-ollama-config.dto.js.map +1 -0
  11. package/backend/dist/src/core-entities/llm-call-log.entity.d.ts +1 -1
  12. package/backend/dist/src/core-entities/llm-call-log.entity.js +1 -1
  13. package/backend/dist/src/core-entities/llm-call-log.entity.js.map +1 -1
  14. package/backend/dist/src/global-config/dto/update-global-config.dto.d.ts +1 -0
  15. package/backend/dist/src/global-config/dto/update-global-config.dto.js +5 -0
  16. package/backend/dist/src/global-config/dto/update-global-config.dto.js.map +1 -1
  17. package/backend/dist/src/global-config/global-config.service.d.ts +1 -0
  18. package/backend/dist/src/global-config/global-config.service.js.map +1 -1
  19. package/backend/dist/src/interactive-chat/chat.service.js +19 -4
  20. package/backend/dist/src/interactive-chat/chat.service.js.map +1 -1
  21. package/backend/dist/src/llm-call-logs/dto/llm-call-log.dto.d.ts +1 -1
  22. package/backend/dist/src/llm-call-logs/dto/llm-call-log.dto.js +1 -1
  23. package/backend/dist/src/llm-call-logs/dto/llm-call-log.dto.js.map +1 -1
  24. package/backend/dist/src/llm-provider/llm-provider.interface.d.ts +1 -1
  25. package/backend/dist/src/llm-provider/llm-provider.module.js +2 -0
  26. package/backend/dist/src/llm-provider/llm-provider.module.js.map +1 -1
  27. package/backend/dist/src/llm-provider/ollama-llm.provider.d.ts +18 -0
  28. package/backend/dist/src/llm-provider/ollama-llm.provider.js +444 -0
  29. package/backend/dist/src/llm-provider/ollama-llm.provider.js.map +1 -0
  30. package/backend/dist/src/llm-provider/proxy-llm.provider.d.ts +3 -1
  31. package/backend/dist/src/llm-provider/proxy-llm.provider.js +10 -2
  32. package/backend/dist/src/llm-provider/proxy-llm.provider.js.map +1 -1
  33. package/backend/dist/tsconfig.build.tsbuildinfo +1 -1
  34. package/backend/package.json +2 -2
  35. package/package.json +4 -2
  36. package/visual-editor-proxy/dist/tsconfig.tsbuildinfo +1 -1
  37. package/backend/node_modules/@eslint/eslintrc/LICENSE +0 -19
  38. package/backend/node_modules/@eslint/eslintrc/README.md +0 -115
  39. package/backend/node_modules/@eslint/eslintrc/conf/config-schema.js +0 -79
  40. package/backend/node_modules/@eslint/eslintrc/conf/environments.js +0 -215
  41. package/backend/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +0 -1104
  42. package/backend/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +0 -1
  43. package/backend/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +0 -4344
  44. package/backend/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +0 -1
  45. package/backend/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +0 -532
  46. package/backend/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +0 -523
  47. package/backend/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +0 -124
  48. package/backend/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +0 -145
  49. package/backend/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +0 -238
  50. package/backend/node_modules/@eslint/eslintrc/lib/config-array/index.js +0 -19
  51. package/backend/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +0 -225
  52. package/backend/node_modules/@eslint/eslintrc/lib/config-array-factory.js +0 -1151
  53. package/backend/node_modules/@eslint/eslintrc/lib/flat-compat.js +0 -318
  54. package/backend/node_modules/@eslint/eslintrc/lib/index-universal.js +0 -29
  55. package/backend/node_modules/@eslint/eslintrc/lib/index.js +0 -56
  56. package/backend/node_modules/@eslint/eslintrc/lib/shared/ajv.js +0 -191
  57. package/backend/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +0 -135
  58. package/backend/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +0 -325
  59. package/backend/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +0 -63
  60. package/backend/node_modules/@eslint/eslintrc/lib/shared/naming.js +0 -96
  61. package/backend/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +0 -42
  62. package/backend/node_modules/@eslint/eslintrc/lib/shared/types.js +0 -149
  63. package/backend/node_modules/@eslint/eslintrc/package.json +0 -82
  64. package/backend/node_modules/@eslint/eslintrc/universal.js +0 -9
  65. package/backend/node_modules/@typescript-eslint/eslint-plugin/LICENSE +0 -21
  66. package/backend/node_modules/@typescript-eslint/eslint-plugin/README.md +0 -12
  67. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +0 -156
  68. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +0 -1
  69. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/base.js +0 -13
  70. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/base.js.map +0 -1
  71. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js +0 -64
  72. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map +0 -1
  73. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js +0 -31
  74. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js.map +0 -1
  75. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended-type-checked.js +0 -54
  76. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended-type-checked.js.map +0 -1
  77. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended.js +0 -33
  78. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended.js.map +0 -1
  79. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js +0 -79
  80. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map +0 -1
  81. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +0 -43
  82. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +0 -1
  83. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic-type-checked.js +0 -35
  84. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic-type-checked.js.map +0 -1
  85. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic.js +0 -29
  86. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic.js.map +0 -1
  87. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +0 -39
  88. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +0 -1
  89. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +0 -140
  90. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +0 -1
  91. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +0 -222
  92. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +0 -1
  93. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +0 -76
  94. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +0 -1
  95. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +0 -156
  96. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +0 -1
  97. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +0 -56
  98. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +0 -1
  99. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +0 -240
  100. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +0 -1
  101. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js +0 -140
  102. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js.map +0 -1
  103. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js +0 -99
  104. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js.map +0 -1
  105. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +0 -123
  106. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +0 -1
  107. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +0 -211
  108. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js.map +0 -1
  109. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +0 -166
  110. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +0 -1
  111. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +0 -152
  112. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +0 -1
  113. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +0 -109
  114. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map +0 -1
  115. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +0 -128
  116. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +0 -1
  117. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +0 -222
  118. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +0 -1
  119. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +0 -98
  120. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +0 -1
  121. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +0 -245
  122. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +0 -1
  123. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +0 -635
  124. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +0 -1
  125. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +0 -63
  126. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js.map +0 -1
  127. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +0 -120
  128. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +0 -1
  129. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +0 -112
  130. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map +0 -1
  131. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +0 -164
  132. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +0 -1
  133. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +0 -283
  134. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +0 -1
  135. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +0 -366
  136. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +0 -1
  137. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +0 -147
  138. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +0 -1
  139. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +0 -415
  140. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +0 -1
  141. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +0 -288
  142. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +0 -1
  143. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +0 -48
  144. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +0 -1
  145. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js +0 -322
  146. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js.map +0 -1
  147. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +0 -95
  148. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +0 -1
  149. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js +0 -357
  150. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js.map +0 -1
  151. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +0 -57
  152. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +0 -1
  153. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +0 -67
  154. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js.map +0 -1
  155. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +0 -258
  156. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +0 -1
  157. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +0 -747
  158. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +0 -1
  159. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +0 -181
  160. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +0 -1
  161. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +0 -101
  162. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js.map +0 -1
  163. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +0 -91
  164. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js.map +0 -1
  165. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js +0 -12
  166. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js.map +0 -1
  167. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +0 -75
  168. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map +0 -1
  169. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +0 -291
  170. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +0 -1
  171. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +0 -18
  172. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map +0 -1
  173. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js +0 -3
  174. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js.map +0 -1
  175. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +0 -351
  176. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +0 -1
  177. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +0 -488
  178. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +0 -1
  179. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +0 -53
  180. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +0 -1
  181. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js +0 -83
  182. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js.map +0 -1
  183. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +0 -164
  184. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +0 -1
  185. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +0 -78
  186. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +0 -1
  187. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +0 -293
  188. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +0 -1
  189. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +0 -51
  190. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +0 -1
  191. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +0 -62
  192. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +0 -1
  193. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +0 -139
  194. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map +0 -1
  195. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +0 -95
  196. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +0 -1
  197. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +0 -132
  198. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +0 -1
  199. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +0 -94
  200. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +0 -1
  201. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +0 -170
  202. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +0 -1
  203. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +0 -36
  204. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +0 -1
  205. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +0 -297
  206. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +0 -1
  207. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +0 -43
  208. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +0 -1
  209. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +0 -112
  210. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +0 -1
  211. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +0 -342
  212. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +0 -1
  213. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +0 -60
  214. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +0 -1
  215. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +0 -160
  216. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +0 -1
  217. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +0 -56
  218. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js.map +0 -1
  219. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +0 -185
  220. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +0 -1
  221. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +0 -76
  222. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +0 -1
  223. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +0 -182
  224. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +0 -1
  225. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +0 -169
  226. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +0 -1
  227. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +0 -39
  228. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +0 -1
  229. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +0 -213
  230. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +0 -1
  231. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +0 -96
  232. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +0 -1
  233. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +0 -82
  234. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +0 -1
  235. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +0 -523
  236. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +0 -1
  237. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +0 -193
  238. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js.map +0 -1
  239. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +0 -63
  240. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +0 -1
  241. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +0 -76
  242. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +0 -1
  243. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +0 -66
  244. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +0 -1
  245. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +0 -104
  246. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +0 -1
  247. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +0 -201
  248. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +0 -1
  249. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +0 -372
  250. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +0 -1
  251. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +0 -90
  252. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +0 -1
  253. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +0 -237
  254. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +0 -1
  255. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +0 -482
  256. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +0 -1
  257. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +0 -65
  258. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +0 -1
  259. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +0 -96
  260. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +0 -1
  261. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +0 -260
  262. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +0 -1
  263. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +0 -234
  264. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +0 -1
  265. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +0 -540
  266. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +0 -1
  267. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +0 -149
  268. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +0 -1
  269. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +0 -150
  270. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +0 -1
  271. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +0 -252
  272. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +0 -1
  273. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +0 -112
  274. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +0 -1
  275. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +0 -226
  276. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +0 -1
  277. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +0 -282
  278. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +0 -1
  279. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +0 -83
  280. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +0 -1
  281. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +0 -56
  282. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js.map +0 -1
  283. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +0 -168
  284. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map +0 -1
  285. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +0 -123
  286. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +0 -1
  287. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +0 -161
  288. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +0 -1
  289. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +0 -68
  290. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js.map +0 -1
  291. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +0 -58
  292. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +0 -1
  293. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +0 -490
  294. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +0 -1
  295. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +0 -297
  296. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +0 -1
  297. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +0 -59
  298. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +0 -1
  299. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +0 -72
  300. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +0 -1
  301. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-template-literals.js +0 -138
  302. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-template-literals.js.map +0 -1
  303. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +0 -67
  304. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +0 -1
  305. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +0 -125
  306. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +0 -1
  307. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js +0 -226
  308. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js.map +0 -1
  309. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +0 -634
  310. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +0 -1
  311. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +0 -171
  312. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +0 -1
  313. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +0 -73
  314. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +0 -1
  315. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +0 -200
  316. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js.map +0 -1
  317. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +0 -65
  318. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +0 -1
  319. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +0 -235
  320. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js.map +0 -1
  321. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +0 -156
  322. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +0 -1
  323. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +0 -186
  324. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +0 -1
  325. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +0 -231
  326. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +0 -1
  327. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +0 -72
  328. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +0 -1
  329. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +0 -46
  330. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +0 -1
  331. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +0 -348
  332. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +0 -1
  333. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +0 -3
  334. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js.map +0 -1
  335. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +0 -417
  336. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map +0 -1
  337. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js +0 -318
  338. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js.map +0 -1
  339. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +0 -279
  340. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map +0 -1
  341. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +0 -175
  342. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +0 -1
  343. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js +0 -107
  344. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js.map +0 -1
  345. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +0 -82
  346. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +0 -1
  347. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +0 -315
  348. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +0 -1
  349. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +0 -74
  350. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +0 -1
  351. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +0 -159
  352. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +0 -1
  353. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +0 -137
  354. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +0 -1
  355. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +0 -508
  356. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +0 -1
  357. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +0 -62
  358. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +0 -1
  359. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +0 -182
  360. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +0 -1
  361. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +0 -63
  362. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js.map +0 -1
  363. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +0 -62
  364. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +0 -1
  365. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +0 -212
  366. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +0 -1
  367. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +0 -211
  368. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +0 -1
  369. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +0 -145
  370. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +0 -1
  371. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +0 -268
  372. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +0 -1
  373. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +0 -64
  374. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js.map +0 -1
  375. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +0 -228
  376. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js.map +0 -1
  377. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +0 -80
  378. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +0 -1
  379. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +0 -143
  380. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +0 -1
  381. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +0 -133
  382. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +0 -1
  383. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +0 -800
  384. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +0 -1
  385. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +0 -242
  386. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +0 -1
  387. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +0 -110
  388. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +0 -1
  389. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +0 -228
  390. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +0 -1
  391. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +0 -200
  392. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +0 -1
  393. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +0 -245
  394. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +0 -1
  395. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +0 -398
  396. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +0 -1
  397. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +0 -89
  398. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +0 -1
  399. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +0 -562
  400. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +0 -1
  401. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +0 -6
  402. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js.map +0 -1
  403. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +0 -16
  404. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js.map +0 -1
  405. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +0 -241
  406. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map +0 -1
  407. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +0 -45
  408. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +0 -1
  409. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +0 -163
  410. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js.map +0 -1
  411. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +0 -418
  412. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js.map +0 -1
  413. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js +0 -46
  414. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js.map +0 -1
  415. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +0 -20
  416. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js.map +0 -1
  417. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +0 -26
  418. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js.map +0 -1
  419. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js +0 -8
  420. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js.map +0 -1
  421. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +0 -155
  422. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js.map +0 -1
  423. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +0 -42
  424. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +0 -1
  425. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js +0 -27
  426. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js.map +0 -1
  427. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +0 -9
  428. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js.map +0 -1
  429. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js +0 -9
  430. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js.map +0 -1
  431. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +0 -189
  432. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +0 -1
  433. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +0 -27
  434. package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js.map +0 -1
  435. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +0 -60
  436. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +0 -30
  437. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +0 -99
  438. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +0 -111
  439. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +0 -42
  440. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +0 -151
  441. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +0 -39
  442. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +0 -132
  443. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/block-spacing.md +0 -10
  444. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +0 -10
  445. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/camelcase.md +0 -13
  446. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +0 -105
  447. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-methods-use-this.md +0 -96
  448. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +0 -20
  449. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +0 -10
  450. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-generic-constructors.md +0 -76
  451. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +0 -80
  452. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +0 -113
  453. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +0 -81
  454. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +0 -105
  455. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +0 -108
  456. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +0 -58
  457. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +0 -82
  458. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +0 -320
  459. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +0 -344
  460. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +0 -249
  461. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +0 -10
  462. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +0 -18
  463. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +0 -10
  464. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/key-spacing.md +0 -10
  465. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +0 -10
  466. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-around-comment.md +0 -25
  467. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +0 -55
  468. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/max-params.md +0 -10
  469. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +0 -164
  470. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +0 -1438
  471. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +0 -113
  472. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +0 -721
  473. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +0 -29
  474. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-delete.md +0 -40
  475. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +0 -88
  476. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +0 -56
  477. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +0 -116
  478. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +0 -14
  479. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +0 -58
  480. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +0 -13
  481. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-type-constituents.md +0 -66
  482. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +0 -53
  483. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +0 -92
  484. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +0 -59
  485. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +0 -168
  486. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +0 -54
  487. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +0 -10
  488. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +0 -12
  489. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +0 -295
  490. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +0 -124
  491. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +0 -61
  492. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +0 -102
  493. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-import-type-side-effects.md +0 -74
  494. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +0 -103
  495. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +0 -14
  496. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +0 -112
  497. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +0 -10
  498. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +0 -10
  499. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +0 -119
  500. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +0 -53
  501. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +0 -47
  502. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +0 -246
  503. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-mixed-enums.md +0 -88
  504. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +0 -131
  505. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +0 -54
  506. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +0 -40
  507. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +0 -42
  508. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +0 -12
  509. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +0 -75
  510. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +0 -92
  511. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +0 -60
  512. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +0 -71
  513. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +0 -105
  514. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +0 -108
  515. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +0 -109
  516. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +0 -623
  517. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +0 -133
  518. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +0 -119
  519. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +0 -51
  520. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +0 -79
  521. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +0 -77
  522. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +0 -55
  523. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +0 -93
  524. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +0 -96
  525. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +0 -68
  526. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-declaration-merging.md +0 -59
  527. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-enum-comparison.md +0 -82
  528. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +0 -74
  529. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +0 -113
  530. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-unary-minus.md +0 -52
  531. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +0 -10
  532. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +0 -27
  533. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +0 -87
  534. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +0 -19
  535. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +0 -47
  536. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-template-literals.md +0 -57
  537. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +0 -60
  538. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +0 -41
  539. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +0 -10
  540. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +0 -33
  541. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +0 -488
  542. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +0 -47
  543. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-destructuring.md +0 -91
  544. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +0 -62
  545. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-find.md +0 -39
  546. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +0 -44
  547. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +0 -92
  548. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +0 -75
  549. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +0 -103
  550. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +0 -47
  551. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +0 -187
  552. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +0 -263
  553. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-promise-reject-errors.md +0 -50
  554. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +0 -389
  555. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +0 -102
  556. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +0 -60
  557. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +0 -46
  558. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +0 -87
  559. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +0 -58
  560. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +0 -70
  561. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +0 -132
  562. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +0 -10
  563. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +0 -78
  564. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +0 -22
  565. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +0 -208
  566. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +0 -121
  567. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +0 -216
  568. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +0 -12
  569. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-constituents.md +0 -163
  570. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +0 -43
  571. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +0 -10
  572. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +0 -16
  573. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +0 -190
  574. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +0 -225
  575. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +0 -110
  576. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +0 -317
  577. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +0 -320
  578. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +0 -105
  579. package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +0 -77
  580. package/backend/node_modules/@typescript-eslint/eslint-plugin/index.d.ts +0 -9
  581. package/backend/node_modules/@typescript-eslint/eslint-plugin/package.json +0 -106
  582. package/backend/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts +0 -45
  583. package/backend/node_modules/@typescript-eslint/parser/LICENSE +0 -22
  584. package/backend/node_modules/@typescript-eslint/parser/README.md +0 -12
  585. package/backend/node_modules/@typescript-eslint/parser/dist/index.d.ts +0 -8
  586. package/backend/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +0 -1
  587. package/backend/node_modules/@typescript-eslint/parser/dist/index.js +0 -17
  588. package/backend/node_modules/@typescript-eslint/parser/dist/index.js.map +0 -1
  589. package/backend/node_modules/@typescript-eslint/parser/dist/parser.d.ts +0 -20
  590. package/backend/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +0 -1
  591. package/backend/node_modules/@typescript-eslint/parser/dist/parser.js +0 -130
  592. package/backend/node_modules/@typescript-eslint/parser/dist/parser.js.map +0 -1
  593. package/backend/node_modules/@typescript-eslint/parser/package.json +0 -85
  594. package/backend/node_modules/@typescript-eslint/type-utils/LICENSE +0 -21
  595. package/backend/node_modules/@typescript-eslint/type-utils/README.md +0 -14
  596. package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts +0 -21
  597. package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts.map +0 -1
  598. package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +0 -188
  599. package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map +0 -1
  600. package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts +0 -39
  601. package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts.map +0 -1
  602. package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +0 -130
  603. package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map +0 -1
  604. package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts +0 -10
  605. package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts.map +0 -1
  606. package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +0 -61
  607. package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +0 -1
  608. package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts +0 -7
  609. package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map +0 -1
  610. package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +0 -15
  611. package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js.map +0 -1
  612. package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts +0 -8
  613. package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts.map +0 -1
  614. package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +0 -66
  615. package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +0 -1
  616. package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts +0 -7
  617. package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts.map +0 -1
  618. package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +0 -16
  619. package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js.map +0 -1
  620. package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts +0 -6
  621. package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts.map +0 -1
  622. package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +0 -38
  623. package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +0 -1
  624. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.d.ts +0 -3
  625. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.d.ts.map +0 -1
  626. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +0 -51
  627. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js.map +0 -1
  628. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts +0 -6
  629. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts.map +0 -1
  630. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.js +0 -16
  631. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.js.map +0 -1
  632. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts +0 -8
  633. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts.map +0 -1
  634. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +0 -74
  635. package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +0 -1
  636. package/backend/node_modules/@typescript-eslint/type-utils/dist/index.d.ts +0 -19
  637. package/backend/node_modules/@typescript-eslint/type-utils/dist/index.d.ts.map +0 -1
  638. package/backend/node_modules/@typescript-eslint/type-utils/dist/index.js +0 -39
  639. package/backend/node_modules/@typescript-eslint/type-utils/dist/index.js.map +0 -1
  640. package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.d.ts +0 -3
  641. package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.d.ts.map +0 -1
  642. package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js +0 -18
  643. package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js.map +0 -1
  644. package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts +0 -27
  645. package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +0 -1
  646. package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +0 -226
  647. package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +0 -1
  648. package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts +0 -17
  649. package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts.map +0 -1
  650. package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +0 -106
  651. package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map +0 -1
  652. package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +0 -58
  653. package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +0 -1
  654. package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.js +0 -169
  655. package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +0 -1
  656. package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts +0 -4
  657. package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts.map +0 -1
  658. package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +0 -37
  659. package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js.map +0 -1
  660. package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts +0 -4
  661. package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts.map +0 -1
  662. package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +0 -43
  663. package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +0 -1
  664. package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts +0 -16
  665. package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts.map +0 -1
  666. package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +0 -59
  667. package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +0 -1
  668. package/backend/node_modules/@typescript-eslint/type-utils/package.json +0 -81
  669. package/backend/node_modules/@typescript-eslint/utils/LICENSE +0 -21
  670. package/backend/node_modules/@typescript-eslint/utils/README.md +0 -12
  671. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +0 -48
  672. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +0 -1
  673. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +0 -36
  674. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +0 -1
  675. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +0 -76
  676. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map +0 -1
  677. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +0 -40
  678. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +0 -1
  679. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +0 -76
  680. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +0 -1
  681. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +0 -99
  682. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +0 -1
  683. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.d.ts +0 -6
  684. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.d.ts.map +0 -1
  685. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +0 -22
  686. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js.map +0 -1
  687. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +0 -32
  688. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map +0 -1
  689. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +0 -72
  690. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +0 -1
  691. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +0 -18
  692. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map +0 -1
  693. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +0 -44
  694. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +0 -1
  695. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +0 -1231
  696. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +0 -1
  697. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +0 -22
  698. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +0 -1
  699. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts +0 -5
  700. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts.map +0 -1
  701. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +0 -21
  702. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js.map +0 -1
  703. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +0 -8
  704. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +0 -1
  705. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +0 -13
  706. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map +0 -1
  707. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +0 -70
  708. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +0 -1
  709. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +0 -135
  710. package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +0 -1
  711. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts +0 -11
  712. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map +0 -1
  713. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js +0 -3
  714. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js.map +0 -1
  715. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +0 -35
  716. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts.map +0 -1
  717. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +0 -45
  718. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js.map +0 -1
  719. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts +0 -10
  720. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map +0 -1
  721. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +0 -34
  722. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +0 -1
  723. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.d.ts +0 -10
  724. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.d.ts.map +0 -1
  725. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.js +0 -32
  726. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.js.map +0 -1
  727. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts +0 -17
  728. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map +0 -1
  729. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +0 -48
  730. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map +0 -1
  731. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts +0 -24
  732. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map +0 -1
  733. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +0 -46
  734. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map +0 -1
  735. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.d.ts +0 -8
  736. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.d.ts.map +0 -1
  737. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +0 -24
  738. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js.map +0 -1
  739. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +0 -14
  740. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map +0 -1
  741. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +0 -28
  742. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map +0 -1
  743. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.d.ts +0 -2
  744. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.d.ts.map +0 -1
  745. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.js +0 -8
  746. package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.js.map +0 -1
  747. package/backend/node_modules/@typescript-eslint/utils/dist/index.d.ts +0 -8
  748. package/backend/node_modules/@typescript-eslint/utils/dist/index.d.ts.map +0 -1
  749. package/backend/node_modules/@typescript-eslint/utils/dist/index.js +0 -41
  750. package/backend/node_modules/@typescript-eslint/utils/dist/index.js.map +0 -1
  751. package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts +0 -388
  752. package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map +0 -1
  753. package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.js +0 -9
  754. package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.js.map +0 -1
  755. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts +0 -9
  756. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts.map +0 -1
  757. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +0 -4
  758. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map +0 -1
  759. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts +0 -131
  760. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts.map +0 -1
  761. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js +0 -18
  762. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js.map +0 -1
  763. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.d.ts +0 -260
  764. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.d.ts.map +0 -1
  765. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js +0 -4
  766. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js.map +0 -1
  767. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +0 -374
  768. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +0 -1
  769. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js +0 -24
  770. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js.map +0 -1
  771. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts +0 -247
  772. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map +0 -1
  773. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +0 -14
  774. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map +0 -1
  775. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.d.ts +0 -89
  776. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.d.ts.map +0 -1
  777. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js +0 -4
  778. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js.map +0 -1
  779. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.d.ts +0 -2
  780. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.d.ts.map +0 -1
  781. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js +0 -3
  782. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js.map +0 -1
  783. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.d.ts +0 -37
  784. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.d.ts.map +0 -1
  785. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js +0 -4
  786. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js.map +0 -1
  787. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +0 -514
  788. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +0 -1
  789. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js +0 -3
  790. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js.map +0 -1
  791. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +0 -162
  792. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +0 -1
  793. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js +0 -8
  794. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +0 -1
  795. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts +0 -44
  796. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map +0 -1
  797. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +0 -34
  798. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +0 -1
  799. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +0 -362
  800. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +0 -1
  801. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +0 -9
  802. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +0 -1
  803. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.d.ts +0 -13
  804. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.d.ts.map +0 -1
  805. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +0 -29
  806. package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js.map +0 -1
  807. package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.d.ts +0 -3
  808. package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.d.ts.map +0 -1
  809. package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.js +0 -10
  810. package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.js.map +0 -1
  811. package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.d.ts +0 -2
  812. package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.d.ts.map +0 -1
  813. package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js +0 -18
  814. package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js.map +0 -1
  815. package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.d.ts +0 -2
  816. package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.d.ts.map +0 -1
  817. package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js +0 -9
  818. package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js.map +0 -1
  819. package/backend/node_modules/@typescript-eslint/utils/package.json +0 -98
  820. package/backend/node_modules/chalk/index.d.ts +0 -415
  821. package/backend/node_modules/chalk/license +0 -9
  822. package/backend/node_modules/chalk/package.json +0 -68
  823. package/backend/node_modules/chalk/readme.md +0 -341
  824. package/backend/node_modules/chalk/source/index.js +0 -229
  825. package/backend/node_modules/chalk/source/templates.js +0 -134
  826. package/backend/node_modules/chalk/source/util.js +0 -39
  827. package/backend/node_modules/eslint/LICENSE +0 -19
  828. package/backend/node_modules/eslint/README.md +0 -304
  829. package/backend/node_modules/eslint/bin/eslint.js +0 -173
  830. package/backend/node_modules/eslint/conf/config-schema.js +0 -93
  831. package/backend/node_modules/eslint/conf/default-cli-options.js +0 -32
  832. package/backend/node_modules/eslint/conf/globals.js +0 -154
  833. package/backend/node_modules/eslint/conf/replacements.json +0 -22
  834. package/backend/node_modules/eslint/conf/rule-type-list.json +0 -28
  835. package/backend/node_modules/eslint/lib/api.js +0 -54
  836. package/backend/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1078
  837. package/backend/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -547
  838. package/backend/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
  839. package/backend/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
  840. package/backend/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +0 -46
  841. package/backend/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -351
  842. package/backend/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
  843. package/backend/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
  844. package/backend/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
  845. package/backend/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
  846. package/backend/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
  847. package/backend/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
  848. package/backend/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
  849. package/backend/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
  850. package/backend/node_modules/eslint/lib/cli-engine/hash.js +0 -35
  851. package/backend/node_modules/eslint/lib/cli-engine/index.js +0 -7
  852. package/backend/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -203
  853. package/backend/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
  854. package/backend/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
  855. package/backend/node_modules/eslint/lib/cli.js +0 -471
  856. package/backend/node_modules/eslint/lib/config/default-config.js +0 -67
  857. package/backend/node_modules/eslint/lib/config/flat-config-array.js +0 -380
  858. package/backend/node_modules/eslint/lib/config/flat-config-helpers.js +0 -111
  859. package/backend/node_modules/eslint/lib/config/flat-config-schema.js +0 -598
  860. package/backend/node_modules/eslint/lib/config/rule-validator.js +0 -158
  861. package/backend/node_modules/eslint/lib/eslint/eslint-helpers.js +0 -932
  862. package/backend/node_modules/eslint/lib/eslint/eslint.js +0 -707
  863. package/backend/node_modules/eslint/lib/eslint/flat-eslint.js +0 -1159
  864. package/backend/node_modules/eslint/lib/eslint/index.js +0 -9
  865. package/backend/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -465
  866. package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -852
  867. package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -263
  868. package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -2348
  869. package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -342
  870. package/backend/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
  871. package/backend/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -349
  872. package/backend/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
  873. package/backend/node_modules/eslint/lib/linter/config-comment-parser.js +0 -185
  874. package/backend/node_modules/eslint/lib/linter/index.js +0 -13
  875. package/backend/node_modules/eslint/lib/linter/interpolate.js +0 -28
  876. package/backend/node_modules/eslint/lib/linter/linter.js +0 -2119
  877. package/backend/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
  878. package/backend/node_modules/eslint/lib/linter/report-translator.js +0 -369
  879. package/backend/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
  880. package/backend/node_modules/eslint/lib/linter/rules.js +0 -80
  881. package/backend/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
  882. package/backend/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
  883. package/backend/node_modules/eslint/lib/linter/timing.js +0 -161
  884. package/backend/node_modules/eslint/lib/options.js +0 -398
  885. package/backend/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1131
  886. package/backend/node_modules/eslint/lib/rule-tester/index.js +0 -5
  887. package/backend/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1206
  888. package/backend/node_modules/eslint/lib/rules/accessor-pairs.js +0 -346
  889. package/backend/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -261
  890. package/backend/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -244
  891. package/backend/node_modules/eslint/lib/rules/array-callback-return.js +0 -446
  892. package/backend/node_modules/eslint/lib/rules/array-element-newline.js +0 -311
  893. package/backend/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
  894. package/backend/node_modules/eslint/lib/rules/arrow-parens.js +0 -186
  895. package/backend/node_modules/eslint/lib/rules/arrow-spacing.js +0 -164
  896. package/backend/node_modules/eslint/lib/rules/block-scoped-var.js +0 -135
  897. package/backend/node_modules/eslint/lib/rules/block-spacing.js +0 -174
  898. package/backend/node_modules/eslint/lib/rules/brace-style.js +0 -197
  899. package/backend/node_modules/eslint/lib/rules/callback-return.js +0 -187
  900. package/backend/node_modules/eslint/lib/rules/camelcase.js +0 -399
  901. package/backend/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
  902. package/backend/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
  903. package/backend/node_modules/eslint/lib/rules/comma-dangle.js +0 -373
  904. package/backend/node_modules/eslint/lib/rules/comma-spacing.js +0 -192
  905. package/backend/node_modules/eslint/lib/rules/comma-style.js +0 -314
  906. package/backend/node_modules/eslint/lib/rules/complexity.js +0 -165
  907. package/backend/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -208
  908. package/backend/node_modules/eslint/lib/rules/consistent-return.js +0 -210
  909. package/backend/node_modules/eslint/lib/rules/consistent-this.js +0 -153
  910. package/backend/node_modules/eslint/lib/rules/constructor-super.js +0 -446
  911. package/backend/node_modules/eslint/lib/rules/curly.js +0 -486
  912. package/backend/node_modules/eslint/lib/rules/default-case-last.js +0 -44
  913. package/backend/node_modules/eslint/lib/rules/default-case.js +0 -97
  914. package/backend/node_modules/eslint/lib/rules/default-param-last.js +0 -62
  915. package/backend/node_modules/eslint/lib/rules/dot-location.js +0 -108
  916. package/backend/node_modules/eslint/lib/rules/dot-notation.js +0 -176
  917. package/backend/node_modules/eslint/lib/rules/eol-last.js +0 -115
  918. package/backend/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
  919. package/backend/node_modules/eslint/lib/rules/for-direction.js +0 -140
  920. package/backend/node_modules/eslint/lib/rules/func-call-spacing.js +0 -233
  921. package/backend/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
  922. package/backend/node_modules/eslint/lib/rules/func-names.js +0 -191
  923. package/backend/node_modules/eslint/lib/rules/func-style.js +0 -98
  924. package/backend/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -125
  925. package/backend/node_modules/eslint/lib/rules/function-paren-newline.js +0 -292
  926. package/backend/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -209
  927. package/backend/node_modules/eslint/lib/rules/getter-return.js +0 -204
  928. package/backend/node_modules/eslint/lib/rules/global-require.js +0 -90
  929. package/backend/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -215
  930. package/backend/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
  931. package/backend/node_modules/eslint/lib/rules/handle-callback-err.js +0 -101
  932. package/backend/node_modules/eslint/lib/rules/id-blacklist.js +0 -246
  933. package/backend/node_modules/eslint/lib/rules/id-denylist.js +0 -228
  934. package/backend/node_modules/eslint/lib/rules/id-length.js +0 -177
  935. package/backend/node_modules/eslint/lib/rules/id-match.js +0 -299
  936. package/backend/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -84
  937. package/backend/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
  938. package/backend/node_modules/eslint/lib/rules/indent.js +0 -1803
  939. package/backend/node_modules/eslint/lib/rules/index.js +0 -306
  940. package/backend/node_modules/eslint/lib/rules/init-declarations.js +0 -139
  941. package/backend/node_modules/eslint/lib/rules/jsx-quotes.js +0 -98
  942. package/backend/node_modules/eslint/lib/rules/key-spacing.js +0 -687
  943. package/backend/node_modules/eslint/lib/rules/keyword-spacing.js +0 -640
  944. package/backend/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
  945. package/backend/node_modules/eslint/lib/rules/linebreak-style.js +0 -108
  946. package/backend/node_modules/eslint/lib/rules/lines-around-comment.js +0 -471
  947. package/backend/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
  948. package/backend/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -269
  949. package/backend/node_modules/eslint/lib/rules/logical-assignment-operators.js +0 -504
  950. package/backend/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
  951. package/backend/node_modules/eslint/lib/rules/max-depth.js +0 -156
  952. package/backend/node_modules/eslint/lib/rules/max-len.js +0 -440
  953. package/backend/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
  954. package/backend/node_modules/eslint/lib/rules/max-lines.js +0 -193
  955. package/backend/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
  956. package/backend/node_modules/eslint/lib/rules/max-params.js +0 -102
  957. package/backend/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -199
  958. package/backend/node_modules/eslint/lib/rules/max-statements.js +0 -184
  959. package/backend/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -474
  960. package/backend/node_modules/eslint/lib/rules/multiline-ternary.js +0 -174
  961. package/backend/node_modules/eslint/lib/rules/new-cap.js +0 -276
  962. package/backend/node_modules/eslint/lib/rules/new-parens.js +0 -93
  963. package/backend/node_modules/eslint/lib/rules/newline-after-var.js +0 -253
  964. package/backend/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
  965. package/backend/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -126
  966. package/backend/node_modules/eslint/lib/rules/no-alert.js +0 -138
  967. package/backend/node_modules/eslint/lib/rules/no-array-constructor.js +0 -133
  968. package/backend/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
  969. package/backend/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
  970. package/backend/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
  971. package/backend/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
  972. package/backend/node_modules/eslint/lib/rules/no-caller.js +0 -46
  973. package/backend/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
  974. package/backend/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -82
  975. package/backend/node_modules/eslint/lib/rules/no-class-assign.js +0 -63
  976. package/backend/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
  977. package/backend/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
  978. package/backend/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -92
  979. package/backend/node_modules/eslint/lib/rules/no-console.js +0 -207
  980. package/backend/node_modules/eslint/lib/rules/no-const-assign.js +0 -56
  981. package/backend/node_modules/eslint/lib/rules/no-constant-binary-expression.js +0 -509
  982. package/backend/node_modules/eslint/lib/rules/no-constant-condition.js +0 -150
  983. package/backend/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
  984. package/backend/node_modules/eslint/lib/rules/no-continue.js +0 -39
  985. package/backend/node_modules/eslint/lib/rules/no-control-regex.js +0 -138
  986. package/backend/node_modules/eslint/lib/rules/no-debugger.js +0 -43
  987. package/backend/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
  988. package/backend/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
  989. package/backend/node_modules/eslint/lib/rules/no-dupe-args.js +0 -82
  990. package/backend/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
  991. package/backend/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
  992. package/backend/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
  993. package/backend/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
  994. package/backend/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
  995. package/backend/node_modules/eslint/lib/rules/no-else-return.js +0 -405
  996. package/backend/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -76
  997. package/backend/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
  998. package/backend/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -78
  999. package/backend/node_modules/eslint/lib/rules/no-empty-static-block.js +0 -47
  1000. package/backend/node_modules/eslint/lib/rules/no-empty.js +0 -103
  1001. package/backend/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
  1002. package/backend/node_modules/eslint/lib/rules/no-eval.js +0 -286
  1003. package/backend/node_modules/eslint/lib/rules/no-ex-assign.js +0 -54
  1004. package/backend/node_modules/eslint/lib/rules/no-extend-native.js +0 -179
  1005. package/backend/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
  1006. package/backend/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
  1007. package/backend/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
  1008. package/backend/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1322
  1009. package/backend/node_modules/eslint/lib/rules/no-extra-semi.js +0 -147
  1010. package/backend/node_modules/eslint/lib/rules/no-fallthrough.js +0 -196
  1011. package/backend/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -73
  1012. package/backend/node_modules/eslint/lib/rules/no-func-assign.js +0 -78
  1013. package/backend/node_modules/eslint/lib/rules/no-global-assign.js +0 -95
  1014. package/backend/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -380
  1015. package/backend/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -146
  1016. package/backend/node_modules/eslint/lib/rules/no-implied-eval.js +0 -132
  1017. package/backend/node_modules/eslint/lib/rules/no-import-assign.js +0 -241
  1018. package/backend/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
  1019. package/backend/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
  1020. package/backend/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -194
  1021. package/backend/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
  1022. package/backend/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -276
  1023. package/backend/node_modules/eslint/lib/rules/no-iterator.js +0 -52
  1024. package/backend/node_modules/eslint/lib/rules/no-label-var.js +0 -80
  1025. package/backend/node_modules/eslint/lib/rules/no-labels.js +0 -149
  1026. package/backend/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -136
  1027. package/backend/node_modules/eslint/lib/rules/no-lonely-if.js +0 -88
  1028. package/backend/node_modules/eslint/lib/rules/no-loop-func.js +0 -206
  1029. package/backend/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -214
  1030. package/backend/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -243
  1031. package/backend/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -300
  1032. package/backend/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -229
  1033. package/backend/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
  1034. package/backend/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -116
  1035. package/backend/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
  1036. package/backend/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -141
  1037. package/backend/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
  1038. package/backend/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -154
  1039. package/backend/node_modules/eslint/lib/rules/no-native-reassign.js +0 -98
  1040. package/backend/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
  1041. package/backend/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
  1042. package/backend/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
  1043. package/backend/node_modules/eslint/lib/rules/no-new-func.js +0 -87
  1044. package/backend/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +0 -66
  1045. package/backend/node_modules/eslint/lib/rules/no-new-object.js +0 -67
  1046. package/backend/node_modules/eslint/lib/rules/no-new-require.js +0 -50
  1047. package/backend/node_modules/eslint/lib/rules/no-new-symbol.js +0 -56
  1048. package/backend/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -60
  1049. package/backend/node_modules/eslint/lib/rules/no-new.js +0 -43
  1050. package/backend/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
  1051. package/backend/node_modules/eslint/lib/rules/no-obj-calls.js +0 -86
  1052. package/backend/node_modules/eslint/lib/rules/no-object-constructor.js +0 -117
  1053. package/backend/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
  1054. package/backend/node_modules/eslint/lib/rules/no-octal.js +0 -45
  1055. package/backend/node_modules/eslint/lib/rules/no-param-reassign.js +0 -230
  1056. package/backend/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
  1057. package/backend/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
  1058. package/backend/node_modules/eslint/lib/rules/no-process-env.js +0 -51
  1059. package/backend/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
  1060. package/backend/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -263
  1061. package/backend/node_modules/eslint/lib/rules/no-proto.js +0 -48
  1062. package/backend/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -159
  1063. package/backend/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
  1064. package/backend/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -197
  1065. package/backend/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -193
  1066. package/backend/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -124
  1067. package/backend/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -410
  1068. package/backend/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -213
  1069. package/backend/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -168
  1070. package/backend/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
  1071. package/backend/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
  1072. package/backend/node_modules/eslint/lib/rules/no-return-await.js +0 -135
  1073. package/backend/node_modules/eslint/lib/rules/no-script-url.js +0 -61
  1074. package/backend/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
  1075. package/backend/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
  1076. package/backend/node_modules/eslint/lib/rules/no-sequences.js +0 -138
  1077. package/backend/node_modules/eslint/lib/rules/no-setter-return.js +0 -226
  1078. package/backend/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -65
  1079. package/backend/node_modules/eslint/lib/rules/no-shadow.js +0 -336
  1080. package/backend/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
  1081. package/backend/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
  1082. package/backend/node_modules/eslint/lib/rules/no-sync.js +0 -64
  1083. package/backend/node_modules/eslint/lib/rules/no-tabs.js +0 -81
  1084. package/backend/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
  1085. package/backend/node_modules/eslint/lib/rules/no-ternary.js +0 -41
  1086. package/backend/node_modules/eslint/lib/rules/no-this-before-super.js +0 -331
  1087. package/backend/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
  1088. package/backend/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -193
  1089. package/backend/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
  1090. package/backend/node_modules/eslint/lib/rules/no-undef.js +0 -79
  1091. package/backend/node_modules/eslint/lib/rules/no-undefined.js +0 -86
  1092. package/backend/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -335
  1093. package/backend/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
  1094. package/backend/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
  1095. package/backend/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
  1096. package/backend/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -185
  1097. package/backend/node_modules/eslint/lib/rules/no-unreachable.js +0 -293
  1098. package/backend/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
  1099. package/backend/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
  1100. package/backend/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
  1101. package/backend/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -186
  1102. package/backend/node_modules/eslint/lib/rules/no-unused-labels.js +0 -143
  1103. package/backend/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
  1104. package/backend/node_modules/eslint/lib/rules/no-unused-vars.js +0 -718
  1105. package/backend/node_modules/eslint/lib/rules/no-use-before-define.js +0 -348
  1106. package/backend/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -194
  1107. package/backend/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
  1108. package/backend/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
  1109. package/backend/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
  1110. package/backend/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
  1111. package/backend/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
  1112. package/backend/node_modules/eslint/lib/rules/no-useless-escape.js +0 -333
  1113. package/backend/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
  1114. package/backend/node_modules/eslint/lib/rules/no-useless-return.js +0 -364
  1115. package/backend/node_modules/eslint/lib/rules/no-var.js +0 -334
  1116. package/backend/node_modules/eslint/lib/rules/no-void.js +0 -64
  1117. package/backend/node_modules/eslint/lib/rules/no-warning-comments.js +0 -201
  1118. package/backend/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -116
  1119. package/backend/node_modules/eslint/lib/rules/no-with.js +0 -39
  1120. package/backend/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -127
  1121. package/backend/node_modules/eslint/lib/rules/object-curly-newline.js +0 -324
  1122. package/backend/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -311
  1123. package/backend/node_modules/eslint/lib/rules/object-property-newline.js +0 -102
  1124. package/backend/node_modules/eslint/lib/rules/object-shorthand.js +0 -520
  1125. package/backend/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -95
  1126. package/backend/node_modules/eslint/lib/rules/one-var.js +0 -567
  1127. package/backend/node_modules/eslint/lib/rules/operator-assignment.js +0 -209
  1128. package/backend/node_modules/eslint/lib/rules/operator-linebreak.js +0 -253
  1129. package/backend/node_modules/eslint/lib/rules/padded-blocks.js +0 -310
  1130. package/backend/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -590
  1131. package/backend/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -381
  1132. package/backend/node_modules/eslint/lib/rules/prefer-const.js +0 -501
  1133. package/backend/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
  1134. package/backend/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -191
  1135. package/backend/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -178
  1136. package/backend/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
  1137. package/backend/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -114
  1138. package/backend/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -298
  1139. package/backend/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -132
  1140. package/backend/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
  1141. package/backend/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -507
  1142. package/backend/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -118
  1143. package/backend/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
  1144. package/backend/node_modules/eslint/lib/rules/prefer-template.js +0 -275
  1145. package/backend/node_modules/eslint/lib/rules/quote-props.js +0 -310
  1146. package/backend/node_modules/eslint/lib/rules/quotes.js +0 -350
  1147. package/backend/node_modules/eslint/lib/rules/radix.js +0 -198
  1148. package/backend/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -331
  1149. package/backend/node_modules/eslint/lib/rules/require-await.js +0 -113
  1150. package/backend/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
  1151. package/backend/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -129
  1152. package/backend/node_modules/eslint/lib/rules/require-yield.js +0 -77
  1153. package/backend/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -123
  1154. package/backend/node_modules/eslint/lib/rules/semi-spacing.js +0 -248
  1155. package/backend/node_modules/eslint/lib/rules/semi-style.js +0 -158
  1156. package/backend/node_modules/eslint/lib/rules/semi.js +0 -438
  1157. package/backend/node_modules/eslint/lib/rules/sort-imports.js +0 -241
  1158. package/backend/node_modules/eslint/lib/rules/sort-keys.js +0 -230
  1159. package/backend/node_modules/eslint/lib/rules/sort-vars.js +0 -104
  1160. package/backend/node_modules/eslint/lib/rules/space-before-blocks.js +0 -204
  1161. package/backend/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -167
  1162. package/backend/node_modules/eslint/lib/rules/space-in-parens.js +0 -285
  1163. package/backend/node_modules/eslint/lib/rules/space-infix-ops.js +0 -198
  1164. package/backend/node_modules/eslint/lib/rules/space-unary-ops.js +0 -324
  1165. package/backend/node_modules/eslint/lib/rules/spaced-comment.js +0 -385
  1166. package/backend/node_modules/eslint/lib/rules/strict.js +0 -277
  1167. package/backend/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -132
  1168. package/backend/node_modules/eslint/lib/rules/symbol-description.js +0 -73
  1169. package/backend/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -144
  1170. package/backend/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -93
  1171. package/backend/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
  1172. package/backend/node_modules/eslint/lib/rules/use-isnan.js +0 -141
  1173. package/backend/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -2282
  1174. package/backend/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
  1175. package/backend/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
  1176. package/backend/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
  1177. package/backend/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
  1178. package/backend/node_modules/eslint/lib/rules/utils/regular-expressions.js +0 -42
  1179. package/backend/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
  1180. package/backend/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
  1181. package/backend/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
  1182. package/backend/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
  1183. package/backend/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
  1184. package/backend/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
  1185. package/backend/node_modules/eslint/lib/rules/valid-typeof.js +0 -127
  1186. package/backend/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
  1187. package/backend/node_modules/eslint/lib/rules/wrap-iife.js +0 -207
  1188. package/backend/node_modules/eslint/lib/rules/wrap-regex.js +0 -61
  1189. package/backend/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -130
  1190. package/backend/node_modules/eslint/lib/rules/yoda.js +0 -353
  1191. package/backend/node_modules/eslint/lib/shared/ajv.js +0 -34
  1192. package/backend/node_modules/eslint/lib/shared/ast-utils.js +0 -29
  1193. package/backend/node_modules/eslint/lib/shared/config-validator.js +0 -347
  1194. package/backend/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -58
  1195. package/backend/node_modules/eslint/lib/shared/directives.js +0 -15
  1196. package/backend/node_modules/eslint/lib/shared/logging.js +0 -30
  1197. package/backend/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
  1198. package/backend/node_modules/eslint/lib/shared/runtime-info.js +0 -167
  1199. package/backend/node_modules/eslint/lib/shared/severity.js +0 -49
  1200. package/backend/node_modules/eslint/lib/shared/string-utils.js +0 -60
  1201. package/backend/node_modules/eslint/lib/shared/traverser.js +0 -195
  1202. package/backend/node_modules/eslint/lib/shared/types.js +0 -216
  1203. package/backend/node_modules/eslint/lib/source-code/index.js +0 -5
  1204. package/backend/node_modules/eslint/lib/source-code/source-code.js +0 -1055
  1205. package/backend/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
  1206. package/backend/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
  1207. package/backend/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
  1208. package/backend/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
  1209. package/backend/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
  1210. package/backend/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
  1211. package/backend/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
  1212. package/backend/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
  1213. package/backend/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
  1214. package/backend/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
  1215. package/backend/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
  1216. package/backend/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
  1217. package/backend/node_modules/eslint/lib/source-code/token-store/utils.js +0 -107
  1218. package/backend/node_modules/eslint/lib/unsupported-api.js +0 -30
  1219. package/backend/node_modules/eslint/messages/all-files-ignored.js +0 -16
  1220. package/backend/node_modules/eslint/messages/eslintrc-incompat.js +0 -98
  1221. package/backend/node_modules/eslint/messages/eslintrc-plugins.js +0 -24
  1222. package/backend/node_modules/eslint/messages/extend-config-missing.js +0 -13
  1223. package/backend/node_modules/eslint/messages/failed-to-read-json.js +0 -11
  1224. package/backend/node_modules/eslint/messages/file-not-found.js +0 -10
  1225. package/backend/node_modules/eslint/messages/invalid-rule-options.js +0 -17
  1226. package/backend/node_modules/eslint/messages/invalid-rule-severity.js +0 -13
  1227. package/backend/node_modules/eslint/messages/no-config-found.js +0 -15
  1228. package/backend/node_modules/eslint/messages/plugin-conflict.js +0 -22
  1229. package/backend/node_modules/eslint/messages/plugin-invalid.js +0 -16
  1230. package/backend/node_modules/eslint/messages/plugin-missing.js +0 -19
  1231. package/backend/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
  1232. package/backend/node_modules/eslint/messages/shared.js +0 -18
  1233. package/backend/node_modules/eslint/messages/whitespace-found.js +0 -11
  1234. package/backend/node_modules/eslint/package.json +0 -181
@@ -1,1206 +0,0 @@
1
- /**
2
- * @fileoverview Mocha test wrapper
3
- * @author Ilya Volodin
4
- */
5
- "use strict";
6
-
7
- /* globals describe, it -- Mocha globals */
8
-
9
- /*
10
- * This is a wrapper around mocha to allow for DRY unittests for eslint
11
- * Format:
12
- * RuleTester.run("{ruleName}", {
13
- * valid: [
14
- * "{code}",
15
- * { code: "{code}", options: {options}, globals: {globals}, parser: "{parser}", settings: {settings} }
16
- * ],
17
- * invalid: [
18
- * { code: "{code}", errors: {numErrors} },
19
- * { code: "{code}", errors: ["{errorMessage}"] },
20
- * { code: "{code}", options: {options}, globals: {globals}, parser: "{parser}", settings: {settings}, errors: [{ message: "{errorMessage}", type: "{errorNodeType}"}] }
21
- * ]
22
- * });
23
- *
24
- * Variables:
25
- * {code} - String that represents the code to be tested
26
- * {options} - Arguments that are passed to the configurable rules.
27
- * {globals} - An object representing a list of variables that are
28
- * registered as globals
29
- * {parser} - String representing the parser to use
30
- * {settings} - An object representing global settings for all rules
31
- * {numErrors} - If failing case doesn't need to check error message,
32
- * this integer will specify how many errors should be
33
- * received
34
- * {errorMessage} - Message that is returned by the rule on failure
35
- * {errorNodeType} - AST node type that is returned by they rule as
36
- * a cause of the failure.
37
- */
38
-
39
- //------------------------------------------------------------------------------
40
- // Requirements
41
- //------------------------------------------------------------------------------
42
-
43
- const
44
- assert = require("assert"),
45
- path = require("path"),
46
- util = require("util"),
47
- merge = require("lodash.merge"),
48
- equal = require("fast-deep-equal"),
49
- Traverser = require("../../lib/shared/traverser"),
50
- { getRuleOptionsSchema, validate } = require("../shared/config-validator"),
51
- { Linter, SourceCodeFixer, interpolate } = require("../linter"),
52
- CodePath = require("../linter/code-path-analysis/code-path");
53
-
54
- const ajv = require("../shared/ajv")({ strictDefaults: true });
55
-
56
- const espreePath = require.resolve("espree");
57
- const parserSymbol = Symbol.for("eslint.RuleTester.parser");
58
-
59
- const { SourceCode } = require("../source-code");
60
-
61
- //------------------------------------------------------------------------------
62
- // Typedefs
63
- //------------------------------------------------------------------------------
64
-
65
- /** @typedef {import("../shared/types").Parser} Parser */
66
- /** @typedef {import("../shared/types").Rule} Rule */
67
-
68
-
69
- /**
70
- * A test case that is expected to pass lint.
71
- * @typedef {Object} ValidTestCase
72
- * @property {string} [name] Name for the test case.
73
- * @property {string} code Code for the test case.
74
- * @property {any[]} [options] Options for the test case.
75
- * @property {{ [name: string]: any }} [settings] Settings for the test case.
76
- * @property {string} [filename] The fake filename for the test case. Useful for rules that make assertion about filenames.
77
- * @property {string} [parser] The absolute path for the parser.
78
- * @property {{ [name: string]: any }} [parserOptions] Options for the parser.
79
- * @property {{ [name: string]: "readonly" | "writable" | "off" }} [globals] The additional global variables.
80
- * @property {{ [name: string]: boolean }} [env] Environments for the test case.
81
- * @property {boolean} [only] Run only this test case or the subset of test cases with this property.
82
- */
83
-
84
- /**
85
- * A test case that is expected to fail lint.
86
- * @typedef {Object} InvalidTestCase
87
- * @property {string} [name] Name for the test case.
88
- * @property {string} code Code for the test case.
89
- * @property {number | Array<TestCaseError | string | RegExp>} errors Expected errors.
90
- * @property {string | null} [output] The expected code after autofixes are applied. If set to `null`, the test runner will assert that no autofix is suggested.
91
- * @property {any[]} [options] Options for the test case.
92
- * @property {{ [name: string]: any }} [settings] Settings for the test case.
93
- * @property {string} [filename] The fake filename for the test case. Useful for rules that make assertion about filenames.
94
- * @property {string} [parser] The absolute path for the parser.
95
- * @property {{ [name: string]: any }} [parserOptions] Options for the parser.
96
- * @property {{ [name: string]: "readonly" | "writable" | "off" }} [globals] The additional global variables.
97
- * @property {{ [name: string]: boolean }} [env] Environments for the test case.
98
- * @property {boolean} [only] Run only this test case or the subset of test cases with this property.
99
- */
100
-
101
- /**
102
- * A description of a reported error used in a rule tester test.
103
- * @typedef {Object} TestCaseError
104
- * @property {string | RegExp} [message] Message.
105
- * @property {string} [messageId] Message ID.
106
- * @property {string} [type] The type of the reported AST node.
107
- * @property {{ [name: string]: string }} [data] The data used to fill the message template.
108
- * @property {number} [line] The 1-based line number of the reported start location.
109
- * @property {number} [column] The 1-based column number of the reported start location.
110
- * @property {number} [endLine] The 1-based line number of the reported end location.
111
- * @property {number} [endColumn] The 1-based column number of the reported end location.
112
- */
113
-
114
- //------------------------------------------------------------------------------
115
- // Private Members
116
- //------------------------------------------------------------------------------
117
-
118
- /*
119
- * testerDefaultConfig must not be modified as it allows to reset the tester to
120
- * the initial default configuration
121
- */
122
- const testerDefaultConfig = { rules: {} };
123
- let defaultConfig = { rules: {} };
124
-
125
- /*
126
- * List every parameters possible on a test case that are not related to eslint
127
- * configuration
128
- */
129
- const RuleTesterParameters = [
130
- "name",
131
- "code",
132
- "filename",
133
- "options",
134
- "errors",
135
- "output",
136
- "only"
137
- ];
138
-
139
- /*
140
- * All allowed property names in error objects.
141
- */
142
- const errorObjectParameters = new Set([
143
- "message",
144
- "messageId",
145
- "data",
146
- "type",
147
- "line",
148
- "column",
149
- "endLine",
150
- "endColumn",
151
- "suggestions"
152
- ]);
153
- const friendlyErrorObjectParameterList = `[${[...errorObjectParameters].map(key => `'${key}'`).join(", ")}]`;
154
-
155
- /*
156
- * All allowed property names in suggestion objects.
157
- */
158
- const suggestionObjectParameters = new Set([
159
- "desc",
160
- "messageId",
161
- "data",
162
- "output"
163
- ]);
164
- const friendlySuggestionObjectParameterList = `[${[...suggestionObjectParameters].map(key => `'${key}'`).join(", ")}]`;
165
-
166
- const forbiddenMethods = [
167
- "applyInlineConfig",
168
- "applyLanguageOptions",
169
- "finalize"
170
- ];
171
-
172
- const hasOwnProperty = Function.call.bind(Object.hasOwnProperty);
173
-
174
- const DEPRECATED_SOURCECODE_PASSTHROUGHS = {
175
- getSource: "getText",
176
- getSourceLines: "getLines",
177
- getAllComments: "getAllComments",
178
- getNodeByRangeIndex: "getNodeByRangeIndex",
179
-
180
- // getComments: "getComments", -- already handled by a separate error
181
- getCommentsBefore: "getCommentsBefore",
182
- getCommentsAfter: "getCommentsAfter",
183
- getCommentsInside: "getCommentsInside",
184
- getJSDocComment: "getJSDocComment",
185
- getFirstToken: "getFirstToken",
186
- getFirstTokens: "getFirstTokens",
187
- getLastToken: "getLastToken",
188
- getLastTokens: "getLastTokens",
189
- getTokenAfter: "getTokenAfter",
190
- getTokenBefore: "getTokenBefore",
191
- getTokenByRangeStart: "getTokenByRangeStart",
192
- getTokens: "getTokens",
193
- getTokensAfter: "getTokensAfter",
194
- getTokensBefore: "getTokensBefore",
195
- getTokensBetween: "getTokensBetween",
196
-
197
- getScope: "getScope",
198
- getAncestors: "getAncestors",
199
- getDeclaredVariables: "getDeclaredVariables",
200
- markVariableAsUsed: "markVariableAsUsed"
201
- };
202
-
203
- /**
204
- * Clones a given value deeply.
205
- * Note: This ignores `parent` property.
206
- * @param {any} x A value to clone.
207
- * @returns {any} A cloned value.
208
- */
209
- function cloneDeeplyExcludesParent(x) {
210
- if (typeof x === "object" && x !== null) {
211
- if (Array.isArray(x)) {
212
- return x.map(cloneDeeplyExcludesParent);
213
- }
214
-
215
- const retv = {};
216
-
217
- for (const key in x) {
218
- if (key !== "parent" && hasOwnProperty(x, key)) {
219
- retv[key] = cloneDeeplyExcludesParent(x[key]);
220
- }
221
- }
222
-
223
- return retv;
224
- }
225
-
226
- return x;
227
- }
228
-
229
- /**
230
- * Freezes a given value deeply.
231
- * @param {any} x A value to freeze.
232
- * @returns {void}
233
- */
234
- function freezeDeeply(x) {
235
- if (typeof x === "object" && x !== null) {
236
- if (Array.isArray(x)) {
237
- x.forEach(freezeDeeply);
238
- } else {
239
- for (const key in x) {
240
- if (key !== "parent" && hasOwnProperty(x, key)) {
241
- freezeDeeply(x[key]);
242
- }
243
- }
244
- }
245
- Object.freeze(x);
246
- }
247
- }
248
-
249
- /**
250
- * Replace control characters by `\u00xx` form.
251
- * @param {string} text The text to sanitize.
252
- * @returns {string} The sanitized text.
253
- */
254
- function sanitize(text) {
255
- if (typeof text !== "string") {
256
- return "";
257
- }
258
- return text.replace(
259
- /[\u0000-\u0009\u000b-\u001a]/gu, // eslint-disable-line no-control-regex -- Escaping controls
260
- c => `\\u${c.codePointAt(0).toString(16).padStart(4, "0")}`
261
- );
262
- }
263
-
264
- /**
265
- * Define `start`/`end` properties as throwing error.
266
- * @param {string} objName Object name used for error messages.
267
- * @param {ASTNode} node The node to define.
268
- * @returns {void}
269
- */
270
- function defineStartEndAsError(objName, node) {
271
- Object.defineProperties(node, {
272
- start: {
273
- get() {
274
- throw new Error(`Use ${objName}.range[0] instead of ${objName}.start`);
275
- },
276
- configurable: true,
277
- enumerable: false
278
- },
279
- end: {
280
- get() {
281
- throw new Error(`Use ${objName}.range[1] instead of ${objName}.end`);
282
- },
283
- configurable: true,
284
- enumerable: false
285
- }
286
- });
287
- }
288
-
289
-
290
- /**
291
- * Define `start`/`end` properties of all nodes of the given AST as throwing error.
292
- * @param {ASTNode} ast The root node to errorize `start`/`end` properties.
293
- * @param {Object} [visitorKeys] Visitor keys to be used for traversing the given ast.
294
- * @returns {void}
295
- */
296
- function defineStartEndAsErrorInTree(ast, visitorKeys) {
297
- Traverser.traverse(ast, { visitorKeys, enter: defineStartEndAsError.bind(null, "node") });
298
- ast.tokens.forEach(defineStartEndAsError.bind(null, "token"));
299
- ast.comments.forEach(defineStartEndAsError.bind(null, "token"));
300
- }
301
-
302
- /**
303
- * Wraps the given parser in order to intercept and modify return values from the `parse` and `parseForESLint` methods, for test purposes.
304
- * In particular, to modify ast nodes, tokens and comments to throw on access to their `start` and `end` properties.
305
- * @param {Parser} parser Parser object.
306
- * @returns {Parser} Wrapped parser object.
307
- */
308
- function wrapParser(parser) {
309
-
310
- if (typeof parser.parseForESLint === "function") {
311
- return {
312
- [parserSymbol]: parser,
313
- parseForESLint(...args) {
314
- const ret = parser.parseForESLint(...args);
315
-
316
- defineStartEndAsErrorInTree(ret.ast, ret.visitorKeys);
317
- return ret;
318
- }
319
- };
320
- }
321
-
322
- return {
323
- [parserSymbol]: parser,
324
- parse(...args) {
325
- const ast = parser.parse(...args);
326
-
327
- defineStartEndAsErrorInTree(ast);
328
- return ast;
329
- }
330
- };
331
- }
332
-
333
- /**
334
- * Function to replace `SourceCode.prototype.getComments`.
335
- * @returns {void}
336
- * @throws {Error} Deprecation message.
337
- */
338
- function getCommentsDeprecation() {
339
- throw new Error(
340
- "`SourceCode#getComments()` is deprecated and will be removed in a future major version. Use `getCommentsBefore()`, `getCommentsAfter()`, and `getCommentsInside()` instead."
341
- );
342
- }
343
-
344
- /**
345
- * Function to replace forbidden `SourceCode` methods.
346
- * @param {string} methodName The name of the method to forbid.
347
- * @returns {Function} The function that throws the error.
348
- */
349
- function throwForbiddenMethodError(methodName) {
350
- return () => {
351
- throw new Error(
352
- `\`SourceCode#${methodName}()\` cannot be called inside a rule.`
353
- );
354
- };
355
- }
356
-
357
- /**
358
- * Emit a deprecation warning if function-style format is being used.
359
- * @param {string} ruleName Name of the rule.
360
- * @returns {void}
361
- */
362
- function emitLegacyRuleAPIWarning(ruleName) {
363
- if (!emitLegacyRuleAPIWarning[`warned-${ruleName}`]) {
364
- emitLegacyRuleAPIWarning[`warned-${ruleName}`] = true;
365
- process.emitWarning(
366
- `"${ruleName}" rule is using the deprecated function-style format and will stop working in ESLint v9. Please use object-style format: https://eslint.org/docs/latest/extend/custom-rules`,
367
- "DeprecationWarning"
368
- );
369
- }
370
- }
371
-
372
- /**
373
- * Emit a deprecation warning if rule has options but is missing the "meta.schema" property
374
- * @param {string} ruleName Name of the rule.
375
- * @returns {void}
376
- */
377
- function emitMissingSchemaWarning(ruleName) {
378
- if (!emitMissingSchemaWarning[`warned-${ruleName}`]) {
379
- emitMissingSchemaWarning[`warned-${ruleName}`] = true;
380
- process.emitWarning(
381
- `"${ruleName}" rule has options but is missing the "meta.schema" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/latest/extend/custom-rules#options-schemas`,
382
- "DeprecationWarning"
383
- );
384
- }
385
- }
386
-
387
- /**
388
- * Emit a deprecation warning if a rule uses a deprecated `context` method.
389
- * @param {string} ruleName Name of the rule.
390
- * @param {string} methodName The name of the method on `context` that was used.
391
- * @returns {void}
392
- */
393
- function emitDeprecatedContextMethodWarning(ruleName, methodName) {
394
- if (!emitDeprecatedContextMethodWarning[`warned-${ruleName}-${methodName}`]) {
395
- emitDeprecatedContextMethodWarning[`warned-${ruleName}-${methodName}`] = true;
396
- process.emitWarning(
397
- `"${ruleName}" rule is using \`context.${methodName}()\`, which is deprecated and will be removed in ESLint v9. Please use \`sourceCode.${DEPRECATED_SOURCECODE_PASSTHROUGHS[methodName]}()\` instead.`,
398
- "DeprecationWarning"
399
- );
400
- }
401
- }
402
-
403
- /**
404
- * Emit a deprecation warning if rule uses CodePath#currentSegments.
405
- * @param {string} ruleName Name of the rule.
406
- * @returns {void}
407
- */
408
- function emitCodePathCurrentSegmentsWarning(ruleName) {
409
- if (!emitCodePathCurrentSegmentsWarning[`warned-${ruleName}`]) {
410
- emitCodePathCurrentSegmentsWarning[`warned-${ruleName}`] = true;
411
- process.emitWarning(
412
- `"${ruleName}" rule uses CodePath#currentSegments and will stop working in ESLint v9. Please read the documentation for how to update your code: https://eslint.org/docs/latest/extend/code-path-analysis#usage-examples`,
413
- "DeprecationWarning"
414
- );
415
- }
416
- }
417
-
418
- /**
419
- * Emit a deprecation warning if `context.parserServices` is used.
420
- * @param {string} ruleName Name of the rule.
421
- * @returns {void}
422
- */
423
- function emitParserServicesWarning(ruleName) {
424
- if (!emitParserServicesWarning[`warned-${ruleName}`]) {
425
- emitParserServicesWarning[`warned-${ruleName}`] = true;
426
- process.emitWarning(
427
- `"${ruleName}" rule is using \`context.parserServices\`, which is deprecated and will be removed in ESLint v9. Please use \`sourceCode.parserServices\` instead.`,
428
- "DeprecationWarning"
429
- );
430
- }
431
- }
432
-
433
-
434
- //------------------------------------------------------------------------------
435
- // Public Interface
436
- //------------------------------------------------------------------------------
437
-
438
- // default separators for testing
439
- const DESCRIBE = Symbol("describe");
440
- const IT = Symbol("it");
441
- const IT_ONLY = Symbol("itOnly");
442
-
443
- /**
444
- * This is `it` default handler if `it` don't exist.
445
- * @this {Mocha}
446
- * @param {string} text The description of the test case.
447
- * @param {Function} method The logic of the test case.
448
- * @throws {Error} Any error upon execution of `method`.
449
- * @returns {any} Returned value of `method`.
450
- */
451
- function itDefaultHandler(text, method) {
452
- try {
453
- return method.call(this);
454
- } catch (err) {
455
- if (err instanceof assert.AssertionError) {
456
- err.message += ` (${util.inspect(err.actual)} ${err.operator} ${util.inspect(err.expected)})`;
457
- }
458
- throw err;
459
- }
460
- }
461
-
462
- /**
463
- * This is `describe` default handler if `describe` don't exist.
464
- * @this {Mocha}
465
- * @param {string} text The description of the test case.
466
- * @param {Function} method The logic of the test case.
467
- * @returns {any} Returned value of `method`.
468
- */
469
- function describeDefaultHandler(text, method) {
470
- return method.call(this);
471
- }
472
-
473
- /**
474
- * Mocha test wrapper.
475
- */
476
- class RuleTester {
477
-
478
- /**
479
- * Creates a new instance of RuleTester.
480
- * @param {Object} [testerConfig] Optional, extra configuration for the tester
481
- */
482
- constructor(testerConfig) {
483
-
484
- /**
485
- * The configuration to use for this tester. Combination of the tester
486
- * configuration and the default configuration.
487
- * @type {Object}
488
- */
489
- this.testerConfig = merge(
490
- {},
491
- defaultConfig,
492
- testerConfig,
493
- { rules: { "rule-tester/validate-ast": "error" } }
494
- );
495
-
496
- /**
497
- * Rule definitions to define before tests.
498
- * @type {Object}
499
- */
500
- this.rules = {};
501
- this.linter = new Linter();
502
- }
503
-
504
- /**
505
- * Set the configuration to use for all future tests
506
- * @param {Object} config the configuration to use.
507
- * @throws {TypeError} If non-object config.
508
- * @returns {void}
509
- */
510
- static setDefaultConfig(config) {
511
- if (typeof config !== "object" || config === null) {
512
- throw new TypeError("RuleTester.setDefaultConfig: config must be an object");
513
- }
514
- defaultConfig = config;
515
-
516
- // Make sure the rules object exists since it is assumed to exist later
517
- defaultConfig.rules = defaultConfig.rules || {};
518
- }
519
-
520
- /**
521
- * Get the current configuration used for all tests
522
- * @returns {Object} the current configuration
523
- */
524
- static getDefaultConfig() {
525
- return defaultConfig;
526
- }
527
-
528
- /**
529
- * Reset the configuration to the initial configuration of the tester removing
530
- * any changes made until now.
531
- * @returns {void}
532
- */
533
- static resetDefaultConfig() {
534
- defaultConfig = merge({}, testerDefaultConfig);
535
- }
536
-
537
-
538
- /*
539
- * If people use `mocha test.js --watch` command, `describe` and `it` function
540
- * instances are different for each execution. So `describe` and `it` should get fresh instance
541
- * always.
542
- */
543
- static get describe() {
544
- return (
545
- this[DESCRIBE] ||
546
- (typeof describe === "function" ? describe : describeDefaultHandler)
547
- );
548
- }
549
-
550
- static set describe(value) {
551
- this[DESCRIBE] = value;
552
- }
553
-
554
- static get it() {
555
- return (
556
- this[IT] ||
557
- (typeof it === "function" ? it : itDefaultHandler)
558
- );
559
- }
560
-
561
- static set it(value) {
562
- this[IT] = value;
563
- }
564
-
565
- /**
566
- * Adds the `only` property to a test to run it in isolation.
567
- * @param {string | ValidTestCase | InvalidTestCase} item A single test to run by itself.
568
- * @returns {ValidTestCase | InvalidTestCase} The test with `only` set.
569
- */
570
- static only(item) {
571
- if (typeof item === "string") {
572
- return { code: item, only: true };
573
- }
574
-
575
- return { ...item, only: true };
576
- }
577
-
578
- static get itOnly() {
579
- if (typeof this[IT_ONLY] === "function") {
580
- return this[IT_ONLY];
581
- }
582
- if (typeof this[IT] === "function" && typeof this[IT].only === "function") {
583
- return Function.bind.call(this[IT].only, this[IT]);
584
- }
585
- if (typeof it === "function" && typeof it.only === "function") {
586
- return Function.bind.call(it.only, it);
587
- }
588
-
589
- if (typeof this[DESCRIBE] === "function" || typeof this[IT] === "function") {
590
- throw new Error(
591
- "Set `RuleTester.itOnly` to use `only` with a custom test framework.\n" +
592
- "See https://eslint.org/docs/latest/integrate/nodejs-api#customizing-ruletester for more."
593
- );
594
- }
595
- if (typeof it === "function") {
596
- throw new Error("The current test framework does not support exclusive tests with `only`.");
597
- }
598
- throw new Error("To use `only`, use RuleTester with a test framework that provides `it.only()` like Mocha.");
599
- }
600
-
601
- static set itOnly(value) {
602
- this[IT_ONLY] = value;
603
- }
604
-
605
- /**
606
- * Define a rule for one particular run of tests.
607
- * @param {string} name The name of the rule to define.
608
- * @param {Function | Rule} rule The rule definition.
609
- * @returns {void}
610
- */
611
- defineRule(name, rule) {
612
- if (typeof rule === "function") {
613
- emitLegacyRuleAPIWarning(name);
614
- }
615
- this.rules[name] = rule;
616
- }
617
-
618
- /**
619
- * Adds a new rule test to execute.
620
- * @param {string} ruleName The name of the rule to run.
621
- * @param {Function | Rule} rule The rule to test.
622
- * @param {{
623
- * valid: (ValidTestCase | string)[],
624
- * invalid: InvalidTestCase[]
625
- * }} test The collection of tests to run.
626
- * @throws {TypeError|Error} If non-object `test`, or if a required
627
- * scenario of the given type is missing.
628
- * @returns {void}
629
- */
630
- run(ruleName, rule, test) {
631
-
632
- const testerConfig = this.testerConfig,
633
- requiredScenarios = ["valid", "invalid"],
634
- scenarioErrors = [],
635
- linter = this.linter;
636
-
637
- if (!test || typeof test !== "object") {
638
- throw new TypeError(`Test Scenarios for rule ${ruleName} : Could not find test scenario object`);
639
- }
640
-
641
- requiredScenarios.forEach(scenarioType => {
642
- if (!test[scenarioType]) {
643
- scenarioErrors.push(`Could not find any ${scenarioType} test scenarios`);
644
- }
645
- });
646
-
647
- if (scenarioErrors.length > 0) {
648
- throw new Error([
649
- `Test Scenarios for rule ${ruleName} is invalid:`
650
- ].concat(scenarioErrors).join("\n"));
651
- }
652
-
653
- if (typeof rule === "function") {
654
- emitLegacyRuleAPIWarning(ruleName);
655
- }
656
-
657
- linter.defineRule(ruleName, Object.assign({}, rule, {
658
-
659
- // Create a wrapper rule that freezes the `context` properties.
660
- create(context) {
661
- freezeDeeply(context.options);
662
- freezeDeeply(context.settings);
663
- freezeDeeply(context.parserOptions);
664
-
665
- // wrap all deprecated methods
666
- const newContext = Object.create(
667
- context,
668
- Object.fromEntries(Object.keys(DEPRECATED_SOURCECODE_PASSTHROUGHS).map(methodName => [
669
- methodName,
670
- {
671
- value(...args) {
672
-
673
- // emit deprecation warning
674
- emitDeprecatedContextMethodWarning(ruleName, methodName);
675
-
676
- // call the original method
677
- return context[methodName].call(this, ...args);
678
- },
679
- enumerable: true
680
- }
681
- ]))
682
- );
683
-
684
- // emit warning about context.parserServices
685
- const parserServices = context.parserServices;
686
-
687
- Object.defineProperty(newContext, "parserServices", {
688
- get() {
689
- emitParserServicesWarning(ruleName);
690
- return parserServices;
691
- }
692
- });
693
-
694
- Object.freeze(newContext);
695
-
696
- return (typeof rule === "function" ? rule : rule.create)(newContext);
697
- }
698
- }));
699
-
700
- linter.defineRules(this.rules);
701
-
702
- /**
703
- * Run the rule for the given item
704
- * @param {string|Object} item Item to run the rule against
705
- * @throws {Error} If an invalid schema.
706
- * @returns {Object} Eslint run result
707
- * @private
708
- */
709
- function runRuleForItem(item) {
710
- let config = merge({}, testerConfig),
711
- code, filename, output, beforeAST, afterAST;
712
-
713
- if (typeof item === "string") {
714
- code = item;
715
- } else {
716
- code = item.code;
717
-
718
- /*
719
- * Assumes everything on the item is a config except for the
720
- * parameters used by this tester
721
- */
722
- const itemConfig = { ...item };
723
-
724
- for (const parameter of RuleTesterParameters) {
725
- delete itemConfig[parameter];
726
- }
727
-
728
- /*
729
- * Create the config object from the tester config and this item
730
- * specific configurations.
731
- */
732
- config = merge(
733
- config,
734
- itemConfig
735
- );
736
- }
737
-
738
- if (item.filename) {
739
- filename = item.filename;
740
- }
741
-
742
- if (hasOwnProperty(item, "options")) {
743
- assert(Array.isArray(item.options), "options must be an array");
744
- if (
745
- item.options.length > 0 &&
746
- typeof rule === "object" &&
747
- (
748
- !rule.meta || (rule.meta && (typeof rule.meta.schema === "undefined" || rule.meta.schema === null))
749
- )
750
- ) {
751
- emitMissingSchemaWarning(ruleName);
752
- }
753
- config.rules[ruleName] = [1].concat(item.options);
754
- } else {
755
- config.rules[ruleName] = 1;
756
- }
757
-
758
- const schema = getRuleOptionsSchema(rule);
759
-
760
- /*
761
- * Setup AST getters.
762
- * The goal is to check whether or not AST was modified when
763
- * running the rule under test.
764
- */
765
- linter.defineRule("rule-tester/validate-ast", {
766
- create() {
767
- return {
768
- Program(node) {
769
- beforeAST = cloneDeeplyExcludesParent(node);
770
- },
771
- "Program:exit"(node) {
772
- afterAST = node;
773
- }
774
- };
775
- }
776
- });
777
-
778
- if (typeof config.parser === "string") {
779
- assert(path.isAbsolute(config.parser), "Parsers provided as strings to RuleTester must be absolute paths");
780
- } else {
781
- config.parser = espreePath;
782
- }
783
-
784
- linter.defineParser(config.parser, wrapParser(require(config.parser)));
785
-
786
- if (schema) {
787
- ajv.validateSchema(schema);
788
-
789
- if (ajv.errors) {
790
- const errors = ajv.errors.map(error => {
791
- const field = error.dataPath[0] === "." ? error.dataPath.slice(1) : error.dataPath;
792
-
793
- return `\t${field}: ${error.message}`;
794
- }).join("\n");
795
-
796
- throw new Error([`Schema for rule ${ruleName} is invalid:`, errors]);
797
- }
798
-
799
- /*
800
- * `ajv.validateSchema` checks for errors in the structure of the schema (by comparing the schema against a "meta-schema"),
801
- * and it reports those errors individually. However, there are other types of schema errors that only occur when compiling
802
- * the schema (e.g. using invalid defaults in a schema), and only one of these errors can be reported at a time. As a result,
803
- * the schema is compiled here separately from checking for `validateSchema` errors.
804
- */
805
- try {
806
- ajv.compile(schema);
807
- } catch (err) {
808
- throw new Error(`Schema for rule ${ruleName} is invalid: ${err.message}`);
809
- }
810
- }
811
-
812
- validate(config, "rule-tester", id => (id === ruleName ? rule : null));
813
-
814
- // Verify the code.
815
- const { getComments, applyLanguageOptions, applyInlineConfig, finalize } = SourceCode.prototype;
816
- const originalCurrentSegments = Object.getOwnPropertyDescriptor(CodePath.prototype, "currentSegments");
817
- let messages;
818
-
819
- try {
820
- SourceCode.prototype.getComments = getCommentsDeprecation;
821
- Object.defineProperty(CodePath.prototype, "currentSegments", {
822
- get() {
823
- emitCodePathCurrentSegmentsWarning(ruleName);
824
- return originalCurrentSegments.get.call(this);
825
- }
826
- });
827
-
828
- forbiddenMethods.forEach(methodName => {
829
- SourceCode.prototype[methodName] = throwForbiddenMethodError(methodName);
830
- });
831
-
832
- messages = linter.verify(code, config, filename);
833
- } finally {
834
- SourceCode.prototype.getComments = getComments;
835
- Object.defineProperty(CodePath.prototype, "currentSegments", originalCurrentSegments);
836
- SourceCode.prototype.applyInlineConfig = applyInlineConfig;
837
- SourceCode.prototype.applyLanguageOptions = applyLanguageOptions;
838
- SourceCode.prototype.finalize = finalize;
839
- }
840
-
841
- const fatalErrorMessage = messages.find(m => m.fatal);
842
-
843
- assert(!fatalErrorMessage, `A fatal parsing error occurred: ${fatalErrorMessage && fatalErrorMessage.message}`);
844
-
845
- // Verify if autofix makes a syntax error or not.
846
- if (messages.some(m => m.fix)) {
847
- output = SourceCodeFixer.applyFixes(code, messages).output;
848
- const errorMessageInFix = linter.verify(output, config, filename).find(m => m.fatal);
849
-
850
- assert(!errorMessageInFix, [
851
- "A fatal parsing error occurred in autofix.",
852
- `Error: ${errorMessageInFix && errorMessageInFix.message}`,
853
- "Autofix output:",
854
- output
855
- ].join("\n"));
856
- } else {
857
- output = code;
858
- }
859
-
860
- return {
861
- messages,
862
- output,
863
- beforeAST,
864
- afterAST: cloneDeeplyExcludesParent(afterAST)
865
- };
866
- }
867
-
868
- /**
869
- * Check if the AST was changed
870
- * @param {ASTNode} beforeAST AST node before running
871
- * @param {ASTNode} afterAST AST node after running
872
- * @returns {void}
873
- * @private
874
- */
875
- function assertASTDidntChange(beforeAST, afterAST) {
876
- if (!equal(beforeAST, afterAST)) {
877
- assert.fail("Rule should not modify AST.");
878
- }
879
- }
880
-
881
- /**
882
- * Check if the template is valid or not
883
- * all valid cases go through this
884
- * @param {string|Object} item Item to run the rule against
885
- * @returns {void}
886
- * @private
887
- */
888
- function testValidTemplate(item) {
889
- const code = typeof item === "object" ? item.code : item;
890
-
891
- assert.ok(typeof code === "string", "Test case must specify a string value for 'code'");
892
- if (item.name) {
893
- assert.ok(typeof item.name === "string", "Optional test case property 'name' must be a string");
894
- }
895
-
896
- const result = runRuleForItem(item);
897
- const messages = result.messages;
898
-
899
- assert.strictEqual(messages.length, 0, util.format("Should have no errors but had %d: %s",
900
- messages.length,
901
- util.inspect(messages)));
902
-
903
- assertASTDidntChange(result.beforeAST, result.afterAST);
904
- }
905
-
906
- /**
907
- * Asserts that the message matches its expected value. If the expected
908
- * value is a regular expression, it is checked against the actual
909
- * value.
910
- * @param {string} actual Actual value
911
- * @param {string|RegExp} expected Expected value
912
- * @returns {void}
913
- * @private
914
- */
915
- function assertMessageMatches(actual, expected) {
916
- if (expected instanceof RegExp) {
917
-
918
- // assert.js doesn't have a built-in RegExp match function
919
- assert.ok(
920
- expected.test(actual),
921
- `Expected '${actual}' to match ${expected}`
922
- );
923
- } else {
924
- assert.strictEqual(actual, expected);
925
- }
926
- }
927
-
928
- /**
929
- * Check if the template is invalid or not
930
- * all invalid cases go through this.
931
- * @param {string|Object} item Item to run the rule against
932
- * @returns {void}
933
- * @private
934
- */
935
- function testInvalidTemplate(item) {
936
- assert.ok(typeof item.code === "string", "Test case must specify a string value for 'code'");
937
- if (item.name) {
938
- assert.ok(typeof item.name === "string", "Optional test case property 'name' must be a string");
939
- }
940
- assert.ok(item.errors || item.errors === 0,
941
- `Did not specify errors for an invalid test of ${ruleName}`);
942
-
943
- if (Array.isArray(item.errors) && item.errors.length === 0) {
944
- assert.fail("Invalid cases must have at least one error");
945
- }
946
-
947
- const ruleHasMetaMessages = hasOwnProperty(rule, "meta") && hasOwnProperty(rule.meta, "messages");
948
- const friendlyIDList = ruleHasMetaMessages ? `[${Object.keys(rule.meta.messages).map(key => `'${key}'`).join(", ")}]` : null;
949
-
950
- const result = runRuleForItem(item);
951
- const messages = result.messages;
952
-
953
- if (typeof item.errors === "number") {
954
-
955
- if (item.errors === 0) {
956
- assert.fail("Invalid cases must have 'error' value greater than 0");
957
- }
958
-
959
- assert.strictEqual(messages.length, item.errors, util.format("Should have %d error%s but had %d: %s",
960
- item.errors,
961
- item.errors === 1 ? "" : "s",
962
- messages.length,
963
- util.inspect(messages)));
964
- } else {
965
- assert.strictEqual(
966
- messages.length, item.errors.length, util.format(
967
- "Should have %d error%s but had %d: %s",
968
- item.errors.length,
969
- item.errors.length === 1 ? "" : "s",
970
- messages.length,
971
- util.inspect(messages)
972
- )
973
- );
974
-
975
- const hasMessageOfThisRule = messages.some(m => m.ruleId === ruleName);
976
-
977
- for (let i = 0, l = item.errors.length; i < l; i++) {
978
- const error = item.errors[i];
979
- const message = messages[i];
980
-
981
- assert(hasMessageOfThisRule, "Error rule name should be the same as the name of the rule being tested");
982
-
983
- if (typeof error === "string" || error instanceof RegExp) {
984
-
985
- // Just an error message.
986
- assertMessageMatches(message.message, error);
987
- } else if (typeof error === "object" && error !== null) {
988
-
989
- /*
990
- * Error object.
991
- * This may have a message, messageId, data, node type, line, and/or
992
- * column.
993
- */
994
-
995
- Object.keys(error).forEach(propertyName => {
996
- assert.ok(
997
- errorObjectParameters.has(propertyName),
998
- `Invalid error property name '${propertyName}'. Expected one of ${friendlyErrorObjectParameterList}.`
999
- );
1000
- });
1001
-
1002
- if (hasOwnProperty(error, "message")) {
1003
- assert.ok(!hasOwnProperty(error, "messageId"), "Error should not specify both 'message' and a 'messageId'.");
1004
- assert.ok(!hasOwnProperty(error, "data"), "Error should not specify both 'data' and 'message'.");
1005
- assertMessageMatches(message.message, error.message);
1006
- } else if (hasOwnProperty(error, "messageId")) {
1007
- assert.ok(
1008
- ruleHasMetaMessages,
1009
- "Error can not use 'messageId' if rule under test doesn't define 'meta.messages'."
1010
- );
1011
- if (!hasOwnProperty(rule.meta.messages, error.messageId)) {
1012
- assert(false, `Invalid messageId '${error.messageId}'. Expected one of ${friendlyIDList}.`);
1013
- }
1014
- assert.strictEqual(
1015
- message.messageId,
1016
- error.messageId,
1017
- `messageId '${message.messageId}' does not match expected messageId '${error.messageId}'.`
1018
- );
1019
- if (hasOwnProperty(error, "data")) {
1020
-
1021
- /*
1022
- * if data was provided, then directly compare the returned message to a synthetic
1023
- * interpolated message using the same message ID and data provided in the test.
1024
- * See https://github.com/eslint/eslint/issues/9890 for context.
1025
- */
1026
- const unformattedOriginalMessage = rule.meta.messages[error.messageId];
1027
- const rehydratedMessage = interpolate(unformattedOriginalMessage, error.data);
1028
-
1029
- assert.strictEqual(
1030
- message.message,
1031
- rehydratedMessage,
1032
- `Hydrated message "${rehydratedMessage}" does not match "${message.message}"`
1033
- );
1034
- }
1035
- }
1036
-
1037
- assert.ok(
1038
- hasOwnProperty(error, "data") ? hasOwnProperty(error, "messageId") : true,
1039
- "Error must specify 'messageId' if 'data' is used."
1040
- );
1041
-
1042
- if (error.type) {
1043
- assert.strictEqual(message.nodeType, error.type, `Error type should be ${error.type}, found ${message.nodeType}`);
1044
- }
1045
-
1046
- if (hasOwnProperty(error, "line")) {
1047
- assert.strictEqual(message.line, error.line, `Error line should be ${error.line}`);
1048
- }
1049
-
1050
- if (hasOwnProperty(error, "column")) {
1051
- assert.strictEqual(message.column, error.column, `Error column should be ${error.column}`);
1052
- }
1053
-
1054
- if (hasOwnProperty(error, "endLine")) {
1055
- assert.strictEqual(message.endLine, error.endLine, `Error endLine should be ${error.endLine}`);
1056
- }
1057
-
1058
- if (hasOwnProperty(error, "endColumn")) {
1059
- assert.strictEqual(message.endColumn, error.endColumn, `Error endColumn should be ${error.endColumn}`);
1060
- }
1061
-
1062
- if (hasOwnProperty(error, "suggestions")) {
1063
-
1064
- // Support asserting there are no suggestions
1065
- if (!error.suggestions || (Array.isArray(error.suggestions) && error.suggestions.length === 0)) {
1066
- if (Array.isArray(message.suggestions) && message.suggestions.length > 0) {
1067
- assert.fail(`Error should have no suggestions on error with message: "${message.message}"`);
1068
- }
1069
- } else {
1070
- assert.strictEqual(Array.isArray(message.suggestions), true, `Error should have an array of suggestions. Instead received "${message.suggestions}" on error with message: "${message.message}"`);
1071
- assert.strictEqual(message.suggestions.length, error.suggestions.length, `Error should have ${error.suggestions.length} suggestions. Instead found ${message.suggestions.length} suggestions`);
1072
-
1073
- error.suggestions.forEach((expectedSuggestion, index) => {
1074
- assert.ok(
1075
- typeof expectedSuggestion === "object" && expectedSuggestion !== null,
1076
- "Test suggestion in 'suggestions' array must be an object."
1077
- );
1078
- Object.keys(expectedSuggestion).forEach(propertyName => {
1079
- assert.ok(
1080
- suggestionObjectParameters.has(propertyName),
1081
- `Invalid suggestion property name '${propertyName}'. Expected one of ${friendlySuggestionObjectParameterList}.`
1082
- );
1083
- });
1084
-
1085
- const actualSuggestion = message.suggestions[index];
1086
- const suggestionPrefix = `Error Suggestion at index ${index} :`;
1087
-
1088
- if (hasOwnProperty(expectedSuggestion, "desc")) {
1089
- assert.ok(
1090
- !hasOwnProperty(expectedSuggestion, "data"),
1091
- `${suggestionPrefix} Test should not specify both 'desc' and 'data'.`
1092
- );
1093
- assert.strictEqual(
1094
- actualSuggestion.desc,
1095
- expectedSuggestion.desc,
1096
- `${suggestionPrefix} desc should be "${expectedSuggestion.desc}" but got "${actualSuggestion.desc}" instead.`
1097
- );
1098
- }
1099
-
1100
- if (hasOwnProperty(expectedSuggestion, "messageId")) {
1101
- assert.ok(
1102
- ruleHasMetaMessages,
1103
- `${suggestionPrefix} Test can not use 'messageId' if rule under test doesn't define 'meta.messages'.`
1104
- );
1105
- assert.ok(
1106
- hasOwnProperty(rule.meta.messages, expectedSuggestion.messageId),
1107
- `${suggestionPrefix} Test has invalid messageId '${expectedSuggestion.messageId}', the rule under test allows only one of ${friendlyIDList}.`
1108
- );
1109
- assert.strictEqual(
1110
- actualSuggestion.messageId,
1111
- expectedSuggestion.messageId,
1112
- `${suggestionPrefix} messageId should be '${expectedSuggestion.messageId}' but got '${actualSuggestion.messageId}' instead.`
1113
- );
1114
- if (hasOwnProperty(expectedSuggestion, "data")) {
1115
- const unformattedMetaMessage = rule.meta.messages[expectedSuggestion.messageId];
1116
- const rehydratedDesc = interpolate(unformattedMetaMessage, expectedSuggestion.data);
1117
-
1118
- assert.strictEqual(
1119
- actualSuggestion.desc,
1120
- rehydratedDesc,
1121
- `${suggestionPrefix} Hydrated test desc "${rehydratedDesc}" does not match received desc "${actualSuggestion.desc}".`
1122
- );
1123
- }
1124
- } else {
1125
- assert.ok(
1126
- !hasOwnProperty(expectedSuggestion, "data"),
1127
- `${suggestionPrefix} Test must specify 'messageId' if 'data' is used.`
1128
- );
1129
- }
1130
-
1131
- if (hasOwnProperty(expectedSuggestion, "output")) {
1132
- const codeWithAppliedSuggestion = SourceCodeFixer.applyFixes(item.code, [actualSuggestion]).output;
1133
-
1134
- assert.strictEqual(codeWithAppliedSuggestion, expectedSuggestion.output, `Expected the applied suggestion fix to match the test suggestion output for suggestion at index: ${index} on error with message: "${message.message}"`);
1135
- }
1136
- });
1137
- }
1138
- }
1139
- } else {
1140
-
1141
- // Message was an unexpected type
1142
- assert.fail(`Error should be a string, object, or RegExp, but found (${util.inspect(message)})`);
1143
- }
1144
- }
1145
- }
1146
-
1147
- if (hasOwnProperty(item, "output")) {
1148
- if (item.output === null) {
1149
- assert.strictEqual(
1150
- result.output,
1151
- item.code,
1152
- "Expected no autofixes to be suggested"
1153
- );
1154
- } else {
1155
- assert.strictEqual(result.output, item.output, "Output is incorrect.");
1156
- }
1157
- } else {
1158
- assert.strictEqual(
1159
- result.output,
1160
- item.code,
1161
- "The rule fixed the code. Please add 'output' property."
1162
- );
1163
- }
1164
-
1165
- assertASTDidntChange(result.beforeAST, result.afterAST);
1166
- }
1167
-
1168
- /*
1169
- * This creates a mocha test suite and pipes all supplied info through
1170
- * one of the templates above.
1171
- * The test suites for valid/invalid are created conditionally as
1172
- * test runners (eg. vitest) fail for empty test suites.
1173
- */
1174
- this.constructor.describe(ruleName, () => {
1175
- if (test.valid.length > 0) {
1176
- this.constructor.describe("valid", () => {
1177
- test.valid.forEach(valid => {
1178
- this.constructor[valid.only ? "itOnly" : "it"](
1179
- sanitize(typeof valid === "object" ? valid.name || valid.code : valid),
1180
- () => {
1181
- testValidTemplate(valid);
1182
- }
1183
- );
1184
- });
1185
- });
1186
- }
1187
-
1188
- if (test.invalid.length > 0) {
1189
- this.constructor.describe("invalid", () => {
1190
- test.invalid.forEach(invalid => {
1191
- this.constructor[invalid.only ? "itOnly" : "it"](
1192
- sanitize(invalid.name || invalid.code),
1193
- () => {
1194
- testInvalidTemplate(invalid);
1195
- }
1196
- );
1197
- });
1198
- });
1199
- }
1200
- });
1201
- }
1202
- }
1203
-
1204
- RuleTester[DESCRIBE] = RuleTester[IT] = RuleTester[IT_ONLY] = null;
1205
-
1206
- module.exports = RuleTester;