create-packer 1.34.4 → 1.34.6

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 (1545) hide show
  1. package/package.json +1 -1
  2. package/template/lib/react/node_modules/.bin/acorn +17 -0
  3. package/template/lib/react/node_modules/.bin/acorn.CMD +12 -0
  4. package/template/lib/react/node_modules/.bin/acorn.ps1 +41 -0
  5. package/template/lib/react/node_modules/.bin/browserslist +17 -0
  6. package/template/lib/react/node_modules/.bin/browserslist.CMD +12 -0
  7. package/template/lib/react/node_modules/.bin/browserslist.ps1 +41 -0
  8. package/template/lib/react/node_modules/.bin/esbuild +17 -0
  9. package/template/lib/react/node_modules/.bin/esbuild.CMD +12 -0
  10. package/template/lib/react/node_modules/.bin/esbuild.ps1 +41 -0
  11. package/template/lib/react/node_modules/.bin/eslint +17 -0
  12. package/template/lib/react/node_modules/.bin/eslint.CMD +12 -0
  13. package/template/lib/react/node_modules/.bin/eslint.ps1 +41 -0
  14. package/template/lib/react/node_modules/.bin/prettier +17 -0
  15. package/template/lib/react/node_modules/.bin/prettier.CMD +12 -0
  16. package/template/lib/react/node_modules/.bin/prettier.ps1 +41 -0
  17. package/template/lib/react/node_modules/.bin/sb +17 -0
  18. package/template/lib/react/node_modules/.bin/sb.CMD +12 -0
  19. package/template/lib/react/node_modules/.bin/sb.ps1 +41 -0
  20. package/template/lib/react/node_modules/.bin/storybook +17 -0
  21. package/template/lib/react/node_modules/.bin/storybook.CMD +12 -0
  22. package/template/lib/react/node_modules/.bin/storybook.ps1 +41 -0
  23. package/template/lib/react/node_modules/.bin/stylelint +17 -0
  24. package/template/lib/react/node_modules/.bin/stylelint.CMD +12 -0
  25. package/template/lib/react/node_modules/.bin/stylelint.ps1 +41 -0
  26. package/template/lib/react/node_modules/.bin/tsc +17 -0
  27. package/template/lib/react/node_modules/.bin/tsc.CMD +12 -0
  28. package/template/lib/react/node_modules/.bin/tsc.ps1 +41 -0
  29. package/template/lib/react/node_modules/.bin/tsserver +17 -0
  30. package/template/lib/react/node_modules/.bin/tsserver.CMD +12 -0
  31. package/template/lib/react/node_modules/.bin/tsserver.ps1 +41 -0
  32. package/template/lib/react/node_modules/.bin/vite +17 -0
  33. package/template/lib/react/node_modules/.bin/vite.CMD +12 -0
  34. package/template/lib/react/node_modules/.bin/vite.ps1 +41 -0
  35. package/template/lib/react/node_modules/eslint/LICENSE +19 -0
  36. package/template/lib/react/node_modules/eslint/README.md +304 -0
  37. package/template/lib/react/node_modules/eslint/bin/eslint.js +173 -0
  38. package/template/lib/react/node_modules/eslint/conf/config-schema.js +93 -0
  39. package/template/lib/react/node_modules/eslint/conf/default-cli-options.js +32 -0
  40. package/template/lib/react/node_modules/eslint/conf/globals.js +154 -0
  41. package/template/lib/react/node_modules/eslint/conf/replacements.json +22 -0
  42. package/template/lib/react/node_modules/eslint/conf/rule-type-list.json +28 -0
  43. package/template/lib/react/node_modules/eslint/lib/api.js +26 -0
  44. package/template/lib/react/node_modules/eslint/lib/cli-engine/cli-engine.js +1078 -0
  45. package/template/lib/react/node_modules/eslint/lib/cli-engine/file-enumerator.js +547 -0
  46. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
  47. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
  48. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +46 -0
  49. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/html.js +351 -0
  50. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
  51. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
  52. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
  53. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
  54. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
  55. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
  56. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
  57. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
  58. package/template/lib/react/node_modules/eslint/lib/cli-engine/hash.js +35 -0
  59. package/template/lib/react/node_modules/eslint/lib/cli-engine/index.js +7 -0
  60. package/template/lib/react/node_modules/eslint/lib/cli-engine/lint-result-cache.js +203 -0
  61. package/template/lib/react/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
  62. package/template/lib/react/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
  63. package/template/lib/react/node_modules/eslint/lib/cli.js +471 -0
  64. package/template/lib/react/node_modules/eslint/lib/config/default-config.js +67 -0
  65. package/template/lib/react/node_modules/eslint/lib/config/flat-config-array.js +274 -0
  66. package/template/lib/react/node_modules/eslint/lib/config/flat-config-helpers.js +111 -0
  67. package/template/lib/react/node_modules/eslint/lib/config/flat-config-schema.js +583 -0
  68. package/template/lib/react/node_modules/eslint/lib/config/rule-validator.js +158 -0
  69. package/template/lib/react/node_modules/eslint/lib/eslint/eslint-helpers.js +902 -0
  70. package/template/lib/react/node_modules/eslint/lib/eslint/eslint.js +700 -0
  71. package/template/lib/react/node_modules/eslint/lib/eslint/flat-eslint.js +1142 -0
  72. package/template/lib/react/node_modules/eslint/lib/eslint/index.js +9 -0
  73. package/template/lib/react/node_modules/eslint/lib/linter/apply-disable-directives.js +465 -0
  74. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +852 -0
  75. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +263 -0
  76. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +2348 -0
  77. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +342 -0
  78. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
  79. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +349 -0
  80. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
  81. package/template/lib/react/node_modules/eslint/lib/linter/config-comment-parser.js +185 -0
  82. package/template/lib/react/node_modules/eslint/lib/linter/index.js +13 -0
  83. package/template/lib/react/node_modules/eslint/lib/linter/interpolate.js +28 -0
  84. package/template/lib/react/node_modules/eslint/lib/linter/linter.js +2119 -0
  85. package/template/lib/react/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
  86. package/template/lib/react/node_modules/eslint/lib/linter/report-translator.js +369 -0
  87. package/template/lib/react/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
  88. package/template/lib/react/node_modules/eslint/lib/linter/rules.js +80 -0
  89. package/template/lib/react/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
  90. package/template/lib/react/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
  91. package/template/lib/react/node_modules/eslint/lib/linter/timing.js +161 -0
  92. package/template/lib/react/node_modules/eslint/lib/options.js +398 -0
  93. package/template/lib/react/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1122 -0
  94. package/template/lib/react/node_modules/eslint/lib/rule-tester/index.js +5 -0
  95. package/template/lib/react/node_modules/eslint/lib/rule-tester/rule-tester.js +1206 -0
  96. package/template/lib/react/node_modules/eslint/lib/rules/accessor-pairs.js +346 -0
  97. package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-newline.js +261 -0
  98. package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-spacing.js +244 -0
  99. package/template/lib/react/node_modules/eslint/lib/rules/array-callback-return.js +446 -0
  100. package/template/lib/react/node_modules/eslint/lib/rules/array-element-newline.js +311 -0
  101. package/template/lib/react/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
  102. package/template/lib/react/node_modules/eslint/lib/rules/arrow-parens.js +186 -0
  103. package/template/lib/react/node_modules/eslint/lib/rules/arrow-spacing.js +164 -0
  104. package/template/lib/react/node_modules/eslint/lib/rules/block-scoped-var.js +135 -0
  105. package/template/lib/react/node_modules/eslint/lib/rules/block-spacing.js +174 -0
  106. package/template/lib/react/node_modules/eslint/lib/rules/brace-style.js +197 -0
  107. package/template/lib/react/node_modules/eslint/lib/rules/callback-return.js +187 -0
  108. package/template/lib/react/node_modules/eslint/lib/rules/camelcase.js +399 -0
  109. package/template/lib/react/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
  110. package/template/lib/react/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
  111. package/template/lib/react/node_modules/eslint/lib/rules/comma-dangle.js +373 -0
  112. package/template/lib/react/node_modules/eslint/lib/rules/comma-spacing.js +192 -0
  113. package/template/lib/react/node_modules/eslint/lib/rules/comma-style.js +314 -0
  114. package/template/lib/react/node_modules/eslint/lib/rules/complexity.js +165 -0
  115. package/template/lib/react/node_modules/eslint/lib/rules/computed-property-spacing.js +208 -0
  116. package/template/lib/react/node_modules/eslint/lib/rules/consistent-return.js +210 -0
  117. package/template/lib/react/node_modules/eslint/lib/rules/consistent-this.js +153 -0
  118. package/template/lib/react/node_modules/eslint/lib/rules/constructor-super.js +446 -0
  119. package/template/lib/react/node_modules/eslint/lib/rules/curly.js +486 -0
  120. package/template/lib/react/node_modules/eslint/lib/rules/default-case-last.js +44 -0
  121. package/template/lib/react/node_modules/eslint/lib/rules/default-case.js +97 -0
  122. package/template/lib/react/node_modules/eslint/lib/rules/default-param-last.js +62 -0
  123. package/template/lib/react/node_modules/eslint/lib/rules/dot-location.js +108 -0
  124. package/template/lib/react/node_modules/eslint/lib/rules/dot-notation.js +176 -0
  125. package/template/lib/react/node_modules/eslint/lib/rules/eol-last.js +115 -0
  126. package/template/lib/react/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
  127. package/template/lib/react/node_modules/eslint/lib/rules/for-direction.js +140 -0
  128. package/template/lib/react/node_modules/eslint/lib/rules/func-call-spacing.js +233 -0
  129. package/template/lib/react/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
  130. package/template/lib/react/node_modules/eslint/lib/rules/func-names.js +191 -0
  131. package/template/lib/react/node_modules/eslint/lib/rules/func-style.js +98 -0
  132. package/template/lib/react/node_modules/eslint/lib/rules/function-call-argument-newline.js +125 -0
  133. package/template/lib/react/node_modules/eslint/lib/rules/function-paren-newline.js +292 -0
  134. package/template/lib/react/node_modules/eslint/lib/rules/generator-star-spacing.js +209 -0
  135. package/template/lib/react/node_modules/eslint/lib/rules/getter-return.js +204 -0
  136. package/template/lib/react/node_modules/eslint/lib/rules/global-require.js +90 -0
  137. package/template/lib/react/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +215 -0
  138. package/template/lib/react/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
  139. package/template/lib/react/node_modules/eslint/lib/rules/handle-callback-err.js +101 -0
  140. package/template/lib/react/node_modules/eslint/lib/rules/id-blacklist.js +246 -0
  141. package/template/lib/react/node_modules/eslint/lib/rules/id-denylist.js +228 -0
  142. package/template/lib/react/node_modules/eslint/lib/rules/id-length.js +177 -0
  143. package/template/lib/react/node_modules/eslint/lib/rules/id-match.js +299 -0
  144. package/template/lib/react/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +84 -0
  145. package/template/lib/react/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
  146. package/template/lib/react/node_modules/eslint/lib/rules/indent.js +1803 -0
  147. package/template/lib/react/node_modules/eslint/lib/rules/index.js +306 -0
  148. package/template/lib/react/node_modules/eslint/lib/rules/init-declarations.js +139 -0
  149. package/template/lib/react/node_modules/eslint/lib/rules/jsx-quotes.js +98 -0
  150. package/template/lib/react/node_modules/eslint/lib/rules/key-spacing.js +687 -0
  151. package/template/lib/react/node_modules/eslint/lib/rules/keyword-spacing.js +640 -0
  152. package/template/lib/react/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
  153. package/template/lib/react/node_modules/eslint/lib/rules/linebreak-style.js +108 -0
  154. package/template/lib/react/node_modules/eslint/lib/rules/lines-around-comment.js +471 -0
  155. package/template/lib/react/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
  156. package/template/lib/react/node_modules/eslint/lib/rules/lines-between-class-members.js +269 -0
  157. package/template/lib/react/node_modules/eslint/lib/rules/logical-assignment-operators.js +504 -0
  158. package/template/lib/react/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
  159. package/template/lib/react/node_modules/eslint/lib/rules/max-depth.js +156 -0
  160. package/template/lib/react/node_modules/eslint/lib/rules/max-len.js +440 -0
  161. package/template/lib/react/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
  162. package/template/lib/react/node_modules/eslint/lib/rules/max-lines.js +193 -0
  163. package/template/lib/react/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
  164. package/template/lib/react/node_modules/eslint/lib/rules/max-params.js +102 -0
  165. package/template/lib/react/node_modules/eslint/lib/rules/max-statements-per-line.js +199 -0
  166. package/template/lib/react/node_modules/eslint/lib/rules/max-statements.js +184 -0
  167. package/template/lib/react/node_modules/eslint/lib/rules/multiline-comment-style.js +474 -0
  168. package/template/lib/react/node_modules/eslint/lib/rules/multiline-ternary.js +174 -0
  169. package/template/lib/react/node_modules/eslint/lib/rules/new-cap.js +276 -0
  170. package/template/lib/react/node_modules/eslint/lib/rules/new-parens.js +93 -0
  171. package/template/lib/react/node_modules/eslint/lib/rules/newline-after-var.js +253 -0
  172. package/template/lib/react/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
  173. package/template/lib/react/node_modules/eslint/lib/rules/newline-per-chained-call.js +126 -0
  174. package/template/lib/react/node_modules/eslint/lib/rules/no-alert.js +138 -0
  175. package/template/lib/react/node_modules/eslint/lib/rules/no-array-constructor.js +133 -0
  176. package/template/lib/react/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
  177. package/template/lib/react/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
  178. package/template/lib/react/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
  179. package/template/lib/react/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
  180. package/template/lib/react/node_modules/eslint/lib/rules/no-caller.js +46 -0
  181. package/template/lib/react/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
  182. package/template/lib/react/node_modules/eslint/lib/rules/no-catch-shadow.js +82 -0
  183. package/template/lib/react/node_modules/eslint/lib/rules/no-class-assign.js +63 -0
  184. package/template/lib/react/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
  185. package/template/lib/react/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
  186. package/template/lib/react/node_modules/eslint/lib/rules/no-confusing-arrow.js +92 -0
  187. package/template/lib/react/node_modules/eslint/lib/rules/no-console.js +207 -0
  188. package/template/lib/react/node_modules/eslint/lib/rules/no-const-assign.js +56 -0
  189. package/template/lib/react/node_modules/eslint/lib/rules/no-constant-binary-expression.js +509 -0
  190. package/template/lib/react/node_modules/eslint/lib/rules/no-constant-condition.js +150 -0
  191. package/template/lib/react/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
  192. package/template/lib/react/node_modules/eslint/lib/rules/no-continue.js +39 -0
  193. package/template/lib/react/node_modules/eslint/lib/rules/no-control-regex.js +138 -0
  194. package/template/lib/react/node_modules/eslint/lib/rules/no-debugger.js +43 -0
  195. package/template/lib/react/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
  196. package/template/lib/react/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
  197. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-args.js +82 -0
  198. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
  199. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
  200. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
  201. package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
  202. package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
  203. package/template/lib/react/node_modules/eslint/lib/rules/no-else-return.js +405 -0
  204. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-character-class.js +76 -0
  205. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
  206. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-pattern.js +78 -0
  207. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-static-block.js +47 -0
  208. package/template/lib/react/node_modules/eslint/lib/rules/no-empty.js +103 -0
  209. package/template/lib/react/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
  210. package/template/lib/react/node_modules/eslint/lib/rules/no-eval.js +286 -0
  211. package/template/lib/react/node_modules/eslint/lib/rules/no-ex-assign.js +54 -0
  212. package/template/lib/react/node_modules/eslint/lib/rules/no-extend-native.js +179 -0
  213. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
  214. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
  215. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
  216. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-parens.js +1322 -0
  217. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-semi.js +147 -0
  218. package/template/lib/react/node_modules/eslint/lib/rules/no-fallthrough.js +196 -0
  219. package/template/lib/react/node_modules/eslint/lib/rules/no-floating-decimal.js +73 -0
  220. package/template/lib/react/node_modules/eslint/lib/rules/no-func-assign.js +78 -0
  221. package/template/lib/react/node_modules/eslint/lib/rules/no-global-assign.js +95 -0
  222. package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-coercion.js +380 -0
  223. package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-globals.js +146 -0
  224. package/template/lib/react/node_modules/eslint/lib/rules/no-implied-eval.js +132 -0
  225. package/template/lib/react/node_modules/eslint/lib/rules/no-import-assign.js +241 -0
  226. package/template/lib/react/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
  227. package/template/lib/react/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
  228. package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-regexp.js +194 -0
  229. package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
  230. package/template/lib/react/node_modules/eslint/lib/rules/no-irregular-whitespace.js +276 -0
  231. package/template/lib/react/node_modules/eslint/lib/rules/no-iterator.js +52 -0
  232. package/template/lib/react/node_modules/eslint/lib/rules/no-label-var.js +80 -0
  233. package/template/lib/react/node_modules/eslint/lib/rules/no-labels.js +149 -0
  234. package/template/lib/react/node_modules/eslint/lib/rules/no-lone-blocks.js +136 -0
  235. package/template/lib/react/node_modules/eslint/lib/rules/no-lonely-if.js +88 -0
  236. package/template/lib/react/node_modules/eslint/lib/rules/no-loop-func.js +206 -0
  237. package/template/lib/react/node_modules/eslint/lib/rules/no-loss-of-precision.js +214 -0
  238. package/template/lib/react/node_modules/eslint/lib/rules/no-magic-numbers.js +243 -0
  239. package/template/lib/react/node_modules/eslint/lib/rules/no-misleading-character-class.js +300 -0
  240. package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-operators.js +229 -0
  241. package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
  242. package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +116 -0
  243. package/template/lib/react/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
  244. package/template/lib/react/node_modules/eslint/lib/rules/no-multi-spaces.js +141 -0
  245. package/template/lib/react/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
  246. package/template/lib/react/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +154 -0
  247. package/template/lib/react/node_modules/eslint/lib/rules/no-native-reassign.js +98 -0
  248. package/template/lib/react/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
  249. package/template/lib/react/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
  250. package/template/lib/react/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
  251. package/template/lib/react/node_modules/eslint/lib/rules/no-new-func.js +87 -0
  252. package/template/lib/react/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +66 -0
  253. package/template/lib/react/node_modules/eslint/lib/rules/no-new-object.js +67 -0
  254. package/template/lib/react/node_modules/eslint/lib/rules/no-new-require.js +50 -0
  255. package/template/lib/react/node_modules/eslint/lib/rules/no-new-symbol.js +56 -0
  256. package/template/lib/react/node_modules/eslint/lib/rules/no-new-wrappers.js +60 -0
  257. package/template/lib/react/node_modules/eslint/lib/rules/no-new.js +43 -0
  258. package/template/lib/react/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
  259. package/template/lib/react/node_modules/eslint/lib/rules/no-obj-calls.js +86 -0
  260. package/template/lib/react/node_modules/eslint/lib/rules/no-object-constructor.js +117 -0
  261. package/template/lib/react/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
  262. package/template/lib/react/node_modules/eslint/lib/rules/no-octal.js +45 -0
  263. package/template/lib/react/node_modules/eslint/lib/rules/no-param-reassign.js +230 -0
  264. package/template/lib/react/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
  265. package/template/lib/react/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
  266. package/template/lib/react/node_modules/eslint/lib/rules/no-process-env.js +51 -0
  267. package/template/lib/react/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
  268. package/template/lib/react/node_modules/eslint/lib/rules/no-promise-executor-return.js +263 -0
  269. package/template/lib/react/node_modules/eslint/lib/rules/no-proto.js +48 -0
  270. package/template/lib/react/node_modules/eslint/lib/rules/no-prototype-builtins.js +159 -0
  271. package/template/lib/react/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
  272. package/template/lib/react/node_modules/eslint/lib/rules/no-regex-spaces.js +197 -0
  273. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-exports.js +193 -0
  274. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-globals.js +124 -0
  275. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-imports.js +410 -0
  276. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-modules.js +213 -0
  277. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-properties.js +168 -0
  278. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
  279. package/template/lib/react/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
  280. package/template/lib/react/node_modules/eslint/lib/rules/no-return-await.js +135 -0
  281. package/template/lib/react/node_modules/eslint/lib/rules/no-script-url.js +61 -0
  282. package/template/lib/react/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
  283. package/template/lib/react/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
  284. package/template/lib/react/node_modules/eslint/lib/rules/no-sequences.js +138 -0
  285. package/template/lib/react/node_modules/eslint/lib/rules/no-setter-return.js +226 -0
  286. package/template/lib/react/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +65 -0
  287. package/template/lib/react/node_modules/eslint/lib/rules/no-shadow.js +336 -0
  288. package/template/lib/react/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
  289. package/template/lib/react/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
  290. package/template/lib/react/node_modules/eslint/lib/rules/no-sync.js +64 -0
  291. package/template/lib/react/node_modules/eslint/lib/rules/no-tabs.js +81 -0
  292. package/template/lib/react/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
  293. package/template/lib/react/node_modules/eslint/lib/rules/no-ternary.js +41 -0
  294. package/template/lib/react/node_modules/eslint/lib/rules/no-this-before-super.js +331 -0
  295. package/template/lib/react/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
  296. package/template/lib/react/node_modules/eslint/lib/rules/no-trailing-spaces.js +193 -0
  297. package/template/lib/react/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
  298. package/template/lib/react/node_modules/eslint/lib/rules/no-undef.js +79 -0
  299. package/template/lib/react/node_modules/eslint/lib/rules/no-undefined.js +86 -0
  300. package/template/lib/react/node_modules/eslint/lib/rules/no-underscore-dangle.js +335 -0
  301. package/template/lib/react/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
  302. package/template/lib/react/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
  303. package/template/lib/react/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
  304. package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable-loop.js +185 -0
  305. package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable.js +293 -0
  306. package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
  307. package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
  308. package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
  309. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-expressions.js +186 -0
  310. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-labels.js +143 -0
  311. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
  312. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-vars.js +718 -0
  313. package/template/lib/react/node_modules/eslint/lib/rules/no-use-before-define.js +348 -0
  314. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-backreference.js +194 -0
  315. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
  316. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
  317. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
  318. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
  319. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
  320. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-escape.js +333 -0
  321. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
  322. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-return.js +364 -0
  323. package/template/lib/react/node_modules/eslint/lib/rules/no-var.js +334 -0
  324. package/template/lib/react/node_modules/eslint/lib/rules/no-void.js +64 -0
  325. package/template/lib/react/node_modules/eslint/lib/rules/no-warning-comments.js +201 -0
  326. package/template/lib/react/node_modules/eslint/lib/rules/no-whitespace-before-property.js +116 -0
  327. package/template/lib/react/node_modules/eslint/lib/rules/no-with.js +39 -0
  328. package/template/lib/react/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +127 -0
  329. package/template/lib/react/node_modules/eslint/lib/rules/object-curly-newline.js +324 -0
  330. package/template/lib/react/node_modules/eslint/lib/rules/object-curly-spacing.js +311 -0
  331. package/template/lib/react/node_modules/eslint/lib/rules/object-property-newline.js +102 -0
  332. package/template/lib/react/node_modules/eslint/lib/rules/object-shorthand.js +520 -0
  333. package/template/lib/react/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +95 -0
  334. package/template/lib/react/node_modules/eslint/lib/rules/one-var.js +567 -0
  335. package/template/lib/react/node_modules/eslint/lib/rules/operator-assignment.js +209 -0
  336. package/template/lib/react/node_modules/eslint/lib/rules/operator-linebreak.js +253 -0
  337. package/template/lib/react/node_modules/eslint/lib/rules/padded-blocks.js +310 -0
  338. package/template/lib/react/node_modules/eslint/lib/rules/padding-line-between-statements.js +590 -0
  339. package/template/lib/react/node_modules/eslint/lib/rules/prefer-arrow-callback.js +381 -0
  340. package/template/lib/react/node_modules/eslint/lib/rules/prefer-const.js +501 -0
  341. package/template/lib/react/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
  342. package/template/lib/react/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +191 -0
  343. package/template/lib/react/node_modules/eslint/lib/rules/prefer-named-capture-group.js +178 -0
  344. package/template/lib/react/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
  345. package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-has-own.js +114 -0
  346. package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-spread.js +298 -0
  347. package/template/lib/react/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +132 -0
  348. package/template/lib/react/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
  349. package/template/lib/react/node_modules/eslint/lib/rules/prefer-regex-literals.js +507 -0
  350. package/template/lib/react/node_modules/eslint/lib/rules/prefer-rest-params.js +118 -0
  351. package/template/lib/react/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
  352. package/template/lib/react/node_modules/eslint/lib/rules/prefer-template.js +275 -0
  353. package/template/lib/react/node_modules/eslint/lib/rules/quote-props.js +310 -0
  354. package/template/lib/react/node_modules/eslint/lib/rules/quotes.js +350 -0
  355. package/template/lib/react/node_modules/eslint/lib/rules/radix.js +198 -0
  356. package/template/lib/react/node_modules/eslint/lib/rules/require-atomic-updates.js +331 -0
  357. package/template/lib/react/node_modules/eslint/lib/rules/require-await.js +113 -0
  358. package/template/lib/react/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
  359. package/template/lib/react/node_modules/eslint/lib/rules/require-unicode-regexp.js +129 -0
  360. package/template/lib/react/node_modules/eslint/lib/rules/require-yield.js +77 -0
  361. package/template/lib/react/node_modules/eslint/lib/rules/rest-spread-spacing.js +123 -0
  362. package/template/lib/react/node_modules/eslint/lib/rules/semi-spacing.js +248 -0
  363. package/template/lib/react/node_modules/eslint/lib/rules/semi-style.js +158 -0
  364. package/template/lib/react/node_modules/eslint/lib/rules/semi.js +438 -0
  365. package/template/lib/react/node_modules/eslint/lib/rules/sort-imports.js +241 -0
  366. package/template/lib/react/node_modules/eslint/lib/rules/sort-keys.js +230 -0
  367. package/template/lib/react/node_modules/eslint/lib/rules/sort-vars.js +104 -0
  368. package/template/lib/react/node_modules/eslint/lib/rules/space-before-blocks.js +204 -0
  369. package/template/lib/react/node_modules/eslint/lib/rules/space-before-function-paren.js +167 -0
  370. package/template/lib/react/node_modules/eslint/lib/rules/space-in-parens.js +285 -0
  371. package/template/lib/react/node_modules/eslint/lib/rules/space-infix-ops.js +198 -0
  372. package/template/lib/react/node_modules/eslint/lib/rules/space-unary-ops.js +324 -0
  373. package/template/lib/react/node_modules/eslint/lib/rules/spaced-comment.js +385 -0
  374. package/template/lib/react/node_modules/eslint/lib/rules/strict.js +277 -0
  375. package/template/lib/react/node_modules/eslint/lib/rules/switch-colon-spacing.js +132 -0
  376. package/template/lib/react/node_modules/eslint/lib/rules/symbol-description.js +73 -0
  377. package/template/lib/react/node_modules/eslint/lib/rules/template-curly-spacing.js +144 -0
  378. package/template/lib/react/node_modules/eslint/lib/rules/template-tag-spacing.js +93 -0
  379. package/template/lib/react/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
  380. package/template/lib/react/node_modules/eslint/lib/rules/use-isnan.js +141 -0
  381. package/template/lib/react/node_modules/eslint/lib/rules/utils/ast-utils.js +2282 -0
  382. package/template/lib/react/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
  383. package/template/lib/react/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
  384. package/template/lib/react/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
  385. package/template/lib/react/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
  386. package/template/lib/react/node_modules/eslint/lib/rules/utils/regular-expressions.js +42 -0
  387. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
  388. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
  389. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
  390. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
  391. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
  392. package/template/lib/react/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
  393. package/template/lib/react/node_modules/eslint/lib/rules/valid-typeof.js +127 -0
  394. package/template/lib/react/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
  395. package/template/lib/react/node_modules/eslint/lib/rules/wrap-iife.js +207 -0
  396. package/template/lib/react/node_modules/eslint/lib/rules/wrap-regex.js +61 -0
  397. package/template/lib/react/node_modules/eslint/lib/rules/yield-star-spacing.js +130 -0
  398. package/template/lib/react/node_modules/eslint/lib/rules/yoda.js +353 -0
  399. package/template/lib/react/node_modules/eslint/lib/shared/ajv.js +34 -0
  400. package/template/lib/react/node_modules/eslint/lib/shared/ast-utils.js +29 -0
  401. package/template/lib/react/node_modules/eslint/lib/shared/config-validator.js +347 -0
  402. package/template/lib/react/node_modules/eslint/lib/shared/deprecation-warnings.js +58 -0
  403. package/template/lib/react/node_modules/eslint/lib/shared/directives.js +15 -0
  404. package/template/lib/react/node_modules/eslint/lib/shared/logging.js +30 -0
  405. package/template/lib/react/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
  406. package/template/lib/react/node_modules/eslint/lib/shared/runtime-info.js +167 -0
  407. package/template/lib/react/node_modules/eslint/lib/shared/severity.js +49 -0
  408. package/template/lib/react/node_modules/eslint/lib/shared/string-utils.js +60 -0
  409. package/template/lib/react/node_modules/eslint/lib/shared/traverser.js +195 -0
  410. package/template/lib/react/node_modules/eslint/lib/shared/types.js +216 -0
  411. package/template/lib/react/node_modules/eslint/lib/source-code/index.js +5 -0
  412. package/template/lib/react/node_modules/eslint/lib/source-code/source-code.js +1055 -0
  413. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
  414. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
  415. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
  416. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
  417. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
  418. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
  419. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
  420. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
  421. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
  422. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
  423. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
  424. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
  425. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/utils.js +107 -0
  426. package/template/lib/react/node_modules/eslint/lib/unsupported-api.js +30 -0
  427. package/template/lib/react/node_modules/eslint/messages/all-files-ignored.js +16 -0
  428. package/template/lib/react/node_modules/eslint/messages/eslintrc-incompat.js +98 -0
  429. package/template/lib/react/node_modules/eslint/messages/eslintrc-plugins.js +24 -0
  430. package/template/lib/react/node_modules/eslint/messages/extend-config-missing.js +13 -0
  431. package/template/lib/react/node_modules/eslint/messages/failed-to-read-json.js +11 -0
  432. package/template/lib/react/node_modules/eslint/messages/file-not-found.js +10 -0
  433. package/template/lib/react/node_modules/eslint/messages/invalid-rule-options.js +17 -0
  434. package/template/lib/react/node_modules/eslint/messages/invalid-rule-severity.js +13 -0
  435. package/template/lib/react/node_modules/eslint/messages/no-config-found.js +15 -0
  436. package/template/lib/react/node_modules/eslint/messages/plugin-conflict.js +22 -0
  437. package/template/lib/react/node_modules/eslint/messages/plugin-invalid.js +16 -0
  438. package/template/lib/react/node_modules/eslint/messages/plugin-missing.js +19 -0
  439. package/template/lib/react/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
  440. package/template/lib/react/node_modules/eslint/messages/shared.js +18 -0
  441. package/template/lib/react/node_modules/eslint/messages/whitespace-found.js +11 -0
  442. package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint +17 -0
  443. package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.CMD +12 -0
  444. package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.ps1 +41 -0
  445. package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml +17 -0
  446. package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.CMD +12 -0
  447. package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +41 -0
  448. package/template/lib/react/node_modules/eslint/package.json +179 -0
  449. package/template/lib/react/node_modules/eslint-import-resolver-typescript/LICENSE +5 -0
  450. package/template/lib/react/node_modules/eslint-import-resolver-typescript/README.md +232 -0
  451. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.cjs +278 -0
  452. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +20 -0
  453. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +251 -0
  454. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js +252 -0
  455. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js.map +1 -0
  456. package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +17 -0
  457. package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +12 -0
  458. package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +41 -0
  459. package/template/lib/react/node_modules/eslint-import-resolver-typescript/package.json +108 -0
  460. package/template/lib/react/node_modules/eslint-import-resolver-typescript/shim.d.ts +4 -0
  461. package/template/lib/react/node_modules/eslint-plugin-import/CHANGELOG.md +1925 -0
  462. package/template/lib/react/node_modules/eslint-plugin-import/CONTRIBUTING.md +84 -0
  463. package/template/lib/react/node_modules/eslint-plugin-import/LICENSE +22 -0
  464. package/template/lib/react/node_modules/eslint-plugin-import/README.md +500 -0
  465. package/template/lib/react/node_modules/eslint-plugin-import/RELEASE.md +54 -0
  466. package/template/lib/react/node_modules/eslint-plugin-import/SECURITY.md +11 -0
  467. package/template/lib/react/node_modules/eslint-plugin-import/config/electron.js +8 -0
  468. package/template/lib/react/node_modules/eslint-plugin-import/config/errors.js +14 -0
  469. package/template/lib/react/node_modules/eslint-plugin-import/config/react-native.js +13 -0
  470. package/template/lib/react/node_modules/eslint-plugin-import/config/react.js +18 -0
  471. package/template/lib/react/node_modules/eslint-plugin-import/config/recommended.js +28 -0
  472. package/template/lib/react/node_modules/eslint-plugin-import/config/stage-0.js +12 -0
  473. package/template/lib/react/node_modules/eslint-plugin-import/config/typescript.js +34 -0
  474. package/template/lib/react/node_modules/eslint-plugin-import/config/warnings.js +12 -0
  475. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +91 -0
  476. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/default.md +72 -0
  477. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +92 -0
  478. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/export.md +37 -0
  479. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/exports-last.md +51 -0
  480. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/extensions.md +174 -0
  481. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/first.md +75 -0
  482. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/group-exports.md +118 -0
  483. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/imports-first.md +9 -0
  484. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +70 -0
  485. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/named.md +102 -0
  486. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/namespace.md +106 -0
  487. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +167 -0
  488. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +54 -0
  489. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-amd.md +37 -0
  490. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +83 -0
  491. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +96 -0
  492. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +111 -0
  493. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +65 -0
  494. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +62 -0
  495. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +109 -0
  496. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +25 -0
  497. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +49 -0
  498. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +139 -0
  499. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +81 -0
  500. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +136 -0
  501. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +54 -0
  502. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +52 -0
  503. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +53 -0
  504. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +36 -0
  505. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +79 -0
  506. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +44 -0
  507. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +42 -0
  508. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +70 -0
  509. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +123 -0
  510. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +198 -0
  511. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +32 -0
  512. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +60 -0
  513. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +110 -0
  514. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +125 -0
  515. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +85 -0
  516. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +39 -0
  517. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/order.md +365 -0
  518. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +185 -0
  519. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +57 -0
  520. package/template/lib/react/node_modules/eslint-plugin-import/lib/ExportMap.js +856 -0
  521. package/template/lib/react/node_modules/eslint-plugin-import/lib/core/importType.js +129 -0
  522. package/template/lib/react/node_modules/eslint-plugin-import/lib/core/packagePath.js +22 -0
  523. package/template/lib/react/node_modules/eslint-plugin-import/lib/core/staticRequire.js +11 -0
  524. package/template/lib/react/node_modules/eslint-plugin-import/lib/docsUrl.js +8 -0
  525. package/template/lib/react/node_modules/eslint-plugin-import/lib/importDeclaration.js +5 -0
  526. package/template/lib/react/node_modules/eslint-plugin-import/lib/index.js +71 -0
  527. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +221 -0
  528. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/default.js +40 -0
  529. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +120 -0
  530. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/export.js +250 -0
  531. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/exports-last.js +40 -0
  532. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/extensions.js +193 -0
  533. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/first.js +144 -0
  534. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/group-exports.js +155 -0
  535. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/imports-first.js +16 -0
  536. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +60 -0
  537. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/named.js +143 -0
  538. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/namespace.js +218 -0
  539. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +237 -0
  540. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +40 -0
  541. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-amd.js +47 -0
  542. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +103 -0
  543. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +141 -0
  544. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +158 -0
  545. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +43 -0
  546. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +138 -0
  547. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +354 -0
  548. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +77 -0
  549. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +105 -0
  550. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +301 -0
  551. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +85 -0
  552. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +144 -0
  553. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +59 -0
  554. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +96 -0
  555. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +45 -0
  556. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +31 -0
  557. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +39 -0
  558. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +175 -0
  559. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +44 -0
  560. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +71 -0
  561. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +48 -0
  562. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +245 -0
  563. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +39 -0
  564. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +79 -0
  565. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +60 -0
  566. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +945 -0
  567. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +147 -0
  568. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +26 -0
  569. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/order.js +785 -0
  570. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +116 -0
  571. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +38 -0
  572. package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/LICENSE +22 -0
  573. package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/README.md +21 -0
  574. package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/index.js +41 -0
  575. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint +17 -0
  576. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +12 -0
  577. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +41 -0
  578. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver +17 -0
  579. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +12 -0
  580. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +41 -0
  581. package/template/lib/react/node_modules/eslint-plugin-import/package.json +124 -0
  582. package/template/lib/react/node_modules/eslint-plugin-prettier/LICENSE.md +24 -0
  583. package/template/lib/react/node_modules/eslint-plugin-prettier/README.md +202 -0
  584. package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +5 -0
  585. package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +254 -0
  586. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +17 -0
  587. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +17 -0
  588. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +12 -0
  589. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +41 -0
  590. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +12 -0
  591. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +41 -0
  592. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +17 -0
  593. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +12 -0
  594. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +41 -0
  595. package/template/lib/react/node_modules/eslint-plugin-prettier/package.json +101 -0
  596. package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.d.ts +5 -0
  597. package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.js +17 -0
  598. package/template/lib/react/node_modules/eslint-plugin-prettier/worker.js +181 -0
  599. package/template/lib/react/node_modules/eslint-plugin-react/LICENSE +22 -0
  600. package/template/lib/react/node_modules/eslint-plugin-react/README.md +420 -0
  601. package/template/lib/react/node_modules/eslint-plugin-react/configs/all.js +39 -0
  602. package/template/lib/react/node_modules/eslint-plugin-react/configs/jsx-runtime.js +18 -0
  603. package/template/lib/react/node_modules/eslint-plugin-react/configs/recommended.js +34 -0
  604. package/template/lib/react/node_modules/eslint-plugin-react/index.js +31 -0
  605. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.js +400 -0
  606. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/button-has-type.js +163 -0
  607. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.js +108 -0
  608. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.js +280 -0
  609. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/display-name.js +283 -0
  610. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js +134 -0
  611. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.js +121 -0
  612. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-elements.js +114 -0
  613. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js +134 -0
  614. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.js +293 -0
  615. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/function-component-definition.js +284 -0
  616. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/hook-use-state.js +203 -0
  617. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.js +142 -0
  618. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/index.js +106 -0
  619. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.js +159 -0
  620. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.js +116 -0
  621. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js +308 -0
  622. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.js +73 -0
  623. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js +414 -0
  624. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.js +184 -0
  625. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.js +430 -0
  626. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.js +110 -0
  627. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.js +110 -0
  628. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js +80 -0
  629. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js +209 -0
  630. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.js +171 -0
  631. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js +213 -0
  632. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent.js +441 -0
  633. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-key.js +293 -0
  634. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js +162 -0
  635. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.js +154 -0
  636. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-newline.js +168 -0
  637. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js +208 -0
  638. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js +64 -0
  639. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js +225 -0
  640. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js +76 -0
  641. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.js +186 -0
  642. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.js +195 -0
  643. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.js +97 -0
  644. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.js +283 -0
  645. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.js +115 -0
  646. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js +257 -0
  647. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js +233 -0
  648. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js +163 -0
  649. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js +134 -0
  650. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.js +141 -0
  651. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.js +188 -0
  652. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js +530 -0
  653. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js +96 -0
  654. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js +323 -0
  655. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-react.js +46 -0
  656. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-vars.js +60 -0
  657. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.js +260 -0
  658. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.js +187 -0
  659. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js +125 -0
  660. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.js +288 -0
  661. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.js +144 -0
  662. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js +119 -0
  663. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js +155 -0
  664. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger.js +74 -0
  665. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js +258 -0
  666. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.js +10 -0
  667. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js +10 -0
  668. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.js +154 -0
  669. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.js +50 -0
  670. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.js +639 -0
  671. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js +55 -0
  672. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.js +80 -0
  673. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-namespace.js +61 -0
  674. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.js +103 -0
  675. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.js +87 -0
  676. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.js +81 -0
  677. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-set-state.js +88 -0
  678. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-string-refs.js +119 -0
  679. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.js +46 -0
  680. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-typos.js +257 -0
  681. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.js +133 -0
  682. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.js +609 -0
  683. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unsafe.js +153 -0
  684. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unstable-nested-components.js +491 -0
  685. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-class-component-methods.js +257 -0
  686. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-prop-types.js +173 -0
  687. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-state.js +522 -0
  688. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-will-update-set-state.js +14 -0
  689. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-es6-class.js +57 -0
  690. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-exact-props.js +161 -0
  691. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-read-only-props.js +116 -0
  692. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-stateless-function.js +390 -0
  693. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prop-types.js +201 -0
  694. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/react-in-jsx-scope.js +56 -0
  695. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-default-props.js +193 -0
  696. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-optimization.js +239 -0
  697. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-render-return.js +104 -0
  698. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/self-closing-comp.js +103 -0
  699. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-comp.js +446 -0
  700. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-default-props.js +174 -0
  701. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-prop-types.js +266 -0
  702. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/state-in-constructor.js +67 -0
  703. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/static-property-placement.js +187 -0
  704. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/style-prop-object.js +137 -0
  705. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/void-dom-elements-no-children.js +165 -0
  706. package/template/lib/react/node_modules/eslint-plugin-react/lib/types.d.ts +28 -0
  707. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/Components.js +946 -0
  708. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/annotations.js +32 -0
  709. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/ast.js +461 -0
  710. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/componentUtil.js +182 -0
  711. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/defaultProps.js +268 -0
  712. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/docsUrl.js +7 -0
  713. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/error.js +14 -0
  714. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js +16 -0
  715. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateContext.js +53 -0
  716. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateElement.js +33 -0
  717. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isDestructuredFromPragmaImport.js +79 -0
  718. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isFirstLetterCapitalized.js +16 -0
  719. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/jsx.js +196 -0
  720. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/lifecycleMethods.js +30 -0
  721. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/linkComponents.js +49 -0
  722. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/log.js +14 -0
  723. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js +119 -0
  724. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/message.js +8 -0
  725. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/pragma.js +72 -0
  726. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypes.js +1248 -0
  727. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypesSort.js +211 -0
  728. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propWrapper.js +61 -0
  729. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/props.js +103 -0
  730. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/report.js +12 -0
  731. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/usedPropTypes.js +569 -0
  732. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/variable.js +94 -0
  733. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/version.js +161 -0
  734. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint +17 -0
  735. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.CMD +12 -0
  736. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.ps1 +41 -0
  737. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve +17 -0
  738. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.CMD +12 -0
  739. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.ps1 +41 -0
  740. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver +17 -0
  741. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.CMD +12 -0
  742. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.ps1 +41 -0
  743. package/template/lib/react/node_modules/eslint-plugin-react/package.json +106 -0
  744. package/template/lib/react/node_modules/eslint-plugin-react-hooks/LICENSE +21 -0
  745. package/template/lib/react/node_modules/eslint-plugin-react-hooks/README.md +75 -0
  746. package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js +2458 -0
  747. package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.min.js +63 -0
  748. package/template/lib/react/node_modules/eslint-plugin-react-hooks/index.js +9 -0
  749. package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint +17 -0
  750. package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.CMD +12 -0
  751. package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.ps1 +41 -0
  752. package/template/lib/react/node_modules/eslint-plugin-react-hooks/package.json +39 -0
  753. package/template/lib/react/node_modules/prettier/LICENSE +4857 -0
  754. package/template/lib/react/node_modules/prettier/README.md +109 -0
  755. package/template/lib/react/node_modules/prettier/bin/prettier.cjs +68 -0
  756. package/template/lib/react/node_modules/prettier/doc.d.ts +243 -0
  757. package/template/lib/react/node_modules/prettier/doc.js +1328 -0
  758. package/template/lib/react/node_modules/prettier/doc.mjs +1300 -0
  759. package/template/lib/react/node_modules/prettier/index.cjs +648 -0
  760. package/template/lib/react/node_modules/prettier/index.d.ts +940 -0
  761. package/template/lib/react/node_modules/prettier/index.mjs +24255 -0
  762. package/template/lib/react/node_modules/prettier/internal/cli.mjs +7089 -0
  763. package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier +17 -0
  764. package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.CMD +12 -0
  765. package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.ps1 +41 -0
  766. package/template/lib/react/node_modules/prettier/package.json +198 -0
  767. package/template/lib/react/node_modules/prettier/plugins/acorn.d.ts +6 -0
  768. package/template/lib/react/node_modules/prettier/plugins/acorn.js +13 -0
  769. package/template/lib/react/node_modules/prettier/plugins/acorn.mjs +13 -0
  770. package/template/lib/react/node_modules/prettier/plugins/angular.d.ts +8 -0
  771. package/template/lib/react/node_modules/prettier/plugins/angular.js +1 -0
  772. package/template/lib/react/node_modules/prettier/plugins/angular.mjs +1 -0
  773. package/template/lib/react/node_modules/prettier/plugins/babel.d.ts +18 -0
  774. package/template/lib/react/node_modules/prettier/plugins/babel.js +16 -0
  775. package/template/lib/react/node_modules/prettier/plugins/babel.mjs +16 -0
  776. package/template/lib/react/node_modules/prettier/plugins/estree.d.ts +1 -0
  777. package/template/lib/react/node_modules/prettier/plugins/estree.js +36 -0
  778. package/template/lib/react/node_modules/prettier/plugins/estree.mjs +36 -0
  779. package/template/lib/react/node_modules/prettier/plugins/flow.d.ts +5 -0
  780. package/template/lib/react/node_modules/prettier/plugins/flow.js +21 -0
  781. package/template/lib/react/node_modules/prettier/plugins/flow.mjs +21 -0
  782. package/template/lib/react/node_modules/prettier/plugins/glimmer.d.ts +5 -0
  783. package/template/lib/react/node_modules/prettier/plugins/glimmer.js +30 -0
  784. package/template/lib/react/node_modules/prettier/plugins/glimmer.mjs +30 -0
  785. package/template/lib/react/node_modules/prettier/plugins/graphql.d.ts +5 -0
  786. package/template/lib/react/node_modules/prettier/plugins/graphql.js +29 -0
  787. package/template/lib/react/node_modules/prettier/plugins/graphql.mjs +29 -0
  788. package/template/lib/react/node_modules/prettier/plugins/html.d.ts +8 -0
  789. package/template/lib/react/node_modules/prettier/plugins/html.js +19 -0
  790. package/template/lib/react/node_modules/prettier/plugins/html.mjs +19 -0
  791. package/template/lib/react/node_modules/prettier/plugins/markdown.d.ts +7 -0
  792. package/template/lib/react/node_modules/prettier/plugins/markdown.js +59 -0
  793. package/template/lib/react/node_modules/prettier/plugins/markdown.mjs +59 -0
  794. package/template/lib/react/node_modules/prettier/plugins/meriyah.d.ts +5 -0
  795. package/template/lib/react/node_modules/prettier/plugins/meriyah.js +5 -0
  796. package/template/lib/react/node_modules/prettier/plugins/meriyah.mjs +5 -0
  797. package/template/lib/react/node_modules/prettier/plugins/postcss.d.ts +7 -0
  798. package/template/lib/react/node_modules/prettier/plugins/postcss.js +49 -0
  799. package/template/lib/react/node_modules/prettier/plugins/postcss.mjs +49 -0
  800. package/template/lib/react/node_modules/prettier/plugins/typescript.d.ts +5 -0
  801. package/template/lib/react/node_modules/prettier/plugins/typescript.js +25 -0
  802. package/template/lib/react/node_modules/prettier/plugins/typescript.mjs +25 -0
  803. package/template/lib/react/node_modules/prettier/plugins/yaml.d.ts +5 -0
  804. package/template/lib/react/node_modules/prettier/plugins/yaml.js +161 -0
  805. package/template/lib/react/node_modules/prettier/plugins/yaml.mjs +161 -0
  806. package/template/lib/react/node_modules/prettier/standalone.d.ts +33 -0
  807. package/template/lib/react/node_modules/prettier/standalone.js +34 -0
  808. package/template/lib/react/node_modules/prettier/standalone.mjs +34 -0
  809. package/template/lib/react/node_modules/prop-types/LICENSE +21 -0
  810. package/template/lib/react/node_modules/prop-types/README.md +302 -0
  811. package/template/lib/react/node_modules/prop-types/checkPropTypes.js +103 -0
  812. package/template/lib/react/node_modules/prop-types/factory.js +19 -0
  813. package/template/lib/react/node_modules/prop-types/factoryWithThrowingShims.js +65 -0
  814. package/template/lib/react/node_modules/prop-types/factoryWithTypeCheckers.js +610 -0
  815. package/template/lib/react/node_modules/prop-types/index.js +19 -0
  816. package/template/lib/react/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -0
  817. package/template/lib/react/node_modules/prop-types/lib/has.js +1 -0
  818. package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify +17 -0
  819. package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.CMD +12 -0
  820. package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.ps1 +41 -0
  821. package/template/lib/react/node_modules/prop-types/package.json +60 -0
  822. package/template/lib/react/node_modules/prop-types/prop-types.js +1315 -0
  823. package/template/lib/react/node_modules/prop-types/prop-types.min.js +1 -0
  824. package/template/lib/react/node_modules/react/LICENSE +21 -0
  825. package/template/lib/react/node_modules/react/README.md +37 -0
  826. package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1296 -0
  827. package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +10 -0
  828. package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +10 -0
  829. package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.development.js +1314 -0
  830. package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +11 -0
  831. package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +11 -0
  832. package/template/lib/react/node_modules/react/cjs/react.development.js +2739 -0
  833. package/template/lib/react/node_modules/react/cjs/react.production.min.js +26 -0
  834. package/template/lib/react/node_modules/react/cjs/react.shared-subset.development.js +20 -0
  835. package/template/lib/react/node_modules/react/cjs/react.shared-subset.production.min.js +10 -0
  836. package/template/lib/react/node_modules/react/index.js +7 -0
  837. package/template/lib/react/node_modules/react/jsx-dev-runtime.js +7 -0
  838. package/template/lib/react/node_modules/react/jsx-runtime.js +7 -0
  839. package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify +17 -0
  840. package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.CMD +12 -0
  841. package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.ps1 +41 -0
  842. package/template/lib/react/node_modules/react/package.json +47 -0
  843. package/template/lib/react/node_modules/react/react.shared-subset.js +7 -0
  844. package/template/lib/react/node_modules/react/umd/react.development.js +3342 -0
  845. package/template/lib/react/node_modules/react/umd/react.production.min.js +31 -0
  846. package/template/lib/react/node_modules/react/umd/react.profiling.min.js +31 -0
  847. package/template/lib/react/node_modules/react-dom/LICENSE +21 -0
  848. package/template/lib/react/node_modules/react-dom/README.md +60 -0
  849. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +7018 -0
  850. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +93 -0
  851. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +7078 -0
  852. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +101 -0
  853. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +7003 -0
  854. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +96 -0
  855. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +7059 -0
  856. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +102 -0
  857. package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +1741 -0
  858. package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +40 -0
  859. package/template/lib/react/node_modules/react-dom/cjs/react-dom.development.js +29868 -0
  860. package/template/lib/react/node_modules/react-dom/cjs/react-dom.production.min.js +323 -0
  861. package/template/lib/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +367 -0
  862. package/template/lib/react/node_modules/react-dom/client.js +25 -0
  863. package/template/lib/react/node_modules/react-dom/index.js +38 -0
  864. package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify +17 -0
  865. package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.CMD +12 -0
  866. package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.ps1 +41 -0
  867. package/template/lib/react/node_modules/react-dom/package.json +62 -0
  868. package/template/lib/react/node_modules/react-dom/profiling.js +38 -0
  869. package/template/lib/react/node_modules/react-dom/server.browser.js +17 -0
  870. package/template/lib/react/node_modules/react-dom/server.js +3 -0
  871. package/template/lib/react/node_modules/react-dom/server.node.js +17 -0
  872. package/template/lib/react/node_modules/react-dom/test-utils.js +7 -0
  873. package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +7015 -0
  874. package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +75 -0
  875. package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +7000 -0
  876. package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +76 -0
  877. package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +1737 -0
  878. package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +33 -0
  879. package/template/lib/react/node_modules/react-dom/umd/react-dom.development.js +29869 -0
  880. package/template/lib/react/node_modules/react-dom/umd/react-dom.production.min.js +267 -0
  881. package/template/lib/react/node_modules/react-dom/umd/react-dom.profiling.min.js +285 -0
  882. package/template/lib/react/node_modules/stylelint-config-standard-scss/LICENSE +21 -0
  883. package/template/lib/react/node_modules/stylelint-config-standard-scss/README.md +50 -0
  884. package/template/lib/react/node_modules/stylelint-config-standard-scss/index.js +67 -0
  885. package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +17 -0
  886. package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +12 -0
  887. package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +41 -0
  888. package/template/lib/react/node_modules/stylelint-config-standard-scss/package.json +58 -0
  889. package/template/lib/ts/node_modules/.bin/acorn +17 -0
  890. package/template/lib/ts/node_modules/.bin/acorn.CMD +12 -0
  891. package/template/lib/ts/node_modules/.bin/acorn.ps1 +41 -0
  892. package/template/lib/ts/node_modules/.bin/eslint +17 -0
  893. package/template/lib/ts/node_modules/.bin/eslint.CMD +12 -0
  894. package/template/lib/ts/node_modules/.bin/eslint.ps1 +41 -0
  895. package/template/lib/ts/node_modules/.bin/prettier +17 -0
  896. package/template/lib/ts/node_modules/.bin/prettier.CMD +12 -0
  897. package/template/lib/ts/node_modules/.bin/prettier.ps1 +41 -0
  898. package/template/lib/ts/node_modules/.bin/stylelint +17 -0
  899. package/template/lib/ts/node_modules/.bin/stylelint.CMD +12 -0
  900. package/template/lib/ts/node_modules/.bin/stylelint.ps1 +41 -0
  901. package/template/lib/ts/node_modules/.bin/tsc +17 -0
  902. package/template/lib/ts/node_modules/.bin/tsc.CMD +12 -0
  903. package/template/lib/ts/node_modules/.bin/tsc.ps1 +41 -0
  904. package/template/lib/ts/node_modules/.bin/tsserver +17 -0
  905. package/template/lib/ts/node_modules/.bin/tsserver.CMD +12 -0
  906. package/template/lib/ts/node_modules/.bin/tsserver.ps1 +41 -0
  907. package/template/lib/ts/node_modules/.bin/vitest +17 -0
  908. package/template/lib/ts/node_modules/.bin/vitest.CMD +12 -0
  909. package/template/lib/ts/node_modules/.bin/vitest.ps1 +41 -0
  910. package/template/lib/ts/node_modules/eslint/LICENSE +19 -0
  911. package/template/lib/ts/node_modules/eslint/README.md +304 -0
  912. package/template/lib/ts/node_modules/eslint/bin/eslint.js +173 -0
  913. package/template/lib/ts/node_modules/eslint/conf/config-schema.js +93 -0
  914. package/template/lib/ts/node_modules/eslint/conf/default-cli-options.js +32 -0
  915. package/template/lib/ts/node_modules/eslint/conf/globals.js +154 -0
  916. package/template/lib/ts/node_modules/eslint/conf/replacements.json +22 -0
  917. package/template/lib/ts/node_modules/eslint/conf/rule-type-list.json +28 -0
  918. package/template/lib/ts/node_modules/eslint/lib/api.js +26 -0
  919. package/template/lib/ts/node_modules/eslint/lib/cli-engine/cli-engine.js +1078 -0
  920. package/template/lib/ts/node_modules/eslint/lib/cli-engine/file-enumerator.js +547 -0
  921. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
  922. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
  923. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +46 -0
  924. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/html.js +351 -0
  925. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
  926. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
  927. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
  928. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
  929. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
  930. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
  931. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
  932. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
  933. package/template/lib/ts/node_modules/eslint/lib/cli-engine/hash.js +35 -0
  934. package/template/lib/ts/node_modules/eslint/lib/cli-engine/index.js +7 -0
  935. package/template/lib/ts/node_modules/eslint/lib/cli-engine/lint-result-cache.js +203 -0
  936. package/template/lib/ts/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
  937. package/template/lib/ts/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
  938. package/template/lib/ts/node_modules/eslint/lib/cli.js +471 -0
  939. package/template/lib/ts/node_modules/eslint/lib/config/default-config.js +67 -0
  940. package/template/lib/ts/node_modules/eslint/lib/config/flat-config-array.js +274 -0
  941. package/template/lib/ts/node_modules/eslint/lib/config/flat-config-helpers.js +111 -0
  942. package/template/lib/ts/node_modules/eslint/lib/config/flat-config-schema.js +583 -0
  943. package/template/lib/ts/node_modules/eslint/lib/config/rule-validator.js +158 -0
  944. package/template/lib/ts/node_modules/eslint/lib/eslint/eslint-helpers.js +902 -0
  945. package/template/lib/ts/node_modules/eslint/lib/eslint/eslint.js +700 -0
  946. package/template/lib/ts/node_modules/eslint/lib/eslint/flat-eslint.js +1142 -0
  947. package/template/lib/ts/node_modules/eslint/lib/eslint/index.js +9 -0
  948. package/template/lib/ts/node_modules/eslint/lib/linter/apply-disable-directives.js +465 -0
  949. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +852 -0
  950. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +263 -0
  951. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +2348 -0
  952. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +342 -0
  953. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
  954. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +349 -0
  955. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
  956. package/template/lib/ts/node_modules/eslint/lib/linter/config-comment-parser.js +185 -0
  957. package/template/lib/ts/node_modules/eslint/lib/linter/index.js +13 -0
  958. package/template/lib/ts/node_modules/eslint/lib/linter/interpolate.js +28 -0
  959. package/template/lib/ts/node_modules/eslint/lib/linter/linter.js +2119 -0
  960. package/template/lib/ts/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
  961. package/template/lib/ts/node_modules/eslint/lib/linter/report-translator.js +369 -0
  962. package/template/lib/ts/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
  963. package/template/lib/ts/node_modules/eslint/lib/linter/rules.js +80 -0
  964. package/template/lib/ts/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
  965. package/template/lib/ts/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
  966. package/template/lib/ts/node_modules/eslint/lib/linter/timing.js +161 -0
  967. package/template/lib/ts/node_modules/eslint/lib/options.js +398 -0
  968. package/template/lib/ts/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1122 -0
  969. package/template/lib/ts/node_modules/eslint/lib/rule-tester/index.js +5 -0
  970. package/template/lib/ts/node_modules/eslint/lib/rule-tester/rule-tester.js +1206 -0
  971. package/template/lib/ts/node_modules/eslint/lib/rules/accessor-pairs.js +346 -0
  972. package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-newline.js +261 -0
  973. package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-spacing.js +244 -0
  974. package/template/lib/ts/node_modules/eslint/lib/rules/array-callback-return.js +446 -0
  975. package/template/lib/ts/node_modules/eslint/lib/rules/array-element-newline.js +311 -0
  976. package/template/lib/ts/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
  977. package/template/lib/ts/node_modules/eslint/lib/rules/arrow-parens.js +186 -0
  978. package/template/lib/ts/node_modules/eslint/lib/rules/arrow-spacing.js +164 -0
  979. package/template/lib/ts/node_modules/eslint/lib/rules/block-scoped-var.js +135 -0
  980. package/template/lib/ts/node_modules/eslint/lib/rules/block-spacing.js +174 -0
  981. package/template/lib/ts/node_modules/eslint/lib/rules/brace-style.js +197 -0
  982. package/template/lib/ts/node_modules/eslint/lib/rules/callback-return.js +187 -0
  983. package/template/lib/ts/node_modules/eslint/lib/rules/camelcase.js +399 -0
  984. package/template/lib/ts/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
  985. package/template/lib/ts/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
  986. package/template/lib/ts/node_modules/eslint/lib/rules/comma-dangle.js +373 -0
  987. package/template/lib/ts/node_modules/eslint/lib/rules/comma-spacing.js +192 -0
  988. package/template/lib/ts/node_modules/eslint/lib/rules/comma-style.js +314 -0
  989. package/template/lib/ts/node_modules/eslint/lib/rules/complexity.js +165 -0
  990. package/template/lib/ts/node_modules/eslint/lib/rules/computed-property-spacing.js +208 -0
  991. package/template/lib/ts/node_modules/eslint/lib/rules/consistent-return.js +210 -0
  992. package/template/lib/ts/node_modules/eslint/lib/rules/consistent-this.js +153 -0
  993. package/template/lib/ts/node_modules/eslint/lib/rules/constructor-super.js +446 -0
  994. package/template/lib/ts/node_modules/eslint/lib/rules/curly.js +486 -0
  995. package/template/lib/ts/node_modules/eslint/lib/rules/default-case-last.js +44 -0
  996. package/template/lib/ts/node_modules/eslint/lib/rules/default-case.js +97 -0
  997. package/template/lib/ts/node_modules/eslint/lib/rules/default-param-last.js +62 -0
  998. package/template/lib/ts/node_modules/eslint/lib/rules/dot-location.js +108 -0
  999. package/template/lib/ts/node_modules/eslint/lib/rules/dot-notation.js +176 -0
  1000. package/template/lib/ts/node_modules/eslint/lib/rules/eol-last.js +115 -0
  1001. package/template/lib/ts/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
  1002. package/template/lib/ts/node_modules/eslint/lib/rules/for-direction.js +140 -0
  1003. package/template/lib/ts/node_modules/eslint/lib/rules/func-call-spacing.js +233 -0
  1004. package/template/lib/ts/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
  1005. package/template/lib/ts/node_modules/eslint/lib/rules/func-names.js +191 -0
  1006. package/template/lib/ts/node_modules/eslint/lib/rules/func-style.js +98 -0
  1007. package/template/lib/ts/node_modules/eslint/lib/rules/function-call-argument-newline.js +125 -0
  1008. package/template/lib/ts/node_modules/eslint/lib/rules/function-paren-newline.js +292 -0
  1009. package/template/lib/ts/node_modules/eslint/lib/rules/generator-star-spacing.js +209 -0
  1010. package/template/lib/ts/node_modules/eslint/lib/rules/getter-return.js +204 -0
  1011. package/template/lib/ts/node_modules/eslint/lib/rules/global-require.js +90 -0
  1012. package/template/lib/ts/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +215 -0
  1013. package/template/lib/ts/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
  1014. package/template/lib/ts/node_modules/eslint/lib/rules/handle-callback-err.js +101 -0
  1015. package/template/lib/ts/node_modules/eslint/lib/rules/id-blacklist.js +246 -0
  1016. package/template/lib/ts/node_modules/eslint/lib/rules/id-denylist.js +228 -0
  1017. package/template/lib/ts/node_modules/eslint/lib/rules/id-length.js +177 -0
  1018. package/template/lib/ts/node_modules/eslint/lib/rules/id-match.js +299 -0
  1019. package/template/lib/ts/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +84 -0
  1020. package/template/lib/ts/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
  1021. package/template/lib/ts/node_modules/eslint/lib/rules/indent.js +1803 -0
  1022. package/template/lib/ts/node_modules/eslint/lib/rules/index.js +306 -0
  1023. package/template/lib/ts/node_modules/eslint/lib/rules/init-declarations.js +139 -0
  1024. package/template/lib/ts/node_modules/eslint/lib/rules/jsx-quotes.js +98 -0
  1025. package/template/lib/ts/node_modules/eslint/lib/rules/key-spacing.js +687 -0
  1026. package/template/lib/ts/node_modules/eslint/lib/rules/keyword-spacing.js +640 -0
  1027. package/template/lib/ts/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
  1028. package/template/lib/ts/node_modules/eslint/lib/rules/linebreak-style.js +108 -0
  1029. package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-comment.js +471 -0
  1030. package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
  1031. package/template/lib/ts/node_modules/eslint/lib/rules/lines-between-class-members.js +269 -0
  1032. package/template/lib/ts/node_modules/eslint/lib/rules/logical-assignment-operators.js +504 -0
  1033. package/template/lib/ts/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
  1034. package/template/lib/ts/node_modules/eslint/lib/rules/max-depth.js +156 -0
  1035. package/template/lib/ts/node_modules/eslint/lib/rules/max-len.js +440 -0
  1036. package/template/lib/ts/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
  1037. package/template/lib/ts/node_modules/eslint/lib/rules/max-lines.js +193 -0
  1038. package/template/lib/ts/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
  1039. package/template/lib/ts/node_modules/eslint/lib/rules/max-params.js +102 -0
  1040. package/template/lib/ts/node_modules/eslint/lib/rules/max-statements-per-line.js +199 -0
  1041. package/template/lib/ts/node_modules/eslint/lib/rules/max-statements.js +184 -0
  1042. package/template/lib/ts/node_modules/eslint/lib/rules/multiline-comment-style.js +474 -0
  1043. package/template/lib/ts/node_modules/eslint/lib/rules/multiline-ternary.js +174 -0
  1044. package/template/lib/ts/node_modules/eslint/lib/rules/new-cap.js +276 -0
  1045. package/template/lib/ts/node_modules/eslint/lib/rules/new-parens.js +93 -0
  1046. package/template/lib/ts/node_modules/eslint/lib/rules/newline-after-var.js +253 -0
  1047. package/template/lib/ts/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
  1048. package/template/lib/ts/node_modules/eslint/lib/rules/newline-per-chained-call.js +126 -0
  1049. package/template/lib/ts/node_modules/eslint/lib/rules/no-alert.js +138 -0
  1050. package/template/lib/ts/node_modules/eslint/lib/rules/no-array-constructor.js +133 -0
  1051. package/template/lib/ts/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
  1052. package/template/lib/ts/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
  1053. package/template/lib/ts/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
  1054. package/template/lib/ts/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
  1055. package/template/lib/ts/node_modules/eslint/lib/rules/no-caller.js +46 -0
  1056. package/template/lib/ts/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
  1057. package/template/lib/ts/node_modules/eslint/lib/rules/no-catch-shadow.js +82 -0
  1058. package/template/lib/ts/node_modules/eslint/lib/rules/no-class-assign.js +63 -0
  1059. package/template/lib/ts/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
  1060. package/template/lib/ts/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
  1061. package/template/lib/ts/node_modules/eslint/lib/rules/no-confusing-arrow.js +92 -0
  1062. package/template/lib/ts/node_modules/eslint/lib/rules/no-console.js +207 -0
  1063. package/template/lib/ts/node_modules/eslint/lib/rules/no-const-assign.js +56 -0
  1064. package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-binary-expression.js +509 -0
  1065. package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-condition.js +150 -0
  1066. package/template/lib/ts/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
  1067. package/template/lib/ts/node_modules/eslint/lib/rules/no-continue.js +39 -0
  1068. package/template/lib/ts/node_modules/eslint/lib/rules/no-control-regex.js +138 -0
  1069. package/template/lib/ts/node_modules/eslint/lib/rules/no-debugger.js +43 -0
  1070. package/template/lib/ts/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
  1071. package/template/lib/ts/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
  1072. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-args.js +82 -0
  1073. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
  1074. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
  1075. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
  1076. package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
  1077. package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
  1078. package/template/lib/ts/node_modules/eslint/lib/rules/no-else-return.js +405 -0
  1079. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-character-class.js +76 -0
  1080. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
  1081. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-pattern.js +78 -0
  1082. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-static-block.js +47 -0
  1083. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty.js +103 -0
  1084. package/template/lib/ts/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
  1085. package/template/lib/ts/node_modules/eslint/lib/rules/no-eval.js +286 -0
  1086. package/template/lib/ts/node_modules/eslint/lib/rules/no-ex-assign.js +54 -0
  1087. package/template/lib/ts/node_modules/eslint/lib/rules/no-extend-native.js +179 -0
  1088. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
  1089. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
  1090. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
  1091. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-parens.js +1322 -0
  1092. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-semi.js +147 -0
  1093. package/template/lib/ts/node_modules/eslint/lib/rules/no-fallthrough.js +196 -0
  1094. package/template/lib/ts/node_modules/eslint/lib/rules/no-floating-decimal.js +73 -0
  1095. package/template/lib/ts/node_modules/eslint/lib/rules/no-func-assign.js +78 -0
  1096. package/template/lib/ts/node_modules/eslint/lib/rules/no-global-assign.js +95 -0
  1097. package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-coercion.js +380 -0
  1098. package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-globals.js +146 -0
  1099. package/template/lib/ts/node_modules/eslint/lib/rules/no-implied-eval.js +132 -0
  1100. package/template/lib/ts/node_modules/eslint/lib/rules/no-import-assign.js +241 -0
  1101. package/template/lib/ts/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
  1102. package/template/lib/ts/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
  1103. package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-regexp.js +194 -0
  1104. package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
  1105. package/template/lib/ts/node_modules/eslint/lib/rules/no-irregular-whitespace.js +276 -0
  1106. package/template/lib/ts/node_modules/eslint/lib/rules/no-iterator.js +52 -0
  1107. package/template/lib/ts/node_modules/eslint/lib/rules/no-label-var.js +80 -0
  1108. package/template/lib/ts/node_modules/eslint/lib/rules/no-labels.js +149 -0
  1109. package/template/lib/ts/node_modules/eslint/lib/rules/no-lone-blocks.js +136 -0
  1110. package/template/lib/ts/node_modules/eslint/lib/rules/no-lonely-if.js +88 -0
  1111. package/template/lib/ts/node_modules/eslint/lib/rules/no-loop-func.js +206 -0
  1112. package/template/lib/ts/node_modules/eslint/lib/rules/no-loss-of-precision.js +214 -0
  1113. package/template/lib/ts/node_modules/eslint/lib/rules/no-magic-numbers.js +243 -0
  1114. package/template/lib/ts/node_modules/eslint/lib/rules/no-misleading-character-class.js +300 -0
  1115. package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-operators.js +229 -0
  1116. package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
  1117. package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +116 -0
  1118. package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
  1119. package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-spaces.js +141 -0
  1120. package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
  1121. package/template/lib/ts/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +154 -0
  1122. package/template/lib/ts/node_modules/eslint/lib/rules/no-native-reassign.js +98 -0
  1123. package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
  1124. package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
  1125. package/template/lib/ts/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
  1126. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-func.js +87 -0
  1127. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +66 -0
  1128. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-object.js +67 -0
  1129. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-require.js +50 -0
  1130. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-symbol.js +56 -0
  1131. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-wrappers.js +60 -0
  1132. package/template/lib/ts/node_modules/eslint/lib/rules/no-new.js +43 -0
  1133. package/template/lib/ts/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
  1134. package/template/lib/ts/node_modules/eslint/lib/rules/no-obj-calls.js +86 -0
  1135. package/template/lib/ts/node_modules/eslint/lib/rules/no-object-constructor.js +117 -0
  1136. package/template/lib/ts/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
  1137. package/template/lib/ts/node_modules/eslint/lib/rules/no-octal.js +45 -0
  1138. package/template/lib/ts/node_modules/eslint/lib/rules/no-param-reassign.js +230 -0
  1139. package/template/lib/ts/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
  1140. package/template/lib/ts/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
  1141. package/template/lib/ts/node_modules/eslint/lib/rules/no-process-env.js +51 -0
  1142. package/template/lib/ts/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
  1143. package/template/lib/ts/node_modules/eslint/lib/rules/no-promise-executor-return.js +263 -0
  1144. package/template/lib/ts/node_modules/eslint/lib/rules/no-proto.js +48 -0
  1145. package/template/lib/ts/node_modules/eslint/lib/rules/no-prototype-builtins.js +159 -0
  1146. package/template/lib/ts/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
  1147. package/template/lib/ts/node_modules/eslint/lib/rules/no-regex-spaces.js +197 -0
  1148. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-exports.js +193 -0
  1149. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-globals.js +124 -0
  1150. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-imports.js +410 -0
  1151. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-modules.js +213 -0
  1152. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-properties.js +168 -0
  1153. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
  1154. package/template/lib/ts/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
  1155. package/template/lib/ts/node_modules/eslint/lib/rules/no-return-await.js +135 -0
  1156. package/template/lib/ts/node_modules/eslint/lib/rules/no-script-url.js +61 -0
  1157. package/template/lib/ts/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
  1158. package/template/lib/ts/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
  1159. package/template/lib/ts/node_modules/eslint/lib/rules/no-sequences.js +138 -0
  1160. package/template/lib/ts/node_modules/eslint/lib/rules/no-setter-return.js +226 -0
  1161. package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +65 -0
  1162. package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow.js +336 -0
  1163. package/template/lib/ts/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
  1164. package/template/lib/ts/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
  1165. package/template/lib/ts/node_modules/eslint/lib/rules/no-sync.js +64 -0
  1166. package/template/lib/ts/node_modules/eslint/lib/rules/no-tabs.js +81 -0
  1167. package/template/lib/ts/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
  1168. package/template/lib/ts/node_modules/eslint/lib/rules/no-ternary.js +41 -0
  1169. package/template/lib/ts/node_modules/eslint/lib/rules/no-this-before-super.js +331 -0
  1170. package/template/lib/ts/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
  1171. package/template/lib/ts/node_modules/eslint/lib/rules/no-trailing-spaces.js +193 -0
  1172. package/template/lib/ts/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
  1173. package/template/lib/ts/node_modules/eslint/lib/rules/no-undef.js +79 -0
  1174. package/template/lib/ts/node_modules/eslint/lib/rules/no-undefined.js +86 -0
  1175. package/template/lib/ts/node_modules/eslint/lib/rules/no-underscore-dangle.js +335 -0
  1176. package/template/lib/ts/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
  1177. package/template/lib/ts/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
  1178. package/template/lib/ts/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
  1179. package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable-loop.js +185 -0
  1180. package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable.js +293 -0
  1181. package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
  1182. package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
  1183. package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
  1184. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-expressions.js +186 -0
  1185. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-labels.js +143 -0
  1186. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
  1187. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-vars.js +718 -0
  1188. package/template/lib/ts/node_modules/eslint/lib/rules/no-use-before-define.js +348 -0
  1189. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-backreference.js +194 -0
  1190. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
  1191. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
  1192. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
  1193. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
  1194. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
  1195. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-escape.js +333 -0
  1196. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
  1197. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-return.js +364 -0
  1198. package/template/lib/ts/node_modules/eslint/lib/rules/no-var.js +334 -0
  1199. package/template/lib/ts/node_modules/eslint/lib/rules/no-void.js +64 -0
  1200. package/template/lib/ts/node_modules/eslint/lib/rules/no-warning-comments.js +201 -0
  1201. package/template/lib/ts/node_modules/eslint/lib/rules/no-whitespace-before-property.js +116 -0
  1202. package/template/lib/ts/node_modules/eslint/lib/rules/no-with.js +39 -0
  1203. package/template/lib/ts/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +127 -0
  1204. package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-newline.js +324 -0
  1205. package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-spacing.js +311 -0
  1206. package/template/lib/ts/node_modules/eslint/lib/rules/object-property-newline.js +102 -0
  1207. package/template/lib/ts/node_modules/eslint/lib/rules/object-shorthand.js +520 -0
  1208. package/template/lib/ts/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +95 -0
  1209. package/template/lib/ts/node_modules/eslint/lib/rules/one-var.js +567 -0
  1210. package/template/lib/ts/node_modules/eslint/lib/rules/operator-assignment.js +209 -0
  1211. package/template/lib/ts/node_modules/eslint/lib/rules/operator-linebreak.js +253 -0
  1212. package/template/lib/ts/node_modules/eslint/lib/rules/padded-blocks.js +310 -0
  1213. package/template/lib/ts/node_modules/eslint/lib/rules/padding-line-between-statements.js +590 -0
  1214. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-arrow-callback.js +381 -0
  1215. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-const.js +501 -0
  1216. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
  1217. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +191 -0
  1218. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-named-capture-group.js +178 -0
  1219. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
  1220. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-has-own.js +114 -0
  1221. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-spread.js +298 -0
  1222. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +132 -0
  1223. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
  1224. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-regex-literals.js +507 -0
  1225. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-rest-params.js +118 -0
  1226. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
  1227. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-template.js +275 -0
  1228. package/template/lib/ts/node_modules/eslint/lib/rules/quote-props.js +310 -0
  1229. package/template/lib/ts/node_modules/eslint/lib/rules/quotes.js +350 -0
  1230. package/template/lib/ts/node_modules/eslint/lib/rules/radix.js +198 -0
  1231. package/template/lib/ts/node_modules/eslint/lib/rules/require-atomic-updates.js +331 -0
  1232. package/template/lib/ts/node_modules/eslint/lib/rules/require-await.js +113 -0
  1233. package/template/lib/ts/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
  1234. package/template/lib/ts/node_modules/eslint/lib/rules/require-unicode-regexp.js +129 -0
  1235. package/template/lib/ts/node_modules/eslint/lib/rules/require-yield.js +77 -0
  1236. package/template/lib/ts/node_modules/eslint/lib/rules/rest-spread-spacing.js +123 -0
  1237. package/template/lib/ts/node_modules/eslint/lib/rules/semi-spacing.js +248 -0
  1238. package/template/lib/ts/node_modules/eslint/lib/rules/semi-style.js +158 -0
  1239. package/template/lib/ts/node_modules/eslint/lib/rules/semi.js +438 -0
  1240. package/template/lib/ts/node_modules/eslint/lib/rules/sort-imports.js +241 -0
  1241. package/template/lib/ts/node_modules/eslint/lib/rules/sort-keys.js +230 -0
  1242. package/template/lib/ts/node_modules/eslint/lib/rules/sort-vars.js +104 -0
  1243. package/template/lib/ts/node_modules/eslint/lib/rules/space-before-blocks.js +204 -0
  1244. package/template/lib/ts/node_modules/eslint/lib/rules/space-before-function-paren.js +167 -0
  1245. package/template/lib/ts/node_modules/eslint/lib/rules/space-in-parens.js +285 -0
  1246. package/template/lib/ts/node_modules/eslint/lib/rules/space-infix-ops.js +198 -0
  1247. package/template/lib/ts/node_modules/eslint/lib/rules/space-unary-ops.js +324 -0
  1248. package/template/lib/ts/node_modules/eslint/lib/rules/spaced-comment.js +385 -0
  1249. package/template/lib/ts/node_modules/eslint/lib/rules/strict.js +277 -0
  1250. package/template/lib/ts/node_modules/eslint/lib/rules/switch-colon-spacing.js +132 -0
  1251. package/template/lib/ts/node_modules/eslint/lib/rules/symbol-description.js +73 -0
  1252. package/template/lib/ts/node_modules/eslint/lib/rules/template-curly-spacing.js +144 -0
  1253. package/template/lib/ts/node_modules/eslint/lib/rules/template-tag-spacing.js +93 -0
  1254. package/template/lib/ts/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
  1255. package/template/lib/ts/node_modules/eslint/lib/rules/use-isnan.js +141 -0
  1256. package/template/lib/ts/node_modules/eslint/lib/rules/utils/ast-utils.js +2282 -0
  1257. package/template/lib/ts/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
  1258. package/template/lib/ts/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
  1259. package/template/lib/ts/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
  1260. package/template/lib/ts/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
  1261. package/template/lib/ts/node_modules/eslint/lib/rules/utils/regular-expressions.js +42 -0
  1262. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
  1263. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
  1264. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
  1265. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
  1266. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
  1267. package/template/lib/ts/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
  1268. package/template/lib/ts/node_modules/eslint/lib/rules/valid-typeof.js +127 -0
  1269. package/template/lib/ts/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
  1270. package/template/lib/ts/node_modules/eslint/lib/rules/wrap-iife.js +207 -0
  1271. package/template/lib/ts/node_modules/eslint/lib/rules/wrap-regex.js +61 -0
  1272. package/template/lib/ts/node_modules/eslint/lib/rules/yield-star-spacing.js +130 -0
  1273. package/template/lib/ts/node_modules/eslint/lib/rules/yoda.js +353 -0
  1274. package/template/lib/ts/node_modules/eslint/lib/shared/ajv.js +34 -0
  1275. package/template/lib/ts/node_modules/eslint/lib/shared/ast-utils.js +29 -0
  1276. package/template/lib/ts/node_modules/eslint/lib/shared/config-validator.js +347 -0
  1277. package/template/lib/ts/node_modules/eslint/lib/shared/deprecation-warnings.js +58 -0
  1278. package/template/lib/ts/node_modules/eslint/lib/shared/directives.js +15 -0
  1279. package/template/lib/ts/node_modules/eslint/lib/shared/logging.js +30 -0
  1280. package/template/lib/ts/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
  1281. package/template/lib/ts/node_modules/eslint/lib/shared/runtime-info.js +167 -0
  1282. package/template/lib/ts/node_modules/eslint/lib/shared/severity.js +49 -0
  1283. package/template/lib/ts/node_modules/eslint/lib/shared/string-utils.js +60 -0
  1284. package/template/lib/ts/node_modules/eslint/lib/shared/traverser.js +195 -0
  1285. package/template/lib/ts/node_modules/eslint/lib/shared/types.js +216 -0
  1286. package/template/lib/ts/node_modules/eslint/lib/source-code/index.js +5 -0
  1287. package/template/lib/ts/node_modules/eslint/lib/source-code/source-code.js +1055 -0
  1288. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
  1289. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
  1290. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
  1291. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
  1292. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
  1293. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
  1294. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
  1295. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
  1296. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
  1297. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
  1298. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
  1299. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
  1300. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/utils.js +107 -0
  1301. package/template/lib/ts/node_modules/eslint/lib/unsupported-api.js +30 -0
  1302. package/template/lib/ts/node_modules/eslint/messages/all-files-ignored.js +16 -0
  1303. package/template/lib/ts/node_modules/eslint/messages/eslintrc-incompat.js +98 -0
  1304. package/template/lib/ts/node_modules/eslint/messages/eslintrc-plugins.js +24 -0
  1305. package/template/lib/ts/node_modules/eslint/messages/extend-config-missing.js +13 -0
  1306. package/template/lib/ts/node_modules/eslint/messages/failed-to-read-json.js +11 -0
  1307. package/template/lib/ts/node_modules/eslint/messages/file-not-found.js +10 -0
  1308. package/template/lib/ts/node_modules/eslint/messages/invalid-rule-options.js +17 -0
  1309. package/template/lib/ts/node_modules/eslint/messages/invalid-rule-severity.js +13 -0
  1310. package/template/lib/ts/node_modules/eslint/messages/no-config-found.js +15 -0
  1311. package/template/lib/ts/node_modules/eslint/messages/plugin-conflict.js +22 -0
  1312. package/template/lib/ts/node_modules/eslint/messages/plugin-invalid.js +16 -0
  1313. package/template/lib/ts/node_modules/eslint/messages/plugin-missing.js +19 -0
  1314. package/template/lib/ts/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
  1315. package/template/lib/ts/node_modules/eslint/messages/shared.js +18 -0
  1316. package/template/lib/ts/node_modules/eslint/messages/whitespace-found.js +11 -0
  1317. package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint +17 -0
  1318. package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.CMD +12 -0
  1319. package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.ps1 +41 -0
  1320. package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml +17 -0
  1321. package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.CMD +12 -0
  1322. package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +41 -0
  1323. package/template/lib/ts/node_modules/eslint/package.json +179 -0
  1324. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/LICENSE +5 -0
  1325. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/README.md +232 -0
  1326. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.cjs +278 -0
  1327. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +20 -0
  1328. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +251 -0
  1329. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js +252 -0
  1330. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js.map +1 -0
  1331. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +17 -0
  1332. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +12 -0
  1333. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +41 -0
  1334. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/package.json +108 -0
  1335. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/shim.d.ts +4 -0
  1336. package/template/lib/ts/node_modules/eslint-plugin-import/CHANGELOG.md +1925 -0
  1337. package/template/lib/ts/node_modules/eslint-plugin-import/CONTRIBUTING.md +84 -0
  1338. package/template/lib/ts/node_modules/eslint-plugin-import/LICENSE +22 -0
  1339. package/template/lib/ts/node_modules/eslint-plugin-import/README.md +500 -0
  1340. package/template/lib/ts/node_modules/eslint-plugin-import/RELEASE.md +54 -0
  1341. package/template/lib/ts/node_modules/eslint-plugin-import/SECURITY.md +11 -0
  1342. package/template/lib/ts/node_modules/eslint-plugin-import/config/electron.js +8 -0
  1343. package/template/lib/ts/node_modules/eslint-plugin-import/config/errors.js +14 -0
  1344. package/template/lib/ts/node_modules/eslint-plugin-import/config/react-native.js +13 -0
  1345. package/template/lib/ts/node_modules/eslint-plugin-import/config/react.js +18 -0
  1346. package/template/lib/ts/node_modules/eslint-plugin-import/config/recommended.js +28 -0
  1347. package/template/lib/ts/node_modules/eslint-plugin-import/config/stage-0.js +12 -0
  1348. package/template/lib/ts/node_modules/eslint-plugin-import/config/typescript.js +34 -0
  1349. package/template/lib/ts/node_modules/eslint-plugin-import/config/warnings.js +12 -0
  1350. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +91 -0
  1351. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/default.md +72 -0
  1352. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +92 -0
  1353. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/export.md +37 -0
  1354. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/exports-last.md +51 -0
  1355. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/extensions.md +174 -0
  1356. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/first.md +75 -0
  1357. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/group-exports.md +118 -0
  1358. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/imports-first.md +9 -0
  1359. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +70 -0
  1360. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/named.md +102 -0
  1361. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/namespace.md +106 -0
  1362. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +167 -0
  1363. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +54 -0
  1364. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-amd.md +37 -0
  1365. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +83 -0
  1366. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +96 -0
  1367. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +111 -0
  1368. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +65 -0
  1369. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +62 -0
  1370. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +109 -0
  1371. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +25 -0
  1372. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +49 -0
  1373. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +139 -0
  1374. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +81 -0
  1375. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +136 -0
  1376. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +54 -0
  1377. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +52 -0
  1378. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +53 -0
  1379. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +36 -0
  1380. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +79 -0
  1381. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +44 -0
  1382. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +42 -0
  1383. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +70 -0
  1384. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +123 -0
  1385. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +198 -0
  1386. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +32 -0
  1387. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +60 -0
  1388. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +110 -0
  1389. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +125 -0
  1390. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +85 -0
  1391. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +39 -0
  1392. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/order.md +365 -0
  1393. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +185 -0
  1394. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +57 -0
  1395. package/template/lib/ts/node_modules/eslint-plugin-import/lib/ExportMap.js +856 -0
  1396. package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/importType.js +129 -0
  1397. package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/packagePath.js +22 -0
  1398. package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/staticRequire.js +11 -0
  1399. package/template/lib/ts/node_modules/eslint-plugin-import/lib/docsUrl.js +8 -0
  1400. package/template/lib/ts/node_modules/eslint-plugin-import/lib/importDeclaration.js +5 -0
  1401. package/template/lib/ts/node_modules/eslint-plugin-import/lib/index.js +71 -0
  1402. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +221 -0
  1403. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/default.js +40 -0
  1404. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +120 -0
  1405. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/export.js +250 -0
  1406. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/exports-last.js +40 -0
  1407. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/extensions.js +193 -0
  1408. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/first.js +144 -0
  1409. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/group-exports.js +155 -0
  1410. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/imports-first.js +16 -0
  1411. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +60 -0
  1412. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/named.js +143 -0
  1413. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/namespace.js +218 -0
  1414. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +237 -0
  1415. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +40 -0
  1416. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-amd.js +47 -0
  1417. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +103 -0
  1418. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +141 -0
  1419. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +158 -0
  1420. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +43 -0
  1421. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +138 -0
  1422. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +354 -0
  1423. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +77 -0
  1424. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +105 -0
  1425. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +301 -0
  1426. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +85 -0
  1427. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +144 -0
  1428. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +59 -0
  1429. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +96 -0
  1430. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +45 -0
  1431. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +31 -0
  1432. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +39 -0
  1433. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +175 -0
  1434. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +44 -0
  1435. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +71 -0
  1436. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +48 -0
  1437. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +245 -0
  1438. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +39 -0
  1439. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +79 -0
  1440. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +60 -0
  1441. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +945 -0
  1442. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +147 -0
  1443. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +26 -0
  1444. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/order.js +785 -0
  1445. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +116 -0
  1446. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +38 -0
  1447. package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/LICENSE +22 -0
  1448. package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/README.md +21 -0
  1449. package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/index.js +41 -0
  1450. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint +17 -0
  1451. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +12 -0
  1452. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +41 -0
  1453. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver +17 -0
  1454. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +12 -0
  1455. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +41 -0
  1456. package/template/lib/ts/node_modules/eslint-plugin-import/package.json +124 -0
  1457. package/template/lib/ts/node_modules/eslint-plugin-prettier/LICENSE.md +24 -0
  1458. package/template/lib/ts/node_modules/eslint-plugin-prettier/README.md +202 -0
  1459. package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +5 -0
  1460. package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +254 -0
  1461. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +17 -0
  1462. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +17 -0
  1463. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +12 -0
  1464. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +41 -0
  1465. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +12 -0
  1466. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +41 -0
  1467. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +17 -0
  1468. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +12 -0
  1469. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +41 -0
  1470. package/template/lib/ts/node_modules/eslint-plugin-prettier/package.json +101 -0
  1471. package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.d.ts +5 -0
  1472. package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.js +17 -0
  1473. package/template/lib/ts/node_modules/eslint-plugin-prettier/worker.js +181 -0
  1474. package/template/lib/ts/node_modules/prettier/LICENSE +4857 -0
  1475. package/template/lib/ts/node_modules/prettier/README.md +109 -0
  1476. package/template/lib/ts/node_modules/prettier/bin/prettier.cjs +68 -0
  1477. package/template/lib/ts/node_modules/prettier/doc.d.ts +243 -0
  1478. package/template/lib/ts/node_modules/prettier/doc.js +1328 -0
  1479. package/template/lib/ts/node_modules/prettier/doc.mjs +1300 -0
  1480. package/template/lib/ts/node_modules/prettier/index.cjs +648 -0
  1481. package/template/lib/ts/node_modules/prettier/index.d.ts +940 -0
  1482. package/template/lib/ts/node_modules/prettier/index.mjs +24255 -0
  1483. package/template/lib/ts/node_modules/prettier/internal/cli.mjs +7089 -0
  1484. package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier +17 -0
  1485. package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.CMD +12 -0
  1486. package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.ps1 +41 -0
  1487. package/template/lib/ts/node_modules/prettier/package.json +198 -0
  1488. package/template/lib/ts/node_modules/prettier/plugins/acorn.d.ts +6 -0
  1489. package/template/lib/ts/node_modules/prettier/plugins/acorn.js +13 -0
  1490. package/template/lib/ts/node_modules/prettier/plugins/acorn.mjs +13 -0
  1491. package/template/lib/ts/node_modules/prettier/plugins/angular.d.ts +8 -0
  1492. package/template/lib/ts/node_modules/prettier/plugins/angular.js +1 -0
  1493. package/template/lib/ts/node_modules/prettier/plugins/angular.mjs +1 -0
  1494. package/template/lib/ts/node_modules/prettier/plugins/babel.d.ts +18 -0
  1495. package/template/lib/ts/node_modules/prettier/plugins/babel.js +16 -0
  1496. package/template/lib/ts/node_modules/prettier/plugins/babel.mjs +16 -0
  1497. package/template/lib/ts/node_modules/prettier/plugins/estree.d.ts +1 -0
  1498. package/template/lib/ts/node_modules/prettier/plugins/estree.js +36 -0
  1499. package/template/lib/ts/node_modules/prettier/plugins/estree.mjs +36 -0
  1500. package/template/lib/ts/node_modules/prettier/plugins/flow.d.ts +5 -0
  1501. package/template/lib/ts/node_modules/prettier/plugins/flow.js +21 -0
  1502. package/template/lib/ts/node_modules/prettier/plugins/flow.mjs +21 -0
  1503. package/template/lib/ts/node_modules/prettier/plugins/glimmer.d.ts +5 -0
  1504. package/template/lib/ts/node_modules/prettier/plugins/glimmer.js +30 -0
  1505. package/template/lib/ts/node_modules/prettier/plugins/glimmer.mjs +30 -0
  1506. package/template/lib/ts/node_modules/prettier/plugins/graphql.d.ts +5 -0
  1507. package/template/lib/ts/node_modules/prettier/plugins/graphql.js +29 -0
  1508. package/template/lib/ts/node_modules/prettier/plugins/graphql.mjs +29 -0
  1509. package/template/lib/ts/node_modules/prettier/plugins/html.d.ts +8 -0
  1510. package/template/lib/ts/node_modules/prettier/plugins/html.js +19 -0
  1511. package/template/lib/ts/node_modules/prettier/plugins/html.mjs +19 -0
  1512. package/template/lib/ts/node_modules/prettier/plugins/markdown.d.ts +7 -0
  1513. package/template/lib/ts/node_modules/prettier/plugins/markdown.js +59 -0
  1514. package/template/lib/ts/node_modules/prettier/plugins/markdown.mjs +59 -0
  1515. package/template/lib/ts/node_modules/prettier/plugins/meriyah.d.ts +5 -0
  1516. package/template/lib/ts/node_modules/prettier/plugins/meriyah.js +5 -0
  1517. package/template/lib/ts/node_modules/prettier/plugins/meriyah.mjs +5 -0
  1518. package/template/lib/ts/node_modules/prettier/plugins/postcss.d.ts +7 -0
  1519. package/template/lib/ts/node_modules/prettier/plugins/postcss.js +49 -0
  1520. package/template/lib/ts/node_modules/prettier/plugins/postcss.mjs +49 -0
  1521. package/template/lib/ts/node_modules/prettier/plugins/typescript.d.ts +5 -0
  1522. package/template/lib/ts/node_modules/prettier/plugins/typescript.js +25 -0
  1523. package/template/lib/ts/node_modules/prettier/plugins/typescript.mjs +25 -0
  1524. package/template/lib/ts/node_modules/prettier/plugins/yaml.d.ts +5 -0
  1525. package/template/lib/ts/node_modules/prettier/plugins/yaml.js +161 -0
  1526. package/template/lib/ts/node_modules/prettier/plugins/yaml.mjs +161 -0
  1527. package/template/lib/ts/node_modules/prettier/standalone.d.ts +33 -0
  1528. package/template/lib/ts/node_modules/prettier/standalone.js +34 -0
  1529. package/template/lib/ts/node_modules/prettier/standalone.mjs +34 -0
  1530. package/template/lib/ts/node_modules/stylelint-config-standard-scss/LICENSE +21 -0
  1531. package/template/lib/ts/node_modules/stylelint-config-standard-scss/README.md +50 -0
  1532. package/template/lib/ts/node_modules/stylelint-config-standard-scss/index.js +67 -0
  1533. package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +17 -0
  1534. package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +12 -0
  1535. package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +41 -0
  1536. package/template/lib/ts/node_modules/stylelint-config-standard-scss/package.json +58 -0
  1537. package/template/lib/workspace/packages/react/.stylelintrc +1 -1
  1538. package/template/lib/workspace/packages/react/package.json +1 -1
  1539. package/template/web-app/react/.stylelintrc +1 -1
  1540. package/template/web-app/react/package.json +1 -1
  1541. package/template/web-app/react-webpack/.stylelintrc +1 -1
  1542. package/template/web-app/react-webpack/package.json +1 -1
  1543. package/template/web-extension/.stylelintrc +1 -1
  1544. package/template/web-extension/package.json +1 -1
  1545. package/template/web-extension/vite.config.ts +1 -1
@@ -0,0 +1,1142 @@
1
+ /**
2
+ * @fileoverview Main class using flat config
3
+ * @author Nicholas C. Zakas
4
+ */
5
+
6
+ "use strict";
7
+
8
+ //------------------------------------------------------------------------------
9
+ // Requirements
10
+ //------------------------------------------------------------------------------
11
+
12
+ // Note: Node.js 12 does not support fs/promises.
13
+ const fs = require("fs").promises;
14
+ const { existsSync } = require("fs");
15
+ const path = require("path");
16
+ const findUp = require("find-up");
17
+ const { version } = require("../../package.json");
18
+ const { Linter } = require("../linter");
19
+ const { getRuleFromConfig } = require("../config/flat-config-helpers");
20
+ const {
21
+ Legacy: {
22
+ ConfigOps: {
23
+ getRuleSeverity
24
+ },
25
+ ModuleResolver,
26
+ naming
27
+ }
28
+ } = require("@eslint/eslintrc");
29
+
30
+ const {
31
+ findFiles,
32
+ getCacheFile,
33
+
34
+ isNonEmptyString,
35
+ isArrayOfNonEmptyString,
36
+
37
+ createIgnoreResult,
38
+ isErrorMessage,
39
+
40
+ processOptions
41
+ } = require("./eslint-helpers");
42
+ const { pathToFileURL } = require("url");
43
+ const { FlatConfigArray } = require("../config/flat-config-array");
44
+ const LintResultCache = require("../cli-engine/lint-result-cache");
45
+
46
+ /*
47
+ * This is necessary to allow overwriting writeFile for testing purposes.
48
+ * We can just use fs/promises once we drop Node.js 12 support.
49
+ */
50
+
51
+ //------------------------------------------------------------------------------
52
+ // Typedefs
53
+ //------------------------------------------------------------------------------
54
+
55
+ // For VSCode IntelliSense
56
+ /** @typedef {import("../shared/types").ConfigData} ConfigData */
57
+ /** @typedef {import("../shared/types").DeprecatedRuleInfo} DeprecatedRuleInfo */
58
+ /** @typedef {import("../shared/types").LintMessage} LintMessage */
59
+ /** @typedef {import("../shared/types").LintResult} LintResult */
60
+ /** @typedef {import("../shared/types").ParserOptions} ParserOptions */
61
+ /** @typedef {import("../shared/types").Plugin} Plugin */
62
+ /** @typedef {import("../shared/types").ResultsMeta} ResultsMeta */
63
+ /** @typedef {import("../shared/types").RuleConf} RuleConf */
64
+ /** @typedef {import("../shared/types").Rule} Rule */
65
+ /** @typedef {ReturnType<ConfigArray.extractConfig>} ExtractedConfig */
66
+
67
+ /**
68
+ * The options with which to configure the ESLint instance.
69
+ * @typedef {Object} FlatESLintOptions
70
+ * @property {boolean} [allowInlineConfig] Enable or disable inline configuration comments.
71
+ * @property {ConfigData} [baseConfig] Base config object, extended by all configs used with this instance
72
+ * @property {boolean} [cache] Enable result caching.
73
+ * @property {string} [cacheLocation] The cache file to use instead of .eslintcache.
74
+ * @property {"metadata" | "content"} [cacheStrategy] The strategy used to detect changed files.
75
+ * @property {string} [cwd] The value to use for the current working directory.
76
+ * @property {boolean} [errorOnUnmatchedPattern] If `false` then `ESLint#lintFiles()` doesn't throw even if no target files found. Defaults to `true`.
77
+ * @property {boolean|Function} [fix] Execute in autofix mode. If a function, should return a boolean.
78
+ * @property {string[]} [fixTypes] Array of rule types to apply fixes for.
79
+ * @property {boolean} [globInputPaths] Set to false to skip glob resolution of input file paths to lint (default: true). If false, each input file paths is assumed to be a non-glob path to an existing file.
80
+ * @property {boolean} [ignore] False disables all ignore patterns except for the default ones.
81
+ * @property {string[]} [ignorePatterns] Ignore file patterns to use in addition to config ignores. These patterns are relative to `cwd`.
82
+ * @property {ConfigData} [overrideConfig] Override config object, overrides all configs used with this instance
83
+ * @property {boolean|string} [overrideConfigFile] Searches for default config file when falsy;
84
+ * doesn't do any config file lookup when `true`; considered to be a config filename
85
+ * when a string.
86
+ * @property {Record<string,Plugin>} [plugins] An array of plugin implementations.
87
+ * @property {boolean} warnIgnored Show warnings when the file list includes ignored files
88
+ */
89
+
90
+ //------------------------------------------------------------------------------
91
+ // Helpers
92
+ //------------------------------------------------------------------------------
93
+
94
+ const FLAT_CONFIG_FILENAME = "eslint.config.js";
95
+ const debug = require("debug")("eslint:flat-eslint");
96
+ const removedFormatters = new Set(["table", "codeframe"]);
97
+ const privateMembers = new WeakMap();
98
+ const importedConfigFileModificationTime = new Map();
99
+
100
+ /**
101
+ * It will calculate the error and warning count for collection of messages per file
102
+ * @param {LintMessage[]} messages Collection of messages
103
+ * @returns {Object} Contains the stats
104
+ * @private
105
+ */
106
+ function calculateStatsPerFile(messages) {
107
+ const stat = {
108
+ errorCount: 0,
109
+ fatalErrorCount: 0,
110
+ warningCount: 0,
111
+ fixableErrorCount: 0,
112
+ fixableWarningCount: 0
113
+ };
114
+
115
+ for (let i = 0; i < messages.length; i++) {
116
+ const message = messages[i];
117
+
118
+ if (message.fatal || message.severity === 2) {
119
+ stat.errorCount++;
120
+ if (message.fatal) {
121
+ stat.fatalErrorCount++;
122
+ }
123
+ if (message.fix) {
124
+ stat.fixableErrorCount++;
125
+ }
126
+ } else {
127
+ stat.warningCount++;
128
+ if (message.fix) {
129
+ stat.fixableWarningCount++;
130
+ }
131
+ }
132
+ }
133
+ return stat;
134
+ }
135
+
136
+ /**
137
+ * Create rulesMeta object.
138
+ * @param {Map<string,Rule>} rules a map of rules from which to generate the object.
139
+ * @returns {Object} metadata for all enabled rules.
140
+ */
141
+ function createRulesMeta(rules) {
142
+ return Array.from(rules).reduce((retVal, [id, rule]) => {
143
+ retVal[id] = rule.meta;
144
+ return retVal;
145
+ }, {});
146
+ }
147
+
148
+ /**
149
+ * Return the absolute path of a file named `"__placeholder__.js"` in a given directory.
150
+ * This is used as a replacement for a missing file path.
151
+ * @param {string} cwd An absolute directory path.
152
+ * @returns {string} The absolute path of a file named `"__placeholder__.js"` in the given directory.
153
+ */
154
+ function getPlaceholderPath(cwd) {
155
+ return path.join(cwd, "__placeholder__.js");
156
+ }
157
+
158
+ /** @type {WeakMap<ExtractedConfig, DeprecatedRuleInfo[]>} */
159
+ const usedDeprecatedRulesCache = new WeakMap();
160
+
161
+ /**
162
+ * Create used deprecated rule list.
163
+ * @param {CLIEngine} eslint The CLIEngine instance.
164
+ * @param {string} maybeFilePath The absolute path to a lint target file or `"<text>"`.
165
+ * @returns {DeprecatedRuleInfo[]} The used deprecated rule list.
166
+ */
167
+ function getOrFindUsedDeprecatedRules(eslint, maybeFilePath) {
168
+ const {
169
+ configs,
170
+ options: { cwd }
171
+ } = privateMembers.get(eslint);
172
+ const filePath = path.isAbsolute(maybeFilePath)
173
+ ? maybeFilePath
174
+ : getPlaceholderPath(cwd);
175
+ const config = configs.getConfig(filePath);
176
+
177
+ // Most files use the same config, so cache it.
178
+ if (config && !usedDeprecatedRulesCache.has(config)) {
179
+ const retv = [];
180
+
181
+ if (config.rules) {
182
+ for (const [ruleId, ruleConf] of Object.entries(config.rules)) {
183
+ if (getRuleSeverity(ruleConf) === 0) {
184
+ continue;
185
+ }
186
+ const rule = getRuleFromConfig(ruleId, config);
187
+ const meta = rule && rule.meta;
188
+
189
+ if (meta && meta.deprecated) {
190
+ retv.push({ ruleId, replacedBy: meta.replacedBy || [] });
191
+ }
192
+ }
193
+ }
194
+
195
+
196
+ usedDeprecatedRulesCache.set(config, Object.freeze(retv));
197
+ }
198
+
199
+ return config ? usedDeprecatedRulesCache.get(config) : Object.freeze([]);
200
+ }
201
+
202
+ /**
203
+ * Processes the linting results generated by a CLIEngine linting report to
204
+ * match the ESLint class's API.
205
+ * @param {CLIEngine} eslint The CLIEngine instance.
206
+ * @param {CLIEngineLintReport} report The CLIEngine linting report to process.
207
+ * @returns {LintResult[]} The processed linting results.
208
+ */
209
+ function processLintReport(eslint, { results }) {
210
+ const descriptor = {
211
+ configurable: true,
212
+ enumerable: true,
213
+ get() {
214
+ return getOrFindUsedDeprecatedRules(eslint, this.filePath);
215
+ }
216
+ };
217
+
218
+ for (const result of results) {
219
+ Object.defineProperty(result, "usedDeprecatedRules", descriptor);
220
+ }
221
+
222
+ return results;
223
+ }
224
+
225
+ /**
226
+ * An Array.prototype.sort() compatible compare function to order results by their file path.
227
+ * @param {LintResult} a The first lint result.
228
+ * @param {LintResult} b The second lint result.
229
+ * @returns {number} An integer representing the order in which the two results should occur.
230
+ */
231
+ function compareResultsByFilePath(a, b) {
232
+ if (a.filePath < b.filePath) {
233
+ return -1;
234
+ }
235
+
236
+ if (a.filePath > b.filePath) {
237
+ return 1;
238
+ }
239
+
240
+ return 0;
241
+ }
242
+
243
+ /**
244
+ * Searches from the current working directory up until finding the
245
+ * given flat config filename.
246
+ * @param {string} cwd The current working directory to search from.
247
+ * @returns {Promise<string|undefined>} The filename if found or `undefined` if not.
248
+ */
249
+ function findFlatConfigFile(cwd) {
250
+ return findUp(
251
+ FLAT_CONFIG_FILENAME,
252
+ { cwd }
253
+ );
254
+ }
255
+
256
+ /**
257
+ * Load the config array from the given filename.
258
+ * @param {string} filePath The filename to load from.
259
+ * @returns {Promise<any>} The config loaded from the config file.
260
+ */
261
+ async function loadFlatConfigFile(filePath) {
262
+ debug(`Loading config from ${filePath}`);
263
+
264
+ const fileURL = pathToFileURL(filePath);
265
+
266
+ debug(`Config file URL is ${fileURL}`);
267
+
268
+ const mtime = (await fs.stat(filePath)).mtime.getTime();
269
+
270
+ /*
271
+ * Append a query with the config file's modification time (`mtime`) in order
272
+ * to import the current version of the config file. Without the query, `import()` would
273
+ * cache the config file module by the pathname only, and then always return
274
+ * the same version (the one that was actual when the module was imported for the first time).
275
+ *
276
+ * This ensures that the config file module is loaded and executed again
277
+ * if it has been changed since the last time it was imported.
278
+ * If it hasn't been changed, `import()` will just return the cached version.
279
+ *
280
+ * Note that we should not overuse queries (e.g., by appending the current time
281
+ * to always reload the config file module) as that could cause memory leaks
282
+ * because entries are never removed from the import cache.
283
+ */
284
+ fileURL.searchParams.append("mtime", mtime);
285
+
286
+ /*
287
+ * With queries, we can bypass the import cache. However, when import-ing a CJS module,
288
+ * Node.js uses the require infrastructure under the hood. That includes the require cache,
289
+ * which caches the config file module by its file path (queries have no effect).
290
+ * Therefore, we also need to clear the require cache before importing the config file module.
291
+ * In order to get the same behavior with ESM and CJS config files, in particular - to reload
292
+ * the config file only if it has been changed, we track file modification times and clear
293
+ * the require cache only if the file has been changed.
294
+ */
295
+ if (importedConfigFileModificationTime.get(filePath) !== mtime) {
296
+ delete require.cache[filePath];
297
+ }
298
+
299
+ const config = (await import(fileURL)).default;
300
+
301
+ importedConfigFileModificationTime.set(filePath, mtime);
302
+
303
+ return config;
304
+ }
305
+
306
+ /**
307
+ * Determines which config file to use. This is determined by seeing if an
308
+ * override config file was passed, and if so, using it; otherwise, as long
309
+ * as override config file is not explicitly set to `false`, it will search
310
+ * upwards from the cwd for a file named `eslint.config.js`.
311
+ * @param {import("./eslint").ESLintOptions} options The ESLint instance options.
312
+ * @returns {{configFilePath:string|undefined,basePath:string,error:Error|null}} Location information for
313
+ * the config file.
314
+ */
315
+ async function locateConfigFileToUse({ configFile, cwd }) {
316
+
317
+ // determine where to load config file from
318
+ let configFilePath;
319
+ let basePath = cwd;
320
+ let error = null;
321
+
322
+ if (typeof configFile === "string") {
323
+ debug(`Override config file path is ${configFile}`);
324
+ configFilePath = path.resolve(cwd, configFile);
325
+ } else if (configFile !== false) {
326
+ debug("Searching for eslint.config.js");
327
+ configFilePath = await findFlatConfigFile(cwd);
328
+
329
+ if (configFilePath) {
330
+ basePath = path.resolve(path.dirname(configFilePath));
331
+ } else {
332
+ error = new Error("Could not find config file.");
333
+ }
334
+
335
+ }
336
+
337
+ return {
338
+ configFilePath,
339
+ basePath,
340
+ error
341
+ };
342
+
343
+ }
344
+
345
+ /**
346
+ * Calculates the config array for this run based on inputs.
347
+ * @param {FlatESLint} eslint The instance to create the config array for.
348
+ * @param {import("./eslint").ESLintOptions} options The ESLint instance options.
349
+ * @returns {FlatConfigArray} The config array for `eslint``.
350
+ */
351
+ async function calculateConfigArray(eslint, {
352
+ cwd,
353
+ baseConfig,
354
+ overrideConfig,
355
+ configFile,
356
+ ignore: shouldIgnore,
357
+ ignorePatterns
358
+ }) {
359
+
360
+ // check for cached instance
361
+ const slots = privateMembers.get(eslint);
362
+
363
+ if (slots.configs) {
364
+ return slots.configs;
365
+ }
366
+
367
+ const { configFilePath, basePath, error } = await locateConfigFileToUse({ configFile, cwd });
368
+
369
+ // config file is required to calculate config
370
+ if (error) {
371
+ throw error;
372
+ }
373
+
374
+ const configs = new FlatConfigArray(baseConfig || [], { basePath, shouldIgnore });
375
+
376
+ // load config file
377
+ if (configFilePath) {
378
+ const fileConfig = await loadFlatConfigFile(configFilePath);
379
+
380
+ if (Array.isArray(fileConfig)) {
381
+ configs.push(...fileConfig);
382
+ } else {
383
+ configs.push(fileConfig);
384
+ }
385
+ }
386
+
387
+ // add in any configured defaults
388
+ configs.push(...slots.defaultConfigs);
389
+
390
+ // append command line ignore patterns
391
+ if (ignorePatterns && ignorePatterns.length > 0) {
392
+
393
+ let relativeIgnorePatterns;
394
+
395
+ /*
396
+ * If the config file basePath is different than the cwd, then
397
+ * the ignore patterns won't work correctly. Here, we adjust the
398
+ * ignore pattern to include the correct relative path. Patterns
399
+ * passed as `ignorePatterns` are relative to the cwd, whereas
400
+ * the config file basePath can be an ancestor of the cwd.
401
+ */
402
+ if (basePath === cwd) {
403
+ relativeIgnorePatterns = ignorePatterns;
404
+ } else {
405
+
406
+ const relativeIgnorePath = path.relative(basePath, cwd);
407
+
408
+ relativeIgnorePatterns = ignorePatterns.map(pattern => {
409
+ const negated = pattern.startsWith("!");
410
+ const basePattern = negated ? pattern.slice(1) : pattern;
411
+
412
+ return (negated ? "!" : "") +
413
+ path.posix.join(relativeIgnorePath, basePattern);
414
+ });
415
+ }
416
+
417
+ /*
418
+ * Ignore patterns are added to the end of the config array
419
+ * so they can override default ignores.
420
+ */
421
+ configs.push({
422
+ ignores: relativeIgnorePatterns
423
+ });
424
+ }
425
+
426
+ if (overrideConfig) {
427
+ if (Array.isArray(overrideConfig)) {
428
+ configs.push(...overrideConfig);
429
+ } else {
430
+ configs.push(overrideConfig);
431
+ }
432
+ }
433
+
434
+ await configs.normalize();
435
+
436
+ // cache the config array for this instance
437
+ slots.configs = configs;
438
+
439
+ return configs;
440
+ }
441
+
442
+ /**
443
+ * Processes an source code using ESLint.
444
+ * @param {Object} config The config object.
445
+ * @param {string} config.text The source code to verify.
446
+ * @param {string} config.cwd The path to the current working directory.
447
+ * @param {string|undefined} config.filePath The path to the file of `text`. If this is undefined, it uses `<text>`.
448
+ * @param {FlatConfigArray} config.configs The config.
449
+ * @param {boolean} config.fix If `true` then it does fix.
450
+ * @param {boolean} config.allowInlineConfig If `true` then it uses directive comments.
451
+ * @param {Linter} config.linter The linter instance to verify.
452
+ * @returns {LintResult} The result of linting.
453
+ * @private
454
+ */
455
+ function verifyText({
456
+ text,
457
+ cwd,
458
+ filePath: providedFilePath,
459
+ configs,
460
+ fix,
461
+ allowInlineConfig,
462
+ linter
463
+ }) {
464
+ const filePath = providedFilePath || "<text>";
465
+
466
+ debug(`Lint ${filePath}`);
467
+
468
+ /*
469
+ * Verify.
470
+ * `config.extractConfig(filePath)` requires an absolute path, but `linter`
471
+ * doesn't know CWD, so it gives `linter` an absolute path always.
472
+ */
473
+ const filePathToVerify = filePath === "<text>" ? getPlaceholderPath(cwd) : filePath;
474
+ const { fixed, messages, output } = linter.verifyAndFix(
475
+ text,
476
+ configs,
477
+ {
478
+ allowInlineConfig,
479
+ filename: filePathToVerify,
480
+ fix,
481
+
482
+ /**
483
+ * Check if the linter should adopt a given code block or not.
484
+ * @param {string} blockFilename The virtual filename of a code block.
485
+ * @returns {boolean} `true` if the linter should adopt the code block.
486
+ */
487
+ filterCodeBlock(blockFilename) {
488
+ return configs.isExplicitMatch(blockFilename);
489
+ }
490
+ }
491
+ );
492
+
493
+ // Tweak and return.
494
+ const result = {
495
+ filePath: filePath === "<text>" ? filePath : path.resolve(filePath),
496
+ messages,
497
+ suppressedMessages: linter.getSuppressedMessages(),
498
+ ...calculateStatsPerFile(messages)
499
+ };
500
+
501
+ if (fixed) {
502
+ result.output = output;
503
+ }
504
+
505
+ if (
506
+ result.errorCount + result.warningCount > 0 &&
507
+ typeof result.output === "undefined"
508
+ ) {
509
+ result.source = text;
510
+ }
511
+
512
+ return result;
513
+ }
514
+
515
+ /**
516
+ * Checks whether a message's rule type should be fixed.
517
+ * @param {LintMessage} message The message to check.
518
+ * @param {FlatConfig} config The config for the file that generated the message.
519
+ * @param {string[]} fixTypes An array of fix types to check.
520
+ * @returns {boolean} Whether the message should be fixed.
521
+ */
522
+ function shouldMessageBeFixed(message, config, fixTypes) {
523
+ if (!message.ruleId) {
524
+ return fixTypes.has("directive");
525
+ }
526
+
527
+ const rule = message.ruleId && getRuleFromConfig(message.ruleId, config);
528
+
529
+ return Boolean(rule && rule.meta && fixTypes.has(rule.meta.type));
530
+ }
531
+
532
+ /**
533
+ * Creates an error to be thrown when an array of results passed to `getRulesMetaForResults` was not created by the current engine.
534
+ * @returns {TypeError} An error object.
535
+ */
536
+ function createExtraneousResultsError() {
537
+ return new TypeError("Results object was not created from this ESLint instance.");
538
+ }
539
+
540
+ //-----------------------------------------------------------------------------
541
+ // Main API
542
+ //-----------------------------------------------------------------------------
543
+
544
+ /**
545
+ * Primary Node.js API for ESLint.
546
+ */
547
+ class FlatESLint {
548
+
549
+ /**
550
+ * Creates a new instance of the main ESLint API.
551
+ * @param {FlatESLintOptions} options The options for this instance.
552
+ */
553
+ constructor(options = {}) {
554
+
555
+ const defaultConfigs = [];
556
+ const processedOptions = processOptions(options);
557
+ const linter = new Linter({
558
+ cwd: processedOptions.cwd,
559
+ configType: "flat"
560
+ });
561
+
562
+ const cacheFilePath = getCacheFile(
563
+ processedOptions.cacheLocation,
564
+ processedOptions.cwd
565
+ );
566
+
567
+ const lintResultCache = processedOptions.cache
568
+ ? new LintResultCache(cacheFilePath, processedOptions.cacheStrategy)
569
+ : null;
570
+
571
+ privateMembers.set(this, {
572
+ options: processedOptions,
573
+ linter,
574
+ cacheFilePath,
575
+ lintResultCache,
576
+ defaultConfigs,
577
+ configs: null
578
+ });
579
+
580
+ /**
581
+ * If additional plugins are passed in, add that to the default
582
+ * configs for this instance.
583
+ */
584
+ if (options.plugins) {
585
+
586
+ const plugins = {};
587
+
588
+ for (const [pluginName, plugin] of Object.entries(options.plugins)) {
589
+ plugins[naming.getShorthandName(pluginName, "eslint-plugin")] = plugin;
590
+ }
591
+
592
+ defaultConfigs.push({
593
+ plugins
594
+ });
595
+ }
596
+
597
+ }
598
+
599
+ /**
600
+ * The version text.
601
+ * @type {string}
602
+ */
603
+ static get version() {
604
+ return version;
605
+ }
606
+
607
+ /**
608
+ * Outputs fixes from the given results to files.
609
+ * @param {LintResult[]} results The lint results.
610
+ * @returns {Promise<void>} Returns a promise that is used to track side effects.
611
+ */
612
+ static async outputFixes(results) {
613
+ if (!Array.isArray(results)) {
614
+ throw new Error("'results' must be an array");
615
+ }
616
+
617
+ await Promise.all(
618
+ results
619
+ .filter(result => {
620
+ if (typeof result !== "object" || result === null) {
621
+ throw new Error("'results' must include only objects");
622
+ }
623
+ return (
624
+ typeof result.output === "string" &&
625
+ path.isAbsolute(result.filePath)
626
+ );
627
+ })
628
+ .map(r => fs.writeFile(r.filePath, r.output))
629
+ );
630
+ }
631
+
632
+ /**
633
+ * Returns results that only contains errors.
634
+ * @param {LintResult[]} results The results to filter.
635
+ * @returns {LintResult[]} The filtered results.
636
+ */
637
+ static getErrorResults(results) {
638
+ const filtered = [];
639
+
640
+ results.forEach(result => {
641
+ const filteredMessages = result.messages.filter(isErrorMessage);
642
+ const filteredSuppressedMessages = result.suppressedMessages.filter(isErrorMessage);
643
+
644
+ if (filteredMessages.length > 0) {
645
+ filtered.push({
646
+ ...result,
647
+ messages: filteredMessages,
648
+ suppressedMessages: filteredSuppressedMessages,
649
+ errorCount: filteredMessages.length,
650
+ warningCount: 0,
651
+ fixableErrorCount: result.fixableErrorCount,
652
+ fixableWarningCount: 0
653
+ });
654
+ }
655
+ });
656
+
657
+ return filtered;
658
+ }
659
+
660
+ /**
661
+ * Returns meta objects for each rule represented in the lint results.
662
+ * @param {LintResult[]} results The results to fetch rules meta for.
663
+ * @returns {Object} A mapping of ruleIds to rule meta objects.
664
+ * @throws {TypeError} When the results object wasn't created from this ESLint instance.
665
+ * @throws {TypeError} When a plugin or rule is missing.
666
+ */
667
+ getRulesMetaForResults(results) {
668
+
669
+ // short-circuit simple case
670
+ if (results.length === 0) {
671
+ return {};
672
+ }
673
+
674
+ const resultRules = new Map();
675
+ const {
676
+ configs,
677
+ options: { cwd }
678
+ } = privateMembers.get(this);
679
+
680
+ /*
681
+ * We can only accurately return rules meta information for linting results if the
682
+ * results were created by this instance. Otherwise, the necessary rules data is
683
+ * not available. So if the config array doesn't already exist, just throw an error
684
+ * to let the user know we can't do anything here.
685
+ */
686
+ if (!configs) {
687
+ throw createExtraneousResultsError();
688
+ }
689
+
690
+ for (const result of results) {
691
+
692
+ /*
693
+ * Normalize filename for <text>.
694
+ */
695
+ const filePath = result.filePath === "<text>"
696
+ ? getPlaceholderPath(cwd) : result.filePath;
697
+ const allMessages = result.messages.concat(result.suppressedMessages);
698
+
699
+ for (const { ruleId } of allMessages) {
700
+ if (!ruleId) {
701
+ continue;
702
+ }
703
+
704
+ /*
705
+ * All of the plugin and rule information is contained within the
706
+ * calculated config for the given file.
707
+ */
708
+ const config = configs.getConfig(filePath);
709
+
710
+ if (!config) {
711
+ throw createExtraneousResultsError();
712
+ }
713
+ const rule = getRuleFromConfig(ruleId, config);
714
+
715
+ // ignore unknown rules
716
+ if (rule) {
717
+ resultRules.set(ruleId, rule);
718
+ }
719
+ }
720
+ }
721
+
722
+ return createRulesMeta(resultRules);
723
+ }
724
+
725
+ /**
726
+ * Executes the current configuration on an array of file and directory names.
727
+ * @param {string|string[]} patterns An array of file and directory names.
728
+ * @returns {Promise<LintResult[]>} The results of linting the file patterns given.
729
+ */
730
+ async lintFiles(patterns) {
731
+ if (!isNonEmptyString(patterns) && !isArrayOfNonEmptyString(patterns)) {
732
+ throw new Error("'patterns' must be a non-empty string or an array of non-empty strings");
733
+ }
734
+
735
+ const {
736
+ cacheFilePath,
737
+ lintResultCache,
738
+ linter,
739
+ options: eslintOptions
740
+ } = privateMembers.get(this);
741
+ const configs = await calculateConfigArray(this, eslintOptions);
742
+ const {
743
+ allowInlineConfig,
744
+ cache,
745
+ cwd,
746
+ fix,
747
+ fixTypes,
748
+ globInputPaths,
749
+ errorOnUnmatchedPattern,
750
+ warnIgnored
751
+ } = eslintOptions;
752
+ const startTime = Date.now();
753
+ const fixTypesSet = fixTypes ? new Set(fixTypes) : null;
754
+
755
+ // Delete cache file; should this be done here?
756
+ if (!cache && cacheFilePath) {
757
+ debug(`Deleting cache file at ${cacheFilePath}`);
758
+
759
+ try {
760
+ await fs.unlink(cacheFilePath);
761
+ } catch (error) {
762
+ const errorCode = error && error.code;
763
+
764
+ // Ignore errors when no such file exists or file system is read only (and cache file does not exist)
765
+ if (errorCode !== "ENOENT" && !(errorCode === "EROFS" && !existsSync(cacheFilePath))) {
766
+ throw error;
767
+ }
768
+ }
769
+ }
770
+
771
+ const filePaths = await findFiles({
772
+ patterns: typeof patterns === "string" ? [patterns] : patterns,
773
+ cwd,
774
+ globInputPaths,
775
+ configs,
776
+ errorOnUnmatchedPattern
777
+ });
778
+
779
+ debug(`${filePaths.length} files found in: ${Date.now() - startTime}ms`);
780
+
781
+ /*
782
+ * Because we need to process multiple files, including reading from disk,
783
+ * it is most efficient to start by reading each file via promises so that
784
+ * they can be done in parallel. Then, we can lint the returned text. This
785
+ * ensures we are waiting the minimum amount of time in between lints.
786
+ */
787
+ const results = await Promise.all(
788
+
789
+ filePaths.map(({ filePath, ignored }) => {
790
+
791
+ /*
792
+ * If a filename was entered that matches an ignore
793
+ * pattern, then notify the user.
794
+ */
795
+ if (ignored) {
796
+ if (warnIgnored) {
797
+ return createIgnoreResult(filePath, cwd);
798
+ }
799
+
800
+ return void 0;
801
+ }
802
+
803
+ const config = configs.getConfig(filePath);
804
+
805
+ /*
806
+ * Sometimes a file found through a glob pattern will
807
+ * be ignored. In this case, `config` will be undefined
808
+ * and we just silently ignore the file.
809
+ */
810
+ if (!config) {
811
+ return void 0;
812
+ }
813
+
814
+ // Skip if there is cached result.
815
+ if (lintResultCache) {
816
+ const cachedResult =
817
+ lintResultCache.getCachedLintResults(filePath, config);
818
+
819
+ if (cachedResult) {
820
+ const hadMessages =
821
+ cachedResult.messages &&
822
+ cachedResult.messages.length > 0;
823
+
824
+ if (hadMessages && fix) {
825
+ debug(`Reprocessing cached file to allow autofix: ${filePath}`);
826
+ } else {
827
+ debug(`Skipping file since it hasn't changed: ${filePath}`);
828
+ return cachedResult;
829
+ }
830
+ }
831
+ }
832
+
833
+
834
+ // set up fixer for fixTypes if necessary
835
+ let fixer = fix;
836
+
837
+ if (fix && fixTypesSet) {
838
+
839
+ // save original value of options.fix in case it's a function
840
+ const originalFix = (typeof fix === "function")
841
+ ? fix : () => true;
842
+
843
+ fixer = message => shouldMessageBeFixed(message, config, fixTypesSet) && originalFix(message);
844
+ }
845
+
846
+ return fs.readFile(filePath, "utf8")
847
+ .then(text => {
848
+
849
+ // do the linting
850
+ const result = verifyText({
851
+ text,
852
+ filePath,
853
+ configs,
854
+ cwd,
855
+ fix: fixer,
856
+ allowInlineConfig,
857
+ linter
858
+ });
859
+
860
+ /*
861
+ * Store the lint result in the LintResultCache.
862
+ * NOTE: The LintResultCache will remove the file source and any
863
+ * other properties that are difficult to serialize, and will
864
+ * hydrate those properties back in on future lint runs.
865
+ */
866
+ if (lintResultCache) {
867
+ lintResultCache.setCachedLintResults(filePath, config, result);
868
+ }
869
+
870
+ return result;
871
+ });
872
+
873
+ })
874
+ );
875
+
876
+ // Persist the cache to disk.
877
+ if (lintResultCache) {
878
+ lintResultCache.reconcile();
879
+ }
880
+
881
+ const finalResults = results.filter(result => !!result);
882
+
883
+ return processLintReport(this, {
884
+ results: finalResults
885
+ });
886
+ }
887
+
888
+ /**
889
+ * Executes the current configuration on text.
890
+ * @param {string} code A string of JavaScript code to lint.
891
+ * @param {Object} [options] The options.
892
+ * @param {string} [options.filePath] The path to the file of the source code.
893
+ * @param {boolean} [options.warnIgnored] When set to true, warn if given filePath is an ignored path.
894
+ * @returns {Promise<LintResult[]>} The results of linting the string of code given.
895
+ */
896
+ async lintText(code, options = {}) {
897
+
898
+ // Parameter validation
899
+
900
+ if (typeof code !== "string") {
901
+ throw new Error("'code' must be a string");
902
+ }
903
+
904
+ if (typeof options !== "object") {
905
+ throw new Error("'options' must be an object, null, or undefined");
906
+ }
907
+
908
+ // Options validation
909
+
910
+ const {
911
+ filePath,
912
+ warnIgnored,
913
+ ...unknownOptions
914
+ } = options || {};
915
+
916
+ const unknownOptionKeys = Object.keys(unknownOptions);
917
+
918
+ if (unknownOptionKeys.length > 0) {
919
+ throw new Error(`'options' must not include the unknown option(s): ${unknownOptionKeys.join(", ")}`);
920
+ }
921
+
922
+ if (filePath !== void 0 && !isNonEmptyString(filePath)) {
923
+ throw new Error("'options.filePath' must be a non-empty string or undefined");
924
+ }
925
+
926
+ if (typeof warnIgnored !== "boolean" && typeof warnIgnored !== "undefined") {
927
+ throw new Error("'options.warnIgnored' must be a boolean or undefined");
928
+ }
929
+
930
+ // Now we can get down to linting
931
+
932
+ const {
933
+ linter,
934
+ options: eslintOptions
935
+ } = privateMembers.get(this);
936
+ const configs = await calculateConfigArray(this, eslintOptions);
937
+ const {
938
+ allowInlineConfig,
939
+ cwd,
940
+ fix,
941
+ warnIgnored: constructorWarnIgnored
942
+ } = eslintOptions;
943
+ const results = [];
944
+ const startTime = Date.now();
945
+ const resolvedFilename = path.resolve(cwd, filePath || "__placeholder__.js");
946
+
947
+ // Clear the last used config arrays.
948
+ if (resolvedFilename && await this.isPathIgnored(resolvedFilename)) {
949
+ const shouldWarnIgnored = typeof warnIgnored === "boolean" ? warnIgnored : constructorWarnIgnored;
950
+
951
+ if (shouldWarnIgnored) {
952
+ results.push(createIgnoreResult(resolvedFilename, cwd));
953
+ }
954
+ } else {
955
+
956
+ // Do lint.
957
+ results.push(verifyText({
958
+ text: code,
959
+ filePath: resolvedFilename.endsWith("__placeholder__.js") ? "<text>" : resolvedFilename,
960
+ configs,
961
+ cwd,
962
+ fix,
963
+ allowInlineConfig,
964
+ linter
965
+ }));
966
+ }
967
+
968
+ debug(`Linting complete in: ${Date.now() - startTime}ms`);
969
+
970
+ return processLintReport(this, {
971
+ results
972
+ });
973
+
974
+ }
975
+
976
+ /**
977
+ * Returns the formatter representing the given formatter name.
978
+ * @param {string} [name] The name of the formatter to load.
979
+ * The following values are allowed:
980
+ * - `undefined` ... Load `stylish` builtin formatter.
981
+ * - A builtin formatter name ... Load the builtin formatter.
982
+ * - A third-party formatter name:
983
+ * - `foo` → `eslint-formatter-foo`
984
+ * - `@foo` → `@foo/eslint-formatter`
985
+ * - `@foo/bar` → `@foo/eslint-formatter-bar`
986
+ * - A file path ... Load the file.
987
+ * @returns {Promise<Formatter>} A promise resolving to the formatter object.
988
+ * This promise will be rejected if the given formatter was not found or not
989
+ * a function.
990
+ */
991
+ async loadFormatter(name = "stylish") {
992
+ if (typeof name !== "string") {
993
+ throw new Error("'name' must be a string");
994
+ }
995
+
996
+ // replace \ with / for Windows compatibility
997
+ const normalizedFormatName = name.replace(/\\/gu, "/");
998
+ const namespace = naming.getNamespaceFromTerm(normalizedFormatName);
999
+
1000
+ // grab our options
1001
+ const { cwd } = privateMembers.get(this).options;
1002
+
1003
+
1004
+ let formatterPath;
1005
+
1006
+ // if there's a slash, then it's a file (TODO: this check seems dubious for scoped npm packages)
1007
+ if (!namespace && normalizedFormatName.includes("/")) {
1008
+ formatterPath = path.resolve(cwd, normalizedFormatName);
1009
+ } else {
1010
+ try {
1011
+ const npmFormat = naming.normalizePackageName(normalizedFormatName, "eslint-formatter");
1012
+
1013
+ // TODO: This is pretty dirty...would be nice to clean up at some point.
1014
+ formatterPath = ModuleResolver.resolve(npmFormat, getPlaceholderPath(cwd));
1015
+ } catch {
1016
+ formatterPath = path.resolve(__dirname, "../", "cli-engine", "formatters", `${normalizedFormatName}.js`);
1017
+ }
1018
+ }
1019
+
1020
+ let formatter;
1021
+
1022
+ try {
1023
+ formatter = (await import(pathToFileURL(formatterPath))).default;
1024
+ } catch (ex) {
1025
+
1026
+ // check for formatters that have been removed
1027
+ if (removedFormatters.has(name)) {
1028
+ ex.message = `The ${name} formatter is no longer part of core ESLint. Install it manually with \`npm install -D eslint-formatter-${name}\``;
1029
+ } else {
1030
+ ex.message = `There was a problem loading formatter: ${formatterPath}\nError: ${ex.message}`;
1031
+ }
1032
+
1033
+ throw ex;
1034
+ }
1035
+
1036
+
1037
+ if (typeof formatter !== "function") {
1038
+ throw new TypeError(`Formatter must be a function, but got a ${typeof formatter}.`);
1039
+ }
1040
+
1041
+ const eslint = this;
1042
+
1043
+ return {
1044
+
1045
+ /**
1046
+ * The main formatter method.
1047
+ * @param {LintResults[]} results The lint results to format.
1048
+ * @param {ResultsMeta} resultsMeta Warning count and max threshold.
1049
+ * @returns {string} The formatted lint results.
1050
+ */
1051
+ format(results, resultsMeta) {
1052
+ let rulesMeta = null;
1053
+
1054
+ results.sort(compareResultsByFilePath);
1055
+
1056
+ return formatter(results, {
1057
+ ...resultsMeta,
1058
+ cwd,
1059
+ get rulesMeta() {
1060
+ if (!rulesMeta) {
1061
+ rulesMeta = eslint.getRulesMetaForResults(results);
1062
+ }
1063
+
1064
+ return rulesMeta;
1065
+ }
1066
+ });
1067
+ }
1068
+ };
1069
+ }
1070
+
1071
+ /**
1072
+ * Returns a configuration object for the given file based on the CLI options.
1073
+ * This is the same logic used by the ESLint CLI executable to determine
1074
+ * configuration for each file it processes.
1075
+ * @param {string} filePath The path of the file to retrieve a config object for.
1076
+ * @returns {Promise<ConfigData|undefined>} A configuration object for the file
1077
+ * or `undefined` if there is no configuration data for the object.
1078
+ */
1079
+ async calculateConfigForFile(filePath) {
1080
+ if (!isNonEmptyString(filePath)) {
1081
+ throw new Error("'filePath' must be a non-empty string");
1082
+ }
1083
+ const options = privateMembers.get(this).options;
1084
+ const absolutePath = path.resolve(options.cwd, filePath);
1085
+ const configs = await calculateConfigArray(this, options);
1086
+
1087
+ return configs.getConfig(absolutePath);
1088
+ }
1089
+
1090
+ /**
1091
+ * Finds the config file being used by this instance based on the options
1092
+ * passed to the constructor.
1093
+ * @returns {string|undefined} The path to the config file being used or
1094
+ * `undefined` if no config file is being used.
1095
+ */
1096
+ async findConfigFile() {
1097
+ const options = privateMembers.get(this).options;
1098
+ const { configFilePath } = await locateConfigFileToUse(options);
1099
+
1100
+ return configFilePath;
1101
+ }
1102
+
1103
+ /**
1104
+ * Checks if a given path is ignored by ESLint.
1105
+ * @param {string} filePath The path of the file to check.
1106
+ * @returns {Promise<boolean>} Whether or not the given path is ignored.
1107
+ */
1108
+ async isPathIgnored(filePath) {
1109
+ const config = await this.calculateConfigForFile(filePath);
1110
+
1111
+ return config === void 0;
1112
+ }
1113
+ }
1114
+
1115
+ /**
1116
+ * Returns whether flat config should be used.
1117
+ * @returns {Promise<boolean>} Whether flat config should be used.
1118
+ */
1119
+ async function shouldUseFlatConfig() {
1120
+ switch (process.env.ESLINT_USE_FLAT_CONFIG) {
1121
+ case "true":
1122
+ return true;
1123
+ case "false":
1124
+ return false;
1125
+ default:
1126
+
1127
+ /*
1128
+ * If neither explicitly enabled nor disabled, then use the presence
1129
+ * of a flat config file to determine enablement.
1130
+ */
1131
+ return !!(await findFlatConfigFile(process.cwd()));
1132
+ }
1133
+ }
1134
+
1135
+ //------------------------------------------------------------------------------
1136
+ // Public Interface
1137
+ //------------------------------------------------------------------------------
1138
+
1139
+ module.exports = {
1140
+ FlatESLint,
1141
+ shouldUseFlatConfig
1142
+ };