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.
- package/package.json +1 -1
- package/template/lib/react/node_modules/.bin/acorn +17 -0
- package/template/lib/react/node_modules/.bin/acorn.CMD +12 -0
- package/template/lib/react/node_modules/.bin/acorn.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/browserslist +17 -0
- package/template/lib/react/node_modules/.bin/browserslist.CMD +12 -0
- package/template/lib/react/node_modules/.bin/browserslist.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/esbuild +17 -0
- package/template/lib/react/node_modules/.bin/esbuild.CMD +12 -0
- package/template/lib/react/node_modules/.bin/esbuild.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/prettier +17 -0
- package/template/lib/react/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/react/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/sb +17 -0
- package/template/lib/react/node_modules/.bin/sb.CMD +12 -0
- package/template/lib/react/node_modules/.bin/sb.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/storybook +17 -0
- package/template/lib/react/node_modules/.bin/storybook.CMD +12 -0
- package/template/lib/react/node_modules/.bin/storybook.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/stylelint +17 -0
- package/template/lib/react/node_modules/.bin/stylelint.CMD +12 -0
- package/template/lib/react/node_modules/.bin/stylelint.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/tsc +17 -0
- package/template/lib/react/node_modules/.bin/tsc.CMD +12 -0
- package/template/lib/react/node_modules/.bin/tsc.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/tsserver +17 -0
- package/template/lib/react/node_modules/.bin/tsserver.CMD +12 -0
- package/template/lib/react/node_modules/.bin/tsserver.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/vite +17 -0
- package/template/lib/react/node_modules/.bin/vite.CMD +12 -0
- package/template/lib/react/node_modules/.bin/vite.ps1 +41 -0
- package/template/lib/react/node_modules/eslint/LICENSE +19 -0
- package/template/lib/react/node_modules/eslint/README.md +304 -0
- package/template/lib/react/node_modules/eslint/bin/eslint.js +173 -0
- package/template/lib/react/node_modules/eslint/conf/config-schema.js +93 -0
- package/template/lib/react/node_modules/eslint/conf/default-cli-options.js +32 -0
- package/template/lib/react/node_modules/eslint/conf/globals.js +154 -0
- package/template/lib/react/node_modules/eslint/conf/replacements.json +22 -0
- package/template/lib/react/node_modules/eslint/conf/rule-type-list.json +28 -0
- package/template/lib/react/node_modules/eslint/lib/api.js +26 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/cli-engine.js +1078 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/file-enumerator.js +547 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +46 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/html.js +351 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/hash.js +35 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/index.js +7 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/lint-result-cache.js +203 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
- package/template/lib/react/node_modules/eslint/lib/cli.js +471 -0
- package/template/lib/react/node_modules/eslint/lib/config/default-config.js +67 -0
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-array.js +274 -0
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-helpers.js +111 -0
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-schema.js +583 -0
- package/template/lib/react/node_modules/eslint/lib/config/rule-validator.js +158 -0
- package/template/lib/react/node_modules/eslint/lib/eslint/eslint-helpers.js +902 -0
- package/template/lib/react/node_modules/eslint/lib/eslint/eslint.js +700 -0
- package/template/lib/react/node_modules/eslint/lib/eslint/flat-eslint.js +1142 -0
- package/template/lib/react/node_modules/eslint/lib/eslint/index.js +9 -0
- package/template/lib/react/node_modules/eslint/lib/linter/apply-disable-directives.js +465 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +852 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +263 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +2348 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +342 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +349 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
- package/template/lib/react/node_modules/eslint/lib/linter/config-comment-parser.js +185 -0
- package/template/lib/react/node_modules/eslint/lib/linter/index.js +13 -0
- package/template/lib/react/node_modules/eslint/lib/linter/interpolate.js +28 -0
- package/template/lib/react/node_modules/eslint/lib/linter/linter.js +2119 -0
- package/template/lib/react/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
- package/template/lib/react/node_modules/eslint/lib/linter/report-translator.js +369 -0
- package/template/lib/react/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
- package/template/lib/react/node_modules/eslint/lib/linter/rules.js +80 -0
- package/template/lib/react/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
- package/template/lib/react/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
- package/template/lib/react/node_modules/eslint/lib/linter/timing.js +161 -0
- package/template/lib/react/node_modules/eslint/lib/options.js +398 -0
- package/template/lib/react/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1122 -0
- package/template/lib/react/node_modules/eslint/lib/rule-tester/index.js +5 -0
- package/template/lib/react/node_modules/eslint/lib/rule-tester/rule-tester.js +1206 -0
- package/template/lib/react/node_modules/eslint/lib/rules/accessor-pairs.js +346 -0
- package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-newline.js +261 -0
- package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-spacing.js +244 -0
- package/template/lib/react/node_modules/eslint/lib/rules/array-callback-return.js +446 -0
- package/template/lib/react/node_modules/eslint/lib/rules/array-element-newline.js +311 -0
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-parens.js +186 -0
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-spacing.js +164 -0
- package/template/lib/react/node_modules/eslint/lib/rules/block-scoped-var.js +135 -0
- package/template/lib/react/node_modules/eslint/lib/rules/block-spacing.js +174 -0
- package/template/lib/react/node_modules/eslint/lib/rules/brace-style.js +197 -0
- package/template/lib/react/node_modules/eslint/lib/rules/callback-return.js +187 -0
- package/template/lib/react/node_modules/eslint/lib/rules/camelcase.js +399 -0
- package/template/lib/react/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
- package/template/lib/react/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
- package/template/lib/react/node_modules/eslint/lib/rules/comma-dangle.js +373 -0
- package/template/lib/react/node_modules/eslint/lib/rules/comma-spacing.js +192 -0
- package/template/lib/react/node_modules/eslint/lib/rules/comma-style.js +314 -0
- package/template/lib/react/node_modules/eslint/lib/rules/complexity.js +165 -0
- package/template/lib/react/node_modules/eslint/lib/rules/computed-property-spacing.js +208 -0
- package/template/lib/react/node_modules/eslint/lib/rules/consistent-return.js +210 -0
- package/template/lib/react/node_modules/eslint/lib/rules/consistent-this.js +153 -0
- package/template/lib/react/node_modules/eslint/lib/rules/constructor-super.js +446 -0
- package/template/lib/react/node_modules/eslint/lib/rules/curly.js +486 -0
- package/template/lib/react/node_modules/eslint/lib/rules/default-case-last.js +44 -0
- package/template/lib/react/node_modules/eslint/lib/rules/default-case.js +97 -0
- package/template/lib/react/node_modules/eslint/lib/rules/default-param-last.js +62 -0
- package/template/lib/react/node_modules/eslint/lib/rules/dot-location.js +108 -0
- package/template/lib/react/node_modules/eslint/lib/rules/dot-notation.js +176 -0
- package/template/lib/react/node_modules/eslint/lib/rules/eol-last.js +115 -0
- package/template/lib/react/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
- package/template/lib/react/node_modules/eslint/lib/rules/for-direction.js +140 -0
- package/template/lib/react/node_modules/eslint/lib/rules/func-call-spacing.js +233 -0
- package/template/lib/react/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
- package/template/lib/react/node_modules/eslint/lib/rules/func-names.js +191 -0
- package/template/lib/react/node_modules/eslint/lib/rules/func-style.js +98 -0
- package/template/lib/react/node_modules/eslint/lib/rules/function-call-argument-newline.js +125 -0
- package/template/lib/react/node_modules/eslint/lib/rules/function-paren-newline.js +292 -0
- package/template/lib/react/node_modules/eslint/lib/rules/generator-star-spacing.js +209 -0
- package/template/lib/react/node_modules/eslint/lib/rules/getter-return.js +204 -0
- package/template/lib/react/node_modules/eslint/lib/rules/global-require.js +90 -0
- package/template/lib/react/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +215 -0
- package/template/lib/react/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
- package/template/lib/react/node_modules/eslint/lib/rules/handle-callback-err.js +101 -0
- package/template/lib/react/node_modules/eslint/lib/rules/id-blacklist.js +246 -0
- package/template/lib/react/node_modules/eslint/lib/rules/id-denylist.js +228 -0
- package/template/lib/react/node_modules/eslint/lib/rules/id-length.js +177 -0
- package/template/lib/react/node_modules/eslint/lib/rules/id-match.js +299 -0
- package/template/lib/react/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +84 -0
- package/template/lib/react/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
- package/template/lib/react/node_modules/eslint/lib/rules/indent.js +1803 -0
- package/template/lib/react/node_modules/eslint/lib/rules/index.js +306 -0
- package/template/lib/react/node_modules/eslint/lib/rules/init-declarations.js +139 -0
- package/template/lib/react/node_modules/eslint/lib/rules/jsx-quotes.js +98 -0
- package/template/lib/react/node_modules/eslint/lib/rules/key-spacing.js +687 -0
- package/template/lib/react/node_modules/eslint/lib/rules/keyword-spacing.js +640 -0
- package/template/lib/react/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
- package/template/lib/react/node_modules/eslint/lib/rules/linebreak-style.js +108 -0
- package/template/lib/react/node_modules/eslint/lib/rules/lines-around-comment.js +471 -0
- package/template/lib/react/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
- package/template/lib/react/node_modules/eslint/lib/rules/lines-between-class-members.js +269 -0
- package/template/lib/react/node_modules/eslint/lib/rules/logical-assignment-operators.js +504 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-depth.js +156 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-len.js +440 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-lines.js +193 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-params.js +102 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-statements-per-line.js +199 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-statements.js +184 -0
- package/template/lib/react/node_modules/eslint/lib/rules/multiline-comment-style.js +474 -0
- package/template/lib/react/node_modules/eslint/lib/rules/multiline-ternary.js +174 -0
- package/template/lib/react/node_modules/eslint/lib/rules/new-cap.js +276 -0
- package/template/lib/react/node_modules/eslint/lib/rules/new-parens.js +93 -0
- package/template/lib/react/node_modules/eslint/lib/rules/newline-after-var.js +253 -0
- package/template/lib/react/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
- package/template/lib/react/node_modules/eslint/lib/rules/newline-per-chained-call.js +126 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-alert.js +138 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-array-constructor.js +133 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-caller.js +46 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-catch-shadow.js +82 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-class-assign.js +63 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-confusing-arrow.js +92 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-console.js +207 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-const-assign.js +56 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-constant-binary-expression.js +509 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-constant-condition.js +150 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-continue.js +39 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-control-regex.js +138 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-debugger.js +43 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-args.js +82 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-else-return.js +405 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-character-class.js +76 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-pattern.js +78 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-static-block.js +47 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty.js +103 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-eval.js +286 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-ex-assign.js +54 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extend-native.js +179 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-parens.js +1322 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-semi.js +147 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-fallthrough.js +196 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-floating-decimal.js +73 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-func-assign.js +78 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-global-assign.js +95 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-coercion.js +380 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-globals.js +146 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-implied-eval.js +132 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-import-assign.js +241 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-regexp.js +194 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-irregular-whitespace.js +276 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-iterator.js +52 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-label-var.js +80 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-labels.js +149 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-lone-blocks.js +136 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-lonely-if.js +88 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-loop-func.js +206 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-loss-of-precision.js +214 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-magic-numbers.js +243 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-misleading-character-class.js +300 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-operators.js +229 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +116 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-spaces.js +141 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +154 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-native-reassign.js +98 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-func.js +87 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +66 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-object.js +67 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-require.js +50 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-symbol.js +56 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-wrappers.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new.js +43 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-obj-calls.js +86 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-object-constructor.js +117 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-octal.js +45 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-param-reassign.js +230 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-process-env.js +51 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-promise-executor-return.js +263 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-proto.js +48 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-prototype-builtins.js +159 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-regex-spaces.js +197 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-exports.js +193 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-globals.js +124 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-imports.js +410 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-modules.js +213 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-properties.js +168 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-return-await.js +135 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-script-url.js +61 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-sequences.js +138 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-setter-return.js +226 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +65 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-shadow.js +336 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-sync.js +64 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-tabs.js +81 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-ternary.js +41 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-this-before-super.js +331 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-trailing-spaces.js +193 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-undef.js +79 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-undefined.js +86 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-underscore-dangle.js +335 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable-loop.js +185 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable.js +293 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-expressions.js +186 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-labels.js +143 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-vars.js +718 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-use-before-define.js +348 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-backreference.js +194 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-escape.js +333 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-return.js +364 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-var.js +334 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-void.js +64 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-warning-comments.js +201 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-whitespace-before-property.js +116 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-with.js +39 -0
- package/template/lib/react/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +127 -0
- package/template/lib/react/node_modules/eslint/lib/rules/object-curly-newline.js +324 -0
- package/template/lib/react/node_modules/eslint/lib/rules/object-curly-spacing.js +311 -0
- package/template/lib/react/node_modules/eslint/lib/rules/object-property-newline.js +102 -0
- package/template/lib/react/node_modules/eslint/lib/rules/object-shorthand.js +520 -0
- package/template/lib/react/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +95 -0
- package/template/lib/react/node_modules/eslint/lib/rules/one-var.js +567 -0
- package/template/lib/react/node_modules/eslint/lib/rules/operator-assignment.js +209 -0
- package/template/lib/react/node_modules/eslint/lib/rules/operator-linebreak.js +253 -0
- package/template/lib/react/node_modules/eslint/lib/rules/padded-blocks.js +310 -0
- package/template/lib/react/node_modules/eslint/lib/rules/padding-line-between-statements.js +590 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-arrow-callback.js +381 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-const.js +501 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +191 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-named-capture-group.js +178 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-has-own.js +114 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-spread.js +298 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +132 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-regex-literals.js +507 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-rest-params.js +118 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-template.js +275 -0
- package/template/lib/react/node_modules/eslint/lib/rules/quote-props.js +310 -0
- package/template/lib/react/node_modules/eslint/lib/rules/quotes.js +350 -0
- package/template/lib/react/node_modules/eslint/lib/rules/radix.js +198 -0
- package/template/lib/react/node_modules/eslint/lib/rules/require-atomic-updates.js +331 -0
- package/template/lib/react/node_modules/eslint/lib/rules/require-await.js +113 -0
- package/template/lib/react/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
- package/template/lib/react/node_modules/eslint/lib/rules/require-unicode-regexp.js +129 -0
- package/template/lib/react/node_modules/eslint/lib/rules/require-yield.js +77 -0
- package/template/lib/react/node_modules/eslint/lib/rules/rest-spread-spacing.js +123 -0
- package/template/lib/react/node_modules/eslint/lib/rules/semi-spacing.js +248 -0
- package/template/lib/react/node_modules/eslint/lib/rules/semi-style.js +158 -0
- package/template/lib/react/node_modules/eslint/lib/rules/semi.js +438 -0
- package/template/lib/react/node_modules/eslint/lib/rules/sort-imports.js +241 -0
- package/template/lib/react/node_modules/eslint/lib/rules/sort-keys.js +230 -0
- package/template/lib/react/node_modules/eslint/lib/rules/sort-vars.js +104 -0
- package/template/lib/react/node_modules/eslint/lib/rules/space-before-blocks.js +204 -0
- package/template/lib/react/node_modules/eslint/lib/rules/space-before-function-paren.js +167 -0
- package/template/lib/react/node_modules/eslint/lib/rules/space-in-parens.js +285 -0
- package/template/lib/react/node_modules/eslint/lib/rules/space-infix-ops.js +198 -0
- package/template/lib/react/node_modules/eslint/lib/rules/space-unary-ops.js +324 -0
- package/template/lib/react/node_modules/eslint/lib/rules/spaced-comment.js +385 -0
- package/template/lib/react/node_modules/eslint/lib/rules/strict.js +277 -0
- package/template/lib/react/node_modules/eslint/lib/rules/switch-colon-spacing.js +132 -0
- package/template/lib/react/node_modules/eslint/lib/rules/symbol-description.js +73 -0
- package/template/lib/react/node_modules/eslint/lib/rules/template-curly-spacing.js +144 -0
- package/template/lib/react/node_modules/eslint/lib/rules/template-tag-spacing.js +93 -0
- package/template/lib/react/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
- package/template/lib/react/node_modules/eslint/lib/rules/use-isnan.js +141 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/ast-utils.js +2282 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/regular-expressions.js +42 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- package/template/lib/react/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
- package/template/lib/react/node_modules/eslint/lib/rules/valid-typeof.js +127 -0
- package/template/lib/react/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
- package/template/lib/react/node_modules/eslint/lib/rules/wrap-iife.js +207 -0
- package/template/lib/react/node_modules/eslint/lib/rules/wrap-regex.js +61 -0
- package/template/lib/react/node_modules/eslint/lib/rules/yield-star-spacing.js +130 -0
- package/template/lib/react/node_modules/eslint/lib/rules/yoda.js +353 -0
- package/template/lib/react/node_modules/eslint/lib/shared/ajv.js +34 -0
- package/template/lib/react/node_modules/eslint/lib/shared/ast-utils.js +29 -0
- package/template/lib/react/node_modules/eslint/lib/shared/config-validator.js +347 -0
- package/template/lib/react/node_modules/eslint/lib/shared/deprecation-warnings.js +58 -0
- package/template/lib/react/node_modules/eslint/lib/shared/directives.js +15 -0
- package/template/lib/react/node_modules/eslint/lib/shared/logging.js +30 -0
- package/template/lib/react/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
- package/template/lib/react/node_modules/eslint/lib/shared/runtime-info.js +167 -0
- package/template/lib/react/node_modules/eslint/lib/shared/severity.js +49 -0
- package/template/lib/react/node_modules/eslint/lib/shared/string-utils.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/shared/traverser.js +195 -0
- package/template/lib/react/node_modules/eslint/lib/shared/types.js +216 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/index.js +5 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/source-code.js +1055 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/utils.js +107 -0
- package/template/lib/react/node_modules/eslint/lib/unsupported-api.js +30 -0
- package/template/lib/react/node_modules/eslint/messages/all-files-ignored.js +16 -0
- package/template/lib/react/node_modules/eslint/messages/eslintrc-incompat.js +98 -0
- package/template/lib/react/node_modules/eslint/messages/eslintrc-plugins.js +24 -0
- package/template/lib/react/node_modules/eslint/messages/extend-config-missing.js +13 -0
- package/template/lib/react/node_modules/eslint/messages/failed-to-read-json.js +11 -0
- package/template/lib/react/node_modules/eslint/messages/file-not-found.js +10 -0
- package/template/lib/react/node_modules/eslint/messages/invalid-rule-options.js +17 -0
- package/template/lib/react/node_modules/eslint/messages/invalid-rule-severity.js +13 -0
- package/template/lib/react/node_modules/eslint/messages/no-config-found.js +15 -0
- package/template/lib/react/node_modules/eslint/messages/plugin-conflict.js +22 -0
- package/template/lib/react/node_modules/eslint/messages/plugin-invalid.js +16 -0
- package/template/lib/react/node_modules/eslint/messages/plugin-missing.js +19 -0
- package/template/lib/react/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
- package/template/lib/react/node_modules/eslint/messages/shared.js +18 -0
- package/template/lib/react/node_modules/eslint/messages/whitespace-found.js +11 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml +17 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.CMD +12 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +41 -0
- package/template/lib/react/node_modules/eslint/package.json +179 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/LICENSE +5 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/README.md +232 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.cjs +278 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +20 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +251 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js +252 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js.map +1 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/package.json +108 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/shim.d.ts +4 -0
- package/template/lib/react/node_modules/eslint-plugin-import/CHANGELOG.md +1925 -0
- package/template/lib/react/node_modules/eslint-plugin-import/CONTRIBUTING.md +84 -0
- package/template/lib/react/node_modules/eslint-plugin-import/LICENSE +22 -0
- package/template/lib/react/node_modules/eslint-plugin-import/README.md +500 -0
- package/template/lib/react/node_modules/eslint-plugin-import/RELEASE.md +54 -0
- package/template/lib/react/node_modules/eslint-plugin-import/SECURITY.md +11 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/electron.js +8 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/errors.js +14 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/react-native.js +13 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/react.js +18 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/recommended.js +28 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/stage-0.js +12 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/typescript.js +34 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/warnings.js +12 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +91 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/default.md +72 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +92 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/export.md +37 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/exports-last.md +51 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/extensions.md +174 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/first.md +75 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/group-exports.md +118 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/imports-first.md +9 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +70 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/named.md +102 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/namespace.md +106 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +167 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +54 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-amd.md +37 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +83 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +96 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +111 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +65 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +62 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +109 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +25 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +49 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +139 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +81 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +136 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +54 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +52 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +53 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +36 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +79 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +44 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +42 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +70 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +123 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +198 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +32 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +60 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +110 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +125 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +85 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +39 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/order.md +365 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +185 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +57 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/ExportMap.js +856 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/importType.js +129 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/packagePath.js +22 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/staticRequire.js +11 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/docsUrl.js +8 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/importDeclaration.js +5 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/index.js +71 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +221 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/default.js +40 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +120 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/export.js +250 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/exports-last.js +40 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/extensions.js +193 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/first.js +144 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/group-exports.js +155 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/imports-first.js +16 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +60 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/named.js +143 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/namespace.js +218 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +237 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +40 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-amd.js +47 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +103 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +141 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +158 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +43 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +138 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +354 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +77 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +105 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +301 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +85 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +144 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +59 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +96 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +45 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +31 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +39 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +175 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +44 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +71 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +48 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +245 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +39 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +79 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +60 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +945 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +147 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +26 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/order.js +785 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +116 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +38 -0
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/LICENSE +22 -0
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/README.md +21 -0
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/index.js +41 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver +17 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-import/package.json +124 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/LICENSE.md +24 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/README.md +202 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +5 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +254 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +17 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +17 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/package.json +101 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.d.ts +5 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.js +17 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/worker.js +181 -0
- package/template/lib/react/node_modules/eslint-plugin-react/LICENSE +22 -0
- package/template/lib/react/node_modules/eslint-plugin-react/README.md +420 -0
- package/template/lib/react/node_modules/eslint-plugin-react/configs/all.js +39 -0
- package/template/lib/react/node_modules/eslint-plugin-react/configs/jsx-runtime.js +18 -0
- package/template/lib/react/node_modules/eslint-plugin-react/configs/recommended.js +34 -0
- package/template/lib/react/node_modules/eslint-plugin-react/index.js +31 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.js +400 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/button-has-type.js +163 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.js +108 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.js +280 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/display-name.js +283 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js +134 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.js +121 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-elements.js +114 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js +134 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.js +293 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/function-component-definition.js +284 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/hook-use-state.js +203 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.js +142 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/index.js +106 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.js +159 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.js +116 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js +308 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.js +73 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js +414 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.js +184 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.js +430 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.js +110 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.js +110 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js +80 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js +209 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.js +171 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js +213 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent.js +441 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-key.js +293 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js +162 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.js +154 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-newline.js +168 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js +208 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js +64 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js +225 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js +76 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.js +186 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.js +195 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.js +97 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.js +283 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.js +115 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js +257 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js +233 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js +163 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js +134 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.js +141 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.js +188 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js +530 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js +96 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js +323 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-react.js +46 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-vars.js +60 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.js +260 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.js +187 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js +125 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.js +288 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.js +144 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js +119 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js +155 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger.js +74 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js +258 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.js +10 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js +10 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.js +154 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.js +50 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.js +639 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js +55 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.js +80 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-namespace.js +61 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.js +103 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.js +87 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.js +81 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-set-state.js +88 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-string-refs.js +119 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.js +46 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-typos.js +257 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.js +133 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.js +609 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unsafe.js +153 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unstable-nested-components.js +491 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-class-component-methods.js +257 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-prop-types.js +173 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-state.js +522 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-will-update-set-state.js +14 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-es6-class.js +57 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-exact-props.js +161 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-read-only-props.js +116 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-stateless-function.js +390 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prop-types.js +201 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/react-in-jsx-scope.js +56 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-default-props.js +193 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-optimization.js +239 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-render-return.js +104 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/self-closing-comp.js +103 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-comp.js +446 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-default-props.js +174 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-prop-types.js +266 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/state-in-constructor.js +67 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/static-property-placement.js +187 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/style-prop-object.js +137 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/void-dom-elements-no-children.js +165 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/types.d.ts +28 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/Components.js +946 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/annotations.js +32 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/ast.js +461 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/componentUtil.js +182 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/defaultProps.js +268 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/docsUrl.js +7 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/error.js +14 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js +16 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateContext.js +53 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateElement.js +33 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isDestructuredFromPragmaImport.js +79 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isFirstLetterCapitalized.js +16 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/jsx.js +196 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/lifecycleMethods.js +30 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/linkComponents.js +49 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/log.js +14 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js +119 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/message.js +8 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/pragma.js +72 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypes.js +1248 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypesSort.js +211 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propWrapper.js +61 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/props.js +103 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/report.js +12 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/usedPropTypes.js +569 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/variable.js +94 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/version.js +161 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve +17 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver +17 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-react/package.json +106 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/LICENSE +21 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/README.md +75 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js +2458 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.min.js +63 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/index.js +9 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/package.json +39 -0
- package/template/lib/react/node_modules/prettier/LICENSE +4857 -0
- package/template/lib/react/node_modules/prettier/README.md +109 -0
- package/template/lib/react/node_modules/prettier/bin/prettier.cjs +68 -0
- package/template/lib/react/node_modules/prettier/doc.d.ts +243 -0
- package/template/lib/react/node_modules/prettier/doc.js +1328 -0
- package/template/lib/react/node_modules/prettier/doc.mjs +1300 -0
- package/template/lib/react/node_modules/prettier/index.cjs +648 -0
- package/template/lib/react/node_modules/prettier/index.d.ts +940 -0
- package/template/lib/react/node_modules/prettier/index.mjs +24255 -0
- package/template/lib/react/node_modules/prettier/internal/cli.mjs +7089 -0
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier +17 -0
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/react/node_modules/prettier/package.json +198 -0
- package/template/lib/react/node_modules/prettier/plugins/acorn.d.ts +6 -0
- package/template/lib/react/node_modules/prettier/plugins/acorn.js +13 -0
- package/template/lib/react/node_modules/prettier/plugins/acorn.mjs +13 -0
- package/template/lib/react/node_modules/prettier/plugins/angular.d.ts +8 -0
- package/template/lib/react/node_modules/prettier/plugins/angular.js +1 -0
- package/template/lib/react/node_modules/prettier/plugins/angular.mjs +1 -0
- package/template/lib/react/node_modules/prettier/plugins/babel.d.ts +18 -0
- package/template/lib/react/node_modules/prettier/plugins/babel.js +16 -0
- package/template/lib/react/node_modules/prettier/plugins/babel.mjs +16 -0
- package/template/lib/react/node_modules/prettier/plugins/estree.d.ts +1 -0
- package/template/lib/react/node_modules/prettier/plugins/estree.js +36 -0
- package/template/lib/react/node_modules/prettier/plugins/estree.mjs +36 -0
- package/template/lib/react/node_modules/prettier/plugins/flow.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/flow.js +21 -0
- package/template/lib/react/node_modules/prettier/plugins/flow.mjs +21 -0
- package/template/lib/react/node_modules/prettier/plugins/glimmer.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/glimmer.js +30 -0
- package/template/lib/react/node_modules/prettier/plugins/glimmer.mjs +30 -0
- package/template/lib/react/node_modules/prettier/plugins/graphql.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/graphql.js +29 -0
- package/template/lib/react/node_modules/prettier/plugins/graphql.mjs +29 -0
- package/template/lib/react/node_modules/prettier/plugins/html.d.ts +8 -0
- package/template/lib/react/node_modules/prettier/plugins/html.js +19 -0
- package/template/lib/react/node_modules/prettier/plugins/html.mjs +19 -0
- package/template/lib/react/node_modules/prettier/plugins/markdown.d.ts +7 -0
- package/template/lib/react/node_modules/prettier/plugins/markdown.js +59 -0
- package/template/lib/react/node_modules/prettier/plugins/markdown.mjs +59 -0
- package/template/lib/react/node_modules/prettier/plugins/meriyah.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/meriyah.js +5 -0
- package/template/lib/react/node_modules/prettier/plugins/meriyah.mjs +5 -0
- package/template/lib/react/node_modules/prettier/plugins/postcss.d.ts +7 -0
- package/template/lib/react/node_modules/prettier/plugins/postcss.js +49 -0
- package/template/lib/react/node_modules/prettier/plugins/postcss.mjs +49 -0
- package/template/lib/react/node_modules/prettier/plugins/typescript.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/typescript.js +25 -0
- package/template/lib/react/node_modules/prettier/plugins/typescript.mjs +25 -0
- package/template/lib/react/node_modules/prettier/plugins/yaml.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/yaml.js +161 -0
- package/template/lib/react/node_modules/prettier/plugins/yaml.mjs +161 -0
- package/template/lib/react/node_modules/prettier/standalone.d.ts +33 -0
- package/template/lib/react/node_modules/prettier/standalone.js +34 -0
- package/template/lib/react/node_modules/prettier/standalone.mjs +34 -0
- package/template/lib/react/node_modules/prop-types/LICENSE +21 -0
- package/template/lib/react/node_modules/prop-types/README.md +302 -0
- package/template/lib/react/node_modules/prop-types/checkPropTypes.js +103 -0
- package/template/lib/react/node_modules/prop-types/factory.js +19 -0
- package/template/lib/react/node_modules/prop-types/factoryWithThrowingShims.js +65 -0
- package/template/lib/react/node_modules/prop-types/factoryWithTypeCheckers.js +610 -0
- package/template/lib/react/node_modules/prop-types/index.js +19 -0
- package/template/lib/react/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -0
- package/template/lib/react/node_modules/prop-types/lib/has.js +1 -0
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify +17 -0
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.CMD +12 -0
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.ps1 +41 -0
- package/template/lib/react/node_modules/prop-types/package.json +60 -0
- package/template/lib/react/node_modules/prop-types/prop-types.js +1315 -0
- package/template/lib/react/node_modules/prop-types/prop-types.min.js +1 -0
- package/template/lib/react/node_modules/react/LICENSE +21 -0
- package/template/lib/react/node_modules/react/README.md +37 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1296 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +10 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +10 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.development.js +1314 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +11 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +11 -0
- package/template/lib/react/node_modules/react/cjs/react.development.js +2739 -0
- package/template/lib/react/node_modules/react/cjs/react.production.min.js +26 -0
- package/template/lib/react/node_modules/react/cjs/react.shared-subset.development.js +20 -0
- package/template/lib/react/node_modules/react/cjs/react.shared-subset.production.min.js +10 -0
- package/template/lib/react/node_modules/react/index.js +7 -0
- package/template/lib/react/node_modules/react/jsx-dev-runtime.js +7 -0
- package/template/lib/react/node_modules/react/jsx-runtime.js +7 -0
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify +17 -0
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.CMD +12 -0
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.ps1 +41 -0
- package/template/lib/react/node_modules/react/package.json +47 -0
- package/template/lib/react/node_modules/react/react.shared-subset.js +7 -0
- package/template/lib/react/node_modules/react/umd/react.development.js +3342 -0
- package/template/lib/react/node_modules/react/umd/react.production.min.js +31 -0
- package/template/lib/react/node_modules/react/umd/react.profiling.min.js +31 -0
- package/template/lib/react/node_modules/react-dom/LICENSE +21 -0
- package/template/lib/react/node_modules/react-dom/README.md +60 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +7018 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +93 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +7078 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +101 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +7003 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +96 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +7059 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +102 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +1741 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +40 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.development.js +29868 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.production.min.js +323 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +367 -0
- package/template/lib/react/node_modules/react-dom/client.js +25 -0
- package/template/lib/react/node_modules/react-dom/index.js +38 -0
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify +17 -0
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.CMD +12 -0
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.ps1 +41 -0
- package/template/lib/react/node_modules/react-dom/package.json +62 -0
- package/template/lib/react/node_modules/react-dom/profiling.js +38 -0
- package/template/lib/react/node_modules/react-dom/server.browser.js +17 -0
- package/template/lib/react/node_modules/react-dom/server.js +3 -0
- package/template/lib/react/node_modules/react-dom/server.node.js +17 -0
- package/template/lib/react/node_modules/react-dom/test-utils.js +7 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +7015 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +75 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +7000 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +76 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +1737 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +33 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom.development.js +29869 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom.production.min.js +267 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom.profiling.min.js +285 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/LICENSE +21 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/README.md +50 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/index.js +67 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +17 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +12 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +41 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/package.json +58 -0
- package/template/lib/ts/node_modules/.bin/acorn +17 -0
- package/template/lib/ts/node_modules/.bin/acorn.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/acorn.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/eslint +17 -0
- package/template/lib/ts/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/prettier +17 -0
- package/template/lib/ts/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/stylelint +17 -0
- package/template/lib/ts/node_modules/.bin/stylelint.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/stylelint.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/tsc +17 -0
- package/template/lib/ts/node_modules/.bin/tsc.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/tsc.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/tsserver +17 -0
- package/template/lib/ts/node_modules/.bin/tsserver.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/tsserver.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/vitest +17 -0
- package/template/lib/ts/node_modules/.bin/vitest.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/vitest.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint/LICENSE +19 -0
- package/template/lib/ts/node_modules/eslint/README.md +304 -0
- package/template/lib/ts/node_modules/eslint/bin/eslint.js +173 -0
- package/template/lib/ts/node_modules/eslint/conf/config-schema.js +93 -0
- package/template/lib/ts/node_modules/eslint/conf/default-cli-options.js +32 -0
- package/template/lib/ts/node_modules/eslint/conf/globals.js +154 -0
- package/template/lib/ts/node_modules/eslint/conf/replacements.json +22 -0
- package/template/lib/ts/node_modules/eslint/conf/rule-type-list.json +28 -0
- package/template/lib/ts/node_modules/eslint/lib/api.js +26 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/cli-engine.js +1078 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/file-enumerator.js +547 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +46 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/html.js +351 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/hash.js +35 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/index.js +7 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/lint-result-cache.js +203 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
- package/template/lib/ts/node_modules/eslint/lib/cli.js +471 -0
- package/template/lib/ts/node_modules/eslint/lib/config/default-config.js +67 -0
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-array.js +274 -0
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-helpers.js +111 -0
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-schema.js +583 -0
- package/template/lib/ts/node_modules/eslint/lib/config/rule-validator.js +158 -0
- package/template/lib/ts/node_modules/eslint/lib/eslint/eslint-helpers.js +902 -0
- package/template/lib/ts/node_modules/eslint/lib/eslint/eslint.js +700 -0
- package/template/lib/ts/node_modules/eslint/lib/eslint/flat-eslint.js +1142 -0
- package/template/lib/ts/node_modules/eslint/lib/eslint/index.js +9 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/apply-disable-directives.js +465 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +852 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +263 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +2348 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +342 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +349 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/config-comment-parser.js +185 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/index.js +13 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/interpolate.js +28 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/linter.js +2119 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/report-translator.js +369 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/rules.js +80 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/timing.js +161 -0
- package/template/lib/ts/node_modules/eslint/lib/options.js +398 -0
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1122 -0
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/index.js +5 -0
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/rule-tester.js +1206 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/accessor-pairs.js +346 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-newline.js +261 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-spacing.js +244 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/array-callback-return.js +446 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/array-element-newline.js +311 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-parens.js +186 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-spacing.js +164 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/block-scoped-var.js +135 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/block-spacing.js +174 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/brace-style.js +197 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/callback-return.js +187 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/camelcase.js +399 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-dangle.js +373 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-spacing.js +192 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-style.js +314 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/complexity.js +165 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/computed-property-spacing.js +208 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/consistent-return.js +210 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/consistent-this.js +153 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/constructor-super.js +446 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/curly.js +486 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/default-case-last.js +44 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/default-case.js +97 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/default-param-last.js +62 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/dot-location.js +108 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/dot-notation.js +176 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/eol-last.js +115 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/for-direction.js +140 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/func-call-spacing.js +233 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/func-names.js +191 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/func-style.js +98 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/function-call-argument-newline.js +125 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/function-paren-newline.js +292 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/generator-star-spacing.js +209 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/getter-return.js +204 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/global-require.js +90 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +215 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/handle-callback-err.js +101 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/id-blacklist.js +246 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/id-denylist.js +228 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/id-length.js +177 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/id-match.js +299 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +84 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/indent.js +1803 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/index.js +306 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/init-declarations.js +139 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/jsx-quotes.js +98 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/key-spacing.js +687 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/keyword-spacing.js +640 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/linebreak-style.js +108 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-comment.js +471 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-between-class-members.js +269 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/logical-assignment-operators.js +504 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-depth.js +156 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-len.js +440 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-lines.js +193 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-params.js +102 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-statements-per-line.js +199 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-statements.js +184 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/multiline-comment-style.js +474 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/multiline-ternary.js +174 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/new-cap.js +276 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/new-parens.js +93 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-after-var.js +253 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-per-chained-call.js +126 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-alert.js +138 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-array-constructor.js +133 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-caller.js +46 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-catch-shadow.js +82 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-class-assign.js +63 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-confusing-arrow.js +92 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-console.js +207 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-const-assign.js +56 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-binary-expression.js +509 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-condition.js +150 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-continue.js +39 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-control-regex.js +138 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-debugger.js +43 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-args.js +82 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-else-return.js +405 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-character-class.js +76 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-pattern.js +78 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-static-block.js +47 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty.js +103 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-eval.js +286 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-ex-assign.js +54 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extend-native.js +179 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-parens.js +1322 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-semi.js +147 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-fallthrough.js +196 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-floating-decimal.js +73 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-func-assign.js +78 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-global-assign.js +95 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-coercion.js +380 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-globals.js +146 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implied-eval.js +132 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-import-assign.js +241 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-regexp.js +194 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-irregular-whitespace.js +276 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-iterator.js +52 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-label-var.js +80 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-labels.js +149 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-lone-blocks.js +136 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-lonely-if.js +88 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-loop-func.js +206 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-loss-of-precision.js +214 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-magic-numbers.js +243 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-misleading-character-class.js +300 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-operators.js +229 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +116 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-spaces.js +141 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +154 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-native-reassign.js +98 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-func.js +87 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +66 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-object.js +67 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-require.js +50 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-symbol.js +56 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-wrappers.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new.js +43 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-obj-calls.js +86 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-object-constructor.js +117 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-octal.js +45 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-param-reassign.js +230 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-process-env.js +51 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-promise-executor-return.js +263 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-proto.js +48 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-prototype-builtins.js +159 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-regex-spaces.js +197 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-exports.js +193 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-globals.js +124 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-imports.js +410 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-modules.js +213 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-properties.js +168 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-return-await.js +135 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-script-url.js +61 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sequences.js +138 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-setter-return.js +226 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +65 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow.js +336 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sync.js +64 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-tabs.js +81 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-ternary.js +41 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-this-before-super.js +331 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-trailing-spaces.js +193 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undef.js +79 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undefined.js +86 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-underscore-dangle.js +335 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable-loop.js +185 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable.js +293 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-expressions.js +186 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-labels.js +143 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-vars.js +718 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-use-before-define.js +348 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-backreference.js +194 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-escape.js +333 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-return.js +364 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-var.js +334 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-void.js +64 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-warning-comments.js +201 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-whitespace-before-property.js +116 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-with.js +39 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +127 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-newline.js +324 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-spacing.js +311 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/object-property-newline.js +102 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/object-shorthand.js +520 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +95 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/one-var.js +567 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/operator-assignment.js +209 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/operator-linebreak.js +253 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/padded-blocks.js +310 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/padding-line-between-statements.js +590 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-arrow-callback.js +381 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-const.js +501 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +191 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-named-capture-group.js +178 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-has-own.js +114 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-spread.js +298 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +132 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-regex-literals.js +507 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-rest-params.js +118 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-template.js +275 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/quote-props.js +310 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/quotes.js +350 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/radix.js +198 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/require-atomic-updates.js +331 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/require-await.js +113 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/require-unicode-regexp.js +129 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/require-yield.js +77 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/rest-spread-spacing.js +123 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/semi-spacing.js +248 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/semi-style.js +158 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/semi.js +438 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-imports.js +241 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-keys.js +230 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-vars.js +104 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/space-before-blocks.js +204 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/space-before-function-paren.js +167 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/space-in-parens.js +285 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/space-infix-ops.js +198 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/space-unary-ops.js +324 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/spaced-comment.js +385 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/strict.js +277 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/switch-colon-spacing.js +132 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/symbol-description.js +73 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/template-curly-spacing.js +144 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/template-tag-spacing.js +93 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/use-isnan.js +141 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/ast-utils.js +2282 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/regular-expressions.js +42 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/valid-typeof.js +127 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/wrap-iife.js +207 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/wrap-regex.js +61 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/yield-star-spacing.js +130 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/yoda.js +353 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/ajv.js +34 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/ast-utils.js +29 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/config-validator.js +347 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/deprecation-warnings.js +58 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/directives.js +15 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/logging.js +30 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/runtime-info.js +167 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/severity.js +49 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/string-utils.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/traverser.js +195 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/types.js +216 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/index.js +5 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/source-code.js +1055 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/utils.js +107 -0
- package/template/lib/ts/node_modules/eslint/lib/unsupported-api.js +30 -0
- package/template/lib/ts/node_modules/eslint/messages/all-files-ignored.js +16 -0
- package/template/lib/ts/node_modules/eslint/messages/eslintrc-incompat.js +98 -0
- package/template/lib/ts/node_modules/eslint/messages/eslintrc-plugins.js +24 -0
- package/template/lib/ts/node_modules/eslint/messages/extend-config-missing.js +13 -0
- package/template/lib/ts/node_modules/eslint/messages/failed-to-read-json.js +11 -0
- package/template/lib/ts/node_modules/eslint/messages/file-not-found.js +10 -0
- package/template/lib/ts/node_modules/eslint/messages/invalid-rule-options.js +17 -0
- package/template/lib/ts/node_modules/eslint/messages/invalid-rule-severity.js +13 -0
- package/template/lib/ts/node_modules/eslint/messages/no-config-found.js +15 -0
- package/template/lib/ts/node_modules/eslint/messages/plugin-conflict.js +22 -0
- package/template/lib/ts/node_modules/eslint/messages/plugin-invalid.js +16 -0
- package/template/lib/ts/node_modules/eslint/messages/plugin-missing.js +19 -0
- package/template/lib/ts/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
- package/template/lib/ts/node_modules/eslint/messages/shared.js +18 -0
- package/template/lib/ts/node_modules/eslint/messages/whitespace-found.js +11 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint +17 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml +17 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.CMD +12 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint/package.json +179 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/LICENSE +5 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/README.md +232 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.cjs +278 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +20 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +251 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js +252 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js.map +1 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +17 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/package.json +108 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/shim.d.ts +4 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/CHANGELOG.md +1925 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/CONTRIBUTING.md +84 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/LICENSE +22 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/README.md +500 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/RELEASE.md +54 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/SECURITY.md +11 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/electron.js +8 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/errors.js +14 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/react-native.js +13 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/react.js +18 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/recommended.js +28 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/stage-0.js +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/typescript.js +34 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/warnings.js +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +91 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/default.md +72 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +92 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/export.md +37 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/exports-last.md +51 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/extensions.md +174 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/first.md +75 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/group-exports.md +118 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/imports-first.md +9 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +70 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/named.md +102 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/namespace.md +106 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +167 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +54 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-amd.md +37 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +83 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +96 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +111 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +65 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +62 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +109 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +25 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +49 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +139 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +81 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +136 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +54 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +52 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +53 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +36 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +79 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +44 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +42 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +70 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +123 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +198 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +32 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +60 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +110 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +125 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +85 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +39 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/order.md +365 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +185 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +57 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/ExportMap.js +856 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/importType.js +129 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/packagePath.js +22 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/staticRequire.js +11 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/docsUrl.js +8 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/importDeclaration.js +5 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/index.js +71 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +221 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/default.js +40 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +120 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/export.js +250 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/exports-last.js +40 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/extensions.js +193 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/first.js +144 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/group-exports.js +155 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/imports-first.js +16 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +60 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/named.js +143 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/namespace.js +218 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +237 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +40 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-amd.js +47 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +103 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +141 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +158 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +43 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +138 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +354 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +77 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +105 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +301 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +85 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +144 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +59 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +96 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +45 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +31 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +39 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +175 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +44 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +71 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +48 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +245 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +39 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +79 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +60 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +945 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +147 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +26 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/order.js +785 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +116 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +38 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/LICENSE +22 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/README.md +21 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/index.js +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/package.json +124 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/LICENSE.md +24 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/README.md +202 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +5 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +254 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/package.json +101 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.d.ts +5 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.js +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/worker.js +181 -0
- package/template/lib/ts/node_modules/prettier/LICENSE +4857 -0
- package/template/lib/ts/node_modules/prettier/README.md +109 -0
- package/template/lib/ts/node_modules/prettier/bin/prettier.cjs +68 -0
- package/template/lib/ts/node_modules/prettier/doc.d.ts +243 -0
- package/template/lib/ts/node_modules/prettier/doc.js +1328 -0
- package/template/lib/ts/node_modules/prettier/doc.mjs +1300 -0
- package/template/lib/ts/node_modules/prettier/index.cjs +648 -0
- package/template/lib/ts/node_modules/prettier/index.d.ts +940 -0
- package/template/lib/ts/node_modules/prettier/index.mjs +24255 -0
- package/template/lib/ts/node_modules/prettier/internal/cli.mjs +7089 -0
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier +17 -0
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/ts/node_modules/prettier/package.json +198 -0
- package/template/lib/ts/node_modules/prettier/plugins/acorn.d.ts +6 -0
- package/template/lib/ts/node_modules/prettier/plugins/acorn.js +13 -0
- package/template/lib/ts/node_modules/prettier/plugins/acorn.mjs +13 -0
- package/template/lib/ts/node_modules/prettier/plugins/angular.d.ts +8 -0
- package/template/lib/ts/node_modules/prettier/plugins/angular.js +1 -0
- package/template/lib/ts/node_modules/prettier/plugins/angular.mjs +1 -0
- package/template/lib/ts/node_modules/prettier/plugins/babel.d.ts +18 -0
- package/template/lib/ts/node_modules/prettier/plugins/babel.js +16 -0
- package/template/lib/ts/node_modules/prettier/plugins/babel.mjs +16 -0
- package/template/lib/ts/node_modules/prettier/plugins/estree.d.ts +1 -0
- package/template/lib/ts/node_modules/prettier/plugins/estree.js +36 -0
- package/template/lib/ts/node_modules/prettier/plugins/estree.mjs +36 -0
- package/template/lib/ts/node_modules/prettier/plugins/flow.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/flow.js +21 -0
- package/template/lib/ts/node_modules/prettier/plugins/flow.mjs +21 -0
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.js +30 -0
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.mjs +30 -0
- package/template/lib/ts/node_modules/prettier/plugins/graphql.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/graphql.js +29 -0
- package/template/lib/ts/node_modules/prettier/plugins/graphql.mjs +29 -0
- package/template/lib/ts/node_modules/prettier/plugins/html.d.ts +8 -0
- package/template/lib/ts/node_modules/prettier/plugins/html.js +19 -0
- package/template/lib/ts/node_modules/prettier/plugins/html.mjs +19 -0
- package/template/lib/ts/node_modules/prettier/plugins/markdown.d.ts +7 -0
- package/template/lib/ts/node_modules/prettier/plugins/markdown.js +59 -0
- package/template/lib/ts/node_modules/prettier/plugins/markdown.mjs +59 -0
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.js +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.mjs +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/postcss.d.ts +7 -0
- package/template/lib/ts/node_modules/prettier/plugins/postcss.js +49 -0
- package/template/lib/ts/node_modules/prettier/plugins/postcss.mjs +49 -0
- package/template/lib/ts/node_modules/prettier/plugins/typescript.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/typescript.js +25 -0
- package/template/lib/ts/node_modules/prettier/plugins/typescript.mjs +25 -0
- package/template/lib/ts/node_modules/prettier/plugins/yaml.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/yaml.js +161 -0
- package/template/lib/ts/node_modules/prettier/plugins/yaml.mjs +161 -0
- package/template/lib/ts/node_modules/prettier/standalone.d.ts +33 -0
- package/template/lib/ts/node_modules/prettier/standalone.js +34 -0
- package/template/lib/ts/node_modules/prettier/standalone.mjs +34 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/LICENSE +21 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/README.md +50 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/index.js +67 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +17 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +12 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +41 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/package.json +58 -0
- package/template/lib/workspace/packages/react/.stylelintrc +1 -1
- package/template/lib/workspace/packages/react/package.json +1 -1
- package/template/web-app/react/.stylelintrc +1 -1
- package/template/web-app/react/package.json +1 -1
- package/template/web-app/react-webpack/.stylelintrc +1 -1
- package/template/web-app/react-webpack/package.json +1 -1
- package/template/web-extension/.stylelintrc +1 -1
- package/template/web-extension/package.json +1 -1
- package/template/web-extension/vite.config.ts +1 -1
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
'use strict';var _slicedToArray = function () {function sliceIterator(arr, i) {var _arr = [];var _n = true;var _d = false;var _e = undefined;try {for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {_arr.push(_s.value);if (i && _arr.length === i) break;}} catch (err) {_d = true;_e = err;} finally {try {if (!_n && _i["return"]) _i["return"]();} finally {if (_d) throw _e;}}return _arr;}return function (arr, i) {if (Array.isArray(arr)) {return arr;} else if (Symbol.iterator in Object(arr)) {return sliceIterator(arr, i);} else {throw new TypeError("Invalid attempt to destructure non-iterable instance");}};}();var _path = require('path');var path = _interopRequireWildcard(_path);
|
|
2
|
+
var _ExportMap = require('../ExportMap');var _ExportMap2 = _interopRequireDefault(_ExportMap);
|
|
3
|
+
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}function _interopRequireWildcard(obj) {if (obj && obj.__esModule) {return obj;} else {var newObj = {};if (obj != null) {for (var key in obj) {if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];}}newObj['default'] = obj;return newObj;}}
|
|
4
|
+
|
|
5
|
+
module.exports = {
|
|
6
|
+
meta: {
|
|
7
|
+
type: 'problem',
|
|
8
|
+
docs: {
|
|
9
|
+
category: 'Static analysis',
|
|
10
|
+
description: 'Ensure named imports correspond to a named export in the remote file.',
|
|
11
|
+
url: (0, _docsUrl2['default'])('named') },
|
|
12
|
+
|
|
13
|
+
schema: [
|
|
14
|
+
{
|
|
15
|
+
type: 'object',
|
|
16
|
+
properties: {
|
|
17
|
+
commonjs: {
|
|
18
|
+
type: 'boolean' } },
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
additionalProperties: false }] },
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
create: function () {function create(context) {
|
|
27
|
+
var options = context.options[0] || {};
|
|
28
|
+
|
|
29
|
+
function checkSpecifiers(key, type, node) {
|
|
30
|
+
// ignore local exports and type imports/exports
|
|
31
|
+
if (
|
|
32
|
+
node.source == null ||
|
|
33
|
+
node.importKind === 'type' ||
|
|
34
|
+
node.importKind === 'typeof' ||
|
|
35
|
+
node.exportKind === 'type')
|
|
36
|
+
{
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
if (!node.specifiers.some(function (im) {return im.type === type;})) {
|
|
41
|
+
return; // no named imports/exports
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
var imports = _ExportMap2['default'].get(node.source.value, context);
|
|
45
|
+
if (imports == null || imports.parseGoal === 'ambiguous') {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
if (imports.errors.length) {
|
|
50
|
+
imports.reportErrors(context, node);
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
node.specifiers.forEach(function (im) {
|
|
55
|
+
if (
|
|
56
|
+
im.type !== type
|
|
57
|
+
// ignore type imports
|
|
58
|
+
|| im.importKind === 'type' || im.importKind === 'typeof')
|
|
59
|
+
{
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
var name = im[key].name || im[key].value;
|
|
64
|
+
|
|
65
|
+
var deepLookup = imports.hasDeep(name);
|
|
66
|
+
|
|
67
|
+
if (!deepLookup.found) {
|
|
68
|
+
if (deepLookup.path.length > 1) {
|
|
69
|
+
var deepPath = deepLookup.path.
|
|
70
|
+
map(function (i) {return path.relative(path.dirname(context.getPhysicalFilename ? context.getPhysicalFilename() : context.getFilename()), i.path);}).
|
|
71
|
+
join(' -> ');
|
|
72
|
+
|
|
73
|
+
context.report(im[key], String(name) + ' not found via ' + String(deepPath));
|
|
74
|
+
} else {
|
|
75
|
+
context.report(im[key], String(name) + ' not found in \'' + String(node.source.value) + '\'');
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function checkRequire(node) {
|
|
82
|
+
if (
|
|
83
|
+
!options.commonjs ||
|
|
84
|
+
node.type !== 'VariableDeclarator'
|
|
85
|
+
// return if it's not an object destructure or it's an empty object destructure
|
|
86
|
+
|| !node.id || node.id.type !== 'ObjectPattern' || node.id.properties.length === 0
|
|
87
|
+
// return if there is no call expression on the right side
|
|
88
|
+
|| !node.init || node.init.type !== 'CallExpression')
|
|
89
|
+
{
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
var call = node.init;var _call$arguments = _slicedToArray(
|
|
94
|
+
call.arguments, 1),source = _call$arguments[0];
|
|
95
|
+
var variableImports = node.id.properties;
|
|
96
|
+
var variableExports = _ExportMap2['default'].get(source.value, context);
|
|
97
|
+
|
|
98
|
+
if (
|
|
99
|
+
// return if it's not a commonjs require statement
|
|
100
|
+
call.callee.type !== 'Identifier' || call.callee.name !== 'require' || call.arguments.length !== 1
|
|
101
|
+
// return if it's not a string source
|
|
102
|
+
|| source.type !== 'Literal' ||
|
|
103
|
+
variableExports == null ||
|
|
104
|
+
variableExports.parseGoal === 'ambiguous')
|
|
105
|
+
{
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
if (variableExports.errors.length) {
|
|
110
|
+
variableExports.reportErrors(context, node);
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
variableImports.forEach(function (im) {
|
|
115
|
+
if (im.type !== 'Property' || !im.key || im.key.type !== 'Identifier') {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
var deepLookup = variableExports.hasDeep(im.key.name);
|
|
120
|
+
|
|
121
|
+
if (!deepLookup.found) {
|
|
122
|
+
if (deepLookup.path.length > 1) {
|
|
123
|
+
var deepPath = deepLookup.path.
|
|
124
|
+
map(function (i) {return path.relative(path.dirname(context.getFilename()), i.path);}).
|
|
125
|
+
join(' -> ');
|
|
126
|
+
|
|
127
|
+
context.report(im.key, String(im.key.name) + ' not found via ' + String(deepPath));
|
|
128
|
+
} else {
|
|
129
|
+
context.report(im.key, String(im.key.name) + ' not found in \'' + String(source.value) + '\'');
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
return {
|
|
136
|
+
ImportDeclaration: checkSpecifiers.bind(null, 'imported', 'ImportSpecifier'),
|
|
137
|
+
|
|
138
|
+
ExportNamedDeclaration: checkSpecifiers.bind(null, 'local', 'ExportSpecifier'),
|
|
139
|
+
|
|
140
|
+
VariableDeclarator: checkRequire };
|
|
141
|
+
|
|
142
|
+
}return create;}() };
|
|
143
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ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ICAgcmV0dXJuO1xuICAgICAgfVxuXG4gICAgICBub2RlLnNwZWNpZmllcnMuZm9yRWFjaChmdW5jdGlvbiAoaW0pIHtcbiAgICAgICAgaWYgKFxuICAgICAgICAgIGltLnR5cGUgIT09IHR5cGVcbiAgICAgICAgICAvLyBpZ25vcmUgdHlwZSBpbXBvcnRzXG4gICAgICAgICAgfHwgaW0uaW1wb3J0S2luZCA9PT0gJ3R5cGUnIHx8IGltLmltcG9ydEtpbmQgPT09ICd0eXBlb2YnXG4gICAgICAgICkge1xuICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IG5hbWUgPSBpbVtrZXldLm5hbWUgfHwgaW1ba2V5XS52YWx1ZTtcblxuICAgICAgICBjb25zdCBkZWVwTG9va3VwID0gaW1wb3J0cy5oYXNEZWVwKG5hbWUpO1xuXG4gICAgICAgIGlmICghZGVlcExvb2t1cC5mb3VuZCkge1xuICAgICAgICAgIGlmIChkZWVwTG9va3VwLnBhdGgubGVuZ3RoID4gMSkge1xuICAgICAgICAgICAgY29uc3QgZGVlcFBhdGggPSBkZWVwTG9va3VwLnBhdGhcbiAgICAgICAgICAgICAgLm1hcCgoaSkgPT4gcGF0aC5yZWxhdGl2ZShwYXRoLmRpcm5hbWUoY29udGV4dC5nZXRQaHlzaWNhbEZpbGVuYW1lID8gY29udGV4dC5nZXRQaHlzaWNhbEZpbGVuYW1lKCkgOiBjb250ZXh0LmdldEZpbGVuYW1lKCkpLCBpLnBhdGgpKVxuICAgICAgICAgICAgICAuam9pbignIC0+ICcpO1xuXG4gICAgICAgICAgICBjb250ZXh0LnJlcG9ydChpbVtrZXldLCBgJHtuYW1lfSBub3QgZm91bmQgdmlhICR7ZGVlcFBhdGh9YCk7XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGNvbnRleHQucmVwb3J0KGltW2tleV0sIGAke25hbWV9IG5vdCBmb3VuZCBpbiAnJHtub2RlLnNvdXJjZS52YWx1ZX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tZSAhPT0gJ3JlcXVpcmUnIHx8IGNhbGwuYXJndW1lbnRzLmxlbmd0aCAhPT0gMVxuICAgICAgICAvLyByZXR1cm4gaWYgaXQncyBub3QgYSBzdHJpbmcgc291cmNlXG4gICAgICAgIHx8IHNvdXJjZS50eXBlICE9PSAnTGl0ZXJhbCdcbiAgICAgICAgfHwgdmFyaWFibGVFeHBvcnRzID09IG51bGxcbiAgICAgICAgfHwgdmFyaWFibGVFeHBvcnRzLnBhcnNlR29hbCA9PT0gJ2FtYmlndW91cydcbiAgICAgICkge1xuICAgICAgICByZXR1cm47XG4gICAgICB9XG5cbiAgICAgIGlmICh2YXJpYWJsZUV4cG9ydHMuZXJyb3JzLmxlbmd0aCkge1xuICAgICAgICB2YXJpYWJsZUV4cG9ydHMucmVwb3J0RXJyb3JzKGNvbnRleHQsIG5vZGUpO1xuICAgICAgICByZXR1cm47XG4gICAgICB9XG5cbiAgICAgIHZhcmlhYmxlSW1wb3J0cy5mb3JFYWNoKGZ1bmN0aW9uIChpbSkge1xuICAgICAgICBpZiAoaW0udHlwZSAhPT0gJ1Byb3BlcnR5JyB8fCAhaW0ua2V5IHx8IGltLmtleS50eXBlICE9PSAnSWRlbnRpZmllcicpIHtcbiAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICBjb25zdCBkZWVwTG9va3VwID0gdmFyaWFibGVFeHBvcnRzLmhhc0RlZXAoaW0ua2V5Lm5hbWUpO1xuXG4gICAgICAgIGlmICghZGVlcExvb2t1cC5mb3VuZCkge1xuICAgICAgICAgIGlmIChkZWVwTG9va3VwLnBhdGgubGVuZ3RoID4gMSkge1xuICAgICAgICAgICAgY29uc3QgZGVlcFBhdGggPSBkZWVwTG9va3VwLnBhdGhcbiAgICAgICAgICAgICAgLm1hcCgoaSkgPT4gcGF0aC5yZWxhdGl2ZShwYXRoLmRpcm5hbWUoY29udGV4dC5nZXRGaWxlbmFtZSgpKSwgaS5wYXRoKSlcbiAgICAgICAgICAgICAgLmpvaW4oJyAtPiAnKTtcblxuICAgICAgICAgICAgY29udGV4dC5yZXBvcnQoaW0ua2V5LCBgJHtpbS5rZXkubmFtZX0gbm90IGZvdW5kIHZpYSAke2RlZXBQYXRofWApO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBjb250ZXh0LnJlcG9ydChpbS5rZXksIGAke2ltLmtleS5uYW1lfSBub3QgZm91bmQgaW4gJyR7c291cmNlLnZhbHVlfSdgKTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH0pO1xuICAgIH1cblxuICAgIHJldHVybiB7XG4gICAgICBJbXBvcnREZWNsYXJhdGlvbjogY2hlY2tTcGVjaWZpZXJzLmJpbmQobnVsbCwgJ2ltcG9ydGVkJywgJ0ltcG9ydFNwZWNpZmllcicpLFxuXG4gICAgICBFeHBvcnROYW1lZERlY2xhcmF0aW9uOiBjaGVja1NwZWNpZmllcnMuYmluZChudWxsLCAnbG9jYWwnLCAnRXhwb3J0U3BlY2lmaWVyJyksXG5cbiAgICAgIFZhcmlhYmxlRGVjbGFyYXRvcjogY2hlY2tSZXF1aXJlLFxuICAgIH07XG4gIH0sXG59O1xuIl19
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
'use strict';var _declaredScope = require('eslint-module-utils/declaredScope');var _declaredScope2 = _interopRequireDefault(_declaredScope);
|
|
2
|
+
var _ExportMap = require('../ExportMap');var _ExportMap2 = _interopRequireDefault(_ExportMap);
|
|
3
|
+
var _importDeclaration = require('../importDeclaration');var _importDeclaration2 = _interopRequireDefault(_importDeclaration);
|
|
4
|
+
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
5
|
+
|
|
6
|
+
function processBodyStatement(context, namespaces, declaration) {
|
|
7
|
+
if (declaration.type !== 'ImportDeclaration') {return;}
|
|
8
|
+
|
|
9
|
+
if (declaration.specifiers.length === 0) {return;}
|
|
10
|
+
|
|
11
|
+
var imports = _ExportMap2['default'].get(declaration.source.value, context);
|
|
12
|
+
if (imports == null) {return null;}
|
|
13
|
+
|
|
14
|
+
if (imports.errors.length > 0) {
|
|
15
|
+
imports.reportErrors(context, declaration);
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declaration.specifiers.forEach(function (specifier) {
|
|
20
|
+
switch (specifier.type) {
|
|
21
|
+
case 'ImportNamespaceSpecifier':
|
|
22
|
+
if (!imports.size) {
|
|
23
|
+
context.report(
|
|
24
|
+
specifier, 'No exported names found in module \'' + String(
|
|
25
|
+
declaration.source.value) + '\'.');
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
namespaces.set(specifier.local.name, imports);
|
|
29
|
+
break;
|
|
30
|
+
case 'ImportDefaultSpecifier':
|
|
31
|
+
case 'ImportSpecifier':{
|
|
32
|
+
var meta = imports.get(
|
|
33
|
+
// default to 'default' for default https://i.imgur.com/nj6qAWy.jpg
|
|
34
|
+
specifier.imported ? specifier.imported.name || specifier.imported.value : 'default');
|
|
35
|
+
|
|
36
|
+
if (!meta || !meta.namespace) {break;}
|
|
37
|
+
namespaces.set(specifier.local.name, meta.namespace);
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
default:}
|
|
41
|
+
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
module.exports = {
|
|
46
|
+
meta: {
|
|
47
|
+
type: 'problem',
|
|
48
|
+
docs: {
|
|
49
|
+
category: 'Static analysis',
|
|
50
|
+
description: 'Ensure imported namespaces contain dereferenced properties as they are dereferenced.',
|
|
51
|
+
url: (0, _docsUrl2['default'])('namespace') },
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
schema: [
|
|
55
|
+
{
|
|
56
|
+
type: 'object',
|
|
57
|
+
properties: {
|
|
58
|
+
allowComputed: {
|
|
59
|
+
description: 'If `false`, will report computed (and thus, un-lintable) references to namespace members.',
|
|
60
|
+
type: 'boolean',
|
|
61
|
+
'default': false } },
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
additionalProperties: false }] },
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
create: function () {function namespaceRule(context) {
|
|
70
|
+
// read options
|
|
71
|
+
var _ref =
|
|
72
|
+
|
|
73
|
+
context.options[0] || {},_ref$allowComputed = _ref.allowComputed,allowComputed = _ref$allowComputed === undefined ? false : _ref$allowComputed;
|
|
74
|
+
|
|
75
|
+
var namespaces = new Map();
|
|
76
|
+
|
|
77
|
+
function makeMessage(last, namepath) {
|
|
78
|
+
return '\'' + String(last.name) + '\' not found in ' + (namepath.length > 1 ? 'deeply ' : '') + 'imported namespace \'' + String(namepath.join('.')) + '\'.';
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
// pick up all imports at body entry time, to properly respect hoisting
|
|
83
|
+
Program: function () {function Program(_ref2) {var body = _ref2.body;
|
|
84
|
+
body.forEach(function (x) {processBodyStatement(context, namespaces, x);});
|
|
85
|
+
}return Program;}(),
|
|
86
|
+
|
|
87
|
+
// same as above, but does not add names to local map
|
|
88
|
+
ExportNamespaceSpecifier: function () {function ExportNamespaceSpecifier(namespace) {
|
|
89
|
+
var declaration = (0, _importDeclaration2['default'])(context);
|
|
90
|
+
|
|
91
|
+
var imports = _ExportMap2['default'].get(declaration.source.value, context);
|
|
92
|
+
if (imports == null) {return null;}
|
|
93
|
+
|
|
94
|
+
if (imports.errors.length) {
|
|
95
|
+
imports.reportErrors(context, declaration);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (!imports.size) {
|
|
100
|
+
context.report(
|
|
101
|
+
namespace, 'No exported names found in module \'' + String(
|
|
102
|
+
declaration.source.value) + '\'.');
|
|
103
|
+
|
|
104
|
+
}
|
|
105
|
+
}return ExportNamespaceSpecifier;}(),
|
|
106
|
+
|
|
107
|
+
// todo: check for possible redefinition
|
|
108
|
+
|
|
109
|
+
MemberExpression: function () {function MemberExpression(dereference) {
|
|
110
|
+
if (dereference.object.type !== 'Identifier') {return;}
|
|
111
|
+
if (!namespaces.has(dereference.object.name)) {return;}
|
|
112
|
+
if ((0, _declaredScope2['default'])(context, dereference.object.name) !== 'module') {return;}
|
|
113
|
+
|
|
114
|
+
if (dereference.parent.type === 'AssignmentExpression' && dereference.parent.left === dereference) {
|
|
115
|
+
context.report(
|
|
116
|
+
dereference.parent, 'Assignment to member of namespace \'' + String(
|
|
117
|
+
dereference.object.name) + '\'.');
|
|
118
|
+
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// go deep
|
|
122
|
+
var namespace = namespaces.get(dereference.object.name);
|
|
123
|
+
var namepath = [dereference.object.name];
|
|
124
|
+
// while property is namespace and parent is member expression, keep validating
|
|
125
|
+
while (namespace instanceof _ExportMap2['default'] && dereference.type === 'MemberExpression') {
|
|
126
|
+
if (dereference.computed) {
|
|
127
|
+
if (!allowComputed) {
|
|
128
|
+
context.report(
|
|
129
|
+
dereference.property, 'Unable to validate computed reference to imported namespace \'' + String(
|
|
130
|
+
dereference.object.name) + '\'.');
|
|
131
|
+
|
|
132
|
+
}
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
if (!namespace.has(dereference.property.name)) {
|
|
137
|
+
context.report(
|
|
138
|
+
dereference.property,
|
|
139
|
+
makeMessage(dereference.property, namepath));
|
|
140
|
+
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
var exported = namespace.get(dereference.property.name);
|
|
145
|
+
if (exported == null) {return;}
|
|
146
|
+
|
|
147
|
+
// stash and pop
|
|
148
|
+
namepath.push(dereference.property.name);
|
|
149
|
+
namespace = exported.namespace;
|
|
150
|
+
dereference = dereference.parent;
|
|
151
|
+
}
|
|
152
|
+
}return MemberExpression;}(),
|
|
153
|
+
|
|
154
|
+
VariableDeclarator: function () {function VariableDeclarator(_ref3) {var id = _ref3.id,init = _ref3.init;
|
|
155
|
+
if (init == null) {return;}
|
|
156
|
+
if (init.type !== 'Identifier') {return;}
|
|
157
|
+
if (!namespaces.has(init.name)) {return;}
|
|
158
|
+
|
|
159
|
+
// check for redefinition in intermediate scopes
|
|
160
|
+
if ((0, _declaredScope2['default'])(context, init.name) !== 'module') {return;}
|
|
161
|
+
|
|
162
|
+
// DFS traverse child namespaces
|
|
163
|
+
function testKey(pattern, namespace) {var path = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [init.name];
|
|
164
|
+
if (!(namespace instanceof _ExportMap2['default'])) {return;}
|
|
165
|
+
|
|
166
|
+
if (pattern.type !== 'ObjectPattern') {return;}var _iteratorNormalCompletion = true;var _didIteratorError = false;var _iteratorError = undefined;try {
|
|
167
|
+
|
|
168
|
+
for (var _iterator = pattern.properties[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {var property = _step.value;
|
|
169
|
+
if (
|
|
170
|
+
property.type === 'ExperimentalRestProperty' ||
|
|
171
|
+
property.type === 'RestElement' ||
|
|
172
|
+
!property.key)
|
|
173
|
+
{
|
|
174
|
+
continue;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
if (property.key.type !== 'Identifier') {
|
|
178
|
+
context.report({
|
|
179
|
+
node: property,
|
|
180
|
+
message: 'Only destructure top-level names.' });
|
|
181
|
+
|
|
182
|
+
continue;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (!namespace.has(property.key.name)) {
|
|
186
|
+
context.report({
|
|
187
|
+
node: property,
|
|
188
|
+
message: makeMessage(property.key, path) });
|
|
189
|
+
|
|
190
|
+
continue;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
path.push(property.key.name);
|
|
194
|
+
var dependencyExportMap = namespace.get(property.key.name);
|
|
195
|
+
// could be null when ignored or ambiguous
|
|
196
|
+
if (dependencyExportMap !== null) {
|
|
197
|
+
testKey(property.value, dependencyExportMap.namespace, path);
|
|
198
|
+
}
|
|
199
|
+
path.pop();
|
|
200
|
+
}} catch (err) {_didIteratorError = true;_iteratorError = err;} finally {try {if (!_iteratorNormalCompletion && _iterator['return']) {_iterator['return']();}} finally {if (_didIteratorError) {throw _iteratorError;}}}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
testKey(id, namespaces.get(init.name));
|
|
204
|
+
}return VariableDeclarator;}(),
|
|
205
|
+
|
|
206
|
+
JSXMemberExpression: function () {function JSXMemberExpression(_ref4) {var object = _ref4.object,property = _ref4.property;
|
|
207
|
+
if (!namespaces.has(object.name)) {return;}
|
|
208
|
+
var namespace = namespaces.get(object.name);
|
|
209
|
+
if (!namespace.has(property.name)) {
|
|
210
|
+
context.report({
|
|
211
|
+
node: property,
|
|
212
|
+
message: makeMessage(property, [object.name]) });
|
|
213
|
+
|
|
214
|
+
}
|
|
215
|
+
}return JSXMemberExpression;}() };
|
|
216
|
+
|
|
217
|
+
}return namespaceRule;}() };
|
|
218
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9uYW1lc3BhY2UuanMiXSwibmFtZXMiOlsicHJvY2Vzc0JvZHlTdGF0ZW1lbnQiLCJjb250ZXh0IiwibmFtZXNwYWNlcyIsImRlY2xhcmF0aW9uIiwidHlwZSIsInNwZWNpZmllcnMiLCJsZW5ndGgiLCJpbXBvcnRzIiwiRXhwb3J0cyIsImdldCIsInNvdXJjZSIsInZhbHVlIiwiZXJyb3JzIiwicmVwb3J0RXJyb3JzIiwiZm9yRWFjaCIsInNwZWNpZmllciIsInNpemUiLCJyZXBvcnQiLCJzZXQiLCJsb2NhbCIsIm5hbWUiLCJtZXRhIiwiaW1wb3J0ZWQiLCJuYW1lc3BhY2UiLCJtb2R1bGUiLCJleHBvcnRzIiwiZG9jcyIsImNhdGVnb3J5IiwiZGVzY3JpcHRpb24iLCJ1cmwiLCJzY2hlbWEiLCJwcm9wZX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hdHRlcm4nKSB7IHJldHVybjsgfVxuXG4gICAgICAgICAgZm9yIChjb25zdCBwcm9wZXJ0eSBvZiBwYXR0ZXJuLnByb3BlcnRpZXMpIHtcbiAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgcHJvcGVydHkudHlwZSA9PT0gJ0V4cGVyaW1lbnRhbFJlc3RQcm9wZXJ0eSdcbiAgICAgICAgICAgICAgfHwgcHJvcGVydHkudHlwZSA9PT0gJ1Jlc3RFbGVtZW50J1xuICAgICAgICAgICAgICB8fCAhcHJvcGVydHkua2V5XG4gICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmIChwcm9wZXJ0eS5rZXkudHlwZSAhPT0gJ0lkZW50aWZpZXInKSB7XG4gICAgICAgICAgICAgIGNvbnRleHQucmVwb3J0KHtcbiAgICAgICAgICAgICAgICBub2RlOiBwcm9wZXJ0eSxcbiAgICAgICAgICAgICAgICBtZXNzYWdlOiAnT25seSBkZXN0cnVjdHVyZSB0b3AtbGV2ZWwgbmFtZXMuJyxcbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoIW5hbWVzcGFjZS5oYXMocHJvcGVydHkua2V5Lm5hbWUpKSB7XG4gICAgICAgICAgICAgIGNvbnRleHQucmVwb3J0KHtcbiAgICAgICAgICAgICAgICBub2RlOiBwcm9wZXJ0eSxcbiAgICAgICAgICAgICAgICBtZXNzYWdlOiBtYWtlTWVzc2FnZShwcm9wZXJ0eS5rZXksIHBhdGgpLFxuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHBhdGgucHVzaChwcm9wZXJ0eS5rZXkubmFtZSk7XG4gICAgICAgICAgICBjb25zdCBkZXBlbmRlbmN5RXhwb3J0TWFwID0gbmFtZXNwYWNlLmdldChwcm9wZXJ0eS5rZXkubmFtZSk7XG4gICAgICAgICAgICAvLyBjb3VsZCBiZSBudWxsIHdoZW4gaWdub3JlZCBvciBhbWJpZ3VvdXNcbiAgICAgICAgICAgIGlmIChkZXBlbmRlbmN5RXhwb3J0TWFwICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgIHRlc3RLZXkocHJvcGVydHkudmFsdWUsIGRlcGVuZGVuY3lFeHBvcnRNYXAubmFtZXNwYWNlLCBwYXRoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHBhdGgucG9wKCk7XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgdGVzdEtleShpZCwgbmFtZXNwYWNlcy5nZXQoaW5pdC5uYW1lKSk7XG4gICAgICB9LFxuXG4gICAgICBKU1hNZW1iZXJFeHByZXNzaW9uKHsgb2JqZWN0LCBwcm9wZXJ0eSB9KSB7XG4gICAgICAgIGlmICghbmFtZXNwYWNlcy5oYXMob2JqZWN0Lm5hbWUpKSB7IHJldHVybjsgfVxuICAgICAgICBjb25zdCBuYW1lc3BhY2UgPSBuYW1lc3BhY2VzLmdldChvYmplY3QubmFtZSk7XG4gICAgICAgIGlmICghbmFtZXNwYWNlLmhhcyhwcm9wZXJ0eS5uYW1lKSkge1xuICAgICAgICAgIGNvbnRleHQucmVwb3J0KHtcbiAgICAgICAgICAgIG5vZGU6IHByb3BlcnR5LFxuICAgICAgICAgICAgbWVzc2FnZTogbWFrZU1lc3NhZ2UocHJvcGVydHksIFtvYmplY3QubmFtZV0pLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICB9LFxuICAgIH07XG4gIH0sXG59O1xuIl19
|