create-packer 1.34.9 → 1.35.0

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 (1674) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
  3. package/template/web-app/react-rspack/.env +2 -0
  4. package/template/web-app/react-rspack/.env.development +2 -0
  5. package/template/web-app/react-rspack/.eslintrc +120 -0
  6. package/template/web-app/react-rspack/README.md +14 -0
  7. package/template/web-app/react-rspack/domain/router/router.tsx +28 -0
  8. package/template/web-app/react-rspack/env.d.ts +17 -0
  9. package/template/web-app/react-rspack/index.html +12 -0
  10. package/template/web-app/react-rspack/package.json +83 -0
  11. package/template/web-app/react-rspack/public/rsbuild-logo.svg +1 -0
  12. package/template/web-app/react-rspack/rsbuild.config.ts +78 -0
  13. package/template/web-app/react-rspack/shared/service/home.ts +8 -0
  14. package/template/web-app/react-rspack/shared/service/request.ts +5 -0
  15. package/template/web-app/react-rspack/tsconfig.node.json +14 -0
  16. package/template/web-app/react-vite/.editorconfig +14 -0
  17. package/template/web-app/react-vite/.eslintignore +4 -0
  18. package/template/web-app/react-vite/.gitignore +28 -0
  19. package/template/web-app/react-vite/.husky/commit-msg +4 -0
  20. package/template/web-app/react-vite/.husky/pre-commit +4 -0
  21. package/template/web-app/react-vite/.prettierignore +6 -0
  22. package/template/web-app/react-vite/.prettierrc +12 -0
  23. package/template/web-app/react-vite/.stylelintignore +4 -0
  24. package/template/web-app/react-vite/.stylelintrc +24 -0
  25. package/template/web-app/react-vite/.vscode/extensions.json +8 -0
  26. package/template/web-app/react-vite/.vscode/settings.json +18 -0
  27. package/template/web-app/react-vite/commitlint.config.cjs +1 -0
  28. package/template/web-app/react-vite/domain/app/app.model.ts +7 -0
  29. package/template/web-app/react-vite/domain/app/app.styled.ts +3 -0
  30. package/template/web-app/react-vite/domain/app/components/app-context.tsx +17 -0
  31. package/template/web-app/react-vite/domain/app/components/app.tsx +24 -0
  32. package/template/web-app/react-vite/domain/app/components/index.ts +1 -0
  33. package/template/web-app/react-vite/domain/app/index.ts +2 -0
  34. package/template/web-app/react-vite/domain/router/home/ids.ts +3 -0
  35. package/template/web-app/react-vite/domain/router/home/index.ts +2 -0
  36. package/template/web-app/react-vite/domain/router/home/routes.tsx +13 -0
  37. package/template/web-app/react-vite/domain/router/ids.ts +6 -0
  38. package/template/web-app/react-vite/domain/router/index.ts +3 -0
  39. package/template/web-app/react-vite/domain/router/router.types.ts +3 -0
  40. package/template/web-app/react-vite/main.tsx +4 -0
  41. package/template/web-app/react-vite/pages/home/home.styled.ts +7 -0
  42. package/template/web-app/react-vite/pages/home/home.tsx +10 -0
  43. package/template/web-app/react-vite/pages/home/index.ts +1 -0
  44. package/template/web-app/react-vite/pages/index.tsx +18 -0
  45. package/template/web-app/react-vite/pages/not-found.tsx +3 -0
  46. package/template/web-app/react-vite/postcss.config.cjs +7 -0
  47. package/template/web-app/react-vite/scripts/createChunks.ts +26 -0
  48. package/template/web-app/react-vite/scripts/index.ts +1 -0
  49. package/template/web-app/react-vite/shared/assets/react.svg +1 -0
  50. package/template/web-app/react-vite/shared/components/index.ts +0 -0
  51. package/template/web-app/react-vite/shared/constant/index.ts +0 -0
  52. package/template/web-app/react-vite/shared/hooks/defineRouter/defineRouter.types.ts +33 -0
  53. package/template/web-app/react-vite/shared/hooks/defineRouter/deineRouter.tsx +160 -0
  54. package/template/web-app/react-vite/shared/hooks/defineRouter/index.ts +2 -0
  55. package/template/web-app/react-vite/shared/hooks/index.ts +6 -0
  56. package/template/web-app/react-vite/shared/hooks/useInterval.ts +26 -0
  57. package/template/web-app/react-vite/shared/hooks/useLoadingAction.ts +27 -0
  58. package/template/web-app/react-vite/shared/hooks/useLowPriorityState.ts +26 -0
  59. package/template/web-app/react-vite/shared/hooks/useSyncState.ts +15 -0
  60. package/template/web-app/react-vite/shared/hooks/useVisible.ts +27 -0
  61. package/template/web-app/react-vite/shared/service/api.ts +1 -0
  62. package/template/web-app/react-vite/shared/service/index.ts +3 -0
  63. package/template/web-app/react-vite/shared/theme/index.ts +1 -0
  64. package/template/web-app/react-vite/shared/theme/theme.styled.ts +56 -0
  65. package/template/web-app/react-vite/shared/tools/componentInstance.tsx +80 -0
  66. package/template/web-app/react-vite/shared/tools/index.ts +1 -0
  67. package/template/web-app/react-vite/shared/types/index.ts +1 -0
  68. package/template/web-app/react-vite/shared/types/utils.ts +2 -0
  69. package/template/web-app/react-vite/tsconfig.json +44 -0
  70. package/template/web-app/react-webpack/webpack.config.mjs +4 -5
  71. package/template/lib/react/node_modules/.bin/acorn +0 -17
  72. package/template/lib/react/node_modules/.bin/acorn.CMD +0 -12
  73. package/template/lib/react/node_modules/.bin/acorn.ps1 +0 -41
  74. package/template/lib/react/node_modules/.bin/browserslist +0 -17
  75. package/template/lib/react/node_modules/.bin/browserslist.CMD +0 -12
  76. package/template/lib/react/node_modules/.bin/browserslist.ps1 +0 -41
  77. package/template/lib/react/node_modules/.bin/esbuild +0 -17
  78. package/template/lib/react/node_modules/.bin/esbuild.CMD +0 -12
  79. package/template/lib/react/node_modules/.bin/esbuild.ps1 +0 -41
  80. package/template/lib/react/node_modules/.bin/eslint +0 -17
  81. package/template/lib/react/node_modules/.bin/eslint.CMD +0 -12
  82. package/template/lib/react/node_modules/.bin/eslint.ps1 +0 -41
  83. package/template/lib/react/node_modules/.bin/prettier +0 -17
  84. package/template/lib/react/node_modules/.bin/prettier.CMD +0 -12
  85. package/template/lib/react/node_modules/.bin/prettier.ps1 +0 -41
  86. package/template/lib/react/node_modules/.bin/sb +0 -17
  87. package/template/lib/react/node_modules/.bin/sb.CMD +0 -12
  88. package/template/lib/react/node_modules/.bin/sb.ps1 +0 -41
  89. package/template/lib/react/node_modules/.bin/storybook +0 -17
  90. package/template/lib/react/node_modules/.bin/storybook.CMD +0 -12
  91. package/template/lib/react/node_modules/.bin/storybook.ps1 +0 -41
  92. package/template/lib/react/node_modules/.bin/stylelint +0 -17
  93. package/template/lib/react/node_modules/.bin/stylelint.CMD +0 -12
  94. package/template/lib/react/node_modules/.bin/stylelint.ps1 +0 -41
  95. package/template/lib/react/node_modules/.bin/tsc +0 -17
  96. package/template/lib/react/node_modules/.bin/tsc.CMD +0 -12
  97. package/template/lib/react/node_modules/.bin/tsc.ps1 +0 -41
  98. package/template/lib/react/node_modules/.bin/tsserver +0 -17
  99. package/template/lib/react/node_modules/.bin/tsserver.CMD +0 -12
  100. package/template/lib/react/node_modules/.bin/tsserver.ps1 +0 -41
  101. package/template/lib/react/node_modules/.bin/vite +0 -17
  102. package/template/lib/react/node_modules/.bin/vite.CMD +0 -12
  103. package/template/lib/react/node_modules/.bin/vite.ps1 +0 -41
  104. package/template/lib/react/node_modules/eslint/LICENSE +0 -19
  105. package/template/lib/react/node_modules/eslint/README.md +0 -304
  106. package/template/lib/react/node_modules/eslint/bin/eslint.js +0 -173
  107. package/template/lib/react/node_modules/eslint/conf/config-schema.js +0 -93
  108. package/template/lib/react/node_modules/eslint/conf/default-cli-options.js +0 -32
  109. package/template/lib/react/node_modules/eslint/conf/globals.js +0 -154
  110. package/template/lib/react/node_modules/eslint/conf/replacements.json +0 -22
  111. package/template/lib/react/node_modules/eslint/conf/rule-type-list.json +0 -28
  112. package/template/lib/react/node_modules/eslint/lib/api.js +0 -26
  113. package/template/lib/react/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1078
  114. package/template/lib/react/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -547
  115. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
  116. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
  117. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +0 -46
  118. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -351
  119. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
  120. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
  121. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
  122. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
  123. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
  124. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
  125. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
  126. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
  127. package/template/lib/react/node_modules/eslint/lib/cli-engine/hash.js +0 -35
  128. package/template/lib/react/node_modules/eslint/lib/cli-engine/index.js +0 -7
  129. package/template/lib/react/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -203
  130. package/template/lib/react/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
  131. package/template/lib/react/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
  132. package/template/lib/react/node_modules/eslint/lib/cli.js +0 -471
  133. package/template/lib/react/node_modules/eslint/lib/config/default-config.js +0 -67
  134. package/template/lib/react/node_modules/eslint/lib/config/flat-config-array.js +0 -274
  135. package/template/lib/react/node_modules/eslint/lib/config/flat-config-helpers.js +0 -111
  136. package/template/lib/react/node_modules/eslint/lib/config/flat-config-schema.js +0 -583
  137. package/template/lib/react/node_modules/eslint/lib/config/rule-validator.js +0 -158
  138. package/template/lib/react/node_modules/eslint/lib/eslint/eslint-helpers.js +0 -902
  139. package/template/lib/react/node_modules/eslint/lib/eslint/eslint.js +0 -700
  140. package/template/lib/react/node_modules/eslint/lib/eslint/flat-eslint.js +0 -1142
  141. package/template/lib/react/node_modules/eslint/lib/eslint/index.js +0 -9
  142. package/template/lib/react/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -465
  143. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -852
  144. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -263
  145. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -2348
  146. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -342
  147. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
  148. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -349
  149. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
  150. package/template/lib/react/node_modules/eslint/lib/linter/config-comment-parser.js +0 -185
  151. package/template/lib/react/node_modules/eslint/lib/linter/index.js +0 -13
  152. package/template/lib/react/node_modules/eslint/lib/linter/interpolate.js +0 -28
  153. package/template/lib/react/node_modules/eslint/lib/linter/linter.js +0 -2119
  154. package/template/lib/react/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
  155. package/template/lib/react/node_modules/eslint/lib/linter/report-translator.js +0 -369
  156. package/template/lib/react/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
  157. package/template/lib/react/node_modules/eslint/lib/linter/rules.js +0 -80
  158. package/template/lib/react/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
  159. package/template/lib/react/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
  160. package/template/lib/react/node_modules/eslint/lib/linter/timing.js +0 -161
  161. package/template/lib/react/node_modules/eslint/lib/options.js +0 -398
  162. package/template/lib/react/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1122
  163. package/template/lib/react/node_modules/eslint/lib/rule-tester/index.js +0 -5
  164. package/template/lib/react/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1206
  165. package/template/lib/react/node_modules/eslint/lib/rules/accessor-pairs.js +0 -346
  166. package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -261
  167. package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -244
  168. package/template/lib/react/node_modules/eslint/lib/rules/array-callback-return.js +0 -446
  169. package/template/lib/react/node_modules/eslint/lib/rules/array-element-newline.js +0 -311
  170. package/template/lib/react/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
  171. package/template/lib/react/node_modules/eslint/lib/rules/arrow-parens.js +0 -186
  172. package/template/lib/react/node_modules/eslint/lib/rules/arrow-spacing.js +0 -164
  173. package/template/lib/react/node_modules/eslint/lib/rules/block-scoped-var.js +0 -135
  174. package/template/lib/react/node_modules/eslint/lib/rules/block-spacing.js +0 -174
  175. package/template/lib/react/node_modules/eslint/lib/rules/brace-style.js +0 -197
  176. package/template/lib/react/node_modules/eslint/lib/rules/callback-return.js +0 -187
  177. package/template/lib/react/node_modules/eslint/lib/rules/camelcase.js +0 -399
  178. package/template/lib/react/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
  179. package/template/lib/react/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
  180. package/template/lib/react/node_modules/eslint/lib/rules/comma-dangle.js +0 -373
  181. package/template/lib/react/node_modules/eslint/lib/rules/comma-spacing.js +0 -192
  182. package/template/lib/react/node_modules/eslint/lib/rules/comma-style.js +0 -314
  183. package/template/lib/react/node_modules/eslint/lib/rules/complexity.js +0 -165
  184. package/template/lib/react/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -208
  185. package/template/lib/react/node_modules/eslint/lib/rules/consistent-return.js +0 -210
  186. package/template/lib/react/node_modules/eslint/lib/rules/consistent-this.js +0 -153
  187. package/template/lib/react/node_modules/eslint/lib/rules/constructor-super.js +0 -446
  188. package/template/lib/react/node_modules/eslint/lib/rules/curly.js +0 -486
  189. package/template/lib/react/node_modules/eslint/lib/rules/default-case-last.js +0 -44
  190. package/template/lib/react/node_modules/eslint/lib/rules/default-case.js +0 -97
  191. package/template/lib/react/node_modules/eslint/lib/rules/default-param-last.js +0 -62
  192. package/template/lib/react/node_modules/eslint/lib/rules/dot-location.js +0 -108
  193. package/template/lib/react/node_modules/eslint/lib/rules/dot-notation.js +0 -176
  194. package/template/lib/react/node_modules/eslint/lib/rules/eol-last.js +0 -115
  195. package/template/lib/react/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
  196. package/template/lib/react/node_modules/eslint/lib/rules/for-direction.js +0 -140
  197. package/template/lib/react/node_modules/eslint/lib/rules/func-call-spacing.js +0 -233
  198. package/template/lib/react/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
  199. package/template/lib/react/node_modules/eslint/lib/rules/func-names.js +0 -191
  200. package/template/lib/react/node_modules/eslint/lib/rules/func-style.js +0 -98
  201. package/template/lib/react/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -125
  202. package/template/lib/react/node_modules/eslint/lib/rules/function-paren-newline.js +0 -292
  203. package/template/lib/react/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -209
  204. package/template/lib/react/node_modules/eslint/lib/rules/getter-return.js +0 -204
  205. package/template/lib/react/node_modules/eslint/lib/rules/global-require.js +0 -90
  206. package/template/lib/react/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -215
  207. package/template/lib/react/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
  208. package/template/lib/react/node_modules/eslint/lib/rules/handle-callback-err.js +0 -101
  209. package/template/lib/react/node_modules/eslint/lib/rules/id-blacklist.js +0 -246
  210. package/template/lib/react/node_modules/eslint/lib/rules/id-denylist.js +0 -228
  211. package/template/lib/react/node_modules/eslint/lib/rules/id-length.js +0 -177
  212. package/template/lib/react/node_modules/eslint/lib/rules/id-match.js +0 -299
  213. package/template/lib/react/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -84
  214. package/template/lib/react/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
  215. package/template/lib/react/node_modules/eslint/lib/rules/indent.js +0 -1803
  216. package/template/lib/react/node_modules/eslint/lib/rules/index.js +0 -306
  217. package/template/lib/react/node_modules/eslint/lib/rules/init-declarations.js +0 -139
  218. package/template/lib/react/node_modules/eslint/lib/rules/jsx-quotes.js +0 -98
  219. package/template/lib/react/node_modules/eslint/lib/rules/key-spacing.js +0 -687
  220. package/template/lib/react/node_modules/eslint/lib/rules/keyword-spacing.js +0 -640
  221. package/template/lib/react/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
  222. package/template/lib/react/node_modules/eslint/lib/rules/linebreak-style.js +0 -108
  223. package/template/lib/react/node_modules/eslint/lib/rules/lines-around-comment.js +0 -471
  224. package/template/lib/react/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
  225. package/template/lib/react/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -269
  226. package/template/lib/react/node_modules/eslint/lib/rules/logical-assignment-operators.js +0 -504
  227. package/template/lib/react/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
  228. package/template/lib/react/node_modules/eslint/lib/rules/max-depth.js +0 -156
  229. package/template/lib/react/node_modules/eslint/lib/rules/max-len.js +0 -440
  230. package/template/lib/react/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
  231. package/template/lib/react/node_modules/eslint/lib/rules/max-lines.js +0 -193
  232. package/template/lib/react/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
  233. package/template/lib/react/node_modules/eslint/lib/rules/max-params.js +0 -102
  234. package/template/lib/react/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -199
  235. package/template/lib/react/node_modules/eslint/lib/rules/max-statements.js +0 -184
  236. package/template/lib/react/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -474
  237. package/template/lib/react/node_modules/eslint/lib/rules/multiline-ternary.js +0 -174
  238. package/template/lib/react/node_modules/eslint/lib/rules/new-cap.js +0 -276
  239. package/template/lib/react/node_modules/eslint/lib/rules/new-parens.js +0 -93
  240. package/template/lib/react/node_modules/eslint/lib/rules/newline-after-var.js +0 -253
  241. package/template/lib/react/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
  242. package/template/lib/react/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -126
  243. package/template/lib/react/node_modules/eslint/lib/rules/no-alert.js +0 -138
  244. package/template/lib/react/node_modules/eslint/lib/rules/no-array-constructor.js +0 -133
  245. package/template/lib/react/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
  246. package/template/lib/react/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
  247. package/template/lib/react/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
  248. package/template/lib/react/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
  249. package/template/lib/react/node_modules/eslint/lib/rules/no-caller.js +0 -46
  250. package/template/lib/react/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
  251. package/template/lib/react/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -82
  252. package/template/lib/react/node_modules/eslint/lib/rules/no-class-assign.js +0 -63
  253. package/template/lib/react/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
  254. package/template/lib/react/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
  255. package/template/lib/react/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -92
  256. package/template/lib/react/node_modules/eslint/lib/rules/no-console.js +0 -207
  257. package/template/lib/react/node_modules/eslint/lib/rules/no-const-assign.js +0 -56
  258. package/template/lib/react/node_modules/eslint/lib/rules/no-constant-binary-expression.js +0 -509
  259. package/template/lib/react/node_modules/eslint/lib/rules/no-constant-condition.js +0 -150
  260. package/template/lib/react/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
  261. package/template/lib/react/node_modules/eslint/lib/rules/no-continue.js +0 -39
  262. package/template/lib/react/node_modules/eslint/lib/rules/no-control-regex.js +0 -138
  263. package/template/lib/react/node_modules/eslint/lib/rules/no-debugger.js +0 -43
  264. package/template/lib/react/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
  265. package/template/lib/react/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
  266. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-args.js +0 -82
  267. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
  268. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
  269. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
  270. package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
  271. package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
  272. package/template/lib/react/node_modules/eslint/lib/rules/no-else-return.js +0 -405
  273. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -76
  274. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
  275. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -78
  276. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-static-block.js +0 -47
  277. package/template/lib/react/node_modules/eslint/lib/rules/no-empty.js +0 -103
  278. package/template/lib/react/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
  279. package/template/lib/react/node_modules/eslint/lib/rules/no-eval.js +0 -286
  280. package/template/lib/react/node_modules/eslint/lib/rules/no-ex-assign.js +0 -54
  281. package/template/lib/react/node_modules/eslint/lib/rules/no-extend-native.js +0 -179
  282. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
  283. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
  284. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
  285. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1322
  286. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-semi.js +0 -147
  287. package/template/lib/react/node_modules/eslint/lib/rules/no-fallthrough.js +0 -196
  288. package/template/lib/react/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -73
  289. package/template/lib/react/node_modules/eslint/lib/rules/no-func-assign.js +0 -78
  290. package/template/lib/react/node_modules/eslint/lib/rules/no-global-assign.js +0 -95
  291. package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -380
  292. package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -146
  293. package/template/lib/react/node_modules/eslint/lib/rules/no-implied-eval.js +0 -132
  294. package/template/lib/react/node_modules/eslint/lib/rules/no-import-assign.js +0 -241
  295. package/template/lib/react/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
  296. package/template/lib/react/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
  297. package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -194
  298. package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
  299. package/template/lib/react/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -276
  300. package/template/lib/react/node_modules/eslint/lib/rules/no-iterator.js +0 -52
  301. package/template/lib/react/node_modules/eslint/lib/rules/no-label-var.js +0 -80
  302. package/template/lib/react/node_modules/eslint/lib/rules/no-labels.js +0 -149
  303. package/template/lib/react/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -136
  304. package/template/lib/react/node_modules/eslint/lib/rules/no-lonely-if.js +0 -88
  305. package/template/lib/react/node_modules/eslint/lib/rules/no-loop-func.js +0 -206
  306. package/template/lib/react/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -214
  307. package/template/lib/react/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -243
  308. package/template/lib/react/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -300
  309. package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -229
  310. package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
  311. package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -116
  312. package/template/lib/react/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
  313. package/template/lib/react/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -141
  314. package/template/lib/react/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
  315. package/template/lib/react/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -154
  316. package/template/lib/react/node_modules/eslint/lib/rules/no-native-reassign.js +0 -98
  317. package/template/lib/react/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
  318. package/template/lib/react/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
  319. package/template/lib/react/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
  320. package/template/lib/react/node_modules/eslint/lib/rules/no-new-func.js +0 -87
  321. package/template/lib/react/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +0 -66
  322. package/template/lib/react/node_modules/eslint/lib/rules/no-new-object.js +0 -67
  323. package/template/lib/react/node_modules/eslint/lib/rules/no-new-require.js +0 -50
  324. package/template/lib/react/node_modules/eslint/lib/rules/no-new-symbol.js +0 -56
  325. package/template/lib/react/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -60
  326. package/template/lib/react/node_modules/eslint/lib/rules/no-new.js +0 -43
  327. package/template/lib/react/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
  328. package/template/lib/react/node_modules/eslint/lib/rules/no-obj-calls.js +0 -86
  329. package/template/lib/react/node_modules/eslint/lib/rules/no-object-constructor.js +0 -117
  330. package/template/lib/react/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
  331. package/template/lib/react/node_modules/eslint/lib/rules/no-octal.js +0 -45
  332. package/template/lib/react/node_modules/eslint/lib/rules/no-param-reassign.js +0 -230
  333. package/template/lib/react/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
  334. package/template/lib/react/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
  335. package/template/lib/react/node_modules/eslint/lib/rules/no-process-env.js +0 -51
  336. package/template/lib/react/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
  337. package/template/lib/react/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -263
  338. package/template/lib/react/node_modules/eslint/lib/rules/no-proto.js +0 -48
  339. package/template/lib/react/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -159
  340. package/template/lib/react/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
  341. package/template/lib/react/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -197
  342. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -193
  343. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -124
  344. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -410
  345. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -213
  346. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -168
  347. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
  348. package/template/lib/react/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
  349. package/template/lib/react/node_modules/eslint/lib/rules/no-return-await.js +0 -135
  350. package/template/lib/react/node_modules/eslint/lib/rules/no-script-url.js +0 -61
  351. package/template/lib/react/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
  352. package/template/lib/react/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
  353. package/template/lib/react/node_modules/eslint/lib/rules/no-sequences.js +0 -138
  354. package/template/lib/react/node_modules/eslint/lib/rules/no-setter-return.js +0 -226
  355. package/template/lib/react/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -65
  356. package/template/lib/react/node_modules/eslint/lib/rules/no-shadow.js +0 -336
  357. package/template/lib/react/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
  358. package/template/lib/react/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
  359. package/template/lib/react/node_modules/eslint/lib/rules/no-sync.js +0 -64
  360. package/template/lib/react/node_modules/eslint/lib/rules/no-tabs.js +0 -81
  361. package/template/lib/react/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
  362. package/template/lib/react/node_modules/eslint/lib/rules/no-ternary.js +0 -41
  363. package/template/lib/react/node_modules/eslint/lib/rules/no-this-before-super.js +0 -331
  364. package/template/lib/react/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
  365. package/template/lib/react/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -193
  366. package/template/lib/react/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
  367. package/template/lib/react/node_modules/eslint/lib/rules/no-undef.js +0 -79
  368. package/template/lib/react/node_modules/eslint/lib/rules/no-undefined.js +0 -86
  369. package/template/lib/react/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -335
  370. package/template/lib/react/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
  371. package/template/lib/react/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
  372. package/template/lib/react/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
  373. package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -185
  374. package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable.js +0 -293
  375. package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
  376. package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
  377. package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
  378. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -186
  379. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-labels.js +0 -143
  380. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
  381. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-vars.js +0 -718
  382. package/template/lib/react/node_modules/eslint/lib/rules/no-use-before-define.js +0 -348
  383. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -194
  384. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
  385. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
  386. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
  387. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
  388. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
  389. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-escape.js +0 -333
  390. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
  391. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-return.js +0 -364
  392. package/template/lib/react/node_modules/eslint/lib/rules/no-var.js +0 -334
  393. package/template/lib/react/node_modules/eslint/lib/rules/no-void.js +0 -64
  394. package/template/lib/react/node_modules/eslint/lib/rules/no-warning-comments.js +0 -201
  395. package/template/lib/react/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -116
  396. package/template/lib/react/node_modules/eslint/lib/rules/no-with.js +0 -39
  397. package/template/lib/react/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -127
  398. package/template/lib/react/node_modules/eslint/lib/rules/object-curly-newline.js +0 -324
  399. package/template/lib/react/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -311
  400. package/template/lib/react/node_modules/eslint/lib/rules/object-property-newline.js +0 -102
  401. package/template/lib/react/node_modules/eslint/lib/rules/object-shorthand.js +0 -520
  402. package/template/lib/react/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -95
  403. package/template/lib/react/node_modules/eslint/lib/rules/one-var.js +0 -567
  404. package/template/lib/react/node_modules/eslint/lib/rules/operator-assignment.js +0 -209
  405. package/template/lib/react/node_modules/eslint/lib/rules/operator-linebreak.js +0 -253
  406. package/template/lib/react/node_modules/eslint/lib/rules/padded-blocks.js +0 -310
  407. package/template/lib/react/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -590
  408. package/template/lib/react/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -381
  409. package/template/lib/react/node_modules/eslint/lib/rules/prefer-const.js +0 -501
  410. package/template/lib/react/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
  411. package/template/lib/react/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -191
  412. package/template/lib/react/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -178
  413. package/template/lib/react/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
  414. package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -114
  415. package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -298
  416. package/template/lib/react/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -132
  417. package/template/lib/react/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
  418. package/template/lib/react/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -507
  419. package/template/lib/react/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -118
  420. package/template/lib/react/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
  421. package/template/lib/react/node_modules/eslint/lib/rules/prefer-template.js +0 -275
  422. package/template/lib/react/node_modules/eslint/lib/rules/quote-props.js +0 -310
  423. package/template/lib/react/node_modules/eslint/lib/rules/quotes.js +0 -350
  424. package/template/lib/react/node_modules/eslint/lib/rules/radix.js +0 -198
  425. package/template/lib/react/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -331
  426. package/template/lib/react/node_modules/eslint/lib/rules/require-await.js +0 -113
  427. package/template/lib/react/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
  428. package/template/lib/react/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -129
  429. package/template/lib/react/node_modules/eslint/lib/rules/require-yield.js +0 -77
  430. package/template/lib/react/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -123
  431. package/template/lib/react/node_modules/eslint/lib/rules/semi-spacing.js +0 -248
  432. package/template/lib/react/node_modules/eslint/lib/rules/semi-style.js +0 -158
  433. package/template/lib/react/node_modules/eslint/lib/rules/semi.js +0 -438
  434. package/template/lib/react/node_modules/eslint/lib/rules/sort-imports.js +0 -241
  435. package/template/lib/react/node_modules/eslint/lib/rules/sort-keys.js +0 -230
  436. package/template/lib/react/node_modules/eslint/lib/rules/sort-vars.js +0 -104
  437. package/template/lib/react/node_modules/eslint/lib/rules/space-before-blocks.js +0 -204
  438. package/template/lib/react/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -167
  439. package/template/lib/react/node_modules/eslint/lib/rules/space-in-parens.js +0 -285
  440. package/template/lib/react/node_modules/eslint/lib/rules/space-infix-ops.js +0 -198
  441. package/template/lib/react/node_modules/eslint/lib/rules/space-unary-ops.js +0 -324
  442. package/template/lib/react/node_modules/eslint/lib/rules/spaced-comment.js +0 -385
  443. package/template/lib/react/node_modules/eslint/lib/rules/strict.js +0 -277
  444. package/template/lib/react/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -132
  445. package/template/lib/react/node_modules/eslint/lib/rules/symbol-description.js +0 -73
  446. package/template/lib/react/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -144
  447. package/template/lib/react/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -93
  448. package/template/lib/react/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
  449. package/template/lib/react/node_modules/eslint/lib/rules/use-isnan.js +0 -141
  450. package/template/lib/react/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -2282
  451. package/template/lib/react/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
  452. package/template/lib/react/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
  453. package/template/lib/react/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
  454. package/template/lib/react/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
  455. package/template/lib/react/node_modules/eslint/lib/rules/utils/regular-expressions.js +0 -42
  456. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
  457. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
  458. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
  459. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
  460. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
  461. package/template/lib/react/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
  462. package/template/lib/react/node_modules/eslint/lib/rules/valid-typeof.js +0 -127
  463. package/template/lib/react/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
  464. package/template/lib/react/node_modules/eslint/lib/rules/wrap-iife.js +0 -207
  465. package/template/lib/react/node_modules/eslint/lib/rules/wrap-regex.js +0 -61
  466. package/template/lib/react/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -130
  467. package/template/lib/react/node_modules/eslint/lib/rules/yoda.js +0 -353
  468. package/template/lib/react/node_modules/eslint/lib/shared/ajv.js +0 -34
  469. package/template/lib/react/node_modules/eslint/lib/shared/ast-utils.js +0 -29
  470. package/template/lib/react/node_modules/eslint/lib/shared/config-validator.js +0 -347
  471. package/template/lib/react/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -58
  472. package/template/lib/react/node_modules/eslint/lib/shared/directives.js +0 -15
  473. package/template/lib/react/node_modules/eslint/lib/shared/logging.js +0 -30
  474. package/template/lib/react/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
  475. package/template/lib/react/node_modules/eslint/lib/shared/runtime-info.js +0 -167
  476. package/template/lib/react/node_modules/eslint/lib/shared/severity.js +0 -49
  477. package/template/lib/react/node_modules/eslint/lib/shared/string-utils.js +0 -60
  478. package/template/lib/react/node_modules/eslint/lib/shared/traverser.js +0 -195
  479. package/template/lib/react/node_modules/eslint/lib/shared/types.js +0 -216
  480. package/template/lib/react/node_modules/eslint/lib/source-code/index.js +0 -5
  481. package/template/lib/react/node_modules/eslint/lib/source-code/source-code.js +0 -1055
  482. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
  483. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
  484. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
  485. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
  486. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
  487. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
  488. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
  489. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
  490. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
  491. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
  492. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
  493. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
  494. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/utils.js +0 -107
  495. package/template/lib/react/node_modules/eslint/lib/unsupported-api.js +0 -30
  496. package/template/lib/react/node_modules/eslint/messages/all-files-ignored.js +0 -16
  497. package/template/lib/react/node_modules/eslint/messages/eslintrc-incompat.js +0 -98
  498. package/template/lib/react/node_modules/eslint/messages/eslintrc-plugins.js +0 -24
  499. package/template/lib/react/node_modules/eslint/messages/extend-config-missing.js +0 -13
  500. package/template/lib/react/node_modules/eslint/messages/failed-to-read-json.js +0 -11
  501. package/template/lib/react/node_modules/eslint/messages/file-not-found.js +0 -10
  502. package/template/lib/react/node_modules/eslint/messages/invalid-rule-options.js +0 -17
  503. package/template/lib/react/node_modules/eslint/messages/invalid-rule-severity.js +0 -13
  504. package/template/lib/react/node_modules/eslint/messages/no-config-found.js +0 -15
  505. package/template/lib/react/node_modules/eslint/messages/plugin-conflict.js +0 -22
  506. package/template/lib/react/node_modules/eslint/messages/plugin-invalid.js +0 -16
  507. package/template/lib/react/node_modules/eslint/messages/plugin-missing.js +0 -19
  508. package/template/lib/react/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
  509. package/template/lib/react/node_modules/eslint/messages/shared.js +0 -18
  510. package/template/lib/react/node_modules/eslint/messages/whitespace-found.js +0 -11
  511. package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint +0 -17
  512. package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.CMD +0 -12
  513. package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.ps1 +0 -41
  514. package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml +0 -17
  515. package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.CMD +0 -12
  516. package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +0 -41
  517. package/template/lib/react/node_modules/eslint/package.json +0 -179
  518. package/template/lib/react/node_modules/eslint-import-resolver-typescript/LICENSE +0 -5
  519. package/template/lib/react/node_modules/eslint-import-resolver-typescript/README.md +0 -232
  520. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.cjs +0 -278
  521. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +0 -20
  522. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +0 -251
  523. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js +0 -252
  524. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js.map +0 -1
  525. package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +0 -17
  526. package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +0 -12
  527. package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +0 -41
  528. package/template/lib/react/node_modules/eslint-import-resolver-typescript/package.json +0 -108
  529. package/template/lib/react/node_modules/eslint-import-resolver-typescript/shim.d.ts +0 -4
  530. package/template/lib/react/node_modules/eslint-plugin-import/CHANGELOG.md +0 -1925
  531. package/template/lib/react/node_modules/eslint-plugin-import/CONTRIBUTING.md +0 -84
  532. package/template/lib/react/node_modules/eslint-plugin-import/LICENSE +0 -22
  533. package/template/lib/react/node_modules/eslint-plugin-import/README.md +0 -500
  534. package/template/lib/react/node_modules/eslint-plugin-import/RELEASE.md +0 -54
  535. package/template/lib/react/node_modules/eslint-plugin-import/SECURITY.md +0 -11
  536. package/template/lib/react/node_modules/eslint-plugin-import/config/electron.js +0 -8
  537. package/template/lib/react/node_modules/eslint-plugin-import/config/errors.js +0 -14
  538. package/template/lib/react/node_modules/eslint-plugin-import/config/react-native.js +0 -13
  539. package/template/lib/react/node_modules/eslint-plugin-import/config/react.js +0 -18
  540. package/template/lib/react/node_modules/eslint-plugin-import/config/recommended.js +0 -28
  541. package/template/lib/react/node_modules/eslint-plugin-import/config/stage-0.js +0 -12
  542. package/template/lib/react/node_modules/eslint-plugin-import/config/typescript.js +0 -34
  543. package/template/lib/react/node_modules/eslint-plugin-import/config/warnings.js +0 -12
  544. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +0 -91
  545. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/default.md +0 -72
  546. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +0 -92
  547. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/export.md +0 -37
  548. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/exports-last.md +0 -51
  549. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/extensions.md +0 -174
  550. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/first.md +0 -75
  551. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/group-exports.md +0 -118
  552. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/imports-first.md +0 -9
  553. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +0 -70
  554. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/named.md +0 -102
  555. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/namespace.md +0 -106
  556. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +0 -167
  557. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +0 -54
  558. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-amd.md +0 -37
  559. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +0 -83
  560. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +0 -96
  561. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +0 -111
  562. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +0 -65
  563. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +0 -62
  564. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +0 -109
  565. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +0 -25
  566. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +0 -49
  567. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +0 -139
  568. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +0 -81
  569. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +0 -136
  570. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +0 -54
  571. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +0 -52
  572. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +0 -53
  573. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +0 -36
  574. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +0 -79
  575. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +0 -44
  576. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +0 -42
  577. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +0 -70
  578. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +0 -123
  579. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +0 -198
  580. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +0 -32
  581. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +0 -60
  582. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +0 -110
  583. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +0 -125
  584. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +0 -85
  585. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +0 -39
  586. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/order.md +0 -365
  587. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +0 -185
  588. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +0 -57
  589. package/template/lib/react/node_modules/eslint-plugin-import/lib/ExportMap.js +0 -856
  590. package/template/lib/react/node_modules/eslint-plugin-import/lib/core/importType.js +0 -129
  591. package/template/lib/react/node_modules/eslint-plugin-import/lib/core/packagePath.js +0 -22
  592. package/template/lib/react/node_modules/eslint-plugin-import/lib/core/staticRequire.js +0 -11
  593. package/template/lib/react/node_modules/eslint-plugin-import/lib/docsUrl.js +0 -8
  594. package/template/lib/react/node_modules/eslint-plugin-import/lib/importDeclaration.js +0 -5
  595. package/template/lib/react/node_modules/eslint-plugin-import/lib/index.js +0 -71
  596. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +0 -221
  597. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/default.js +0 -40
  598. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +0 -120
  599. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/export.js +0 -250
  600. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/exports-last.js +0 -40
  601. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/extensions.js +0 -193
  602. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/first.js +0 -144
  603. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/group-exports.js +0 -155
  604. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/imports-first.js +0 -16
  605. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +0 -60
  606. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/named.js +0 -143
  607. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/namespace.js +0 -218
  608. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +0 -237
  609. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +0 -40
  610. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-amd.js +0 -47
  611. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +0 -103
  612. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +0 -141
  613. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +0 -158
  614. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +0 -43
  615. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +0 -138
  616. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +0 -354
  617. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +0 -77
  618. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +0 -105
  619. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +0 -301
  620. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +0 -85
  621. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +0 -144
  622. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +0 -59
  623. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +0 -96
  624. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +0 -45
  625. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +0 -31
  626. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +0 -39
  627. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +0 -175
  628. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +0 -44
  629. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +0 -71
  630. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +0 -48
  631. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +0 -245
  632. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +0 -39
  633. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +0 -79
  634. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +0 -60
  635. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +0 -945
  636. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +0 -147
  637. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +0 -26
  638. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/order.js +0 -785
  639. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +0 -116
  640. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +0 -38
  641. package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/LICENSE +0 -22
  642. package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/README.md +0 -21
  643. package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/index.js +0 -41
  644. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint +0 -17
  645. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +0 -12
  646. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +0 -41
  647. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver +0 -17
  648. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +0 -12
  649. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +0 -41
  650. package/template/lib/react/node_modules/eslint-plugin-import/package.json +0 -124
  651. package/template/lib/react/node_modules/eslint-plugin-prettier/LICENSE.md +0 -24
  652. package/template/lib/react/node_modules/eslint-plugin-prettier/README.md +0 -202
  653. package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +0 -5
  654. package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +0 -254
  655. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +0 -17
  656. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +0 -17
  657. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +0 -12
  658. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +0 -41
  659. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +0 -12
  660. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +0 -41
  661. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +0 -17
  662. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +0 -12
  663. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +0 -41
  664. package/template/lib/react/node_modules/eslint-plugin-prettier/package.json +0 -101
  665. package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.d.ts +0 -5
  666. package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.js +0 -17
  667. package/template/lib/react/node_modules/eslint-plugin-prettier/worker.js +0 -181
  668. package/template/lib/react/node_modules/eslint-plugin-react/LICENSE +0 -22
  669. package/template/lib/react/node_modules/eslint-plugin-react/README.md +0 -420
  670. package/template/lib/react/node_modules/eslint-plugin-react/configs/all.js +0 -39
  671. package/template/lib/react/node_modules/eslint-plugin-react/configs/jsx-runtime.js +0 -18
  672. package/template/lib/react/node_modules/eslint-plugin-react/configs/recommended.js +0 -34
  673. package/template/lib/react/node_modules/eslint-plugin-react/index.js +0 -31
  674. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.js +0 -400
  675. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/button-has-type.js +0 -163
  676. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.js +0 -108
  677. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.js +0 -280
  678. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/display-name.js +0 -283
  679. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js +0 -134
  680. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.js +0 -121
  681. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-elements.js +0 -114
  682. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js +0 -134
  683. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.js +0 -293
  684. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/function-component-definition.js +0 -284
  685. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/hook-use-state.js +0 -203
  686. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.js +0 -142
  687. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/index.js +0 -106
  688. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.js +0 -159
  689. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.js +0 -116
  690. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js +0 -308
  691. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.js +0 -73
  692. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js +0 -414
  693. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.js +0 -184
  694. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.js +0 -430
  695. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.js +0 -110
  696. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.js +0 -110
  697. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js +0 -80
  698. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js +0 -209
  699. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.js +0 -171
  700. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js +0 -213
  701. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent.js +0 -441
  702. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-key.js +0 -293
  703. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js +0 -162
  704. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.js +0 -154
  705. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-newline.js +0 -168
  706. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js +0 -208
  707. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js +0 -64
  708. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js +0 -225
  709. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js +0 -76
  710. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.js +0 -186
  711. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.js +0 -195
  712. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.js +0 -97
  713. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.js +0 -283
  714. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.js +0 -115
  715. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js +0 -257
  716. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js +0 -233
  717. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js +0 -163
  718. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js +0 -134
  719. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.js +0 -141
  720. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.js +0 -188
  721. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js +0 -530
  722. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js +0 -96
  723. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js +0 -323
  724. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-react.js +0 -46
  725. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-vars.js +0 -60
  726. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.js +0 -260
  727. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.js +0 -187
  728. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js +0 -125
  729. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.js +0 -288
  730. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.js +0 -144
  731. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js +0 -119
  732. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js +0 -155
  733. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger.js +0 -74
  734. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js +0 -258
  735. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.js +0 -10
  736. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js +0 -10
  737. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.js +0 -154
  738. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.js +0 -50
  739. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.js +0 -639
  740. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js +0 -55
  741. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.js +0 -80
  742. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-namespace.js +0 -61
  743. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.js +0 -103
  744. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.js +0 -87
  745. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.js +0 -81
  746. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-set-state.js +0 -88
  747. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-string-refs.js +0 -119
  748. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.js +0 -46
  749. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-typos.js +0 -257
  750. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.js +0 -133
  751. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.js +0 -609
  752. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unsafe.js +0 -153
  753. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unstable-nested-components.js +0 -491
  754. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-class-component-methods.js +0 -257
  755. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-prop-types.js +0 -173
  756. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-state.js +0 -522
  757. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-will-update-set-state.js +0 -14
  758. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-es6-class.js +0 -57
  759. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-exact-props.js +0 -161
  760. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-read-only-props.js +0 -116
  761. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-stateless-function.js +0 -390
  762. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prop-types.js +0 -201
  763. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/react-in-jsx-scope.js +0 -56
  764. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-default-props.js +0 -193
  765. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-optimization.js +0 -239
  766. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-render-return.js +0 -104
  767. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/self-closing-comp.js +0 -103
  768. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-comp.js +0 -446
  769. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-default-props.js +0 -174
  770. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-prop-types.js +0 -266
  771. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/state-in-constructor.js +0 -67
  772. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/static-property-placement.js +0 -187
  773. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/style-prop-object.js +0 -137
  774. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/void-dom-elements-no-children.js +0 -165
  775. package/template/lib/react/node_modules/eslint-plugin-react/lib/types.d.ts +0 -28
  776. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/Components.js +0 -946
  777. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/annotations.js +0 -32
  778. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/ast.js +0 -461
  779. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/componentUtil.js +0 -182
  780. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/defaultProps.js +0 -268
  781. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/docsUrl.js +0 -7
  782. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/error.js +0 -14
  783. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js +0 -16
  784. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateContext.js +0 -53
  785. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateElement.js +0 -33
  786. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isDestructuredFromPragmaImport.js +0 -79
  787. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isFirstLetterCapitalized.js +0 -16
  788. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/jsx.js +0 -196
  789. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/lifecycleMethods.js +0 -30
  790. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/linkComponents.js +0 -49
  791. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/log.js +0 -14
  792. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js +0 -119
  793. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/message.js +0 -8
  794. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/pragma.js +0 -72
  795. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypes.js +0 -1248
  796. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypesSort.js +0 -211
  797. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propWrapper.js +0 -61
  798. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/props.js +0 -103
  799. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/report.js +0 -12
  800. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/usedPropTypes.js +0 -569
  801. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/variable.js +0 -94
  802. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/version.js +0 -161
  803. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint +0 -17
  804. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.CMD +0 -12
  805. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.ps1 +0 -41
  806. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve +0 -17
  807. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.CMD +0 -12
  808. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.ps1 +0 -41
  809. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver +0 -17
  810. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.CMD +0 -12
  811. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.ps1 +0 -41
  812. package/template/lib/react/node_modules/eslint-plugin-react/package.json +0 -106
  813. package/template/lib/react/node_modules/eslint-plugin-react-hooks/LICENSE +0 -21
  814. package/template/lib/react/node_modules/eslint-plugin-react-hooks/README.md +0 -75
  815. package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js +0 -2458
  816. package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.min.js +0 -63
  817. package/template/lib/react/node_modules/eslint-plugin-react-hooks/index.js +0 -9
  818. package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint +0 -17
  819. package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.CMD +0 -12
  820. package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.ps1 +0 -41
  821. package/template/lib/react/node_modules/eslint-plugin-react-hooks/package.json +0 -39
  822. package/template/lib/react/node_modules/prettier/LICENSE +0 -4857
  823. package/template/lib/react/node_modules/prettier/README.md +0 -109
  824. package/template/lib/react/node_modules/prettier/bin/prettier.cjs +0 -68
  825. package/template/lib/react/node_modules/prettier/doc.d.ts +0 -243
  826. package/template/lib/react/node_modules/prettier/doc.js +0 -1328
  827. package/template/lib/react/node_modules/prettier/doc.mjs +0 -1300
  828. package/template/lib/react/node_modules/prettier/index.cjs +0 -648
  829. package/template/lib/react/node_modules/prettier/index.d.ts +0 -940
  830. package/template/lib/react/node_modules/prettier/index.mjs +0 -24255
  831. package/template/lib/react/node_modules/prettier/internal/cli.mjs +0 -7089
  832. package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier +0 -17
  833. package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.CMD +0 -12
  834. package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.ps1 +0 -41
  835. package/template/lib/react/node_modules/prettier/package.json +0 -198
  836. package/template/lib/react/node_modules/prettier/plugins/acorn.d.ts +0 -6
  837. package/template/lib/react/node_modules/prettier/plugins/acorn.js +0 -13
  838. package/template/lib/react/node_modules/prettier/plugins/acorn.mjs +0 -13
  839. package/template/lib/react/node_modules/prettier/plugins/angular.d.ts +0 -8
  840. package/template/lib/react/node_modules/prettier/plugins/angular.js +0 -1
  841. package/template/lib/react/node_modules/prettier/plugins/angular.mjs +0 -1
  842. package/template/lib/react/node_modules/prettier/plugins/babel.d.ts +0 -18
  843. package/template/lib/react/node_modules/prettier/plugins/babel.js +0 -16
  844. package/template/lib/react/node_modules/prettier/plugins/babel.mjs +0 -16
  845. package/template/lib/react/node_modules/prettier/plugins/estree.d.ts +0 -1
  846. package/template/lib/react/node_modules/prettier/plugins/estree.js +0 -36
  847. package/template/lib/react/node_modules/prettier/plugins/estree.mjs +0 -36
  848. package/template/lib/react/node_modules/prettier/plugins/flow.d.ts +0 -5
  849. package/template/lib/react/node_modules/prettier/plugins/flow.js +0 -21
  850. package/template/lib/react/node_modules/prettier/plugins/flow.mjs +0 -21
  851. package/template/lib/react/node_modules/prettier/plugins/glimmer.d.ts +0 -5
  852. package/template/lib/react/node_modules/prettier/plugins/glimmer.js +0 -30
  853. package/template/lib/react/node_modules/prettier/plugins/glimmer.mjs +0 -30
  854. package/template/lib/react/node_modules/prettier/plugins/graphql.d.ts +0 -5
  855. package/template/lib/react/node_modules/prettier/plugins/graphql.js +0 -29
  856. package/template/lib/react/node_modules/prettier/plugins/graphql.mjs +0 -29
  857. package/template/lib/react/node_modules/prettier/plugins/html.d.ts +0 -8
  858. package/template/lib/react/node_modules/prettier/plugins/html.js +0 -19
  859. package/template/lib/react/node_modules/prettier/plugins/html.mjs +0 -19
  860. package/template/lib/react/node_modules/prettier/plugins/markdown.d.ts +0 -7
  861. package/template/lib/react/node_modules/prettier/plugins/markdown.js +0 -59
  862. package/template/lib/react/node_modules/prettier/plugins/markdown.mjs +0 -59
  863. package/template/lib/react/node_modules/prettier/plugins/meriyah.d.ts +0 -5
  864. package/template/lib/react/node_modules/prettier/plugins/meriyah.js +0 -5
  865. package/template/lib/react/node_modules/prettier/plugins/meriyah.mjs +0 -5
  866. package/template/lib/react/node_modules/prettier/plugins/postcss.d.ts +0 -7
  867. package/template/lib/react/node_modules/prettier/plugins/postcss.js +0 -49
  868. package/template/lib/react/node_modules/prettier/plugins/postcss.mjs +0 -49
  869. package/template/lib/react/node_modules/prettier/plugins/typescript.d.ts +0 -5
  870. package/template/lib/react/node_modules/prettier/plugins/typescript.js +0 -25
  871. package/template/lib/react/node_modules/prettier/plugins/typescript.mjs +0 -25
  872. package/template/lib/react/node_modules/prettier/plugins/yaml.d.ts +0 -5
  873. package/template/lib/react/node_modules/prettier/plugins/yaml.js +0 -161
  874. package/template/lib/react/node_modules/prettier/plugins/yaml.mjs +0 -161
  875. package/template/lib/react/node_modules/prettier/standalone.d.ts +0 -33
  876. package/template/lib/react/node_modules/prettier/standalone.js +0 -34
  877. package/template/lib/react/node_modules/prettier/standalone.mjs +0 -34
  878. package/template/lib/react/node_modules/prop-types/LICENSE +0 -21
  879. package/template/lib/react/node_modules/prop-types/README.md +0 -302
  880. package/template/lib/react/node_modules/prop-types/checkPropTypes.js +0 -103
  881. package/template/lib/react/node_modules/prop-types/factory.js +0 -19
  882. package/template/lib/react/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
  883. package/template/lib/react/node_modules/prop-types/factoryWithTypeCheckers.js +0 -610
  884. package/template/lib/react/node_modules/prop-types/index.js +0 -19
  885. package/template/lib/react/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
  886. package/template/lib/react/node_modules/prop-types/lib/has.js +0 -1
  887. package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify +0 -17
  888. package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.CMD +0 -12
  889. package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.ps1 +0 -41
  890. package/template/lib/react/node_modules/prop-types/package.json +0 -60
  891. package/template/lib/react/node_modules/prop-types/prop-types.js +0 -1315
  892. package/template/lib/react/node_modules/prop-types/prop-types.min.js +0 -1
  893. package/template/lib/react/node_modules/react/LICENSE +0 -21
  894. package/template/lib/react/node_modules/react/README.md +0 -37
  895. package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1296
  896. package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -10
  897. package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -10
  898. package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1314
  899. package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -11
  900. package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -11
  901. package/template/lib/react/node_modules/react/cjs/react.development.js +0 -2739
  902. package/template/lib/react/node_modules/react/cjs/react.production.min.js +0 -26
  903. package/template/lib/react/node_modules/react/cjs/react.shared-subset.development.js +0 -20
  904. package/template/lib/react/node_modules/react/cjs/react.shared-subset.production.min.js +0 -10
  905. package/template/lib/react/node_modules/react/index.js +0 -7
  906. package/template/lib/react/node_modules/react/jsx-dev-runtime.js +0 -7
  907. package/template/lib/react/node_modules/react/jsx-runtime.js +0 -7
  908. package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify +0 -17
  909. package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.CMD +0 -12
  910. package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.ps1 +0 -41
  911. package/template/lib/react/node_modules/react/package.json +0 -47
  912. package/template/lib/react/node_modules/react/react.shared-subset.js +0 -7
  913. package/template/lib/react/node_modules/react/umd/react.development.js +0 -3342
  914. package/template/lib/react/node_modules/react/umd/react.production.min.js +0 -31
  915. package/template/lib/react/node_modules/react/umd/react.profiling.min.js +0 -31
  916. package/template/lib/react/node_modules/react-dom/LICENSE +0 -21
  917. package/template/lib/react/node_modules/react-dom/README.md +0 -60
  918. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -7018
  919. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -93
  920. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +0 -7078
  921. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +0 -101
  922. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -7003
  923. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -96
  924. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +0 -7059
  925. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +0 -102
  926. package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +0 -1741
  927. package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +0 -40
  928. package/template/lib/react/node_modules/react-dom/cjs/react-dom.development.js +0 -29868
  929. package/template/lib/react/node_modules/react-dom/cjs/react-dom.production.min.js +0 -323
  930. package/template/lib/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +0 -367
  931. package/template/lib/react/node_modules/react-dom/client.js +0 -25
  932. package/template/lib/react/node_modules/react-dom/index.js +0 -38
  933. package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify +0 -17
  934. package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.CMD +0 -12
  935. package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.ps1 +0 -41
  936. package/template/lib/react/node_modules/react-dom/package.json +0 -62
  937. package/template/lib/react/node_modules/react-dom/profiling.js +0 -38
  938. package/template/lib/react/node_modules/react-dom/server.browser.js +0 -17
  939. package/template/lib/react/node_modules/react-dom/server.js +0 -3
  940. package/template/lib/react/node_modules/react-dom/server.node.js +0 -17
  941. package/template/lib/react/node_modules/react-dom/test-utils.js +0 -7
  942. package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +0 -7015
  943. package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +0 -75
  944. package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +0 -7000
  945. package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +0 -76
  946. package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +0 -1737
  947. package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +0 -33
  948. package/template/lib/react/node_modules/react-dom/umd/react-dom.development.js +0 -29869
  949. package/template/lib/react/node_modules/react-dom/umd/react-dom.production.min.js +0 -267
  950. package/template/lib/react/node_modules/react-dom/umd/react-dom.profiling.min.js +0 -285
  951. package/template/lib/react/node_modules/stylelint-config-standard-scss/LICENSE +0 -21
  952. package/template/lib/react/node_modules/stylelint-config-standard-scss/README.md +0 -50
  953. package/template/lib/react/node_modules/stylelint-config-standard-scss/index.js +0 -67
  954. package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +0 -17
  955. package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +0 -12
  956. package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +0 -41
  957. package/template/lib/react/node_modules/stylelint-config-standard-scss/package.json +0 -58
  958. package/template/lib/ts/node_modules/.bin/acorn +0 -17
  959. package/template/lib/ts/node_modules/.bin/acorn.CMD +0 -12
  960. package/template/lib/ts/node_modules/.bin/acorn.ps1 +0 -41
  961. package/template/lib/ts/node_modules/.bin/eslint +0 -17
  962. package/template/lib/ts/node_modules/.bin/eslint.CMD +0 -12
  963. package/template/lib/ts/node_modules/.bin/eslint.ps1 +0 -41
  964. package/template/lib/ts/node_modules/.bin/prettier +0 -17
  965. package/template/lib/ts/node_modules/.bin/prettier.CMD +0 -12
  966. package/template/lib/ts/node_modules/.bin/prettier.ps1 +0 -41
  967. package/template/lib/ts/node_modules/.bin/stylelint +0 -17
  968. package/template/lib/ts/node_modules/.bin/stylelint.CMD +0 -12
  969. package/template/lib/ts/node_modules/.bin/stylelint.ps1 +0 -41
  970. package/template/lib/ts/node_modules/.bin/tsc +0 -17
  971. package/template/lib/ts/node_modules/.bin/tsc.CMD +0 -12
  972. package/template/lib/ts/node_modules/.bin/tsc.ps1 +0 -41
  973. package/template/lib/ts/node_modules/.bin/tsserver +0 -17
  974. package/template/lib/ts/node_modules/.bin/tsserver.CMD +0 -12
  975. package/template/lib/ts/node_modules/.bin/tsserver.ps1 +0 -41
  976. package/template/lib/ts/node_modules/.bin/vitest +0 -17
  977. package/template/lib/ts/node_modules/.bin/vitest.CMD +0 -12
  978. package/template/lib/ts/node_modules/.bin/vitest.ps1 +0 -41
  979. package/template/lib/ts/node_modules/eslint/LICENSE +0 -19
  980. package/template/lib/ts/node_modules/eslint/README.md +0 -304
  981. package/template/lib/ts/node_modules/eslint/bin/eslint.js +0 -173
  982. package/template/lib/ts/node_modules/eslint/conf/config-schema.js +0 -93
  983. package/template/lib/ts/node_modules/eslint/conf/default-cli-options.js +0 -32
  984. package/template/lib/ts/node_modules/eslint/conf/globals.js +0 -154
  985. package/template/lib/ts/node_modules/eslint/conf/replacements.json +0 -22
  986. package/template/lib/ts/node_modules/eslint/conf/rule-type-list.json +0 -28
  987. package/template/lib/ts/node_modules/eslint/lib/api.js +0 -26
  988. package/template/lib/ts/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1078
  989. package/template/lib/ts/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -547
  990. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
  991. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
  992. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +0 -46
  993. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -351
  994. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
  995. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
  996. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
  997. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
  998. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
  999. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
  1000. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
  1001. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
  1002. package/template/lib/ts/node_modules/eslint/lib/cli-engine/hash.js +0 -35
  1003. package/template/lib/ts/node_modules/eslint/lib/cli-engine/index.js +0 -7
  1004. package/template/lib/ts/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -203
  1005. package/template/lib/ts/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
  1006. package/template/lib/ts/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
  1007. package/template/lib/ts/node_modules/eslint/lib/cli.js +0 -471
  1008. package/template/lib/ts/node_modules/eslint/lib/config/default-config.js +0 -67
  1009. package/template/lib/ts/node_modules/eslint/lib/config/flat-config-array.js +0 -274
  1010. package/template/lib/ts/node_modules/eslint/lib/config/flat-config-helpers.js +0 -111
  1011. package/template/lib/ts/node_modules/eslint/lib/config/flat-config-schema.js +0 -583
  1012. package/template/lib/ts/node_modules/eslint/lib/config/rule-validator.js +0 -158
  1013. package/template/lib/ts/node_modules/eslint/lib/eslint/eslint-helpers.js +0 -902
  1014. package/template/lib/ts/node_modules/eslint/lib/eslint/eslint.js +0 -700
  1015. package/template/lib/ts/node_modules/eslint/lib/eslint/flat-eslint.js +0 -1142
  1016. package/template/lib/ts/node_modules/eslint/lib/eslint/index.js +0 -9
  1017. package/template/lib/ts/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -465
  1018. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -852
  1019. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -263
  1020. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -2348
  1021. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -342
  1022. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
  1023. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -349
  1024. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
  1025. package/template/lib/ts/node_modules/eslint/lib/linter/config-comment-parser.js +0 -185
  1026. package/template/lib/ts/node_modules/eslint/lib/linter/index.js +0 -13
  1027. package/template/lib/ts/node_modules/eslint/lib/linter/interpolate.js +0 -28
  1028. package/template/lib/ts/node_modules/eslint/lib/linter/linter.js +0 -2119
  1029. package/template/lib/ts/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
  1030. package/template/lib/ts/node_modules/eslint/lib/linter/report-translator.js +0 -369
  1031. package/template/lib/ts/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
  1032. package/template/lib/ts/node_modules/eslint/lib/linter/rules.js +0 -80
  1033. package/template/lib/ts/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
  1034. package/template/lib/ts/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
  1035. package/template/lib/ts/node_modules/eslint/lib/linter/timing.js +0 -161
  1036. package/template/lib/ts/node_modules/eslint/lib/options.js +0 -398
  1037. package/template/lib/ts/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1122
  1038. package/template/lib/ts/node_modules/eslint/lib/rule-tester/index.js +0 -5
  1039. package/template/lib/ts/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1206
  1040. package/template/lib/ts/node_modules/eslint/lib/rules/accessor-pairs.js +0 -346
  1041. package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -261
  1042. package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -244
  1043. package/template/lib/ts/node_modules/eslint/lib/rules/array-callback-return.js +0 -446
  1044. package/template/lib/ts/node_modules/eslint/lib/rules/array-element-newline.js +0 -311
  1045. package/template/lib/ts/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
  1046. package/template/lib/ts/node_modules/eslint/lib/rules/arrow-parens.js +0 -186
  1047. package/template/lib/ts/node_modules/eslint/lib/rules/arrow-spacing.js +0 -164
  1048. package/template/lib/ts/node_modules/eslint/lib/rules/block-scoped-var.js +0 -135
  1049. package/template/lib/ts/node_modules/eslint/lib/rules/block-spacing.js +0 -174
  1050. package/template/lib/ts/node_modules/eslint/lib/rules/brace-style.js +0 -197
  1051. package/template/lib/ts/node_modules/eslint/lib/rules/callback-return.js +0 -187
  1052. package/template/lib/ts/node_modules/eslint/lib/rules/camelcase.js +0 -399
  1053. package/template/lib/ts/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
  1054. package/template/lib/ts/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
  1055. package/template/lib/ts/node_modules/eslint/lib/rules/comma-dangle.js +0 -373
  1056. package/template/lib/ts/node_modules/eslint/lib/rules/comma-spacing.js +0 -192
  1057. package/template/lib/ts/node_modules/eslint/lib/rules/comma-style.js +0 -314
  1058. package/template/lib/ts/node_modules/eslint/lib/rules/complexity.js +0 -165
  1059. package/template/lib/ts/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -208
  1060. package/template/lib/ts/node_modules/eslint/lib/rules/consistent-return.js +0 -210
  1061. package/template/lib/ts/node_modules/eslint/lib/rules/consistent-this.js +0 -153
  1062. package/template/lib/ts/node_modules/eslint/lib/rules/constructor-super.js +0 -446
  1063. package/template/lib/ts/node_modules/eslint/lib/rules/curly.js +0 -486
  1064. package/template/lib/ts/node_modules/eslint/lib/rules/default-case-last.js +0 -44
  1065. package/template/lib/ts/node_modules/eslint/lib/rules/default-case.js +0 -97
  1066. package/template/lib/ts/node_modules/eslint/lib/rules/default-param-last.js +0 -62
  1067. package/template/lib/ts/node_modules/eslint/lib/rules/dot-location.js +0 -108
  1068. package/template/lib/ts/node_modules/eslint/lib/rules/dot-notation.js +0 -176
  1069. package/template/lib/ts/node_modules/eslint/lib/rules/eol-last.js +0 -115
  1070. package/template/lib/ts/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
  1071. package/template/lib/ts/node_modules/eslint/lib/rules/for-direction.js +0 -140
  1072. package/template/lib/ts/node_modules/eslint/lib/rules/func-call-spacing.js +0 -233
  1073. package/template/lib/ts/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
  1074. package/template/lib/ts/node_modules/eslint/lib/rules/func-names.js +0 -191
  1075. package/template/lib/ts/node_modules/eslint/lib/rules/func-style.js +0 -98
  1076. package/template/lib/ts/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -125
  1077. package/template/lib/ts/node_modules/eslint/lib/rules/function-paren-newline.js +0 -292
  1078. package/template/lib/ts/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -209
  1079. package/template/lib/ts/node_modules/eslint/lib/rules/getter-return.js +0 -204
  1080. package/template/lib/ts/node_modules/eslint/lib/rules/global-require.js +0 -90
  1081. package/template/lib/ts/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -215
  1082. package/template/lib/ts/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
  1083. package/template/lib/ts/node_modules/eslint/lib/rules/handle-callback-err.js +0 -101
  1084. package/template/lib/ts/node_modules/eslint/lib/rules/id-blacklist.js +0 -246
  1085. package/template/lib/ts/node_modules/eslint/lib/rules/id-denylist.js +0 -228
  1086. package/template/lib/ts/node_modules/eslint/lib/rules/id-length.js +0 -177
  1087. package/template/lib/ts/node_modules/eslint/lib/rules/id-match.js +0 -299
  1088. package/template/lib/ts/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -84
  1089. package/template/lib/ts/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
  1090. package/template/lib/ts/node_modules/eslint/lib/rules/indent.js +0 -1803
  1091. package/template/lib/ts/node_modules/eslint/lib/rules/index.js +0 -306
  1092. package/template/lib/ts/node_modules/eslint/lib/rules/init-declarations.js +0 -139
  1093. package/template/lib/ts/node_modules/eslint/lib/rules/jsx-quotes.js +0 -98
  1094. package/template/lib/ts/node_modules/eslint/lib/rules/key-spacing.js +0 -687
  1095. package/template/lib/ts/node_modules/eslint/lib/rules/keyword-spacing.js +0 -640
  1096. package/template/lib/ts/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
  1097. package/template/lib/ts/node_modules/eslint/lib/rules/linebreak-style.js +0 -108
  1098. package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-comment.js +0 -471
  1099. package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
  1100. package/template/lib/ts/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -269
  1101. package/template/lib/ts/node_modules/eslint/lib/rules/logical-assignment-operators.js +0 -504
  1102. package/template/lib/ts/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
  1103. package/template/lib/ts/node_modules/eslint/lib/rules/max-depth.js +0 -156
  1104. package/template/lib/ts/node_modules/eslint/lib/rules/max-len.js +0 -440
  1105. package/template/lib/ts/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
  1106. package/template/lib/ts/node_modules/eslint/lib/rules/max-lines.js +0 -193
  1107. package/template/lib/ts/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
  1108. package/template/lib/ts/node_modules/eslint/lib/rules/max-params.js +0 -102
  1109. package/template/lib/ts/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -199
  1110. package/template/lib/ts/node_modules/eslint/lib/rules/max-statements.js +0 -184
  1111. package/template/lib/ts/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -474
  1112. package/template/lib/ts/node_modules/eslint/lib/rules/multiline-ternary.js +0 -174
  1113. package/template/lib/ts/node_modules/eslint/lib/rules/new-cap.js +0 -276
  1114. package/template/lib/ts/node_modules/eslint/lib/rules/new-parens.js +0 -93
  1115. package/template/lib/ts/node_modules/eslint/lib/rules/newline-after-var.js +0 -253
  1116. package/template/lib/ts/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
  1117. package/template/lib/ts/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -126
  1118. package/template/lib/ts/node_modules/eslint/lib/rules/no-alert.js +0 -138
  1119. package/template/lib/ts/node_modules/eslint/lib/rules/no-array-constructor.js +0 -133
  1120. package/template/lib/ts/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
  1121. package/template/lib/ts/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
  1122. package/template/lib/ts/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
  1123. package/template/lib/ts/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
  1124. package/template/lib/ts/node_modules/eslint/lib/rules/no-caller.js +0 -46
  1125. package/template/lib/ts/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
  1126. package/template/lib/ts/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -82
  1127. package/template/lib/ts/node_modules/eslint/lib/rules/no-class-assign.js +0 -63
  1128. package/template/lib/ts/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
  1129. package/template/lib/ts/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
  1130. package/template/lib/ts/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -92
  1131. package/template/lib/ts/node_modules/eslint/lib/rules/no-console.js +0 -207
  1132. package/template/lib/ts/node_modules/eslint/lib/rules/no-const-assign.js +0 -56
  1133. package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-binary-expression.js +0 -509
  1134. package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-condition.js +0 -150
  1135. package/template/lib/ts/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
  1136. package/template/lib/ts/node_modules/eslint/lib/rules/no-continue.js +0 -39
  1137. package/template/lib/ts/node_modules/eslint/lib/rules/no-control-regex.js +0 -138
  1138. package/template/lib/ts/node_modules/eslint/lib/rules/no-debugger.js +0 -43
  1139. package/template/lib/ts/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
  1140. package/template/lib/ts/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
  1141. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-args.js +0 -82
  1142. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
  1143. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
  1144. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
  1145. package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
  1146. package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
  1147. package/template/lib/ts/node_modules/eslint/lib/rules/no-else-return.js +0 -405
  1148. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -76
  1149. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
  1150. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -78
  1151. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-static-block.js +0 -47
  1152. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty.js +0 -103
  1153. package/template/lib/ts/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
  1154. package/template/lib/ts/node_modules/eslint/lib/rules/no-eval.js +0 -286
  1155. package/template/lib/ts/node_modules/eslint/lib/rules/no-ex-assign.js +0 -54
  1156. package/template/lib/ts/node_modules/eslint/lib/rules/no-extend-native.js +0 -179
  1157. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
  1158. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
  1159. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
  1160. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1322
  1161. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-semi.js +0 -147
  1162. package/template/lib/ts/node_modules/eslint/lib/rules/no-fallthrough.js +0 -196
  1163. package/template/lib/ts/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -73
  1164. package/template/lib/ts/node_modules/eslint/lib/rules/no-func-assign.js +0 -78
  1165. package/template/lib/ts/node_modules/eslint/lib/rules/no-global-assign.js +0 -95
  1166. package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -380
  1167. package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -146
  1168. package/template/lib/ts/node_modules/eslint/lib/rules/no-implied-eval.js +0 -132
  1169. package/template/lib/ts/node_modules/eslint/lib/rules/no-import-assign.js +0 -241
  1170. package/template/lib/ts/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
  1171. package/template/lib/ts/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
  1172. package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -194
  1173. package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
  1174. package/template/lib/ts/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -276
  1175. package/template/lib/ts/node_modules/eslint/lib/rules/no-iterator.js +0 -52
  1176. package/template/lib/ts/node_modules/eslint/lib/rules/no-label-var.js +0 -80
  1177. package/template/lib/ts/node_modules/eslint/lib/rules/no-labels.js +0 -149
  1178. package/template/lib/ts/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -136
  1179. package/template/lib/ts/node_modules/eslint/lib/rules/no-lonely-if.js +0 -88
  1180. package/template/lib/ts/node_modules/eslint/lib/rules/no-loop-func.js +0 -206
  1181. package/template/lib/ts/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -214
  1182. package/template/lib/ts/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -243
  1183. package/template/lib/ts/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -300
  1184. package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -229
  1185. package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
  1186. package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -116
  1187. package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
  1188. package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -141
  1189. package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
  1190. package/template/lib/ts/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -154
  1191. package/template/lib/ts/node_modules/eslint/lib/rules/no-native-reassign.js +0 -98
  1192. package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
  1193. package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
  1194. package/template/lib/ts/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
  1195. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-func.js +0 -87
  1196. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +0 -66
  1197. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-object.js +0 -67
  1198. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-require.js +0 -50
  1199. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-symbol.js +0 -56
  1200. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -60
  1201. package/template/lib/ts/node_modules/eslint/lib/rules/no-new.js +0 -43
  1202. package/template/lib/ts/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
  1203. package/template/lib/ts/node_modules/eslint/lib/rules/no-obj-calls.js +0 -86
  1204. package/template/lib/ts/node_modules/eslint/lib/rules/no-object-constructor.js +0 -117
  1205. package/template/lib/ts/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
  1206. package/template/lib/ts/node_modules/eslint/lib/rules/no-octal.js +0 -45
  1207. package/template/lib/ts/node_modules/eslint/lib/rules/no-param-reassign.js +0 -230
  1208. package/template/lib/ts/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
  1209. package/template/lib/ts/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
  1210. package/template/lib/ts/node_modules/eslint/lib/rules/no-process-env.js +0 -51
  1211. package/template/lib/ts/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
  1212. package/template/lib/ts/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -263
  1213. package/template/lib/ts/node_modules/eslint/lib/rules/no-proto.js +0 -48
  1214. package/template/lib/ts/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -159
  1215. package/template/lib/ts/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
  1216. package/template/lib/ts/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -197
  1217. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -193
  1218. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -124
  1219. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -410
  1220. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -213
  1221. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -168
  1222. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
  1223. package/template/lib/ts/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
  1224. package/template/lib/ts/node_modules/eslint/lib/rules/no-return-await.js +0 -135
  1225. package/template/lib/ts/node_modules/eslint/lib/rules/no-script-url.js +0 -61
  1226. package/template/lib/ts/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
  1227. package/template/lib/ts/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
  1228. package/template/lib/ts/node_modules/eslint/lib/rules/no-sequences.js +0 -138
  1229. package/template/lib/ts/node_modules/eslint/lib/rules/no-setter-return.js +0 -226
  1230. package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -65
  1231. package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow.js +0 -336
  1232. package/template/lib/ts/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
  1233. package/template/lib/ts/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
  1234. package/template/lib/ts/node_modules/eslint/lib/rules/no-sync.js +0 -64
  1235. package/template/lib/ts/node_modules/eslint/lib/rules/no-tabs.js +0 -81
  1236. package/template/lib/ts/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
  1237. package/template/lib/ts/node_modules/eslint/lib/rules/no-ternary.js +0 -41
  1238. package/template/lib/ts/node_modules/eslint/lib/rules/no-this-before-super.js +0 -331
  1239. package/template/lib/ts/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
  1240. package/template/lib/ts/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -193
  1241. package/template/lib/ts/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
  1242. package/template/lib/ts/node_modules/eslint/lib/rules/no-undef.js +0 -79
  1243. package/template/lib/ts/node_modules/eslint/lib/rules/no-undefined.js +0 -86
  1244. package/template/lib/ts/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -335
  1245. package/template/lib/ts/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
  1246. package/template/lib/ts/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
  1247. package/template/lib/ts/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
  1248. package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -185
  1249. package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable.js +0 -293
  1250. package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
  1251. package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
  1252. package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
  1253. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -186
  1254. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-labels.js +0 -143
  1255. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
  1256. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-vars.js +0 -718
  1257. package/template/lib/ts/node_modules/eslint/lib/rules/no-use-before-define.js +0 -348
  1258. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -194
  1259. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
  1260. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
  1261. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
  1262. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
  1263. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
  1264. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-escape.js +0 -333
  1265. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
  1266. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-return.js +0 -364
  1267. package/template/lib/ts/node_modules/eslint/lib/rules/no-var.js +0 -334
  1268. package/template/lib/ts/node_modules/eslint/lib/rules/no-void.js +0 -64
  1269. package/template/lib/ts/node_modules/eslint/lib/rules/no-warning-comments.js +0 -201
  1270. package/template/lib/ts/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -116
  1271. package/template/lib/ts/node_modules/eslint/lib/rules/no-with.js +0 -39
  1272. package/template/lib/ts/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -127
  1273. package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-newline.js +0 -324
  1274. package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -311
  1275. package/template/lib/ts/node_modules/eslint/lib/rules/object-property-newline.js +0 -102
  1276. package/template/lib/ts/node_modules/eslint/lib/rules/object-shorthand.js +0 -520
  1277. package/template/lib/ts/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -95
  1278. package/template/lib/ts/node_modules/eslint/lib/rules/one-var.js +0 -567
  1279. package/template/lib/ts/node_modules/eslint/lib/rules/operator-assignment.js +0 -209
  1280. package/template/lib/ts/node_modules/eslint/lib/rules/operator-linebreak.js +0 -253
  1281. package/template/lib/ts/node_modules/eslint/lib/rules/padded-blocks.js +0 -310
  1282. package/template/lib/ts/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -590
  1283. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -381
  1284. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-const.js +0 -501
  1285. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
  1286. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -191
  1287. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -178
  1288. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
  1289. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -114
  1290. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -298
  1291. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -132
  1292. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
  1293. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -507
  1294. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -118
  1295. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
  1296. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-template.js +0 -275
  1297. package/template/lib/ts/node_modules/eslint/lib/rules/quote-props.js +0 -310
  1298. package/template/lib/ts/node_modules/eslint/lib/rules/quotes.js +0 -350
  1299. package/template/lib/ts/node_modules/eslint/lib/rules/radix.js +0 -198
  1300. package/template/lib/ts/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -331
  1301. package/template/lib/ts/node_modules/eslint/lib/rules/require-await.js +0 -113
  1302. package/template/lib/ts/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
  1303. package/template/lib/ts/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -129
  1304. package/template/lib/ts/node_modules/eslint/lib/rules/require-yield.js +0 -77
  1305. package/template/lib/ts/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -123
  1306. package/template/lib/ts/node_modules/eslint/lib/rules/semi-spacing.js +0 -248
  1307. package/template/lib/ts/node_modules/eslint/lib/rules/semi-style.js +0 -158
  1308. package/template/lib/ts/node_modules/eslint/lib/rules/semi.js +0 -438
  1309. package/template/lib/ts/node_modules/eslint/lib/rules/sort-imports.js +0 -241
  1310. package/template/lib/ts/node_modules/eslint/lib/rules/sort-keys.js +0 -230
  1311. package/template/lib/ts/node_modules/eslint/lib/rules/sort-vars.js +0 -104
  1312. package/template/lib/ts/node_modules/eslint/lib/rules/space-before-blocks.js +0 -204
  1313. package/template/lib/ts/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -167
  1314. package/template/lib/ts/node_modules/eslint/lib/rules/space-in-parens.js +0 -285
  1315. package/template/lib/ts/node_modules/eslint/lib/rules/space-infix-ops.js +0 -198
  1316. package/template/lib/ts/node_modules/eslint/lib/rules/space-unary-ops.js +0 -324
  1317. package/template/lib/ts/node_modules/eslint/lib/rules/spaced-comment.js +0 -385
  1318. package/template/lib/ts/node_modules/eslint/lib/rules/strict.js +0 -277
  1319. package/template/lib/ts/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -132
  1320. package/template/lib/ts/node_modules/eslint/lib/rules/symbol-description.js +0 -73
  1321. package/template/lib/ts/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -144
  1322. package/template/lib/ts/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -93
  1323. package/template/lib/ts/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
  1324. package/template/lib/ts/node_modules/eslint/lib/rules/use-isnan.js +0 -141
  1325. package/template/lib/ts/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -2282
  1326. package/template/lib/ts/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
  1327. package/template/lib/ts/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
  1328. package/template/lib/ts/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
  1329. package/template/lib/ts/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
  1330. package/template/lib/ts/node_modules/eslint/lib/rules/utils/regular-expressions.js +0 -42
  1331. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
  1332. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
  1333. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
  1334. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
  1335. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
  1336. package/template/lib/ts/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
  1337. package/template/lib/ts/node_modules/eslint/lib/rules/valid-typeof.js +0 -127
  1338. package/template/lib/ts/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
  1339. package/template/lib/ts/node_modules/eslint/lib/rules/wrap-iife.js +0 -207
  1340. package/template/lib/ts/node_modules/eslint/lib/rules/wrap-regex.js +0 -61
  1341. package/template/lib/ts/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -130
  1342. package/template/lib/ts/node_modules/eslint/lib/rules/yoda.js +0 -353
  1343. package/template/lib/ts/node_modules/eslint/lib/shared/ajv.js +0 -34
  1344. package/template/lib/ts/node_modules/eslint/lib/shared/ast-utils.js +0 -29
  1345. package/template/lib/ts/node_modules/eslint/lib/shared/config-validator.js +0 -347
  1346. package/template/lib/ts/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -58
  1347. package/template/lib/ts/node_modules/eslint/lib/shared/directives.js +0 -15
  1348. package/template/lib/ts/node_modules/eslint/lib/shared/logging.js +0 -30
  1349. package/template/lib/ts/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
  1350. package/template/lib/ts/node_modules/eslint/lib/shared/runtime-info.js +0 -167
  1351. package/template/lib/ts/node_modules/eslint/lib/shared/severity.js +0 -49
  1352. package/template/lib/ts/node_modules/eslint/lib/shared/string-utils.js +0 -60
  1353. package/template/lib/ts/node_modules/eslint/lib/shared/traverser.js +0 -195
  1354. package/template/lib/ts/node_modules/eslint/lib/shared/types.js +0 -216
  1355. package/template/lib/ts/node_modules/eslint/lib/source-code/index.js +0 -5
  1356. package/template/lib/ts/node_modules/eslint/lib/source-code/source-code.js +0 -1055
  1357. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
  1358. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
  1359. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
  1360. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
  1361. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
  1362. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
  1363. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
  1364. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
  1365. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
  1366. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
  1367. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
  1368. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
  1369. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/utils.js +0 -107
  1370. package/template/lib/ts/node_modules/eslint/lib/unsupported-api.js +0 -30
  1371. package/template/lib/ts/node_modules/eslint/messages/all-files-ignored.js +0 -16
  1372. package/template/lib/ts/node_modules/eslint/messages/eslintrc-incompat.js +0 -98
  1373. package/template/lib/ts/node_modules/eslint/messages/eslintrc-plugins.js +0 -24
  1374. package/template/lib/ts/node_modules/eslint/messages/extend-config-missing.js +0 -13
  1375. package/template/lib/ts/node_modules/eslint/messages/failed-to-read-json.js +0 -11
  1376. package/template/lib/ts/node_modules/eslint/messages/file-not-found.js +0 -10
  1377. package/template/lib/ts/node_modules/eslint/messages/invalid-rule-options.js +0 -17
  1378. package/template/lib/ts/node_modules/eslint/messages/invalid-rule-severity.js +0 -13
  1379. package/template/lib/ts/node_modules/eslint/messages/no-config-found.js +0 -15
  1380. package/template/lib/ts/node_modules/eslint/messages/plugin-conflict.js +0 -22
  1381. package/template/lib/ts/node_modules/eslint/messages/plugin-invalid.js +0 -16
  1382. package/template/lib/ts/node_modules/eslint/messages/plugin-missing.js +0 -19
  1383. package/template/lib/ts/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
  1384. package/template/lib/ts/node_modules/eslint/messages/shared.js +0 -18
  1385. package/template/lib/ts/node_modules/eslint/messages/whitespace-found.js +0 -11
  1386. package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint +0 -17
  1387. package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.CMD +0 -12
  1388. package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.ps1 +0 -41
  1389. package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml +0 -17
  1390. package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.CMD +0 -12
  1391. package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +0 -41
  1392. package/template/lib/ts/node_modules/eslint/package.json +0 -179
  1393. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/LICENSE +0 -5
  1394. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/README.md +0 -232
  1395. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.cjs +0 -278
  1396. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +0 -20
  1397. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +0 -251
  1398. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js +0 -252
  1399. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js.map +0 -1
  1400. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +0 -17
  1401. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +0 -12
  1402. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +0 -41
  1403. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/package.json +0 -108
  1404. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/shim.d.ts +0 -4
  1405. package/template/lib/ts/node_modules/eslint-plugin-import/CHANGELOG.md +0 -1925
  1406. package/template/lib/ts/node_modules/eslint-plugin-import/CONTRIBUTING.md +0 -84
  1407. package/template/lib/ts/node_modules/eslint-plugin-import/LICENSE +0 -22
  1408. package/template/lib/ts/node_modules/eslint-plugin-import/README.md +0 -500
  1409. package/template/lib/ts/node_modules/eslint-plugin-import/RELEASE.md +0 -54
  1410. package/template/lib/ts/node_modules/eslint-plugin-import/SECURITY.md +0 -11
  1411. package/template/lib/ts/node_modules/eslint-plugin-import/config/electron.js +0 -8
  1412. package/template/lib/ts/node_modules/eslint-plugin-import/config/errors.js +0 -14
  1413. package/template/lib/ts/node_modules/eslint-plugin-import/config/react-native.js +0 -13
  1414. package/template/lib/ts/node_modules/eslint-plugin-import/config/react.js +0 -18
  1415. package/template/lib/ts/node_modules/eslint-plugin-import/config/recommended.js +0 -28
  1416. package/template/lib/ts/node_modules/eslint-plugin-import/config/stage-0.js +0 -12
  1417. package/template/lib/ts/node_modules/eslint-plugin-import/config/typescript.js +0 -34
  1418. package/template/lib/ts/node_modules/eslint-plugin-import/config/warnings.js +0 -12
  1419. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +0 -91
  1420. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/default.md +0 -72
  1421. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +0 -92
  1422. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/export.md +0 -37
  1423. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/exports-last.md +0 -51
  1424. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/extensions.md +0 -174
  1425. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/first.md +0 -75
  1426. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/group-exports.md +0 -118
  1427. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/imports-first.md +0 -9
  1428. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +0 -70
  1429. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/named.md +0 -102
  1430. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/namespace.md +0 -106
  1431. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +0 -167
  1432. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +0 -54
  1433. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-amd.md +0 -37
  1434. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +0 -83
  1435. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +0 -96
  1436. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +0 -111
  1437. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +0 -65
  1438. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +0 -62
  1439. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +0 -109
  1440. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +0 -25
  1441. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +0 -49
  1442. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +0 -139
  1443. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +0 -81
  1444. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +0 -136
  1445. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +0 -54
  1446. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +0 -52
  1447. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +0 -53
  1448. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +0 -36
  1449. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +0 -79
  1450. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +0 -44
  1451. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +0 -42
  1452. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +0 -70
  1453. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +0 -123
  1454. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +0 -198
  1455. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +0 -32
  1456. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +0 -60
  1457. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +0 -110
  1458. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +0 -125
  1459. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +0 -85
  1460. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +0 -39
  1461. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/order.md +0 -365
  1462. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +0 -185
  1463. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +0 -57
  1464. package/template/lib/ts/node_modules/eslint-plugin-import/lib/ExportMap.js +0 -856
  1465. package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/importType.js +0 -129
  1466. package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/packagePath.js +0 -22
  1467. package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/staticRequire.js +0 -11
  1468. package/template/lib/ts/node_modules/eslint-plugin-import/lib/docsUrl.js +0 -8
  1469. package/template/lib/ts/node_modules/eslint-plugin-import/lib/importDeclaration.js +0 -5
  1470. package/template/lib/ts/node_modules/eslint-plugin-import/lib/index.js +0 -71
  1471. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +0 -221
  1472. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/default.js +0 -40
  1473. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +0 -120
  1474. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/export.js +0 -250
  1475. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/exports-last.js +0 -40
  1476. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/extensions.js +0 -193
  1477. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/first.js +0 -144
  1478. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/group-exports.js +0 -155
  1479. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/imports-first.js +0 -16
  1480. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +0 -60
  1481. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/named.js +0 -143
  1482. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/namespace.js +0 -218
  1483. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +0 -237
  1484. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +0 -40
  1485. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-amd.js +0 -47
  1486. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +0 -103
  1487. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +0 -141
  1488. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +0 -158
  1489. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +0 -43
  1490. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +0 -138
  1491. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +0 -354
  1492. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +0 -77
  1493. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +0 -105
  1494. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +0 -301
  1495. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +0 -85
  1496. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +0 -144
  1497. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +0 -59
  1498. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +0 -96
  1499. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +0 -45
  1500. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +0 -31
  1501. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +0 -39
  1502. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +0 -175
  1503. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +0 -44
  1504. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +0 -71
  1505. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +0 -48
  1506. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +0 -245
  1507. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +0 -39
  1508. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +0 -79
  1509. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +0 -60
  1510. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +0 -945
  1511. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +0 -147
  1512. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +0 -26
  1513. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/order.js +0 -785
  1514. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +0 -116
  1515. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +0 -38
  1516. package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/LICENSE +0 -22
  1517. package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/README.md +0 -21
  1518. package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/index.js +0 -41
  1519. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint +0 -17
  1520. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +0 -12
  1521. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +0 -41
  1522. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver +0 -17
  1523. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +0 -12
  1524. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +0 -41
  1525. package/template/lib/ts/node_modules/eslint-plugin-import/package.json +0 -124
  1526. package/template/lib/ts/node_modules/eslint-plugin-prettier/LICENSE.md +0 -24
  1527. package/template/lib/ts/node_modules/eslint-plugin-prettier/README.md +0 -202
  1528. package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +0 -5
  1529. package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +0 -254
  1530. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +0 -17
  1531. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +0 -17
  1532. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +0 -12
  1533. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +0 -41
  1534. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +0 -12
  1535. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +0 -41
  1536. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +0 -17
  1537. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +0 -12
  1538. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +0 -41
  1539. package/template/lib/ts/node_modules/eslint-plugin-prettier/package.json +0 -101
  1540. package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.d.ts +0 -5
  1541. package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.js +0 -17
  1542. package/template/lib/ts/node_modules/eslint-plugin-prettier/worker.js +0 -181
  1543. package/template/lib/ts/node_modules/prettier/LICENSE +0 -4857
  1544. package/template/lib/ts/node_modules/prettier/README.md +0 -109
  1545. package/template/lib/ts/node_modules/prettier/bin/prettier.cjs +0 -68
  1546. package/template/lib/ts/node_modules/prettier/doc.d.ts +0 -243
  1547. package/template/lib/ts/node_modules/prettier/doc.js +0 -1328
  1548. package/template/lib/ts/node_modules/prettier/doc.mjs +0 -1300
  1549. package/template/lib/ts/node_modules/prettier/index.cjs +0 -648
  1550. package/template/lib/ts/node_modules/prettier/index.d.ts +0 -940
  1551. package/template/lib/ts/node_modules/prettier/index.mjs +0 -24255
  1552. package/template/lib/ts/node_modules/prettier/internal/cli.mjs +0 -7089
  1553. package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier +0 -17
  1554. package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.CMD +0 -12
  1555. package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.ps1 +0 -41
  1556. package/template/lib/ts/node_modules/prettier/package.json +0 -198
  1557. package/template/lib/ts/node_modules/prettier/plugins/acorn.d.ts +0 -6
  1558. package/template/lib/ts/node_modules/prettier/plugins/acorn.js +0 -13
  1559. package/template/lib/ts/node_modules/prettier/plugins/acorn.mjs +0 -13
  1560. package/template/lib/ts/node_modules/prettier/plugins/angular.d.ts +0 -8
  1561. package/template/lib/ts/node_modules/prettier/plugins/angular.js +0 -1
  1562. package/template/lib/ts/node_modules/prettier/plugins/angular.mjs +0 -1
  1563. package/template/lib/ts/node_modules/prettier/plugins/babel.d.ts +0 -18
  1564. package/template/lib/ts/node_modules/prettier/plugins/babel.js +0 -16
  1565. package/template/lib/ts/node_modules/prettier/plugins/babel.mjs +0 -16
  1566. package/template/lib/ts/node_modules/prettier/plugins/estree.d.ts +0 -1
  1567. package/template/lib/ts/node_modules/prettier/plugins/estree.js +0 -36
  1568. package/template/lib/ts/node_modules/prettier/plugins/estree.mjs +0 -36
  1569. package/template/lib/ts/node_modules/prettier/plugins/flow.d.ts +0 -5
  1570. package/template/lib/ts/node_modules/prettier/plugins/flow.js +0 -21
  1571. package/template/lib/ts/node_modules/prettier/plugins/flow.mjs +0 -21
  1572. package/template/lib/ts/node_modules/prettier/plugins/glimmer.d.ts +0 -5
  1573. package/template/lib/ts/node_modules/prettier/plugins/glimmer.js +0 -30
  1574. package/template/lib/ts/node_modules/prettier/plugins/glimmer.mjs +0 -30
  1575. package/template/lib/ts/node_modules/prettier/plugins/graphql.d.ts +0 -5
  1576. package/template/lib/ts/node_modules/prettier/plugins/graphql.js +0 -29
  1577. package/template/lib/ts/node_modules/prettier/plugins/graphql.mjs +0 -29
  1578. package/template/lib/ts/node_modules/prettier/plugins/html.d.ts +0 -8
  1579. package/template/lib/ts/node_modules/prettier/plugins/html.js +0 -19
  1580. package/template/lib/ts/node_modules/prettier/plugins/html.mjs +0 -19
  1581. package/template/lib/ts/node_modules/prettier/plugins/markdown.d.ts +0 -7
  1582. package/template/lib/ts/node_modules/prettier/plugins/markdown.js +0 -59
  1583. package/template/lib/ts/node_modules/prettier/plugins/markdown.mjs +0 -59
  1584. package/template/lib/ts/node_modules/prettier/plugins/meriyah.d.ts +0 -5
  1585. package/template/lib/ts/node_modules/prettier/plugins/meriyah.js +0 -5
  1586. package/template/lib/ts/node_modules/prettier/plugins/meriyah.mjs +0 -5
  1587. package/template/lib/ts/node_modules/prettier/plugins/postcss.d.ts +0 -7
  1588. package/template/lib/ts/node_modules/prettier/plugins/postcss.js +0 -49
  1589. package/template/lib/ts/node_modules/prettier/plugins/postcss.mjs +0 -49
  1590. package/template/lib/ts/node_modules/prettier/plugins/typescript.d.ts +0 -5
  1591. package/template/lib/ts/node_modules/prettier/plugins/typescript.js +0 -25
  1592. package/template/lib/ts/node_modules/prettier/plugins/typescript.mjs +0 -25
  1593. package/template/lib/ts/node_modules/prettier/plugins/yaml.d.ts +0 -5
  1594. package/template/lib/ts/node_modules/prettier/plugins/yaml.js +0 -161
  1595. package/template/lib/ts/node_modules/prettier/plugins/yaml.mjs +0 -161
  1596. package/template/lib/ts/node_modules/prettier/standalone.d.ts +0 -33
  1597. package/template/lib/ts/node_modules/prettier/standalone.js +0 -34
  1598. package/template/lib/ts/node_modules/prettier/standalone.mjs +0 -34
  1599. package/template/lib/ts/node_modules/stylelint-config-standard-scss/LICENSE +0 -21
  1600. package/template/lib/ts/node_modules/stylelint-config-standard-scss/README.md +0 -50
  1601. package/template/lib/ts/node_modules/stylelint-config-standard-scss/index.js +0 -67
  1602. package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +0 -17
  1603. package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +0 -12
  1604. package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +0 -41
  1605. package/template/lib/ts/node_modules/stylelint-config-standard-scss/package.json +0 -58
  1606. /package/template/web-app/{react → react-rspack}/.editorconfig +0 -0
  1607. /package/template/web-app/{react → react-rspack}/.eslintignore +0 -0
  1608. /package/template/web-app/{react → react-rspack}/.gitignore +0 -0
  1609. /package/template/web-app/{react → react-rspack}/.husky/commit-msg +0 -0
  1610. /package/template/web-app/{react → react-rspack}/.husky/pre-commit +0 -0
  1611. /package/template/web-app/{react → react-rspack}/.prettierignore +0 -0
  1612. /package/template/web-app/{react → react-rspack}/.prettierrc +0 -0
  1613. /package/template/web-app/{react → react-rspack}/.stylelintignore +0 -0
  1614. /package/template/web-app/{react → react-rspack}/.stylelintrc +0 -0
  1615. /package/template/web-app/{react → react-rspack}/.vscode/extensions.json +0 -0
  1616. /package/template/web-app/{react → react-rspack}/.vscode/settings.json +0 -0
  1617. /package/template/web-app/{react → react-rspack}/commitlint.config.cjs +0 -0
  1618. /package/template/web-app/{react → react-rspack}/domain/app/app.model.ts +0 -0
  1619. /package/template/web-app/{react → react-rspack}/domain/app/app.styled.ts +0 -0
  1620. /package/template/web-app/{react → react-rspack}/domain/app/components/app-context.tsx +0 -0
  1621. /package/template/web-app/{react → react-rspack}/domain/app/components/app.tsx +0 -0
  1622. /package/template/web-app/{react → react-rspack}/domain/app/components/index.ts +0 -0
  1623. /package/template/web-app/{react → react-rspack}/domain/app/index.ts +0 -0
  1624. /package/template/web-app/{react → react-rspack}/domain/router/home/ids.ts +0 -0
  1625. /package/template/web-app/{react → react-rspack}/domain/router/home/index.ts +0 -0
  1626. /package/template/web-app/{react → react-rspack}/domain/router/home/routes.tsx +0 -0
  1627. /package/template/web-app/{react → react-rspack}/domain/router/ids.ts +0 -0
  1628. /package/template/web-app/{react → react-rspack}/domain/router/index.ts +0 -0
  1629. /package/template/web-app/{react → react-rspack}/domain/router/router.types.ts +0 -0
  1630. /package/template/web-app/{react → react-rspack}/main.tsx +0 -0
  1631. /package/template/web-app/{react → react-rspack}/pages/home/home.styled.ts +0 -0
  1632. /package/template/web-app/{react → react-rspack}/pages/home/home.tsx +0 -0
  1633. /package/template/web-app/{react → react-rspack}/pages/home/index.ts +0 -0
  1634. /package/template/web-app/{react → react-rspack}/pages/index.tsx +0 -0
  1635. /package/template/web-app/{react → react-rspack}/pages/not-found.tsx +0 -0
  1636. /package/template/web-app/{react → react-rspack}/postcss.config.cjs +0 -0
  1637. /package/template/web-app/{react → react-rspack}/scripts/createChunks.ts +0 -0
  1638. /package/template/web-app/{react → react-rspack}/scripts/index.ts +0 -0
  1639. /package/template/web-app/{react → react-rspack}/shared/assets/react.svg +0 -0
  1640. /package/template/web-app/{react → react-rspack}/shared/components/index.ts +0 -0
  1641. /package/template/web-app/{react → react-rspack}/shared/constant/index.ts +0 -0
  1642. /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/defineRouter.types.ts +0 -0
  1643. /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/deineRouter.tsx +0 -0
  1644. /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/index.ts +0 -0
  1645. /package/template/web-app/{react → react-rspack}/shared/hooks/index.ts +0 -0
  1646. /package/template/web-app/{react → react-rspack}/shared/hooks/useInterval.ts +0 -0
  1647. /package/template/web-app/{react → react-rspack}/shared/hooks/useLoadingAction.ts +0 -0
  1648. /package/template/web-app/{react → react-rspack}/shared/hooks/useLowPriorityState.ts +0 -0
  1649. /package/template/web-app/{react → react-rspack}/shared/hooks/useSyncState.ts +0 -0
  1650. /package/template/web-app/{react → react-rspack}/shared/hooks/useVisible.ts +0 -0
  1651. /package/template/web-app/{react → react-rspack}/shared/service/api.ts +0 -0
  1652. /package/template/web-app/{react → react-rspack}/shared/service/index.ts +0 -0
  1653. /package/template/web-app/{react → react-rspack}/shared/theme/index.ts +0 -0
  1654. /package/template/web-app/{react → react-rspack}/shared/theme/theme.styled.ts +0 -0
  1655. /package/template/web-app/{react → react-rspack}/shared/tools/componentInstance.tsx +0 -0
  1656. /package/template/web-app/{react → react-rspack}/shared/tools/index.ts +0 -0
  1657. /package/template/web-app/{react → react-rspack}/shared/types/index.ts +0 -0
  1658. /package/template/web-app/{react → react-rspack}/shared/types/utils.ts +0 -0
  1659. /package/template/web-app/{react → react-rspack}/tsconfig.json +0 -0
  1660. /package/template/web-app/{react → react-vite}/.env +0 -0
  1661. /package/template/web-app/{react → react-vite}/.env.development +0 -0
  1662. /package/template/web-app/{react → react-vite}/.eslintrc +0 -0
  1663. /package/template/web-app/{react → react-vite}/README.md +0 -0
  1664. /package/template/web-app/{react → react-vite}/domain/router/router.tsx +0 -0
  1665. /package/template/web-app/{react → react-vite}/index.html +0 -0
  1666. /package/template/web-app/{react → react-vite}/mockUtils.ts +0 -0
  1667. /package/template/web-app/{react → react-vite}/package.json +0 -0
  1668. /package/template/web-app/{react → react-vite}/pages/home/home.mock.ts +0 -0
  1669. /package/template/web-app/{react → react-vite}/public/vite.svg +0 -0
  1670. /package/template/web-app/{react → react-vite}/shared/service/home.ts +0 -0
  1671. /package/template/web-app/{react → react-vite}/shared/service/request.ts +0 -0
  1672. /package/template/web-app/{react → react-vite}/tsconfig.node.json +0 -0
  1673. /package/template/web-app/{react → react-vite}/vite-env.d.ts +0 -0
  1674. /package/template/web-app/{react → react-vite}/vite.config.ts +0 -0
@@ -1,301 +0,0 @@
1
- 'use strict';var _slicedToArray = function () {function sliceIterator(arr, i) {var _arr = [];var _n = true;var _d = false;var _e = undefined;try {for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {_arr.push(_s.value);if (i && _arr.length === i) break;}} catch (err) {_d = true;_e = err;} finally {try {if (!_n && _i["return"]) _i["return"]();} finally {if (_d) throw _e;}}return _arr;}return function (arr, i) {if (Array.isArray(arr)) {return arr;} else if (Symbol.iterator in Object(arr)) {return sliceIterator(arr, i);} else {throw new TypeError("Invalid attempt to destructure non-iterable instance");}};}();var _path = require('path');var _path2 = _interopRequireDefault(_path);
2
- var _fs = require('fs');var _fs2 = _interopRequireDefault(_fs);
3
- var _pkgUp = require('eslint-module-utils/pkgUp');var _pkgUp2 = _interopRequireDefault(_pkgUp);
4
- var _minimatch = require('minimatch');var _minimatch2 = _interopRequireDefault(_minimatch);
5
- var _resolve = require('eslint-module-utils/resolve');var _resolve2 = _interopRequireDefault(_resolve);
6
- var _moduleVisitor = require('eslint-module-utils/moduleVisitor');var _moduleVisitor2 = _interopRequireDefault(_moduleVisitor);
7
- var _importType = require('../core/importType');var _importType2 = _interopRequireDefault(_importType);
8
- var _packagePath = require('../core/packagePath');
9
- var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
10
-
11
- var depFieldCache = new Map();
12
-
13
- function hasKeys() {var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
14
- return Object.keys(obj).length > 0;
15
- }
16
-
17
- function arrayOrKeys(arrayOrObject) {
18
- return Array.isArray(arrayOrObject) ? arrayOrObject : Object.keys(arrayOrObject);
19
- }
20
-
21
- function readJSON(jsonPath, throwException) {
22
- try {
23
- return JSON.parse(_fs2['default'].readFileSync(jsonPath, 'utf8'));
24
- } catch (err) {
25
- if (throwException) {
26
- throw err;
27
- }
28
- }
29
- }
30
-
31
- function extractDepFields(pkg) {
32
- return {
33
- dependencies: pkg.dependencies || {},
34
- devDependencies: pkg.devDependencies || {},
35
- optionalDependencies: pkg.optionalDependencies || {},
36
- peerDependencies: pkg.peerDependencies || {},
37
- // BundledDeps should be in the form of an array, but object notation is also supported by
38
- // `npm`, so we convert it to an array if it is an object
39
- bundledDependencies: arrayOrKeys(pkg.bundleDependencies || pkg.bundledDependencies || []) };
40
-
41
- }
42
-
43
- function getPackageDepFields(packageJsonPath, throwAtRead) {
44
- if (!depFieldCache.has(packageJsonPath)) {
45
- var depFields = extractDepFields(readJSON(packageJsonPath, throwAtRead));
46
- depFieldCache.set(packageJsonPath, depFields);
47
- }
48
-
49
- return depFieldCache.get(packageJsonPath);
50
- }
51
-
52
- function getDependencies(context, packageDir) {
53
- var paths = [];
54
- try {
55
- var packageContent = {
56
- dependencies: {},
57
- devDependencies: {},
58
- optionalDependencies: {},
59
- peerDependencies: {},
60
- bundledDependencies: [] };
61
-
62
-
63
- if (packageDir && packageDir.length > 0) {
64
- if (!Array.isArray(packageDir)) {
65
- paths = [_path2['default'].resolve(packageDir)];
66
- } else {
67
- paths = packageDir.map(function (dir) {return _path2['default'].resolve(dir);});
68
- }
69
- }
70
-
71
- if (paths.length > 0) {
72
- // use rule config to find package.json
73
- paths.forEach(function (dir) {
74
- var packageJsonPath = _path2['default'].join(dir, 'package.json');
75
- var _packageContent = getPackageDepFields(packageJsonPath, true);
76
- Object.keys(packageContent).forEach(function (depsKey) {
77
- Object.assign(packageContent[depsKey], _packageContent[depsKey]);
78
- });
79
- });
80
- } else {
81
- var packageJsonPath = (0, _pkgUp2['default'])({
82
- cwd: context.getPhysicalFilename ? context.getPhysicalFilename() : context.getFilename(),
83
- normalize: false });
84
-
85
-
86
- // use closest package.json
87
- Object.assign(
88
- packageContent,
89
- getPackageDepFields(packageJsonPath, false));
90
-
91
- }
92
-
93
- if (![
94
- packageContent.dependencies,
95
- packageContent.devDependencies,
96
- packageContent.optionalDependencies,
97
- packageContent.peerDependencies,
98
- packageContent.bundledDependencies].
99
- some(hasKeys)) {
100
- return null;
101
- }
102
-
103
- return packageContent;
104
- } catch (e) {
105
- if (paths.length > 0 && e.code === 'ENOENT') {
106
- context.report({
107
- message: 'The package.json file could not be found.',
108
- loc: { line: 0, column: 0 } });
109
-
110
- }
111
- if (e.name === 'JSONError' || e instanceof SyntaxError) {
112
- context.report({
113
- message: 'The package.json file could not be parsed: ' + String(e.message),
114
- loc: { line: 0, column: 0 } });
115
-
116
- }
117
-
118
- return null;
119
- }
120
- }
121
-
122
- function missingErrorMessage(packageName) {
123
- return '\'' + String(packageName) + '\' should be listed in the project\'s dependencies. Run \'npm i -S ' + String(packageName) + '\' to add it';
124
- }
125
-
126
- function devDepErrorMessage(packageName) {
127
- return '\'' + String(packageName) + '\' should be listed in the project\'s dependencies, not devDependencies.';
128
- }
129
-
130
- function optDepErrorMessage(packageName) {
131
- return '\'' + String(packageName) + '\' should be listed in the project\'s dependencies, not optionalDependencies.';
132
- }
133
-
134
- function getModuleOriginalName(name) {var _name$split =
135
- name.split('/'),_name$split2 = _slicedToArray(_name$split, 2),first = _name$split2[0],second = _name$split2[1];
136
- return first.startsWith('@') ? String(first) + '/' + String(second) : first;
137
- }
138
-
139
- function getModuleRealName(resolved) {
140
- return (0, _packagePath.getFilePackageName)(resolved);
141
- }
142
-
143
- function checkDependencyDeclaration(deps, packageName, declarationStatus) {
144
- var newDeclarationStatus = declarationStatus || {
145
- isInDeps: false,
146
- isInDevDeps: false,
147
- isInOptDeps: false,
148
- isInPeerDeps: false,
149
- isInBundledDeps: false };
150
-
151
-
152
- // in case of sub package.json inside a module
153
- // check the dependencies on all hierarchy
154
- var packageHierarchy = [];
155
- var packageNameParts = packageName ? packageName.split('/') : [];
156
- packageNameParts.forEach(function (namePart, index) {
157
- if (!namePart.startsWith('@')) {
158
- var ancestor = packageNameParts.slice(0, index + 1).join('/');
159
- packageHierarchy.push(ancestor);
160
- }
161
- });
162
-
163
- return packageHierarchy.reduce(function (result, ancestorName) {return {
164
- isInDeps: result.isInDeps || deps.dependencies[ancestorName] !== undefined,
165
- isInDevDeps: result.isInDevDeps || deps.devDependencies[ancestorName] !== undefined,
166
- isInOptDeps: result.isInOptDeps || deps.optionalDependencies[ancestorName] !== undefined,
167
- isInPeerDeps: result.isInPeerDeps || deps.peerDependencies[ancestorName] !== undefined,
168
- isInBundledDeps:
169
- result.isInBundledDeps || deps.bundledDependencies.indexOf(ancestorName) !== -1 };},
170
- newDeclarationStatus);
171
- }
172
-
173
- function reportIfMissing(context, deps, depsOptions, node, name) {
174
- // Do not report when importing types unless option is enabled
175
- if (
176
- !depsOptions.verifyTypeImports && (
177
-
178
- node.importKind === 'type' ||
179
- node.importKind === 'typeof' ||
180
- node.exportKind === 'type' ||
181
- Array.isArray(node.specifiers) && node.specifiers.length && node.specifiers.every(function (specifier) {return specifier.importKind === 'type' || specifier.importKind === 'typeof';})))
182
-
183
- {
184
- return;
185
- }
186
-
187
- var typeOfImport = (0, _importType2['default'])(name, context);
188
-
189
- if (
190
- typeOfImport !== 'external' && (
191
- typeOfImport !== 'internal' || !depsOptions.verifyInternalDeps))
192
- {
193
- return;
194
- }
195
-
196
- var resolved = (0, _resolve2['default'])(name, context);
197
- if (!resolved) {return;}
198
-
199
- var importPackageName = getModuleOriginalName(name);
200
- var declarationStatus = checkDependencyDeclaration(deps, importPackageName);
201
-
202
- if (
203
- declarationStatus.isInDeps ||
204
- depsOptions.allowDevDeps && declarationStatus.isInDevDeps ||
205
- depsOptions.allowPeerDeps && declarationStatus.isInPeerDeps ||
206
- depsOptions.allowOptDeps && declarationStatus.isInOptDeps ||
207
- depsOptions.allowBundledDeps && declarationStatus.isInBundledDeps)
208
- {
209
- return;
210
- }
211
-
212
- // test the real name from the resolved package.json
213
- // if not aliased imports (alias/react for example), importPackageName can be misinterpreted
214
- var realPackageName = getModuleRealName(resolved);
215
- if (realPackageName && realPackageName !== importPackageName) {
216
- declarationStatus = checkDependencyDeclaration(deps, realPackageName, declarationStatus);
217
-
218
- if (
219
- declarationStatus.isInDeps ||
220
- depsOptions.allowDevDeps && declarationStatus.isInDevDeps ||
221
- depsOptions.allowPeerDeps && declarationStatus.isInPeerDeps ||
222
- depsOptions.allowOptDeps && declarationStatus.isInOptDeps ||
223
- depsOptions.allowBundledDeps && declarationStatus.isInBundledDeps)
224
- {
225
- return;
226
- }
227
- }
228
-
229
- if (declarationStatus.isInDevDeps && !depsOptions.allowDevDeps) {
230
- context.report(node, devDepErrorMessage(realPackageName || importPackageName));
231
- return;
232
- }
233
-
234
- if (declarationStatus.isInOptDeps && !depsOptions.allowOptDeps) {
235
- context.report(node, optDepErrorMessage(realPackageName || importPackageName));
236
- return;
237
- }
238
-
239
- context.report(node, missingErrorMessage(realPackageName || importPackageName));
240
- }
241
-
242
- function testConfig(config, filename) {
243
- // Simplest configuration first, either a boolean or nothing.
244
- if (typeof config === 'boolean' || typeof config === 'undefined') {
245
- return config;
246
- }
247
- // Array of globs.
248
- return config.some(function (c) {return (0, _minimatch2['default'])(filename, c) ||
249
- (0, _minimatch2['default'])(filename, _path2['default'].join(process.cwd(), c));});
250
-
251
- }
252
-
253
- module.exports = {
254
- meta: {
255
- type: 'problem',
256
- docs: {
257
- category: 'Helpful warnings',
258
- description: 'Forbid the use of extraneous packages.',
259
- url: (0, _docsUrl2['default'])('no-extraneous-dependencies') },
260
-
261
-
262
- schema: [
263
- {
264
- type: 'object',
265
- properties: {
266
- devDependencies: { type: ['boolean', 'array'] },
267
- optionalDependencies: { type: ['boolean', 'array'] },
268
- peerDependencies: { type: ['boolean', 'array'] },
269
- bundledDependencies: { type: ['boolean', 'array'] },
270
- packageDir: { type: ['string', 'array'] },
271
- includeInternal: { type: ['boolean'] },
272
- includeTypes: { type: ['boolean'] } },
273
-
274
- additionalProperties: false }] },
275
-
276
-
277
-
278
-
279
- create: function () {function create(context) {
280
- var options = context.options[0] || {};
281
- var filename = context.getPhysicalFilename ? context.getPhysicalFilename() : context.getFilename();
282
- var deps = getDependencies(context, options.packageDir) || extractDepFields({});
283
-
284
- var depsOptions = {
285
- allowDevDeps: testConfig(options.devDependencies, filename) !== false,
286
- allowOptDeps: testConfig(options.optionalDependencies, filename) !== false,
287
- allowPeerDeps: testConfig(options.peerDependencies, filename) !== false,
288
- allowBundledDeps: testConfig(options.bundledDependencies, filename) !== false,
289
- verifyInternalDeps: !!options.includeInternal,
290
- verifyTypeImports: !!options.includeTypes };
291
-
292
-
293
- return (0, _moduleVisitor2['default'])(function (source, node) {
294
- reportIfMissing(context, deps, depsOptions, node, source.value);
295
- }, { commonjs: true });
296
- }return create;}(),
297
-
298
- 'Program:exit': function () {function ProgramExit() {
299
- depFieldCache.clear();
300
- }return ProgramExit;}() };
301
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9uby1leHRyYW5lb3VzLWRlcGVuZGVuY2llcy5qcyJdLCJuYW1lcyI6WyJkZXBGaWVsZENhY2hlIiwiTWFwIiwiaGFzS2V5cyIsIm9iaiIsIk9iamVjdCIsImtleXMiLCJsZW5ndGgiLCJhcnJheU9yS2V5cyIsImFycmF5T3JPYmplY3QiLCJBcnJheSIsImlzQXJyYXkiLCJyZWFkSlNPTiIsImpzb25QYXRoIiwidGhyb3dFeGNlcHRpb24iLCJKU09OIiwicGFyc2UiLCJmcyIsInJlYWRGaWxlU3luYyIsImVyciIsImV4dHJhY3REZXBGaWVsZHMiLCJwa2ciLCJkZXBlbmRlbmNpZXMiLCJkZXZEZXBlbmRlbmNpZXMiLCJvcHRpb25hbERlcGVuZGVuY2llcyIsInBlZXJEZXBlbmRlbmNpZXMiLCJidW5kbGVkRGVwZW5kZW5jaWVzIiwiYnVuZGxlRGVwZW5kZW5jaWVzIiwiZ2V0UGFja2FnZURlcEZpZWxkcyIsInBhY2thZ2VKc29uUGF0aCIsInRocm93QXRSZWFkIiwiaGFzIiwiZGVwRmllbGRzIiwic2V0IiwiZ2V0IiwiZ2V0RGVwZW5kZW5jaWVzIiwiY29udGV4dCIsInBhY2thZ2VEaXIiLCJwYXRocyIsInBhY2thZ2VDb250ZW50IiwicGF0aCIsInJlc29sdmUiLCJtYXAiLCJkaXIiLCJmb3JFYWNoIiwiam9pbiIsIl9wYWNrYWdlQ29udGVudCIsImRlcHNLZXkiLCJhc3NpZ24iLCJjd2QiLCJnZXRQaHlzaWNhbEZpbGVuYW1lIiwiZ2V0R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bmRlbmNpZXMsIGZpbGVuYW1lKSAhPT0gZmFsc2UsXG4gICAgICB2ZXJpZnlJbnRlcm5hbERlcHM6ICEhb3B0aW9ucy5pbmNsdWRlSW50ZXJuYWwsXG4gICAgICB2ZXJpZnlUeXBlSW1wb3J0czogISFvcHRpb25zLmluY2x1ZGVUeXBlcyxcbiAgICB9O1xuXG4gICAgcmV0dXJuIG1vZHVsZVZpc2l0b3IoKHNvdXJjZSwgbm9kZSkgPT4ge1xuICAgICAgcmVwb3J0SWZNaXNzaW5nKGNvbnRleHQsIGRlcHMsIGRlcHNPcHRpb25zLCBub2RlLCBzb3VyY2UudmFsdWUpO1xuICAgIH0sIHsgY29tbW9uanM6IHRydWUgfSk7XG4gIH0sXG5cbiAgJ1Byb2dyYW06ZXhpdCcoKSB7XG4gICAgZGVwRmllbGRDYWNoZS5jbGVhcigpO1xuICB9LFxufTtcbiJdfQ==
@@ -1,85 +0,0 @@
1
- 'use strict';var _minimatch = require('minimatch');var _minimatch2 = _interopRequireDefault(_minimatch);
2
- var _path = require('path');var _path2 = _interopRequireDefault(_path);
3
- var _pkgUp = require('eslint-module-utils/pkgUp');var _pkgUp2 = _interopRequireDefault(_pkgUp);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
4
-
5
- function getEntryPoint(context) {
6
- var pkgPath = (0, _pkgUp2['default'])({ cwd: context.getPhysicalFilename ? context.getPhysicalFilename() : context.getFilename() });
7
- try {
8
- return require.resolve(_path2['default'].dirname(pkgPath));
9
- } catch (error) {
10
- // Assume the package has no entrypoint (e.g. CLI packages)
11
- // in which case require.resolve would throw.
12
- return null;
13
- }
14
- }
15
-
16
- function findScope(context, identifier) {var _context$getSourceCod =
17
- context.getSourceCode(),scopeManager = _context$getSourceCod.scopeManager;
18
-
19
- return scopeManager && scopeManager.scopes.slice().reverse().find(function (scope) {return scope.variables.some(function (variable) {return variable.identifiers.some(function (node) {return node.name === identifier;});});});
20
- }
21
-
22
- function findDefinition(objectScope, identifier) {
23
- var variable = objectScope.variables.find(function (variable) {return variable.name === identifier;});
24
- return variable.defs.find(function (def) {return def.name.name === identifier;});
25
- }
26
-
27
- module.exports = {
28
- meta: {
29
- type: 'problem',
30
- docs: {
31
- category: 'Module systems',
32
- description: 'Forbid import statements with CommonJS module.exports.',
33
- recommended: true },
34
-
35
- fixable: 'code',
36
- schema: [
37
- {
38
- type: 'object',
39
- properties: {
40
- exceptions: { type: 'array' } },
41
-
42
- additionalProperties: false }] },
43
-
44
-
45
-
46
- create: function () {function create(context) {
47
- var importDeclarations = [];
48
- var entryPoint = getEntryPoint(context);
49
- var options = context.options[0] || {};
50
- var alreadyReported = false;
51
-
52
- function report(node) {
53
- var fileName = context.getPhysicalFilename ? context.getPhysicalFilename() : context.getFilename();
54
- var isEntryPoint = entryPoint === fileName;
55
- var isIdentifier = node.object.type === 'Identifier';
56
- var hasKeywords = /^(module|exports)$/.test(node.object.name);
57
- var objectScope = hasKeywords && findScope(context, node.object.name);
58
- var variableDefinition = objectScope && findDefinition(objectScope, node.object.name);
59
- var isImportBinding = variableDefinition && variableDefinition.type === 'ImportBinding';
60
- var hasCJSExportReference = hasKeywords && (!objectScope || objectScope.type === 'module');
61
- var isException = !!options.exceptions && options.exceptions.some(function (glob) {return (0, _minimatch2['default'])(fileName, glob);});
62
-
63
- if (isIdentifier && hasCJSExportReference && !isEntryPoint && !isException && !isImportBinding) {
64
- importDeclarations.forEach(function (importDeclaration) {
65
- context.report({
66
- node: importDeclaration,
67
- message: 'Cannot use import declarations in modules that export using CommonJS (module.exports = \'foo\' or exports.bar = \'hi\')' });
68
-
69
- });
70
- alreadyReported = true;
71
- }
72
- }
73
-
74
- return {
75
- ImportDeclaration: function () {function ImportDeclaration(node) {
76
- importDeclarations.push(node);
77
- }return ImportDeclaration;}(),
78
- MemberExpression: function () {function MemberExpression(node) {
79
- if (!alreadyReported) {
80
- report(node);
81
- }
82
- }return MemberExpression;}() };
83
-
84
- }return create;}() };
85
- //# sourceMappingURL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CFhbHJlYWR5UmVwb3J0ZWQpIHtcbiAgICAgICAgICByZXBvcnQobm9kZSk7XG4gICAgICAgIH1cbiAgICAgIH0sXG4gICAgfTtcbiAgfSxcbn07XG4iXX0=
@@ -1,144 +0,0 @@
1
- 'use strict';var _minimatch = require('minimatch');var _minimatch2 = _interopRequireDefault(_minimatch);
2
-
3
- var _resolve = require('eslint-module-utils/resolve');var _resolve2 = _interopRequireDefault(_resolve);
4
- var _importType = require('../core/importType');var _importType2 = _interopRequireDefault(_importType);
5
- var _moduleVisitor = require('eslint-module-utils/moduleVisitor');var _moduleVisitor2 = _interopRequireDefault(_moduleVisitor);
6
- var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
7
-
8
- module.exports = {
9
- meta: {
10
- type: 'suggestion',
11
- docs: {
12
- category: 'Static analysis',
13
- description: 'Forbid importing the submodules of other modules.',
14
- url: (0, _docsUrl2['default'])('no-internal-modules') },
15
-
16
-
17
- schema: [
18
- {
19
- anyOf: [
20
- {
21
- type: 'object',
22
- properties: {
23
- allow: {
24
- type: 'array',
25
- items: {
26
- type: 'string' } } },
27
-
28
-
29
-
30
- additionalProperties: false },
31
-
32
- {
33
- type: 'object',
34
- properties: {
35
- forbid: {
36
- type: 'array',
37
- items: {
38
- type: 'string' } } },
39
-
40
-
41
-
42
- additionalProperties: false }] }] },
43
-
44
-
45
-
46
-
47
-
48
-
49
- create: function () {function noReachingInside(context) {
50
- var options = context.options[0] || {};
51
- var allowRegexps = (options.allow || []).map(function (p) {return _minimatch2['default'].makeRe(p);});
52
- var forbidRegexps = (options.forbid || []).map(function (p) {return _minimatch2['default'].makeRe(p);});
53
-
54
- // minimatch patterns are expected to use / path separators, like import
55
- // statements, so normalize paths to use the same
56
- function normalizeSep(somePath) {
57
- return somePath.split('\\').join('/');
58
- }
59
-
60
- function toSteps(somePath) {
61
- return normalizeSep(somePath).
62
- split('/').
63
- filter(function (step) {return step && step !== '.';}).
64
- reduce(function (acc, step) {
65
- if (step === '..') {
66
- return acc.slice(0, -1);
67
- }
68
- return acc.concat(step);
69
- }, []);
70
- }
71
-
72
- // test if reaching to this destination is allowed
73
- function reachingAllowed(importPath) {
74
- return allowRegexps.some(function (re) {return re.test(importPath);});
75
- }
76
-
77
- // test if reaching to this destination is forbidden
78
- function reachingForbidden(importPath) {
79
- return forbidRegexps.some(function (re) {return re.test(importPath);});
80
- }
81
-
82
- function isAllowViolation(importPath) {
83
- var steps = toSteps(importPath);
84
-
85
- var nonScopeSteps = steps.filter(function (step) {return step.indexOf('@') !== 0;});
86
- if (nonScopeSteps.length <= 1) {return false;}
87
-
88
- // before trying to resolve, see if the raw import (with relative
89
- // segments resolved) matches an allowed pattern
90
- var justSteps = steps.join('/');
91
- if (reachingAllowed(justSteps) || reachingAllowed('/' + String(justSteps))) {return false;}
92
-
93
- // if the import statement doesn't match directly, try to match the
94
- // resolved path if the import is resolvable
95
- var resolved = (0, _resolve2['default'])(importPath, context);
96
- if (!resolved || reachingAllowed(normalizeSep(resolved))) {return false;}
97
-
98
- // this import was not allowed by the allowed paths, and reaches
99
- // so it is a violation
100
- return true;
101
- }
102
-
103
- function isForbidViolation(importPath) {
104
- var steps = toSteps(importPath);
105
-
106
- // before trying to resolve, see if the raw import (with relative
107
- // segments resolved) matches a forbidden pattern
108
- var justSteps = steps.join('/');
109
-
110
- if (reachingForbidden(justSteps) || reachingForbidden('/' + String(justSteps))) {return true;}
111
-
112
- // if the import statement doesn't match directly, try to match the
113
- // resolved path if the import is resolvable
114
- var resolved = (0, _resolve2['default'])(importPath, context);
115
- if (resolved && reachingForbidden(normalizeSep(resolved))) {return true;}
116
-
117
- // this import was not forbidden by the forbidden paths so it is not a violation
118
- return false;
119
- }
120
-
121
- // find a directory that is being reached into, but which shouldn't be
122
- var isReachViolation = options.forbid ? isForbidViolation : isAllowViolation;
123
-
124
- function checkImportForReaching(importPath, node) {
125
- var potentialViolationTypes = ['parent', 'index', 'sibling', 'external', 'internal'];
126
- if (
127
- potentialViolationTypes.indexOf((0, _importType2['default'])(importPath, context)) !== -1 &&
128
- isReachViolation(importPath))
129
- {
130
- context.report({
131
- node: node,
132
- message: 'Reaching to "' + String(importPath) + '" is not allowed.' });
133
-
134
- }
135
- }
136
-
137
- return (0, _moduleVisitor2['default'])(
138
- function (source) {
139
- checkImportForReaching(source.value, source);
140
- },
141
- { commonjs: true });
142
-
143
- }return noReachingInside;}() };
144
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9uby1pbnRlcm5hbC1tb2R1bGVzLmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJtZXRhIiwidHlwZSIsImRvY3MiLCJjYXRlZ29yeSIsImRlc2NyaXB0aW9uIiwidXJsIiwic2NoZW1hIiwiYW55T2YiLCJwcm9wZXJ0aWVzIiwiYWxsb3ciLCJpdGVtcyIsImFkZGl0aW9uYWxQcm9wZXJ0aWVzIiwiZm9yYmlkIiwiY3JlYXRlIiwibm9SZWFjaGluZ0luc2lkZSIsImNvbnRleHQiLCJvcHRpb25zIiwiYWxsb3dSZWdleHBzIiwibWFwIiwicCIsIm1pbmltYXRjaCIsIm1ha2VSZSIsImZvcmJpZFJlZ2V4cHMiLCJub3JtYWxpemVTZXAiLCJzb21lUGF0aCIsInNwbGl0Iiwiam9pbiIsInRvU3RlcHMiLCJmaWx0ZXIiLCJzdGVwIiwicmVkdWNlIiwiYWNjIiwic2xpY2UiLCJjb25jYXQiLCJyZWFjaGluZ0FsbG93ZWQiLCJpbXBvcnRQYXRoIiwic29tZSIsInJlIiwidGVzdCIsInJlYWNoaW5nRm9yYmlkZGVuIiwiaXNBbGxvd1Zpb2xhdGlvbiIsInN0ZXBzIiwibm9uU2NvcGVTdGVwcyIsImluZGV4T2YiLCJsZW5ndGgiLCJqdXN0U3RlcHMi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ICAgICB9LFxuICAgICAgICAgICAgYWRkaXRpb25hbFByb3BlcnRpZXM6IGZhbHNlLFxuICAgICAgICAgIH0sXG4gICAgICAgICAge1xuICAgICAgICAgICAgdHlwZTogJ29iamVjdCcsXG4gICAgICAgICAgICBwcm9wZXJ0aWVzOiB7XG4gICAgICAgICAgICAgIGZvcmJpZDoge1xuICAgICAgICAgICAgICAgIHR5cGU6ICdhcnJheScsXG4gICAgICAgICAgICAgICAgaXRlbXM6IHtcbiAgICAgICAgICAgICAgICAgIHR5cGU6ICdzdHJpbmcnLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgYWRkaXRpb25hbFByb3BlcnRpZXM6IGZhbHNlLFxuICAgICAgICAgIH0sXG4gICAgICAgIF0sXG4gICAgICB9LFxuICAgIF0sXG4gIH0sXG5cbiAgY3JlYXRlOiBmdW5jdGlvbiBub1JlYWNoaW5nSW5zaWRlKGNvbnRleHQpIHtcbiAgICBjb25zdCBvcHRpb25zID0gY29udGV4dC5vcHRpb25zWzBdIHx8IHt9O1xuICAgIGNvbnN0IGFsbG93UmVnZXhwcyA9IChvcHRpb25zLmFsbG93IHx8IFtdKS5tYXAoKHApID0+IG1pbmltYXRjaC5tYWtlUmUocCkpO1xuICAgIGNvbnN0IGZvcmJpZFJlZ2V4cHMgPSAob3B0aW9ucy5mb3JiaWQgfHwgW10pLm1hcCgocCkgPT4gbWluaW1hdGNoLm1ha2VSZShwKSk7XG5cbiAgICAvLyBtaW5pbWF0Y2ggcGF0dGVybnMgYXJlIGV4cGVjdGVkIHRvIHVzZSAvIHBhdGggc2VwYXJhdG9ycywgbGlrZSBpbXBvcnRcbiAgICAvLyBzdGF0ZW1lbnRzLCBzbyBub3JtYWxpemUgcGF0aHMgdG8gdXNlIHRoZSBzYW1lXG4gICAgZnVuY3Rpb24gbm9ybWFsaXplU2VwKHNvbWVQYXRoKSB7XG4gICAgICByZXR1cm4gc29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