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,718 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Rule to flag declared but unused variables
|
|
3
|
+
* @author Ilya Volodin
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
//------------------------------------------------------------------------------
|
|
9
|
+
// Requirements
|
|
10
|
+
//------------------------------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
const astUtils = require("./utils/ast-utils");
|
|
13
|
+
|
|
14
|
+
//------------------------------------------------------------------------------
|
|
15
|
+
// Typedefs
|
|
16
|
+
//------------------------------------------------------------------------------
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Bag of data used for formatting the `unusedVar` lint message.
|
|
20
|
+
* @typedef {Object} UnusedVarMessageData
|
|
21
|
+
* @property {string} varName The name of the unused var.
|
|
22
|
+
* @property {'defined'|'assigned a value'} action Description of the vars state.
|
|
23
|
+
* @property {string} additional Any additional info to be appended at the end.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
//------------------------------------------------------------------------------
|
|
27
|
+
// Rule Definition
|
|
28
|
+
//------------------------------------------------------------------------------
|
|
29
|
+
|
|
30
|
+
/** @type {import('../shared/types').Rule} */
|
|
31
|
+
module.exports = {
|
|
32
|
+
meta: {
|
|
33
|
+
type: "problem",
|
|
34
|
+
|
|
35
|
+
docs: {
|
|
36
|
+
description: "Disallow unused variables",
|
|
37
|
+
recommended: true,
|
|
38
|
+
url: "https://eslint.org/docs/latest/rules/no-unused-vars"
|
|
39
|
+
},
|
|
40
|
+
|
|
41
|
+
schema: [
|
|
42
|
+
{
|
|
43
|
+
oneOf: [
|
|
44
|
+
{
|
|
45
|
+
enum: ["all", "local"]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: "object",
|
|
49
|
+
properties: {
|
|
50
|
+
vars: {
|
|
51
|
+
enum: ["all", "local"]
|
|
52
|
+
},
|
|
53
|
+
varsIgnorePattern: {
|
|
54
|
+
type: "string"
|
|
55
|
+
},
|
|
56
|
+
args: {
|
|
57
|
+
enum: ["all", "after-used", "none"]
|
|
58
|
+
},
|
|
59
|
+
ignoreRestSiblings: {
|
|
60
|
+
type: "boolean"
|
|
61
|
+
},
|
|
62
|
+
argsIgnorePattern: {
|
|
63
|
+
type: "string"
|
|
64
|
+
},
|
|
65
|
+
caughtErrors: {
|
|
66
|
+
enum: ["all", "none"]
|
|
67
|
+
},
|
|
68
|
+
caughtErrorsIgnorePattern: {
|
|
69
|
+
type: "string"
|
|
70
|
+
},
|
|
71
|
+
destructuredArrayIgnorePattern: {
|
|
72
|
+
type: "string"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
additionalProperties: false
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
|
|
81
|
+
messages: {
|
|
82
|
+
unusedVar: "'{{varName}}' is {{action}} but never used{{additional}}."
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
create(context) {
|
|
87
|
+
const sourceCode = context.sourceCode;
|
|
88
|
+
|
|
89
|
+
const REST_PROPERTY_TYPE = /^(?:RestElement|(?:Experimental)?RestProperty)$/u;
|
|
90
|
+
|
|
91
|
+
const config = {
|
|
92
|
+
vars: "all",
|
|
93
|
+
args: "after-used",
|
|
94
|
+
ignoreRestSiblings: false,
|
|
95
|
+
caughtErrors: "none"
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
const firstOption = context.options[0];
|
|
99
|
+
|
|
100
|
+
if (firstOption) {
|
|
101
|
+
if (typeof firstOption === "string") {
|
|
102
|
+
config.vars = firstOption;
|
|
103
|
+
} else {
|
|
104
|
+
config.vars = firstOption.vars || config.vars;
|
|
105
|
+
config.args = firstOption.args || config.args;
|
|
106
|
+
config.ignoreRestSiblings = firstOption.ignoreRestSiblings || config.ignoreRestSiblings;
|
|
107
|
+
config.caughtErrors = firstOption.caughtErrors || config.caughtErrors;
|
|
108
|
+
|
|
109
|
+
if (firstOption.varsIgnorePattern) {
|
|
110
|
+
config.varsIgnorePattern = new RegExp(firstOption.varsIgnorePattern, "u");
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
if (firstOption.argsIgnorePattern) {
|
|
114
|
+
config.argsIgnorePattern = new RegExp(firstOption.argsIgnorePattern, "u");
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
if (firstOption.caughtErrorsIgnorePattern) {
|
|
118
|
+
config.caughtErrorsIgnorePattern = new RegExp(firstOption.caughtErrorsIgnorePattern, "u");
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
if (firstOption.destructuredArrayIgnorePattern) {
|
|
122
|
+
config.destructuredArrayIgnorePattern = new RegExp(firstOption.destructuredArrayIgnorePattern, "u");
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Generates the message data about the variable being defined and unused,
|
|
129
|
+
* including the ignore pattern if configured.
|
|
130
|
+
* @param {Variable} unusedVar eslint-scope variable object.
|
|
131
|
+
* @returns {UnusedVarMessageData} The message data to be used with this unused variable.
|
|
132
|
+
*/
|
|
133
|
+
function getDefinedMessageData(unusedVar) {
|
|
134
|
+
const defType = unusedVar.defs && unusedVar.defs[0] && unusedVar.defs[0].type;
|
|
135
|
+
let type;
|
|
136
|
+
let pattern;
|
|
137
|
+
|
|
138
|
+
if (defType === "CatchClause" && config.caughtErrorsIgnorePattern) {
|
|
139
|
+
type = "args";
|
|
140
|
+
pattern = config.caughtErrorsIgnorePattern.toString();
|
|
141
|
+
} else if (defType === "Parameter" && config.argsIgnorePattern) {
|
|
142
|
+
type = "args";
|
|
143
|
+
pattern = config.argsIgnorePattern.toString();
|
|
144
|
+
} else if (defType !== "Parameter" && config.varsIgnorePattern) {
|
|
145
|
+
type = "vars";
|
|
146
|
+
pattern = config.varsIgnorePattern.toString();
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
const additional = type ? `. Allowed unused ${type} must match ${pattern}` : "";
|
|
150
|
+
|
|
151
|
+
return {
|
|
152
|
+
varName: unusedVar.name,
|
|
153
|
+
action: "defined",
|
|
154
|
+
additional
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Generate the warning message about the variable being
|
|
160
|
+
* assigned and unused, including the ignore pattern if configured.
|
|
161
|
+
* @param {Variable} unusedVar eslint-scope variable object.
|
|
162
|
+
* @returns {UnusedVarMessageData} The message data to be used with this unused variable.
|
|
163
|
+
*/
|
|
164
|
+
function getAssignedMessageData(unusedVar) {
|
|
165
|
+
const def = unusedVar.defs[0];
|
|
166
|
+
let additional = "";
|
|
167
|
+
|
|
168
|
+
if (config.destructuredArrayIgnorePattern && def && def.name.parent.type === "ArrayPattern") {
|
|
169
|
+
additional = `. Allowed unused elements of array destructuring patterns must match ${config.destructuredArrayIgnorePattern.toString()}`;
|
|
170
|
+
} else if (config.varsIgnorePattern) {
|
|
171
|
+
additional = `. Allowed unused vars must match ${config.varsIgnorePattern.toString()}`;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
return {
|
|
175
|
+
varName: unusedVar.name,
|
|
176
|
+
action: "assigned a value",
|
|
177
|
+
additional
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
//--------------------------------------------------------------------------
|
|
182
|
+
// Helpers
|
|
183
|
+
//--------------------------------------------------------------------------
|
|
184
|
+
|
|
185
|
+
const STATEMENT_TYPE = /(?:Statement|Declaration)$/u;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Determines if a given variable is being exported from a module.
|
|
189
|
+
* @param {Variable} variable eslint-scope variable object.
|
|
190
|
+
* @returns {boolean} True if the variable is exported, false if not.
|
|
191
|
+
* @private
|
|
192
|
+
*/
|
|
193
|
+
function isExported(variable) {
|
|
194
|
+
|
|
195
|
+
const definition = variable.defs[0];
|
|
196
|
+
|
|
197
|
+
if (definition) {
|
|
198
|
+
|
|
199
|
+
let node = definition.node;
|
|
200
|
+
|
|
201
|
+
if (node.type === "VariableDeclarator") {
|
|
202
|
+
node = node.parent;
|
|
203
|
+
} else if (definition.type === "Parameter") {
|
|
204
|
+
return false;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
return node.parent.type.indexOf("Export") === 0;
|
|
208
|
+
}
|
|
209
|
+
return false;
|
|
210
|
+
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Checks whether a node is a sibling of the rest property or not.
|
|
215
|
+
* @param {ASTNode} node a node to check
|
|
216
|
+
* @returns {boolean} True if the node is a sibling of the rest property, otherwise false.
|
|
217
|
+
*/
|
|
218
|
+
function hasRestSibling(node) {
|
|
219
|
+
return node.type === "Property" &&
|
|
220
|
+
node.parent.type === "ObjectPattern" &&
|
|
221
|
+
REST_PROPERTY_TYPE.test(node.parent.properties[node.parent.properties.length - 1].type);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Determines if a variable has a sibling rest property
|
|
226
|
+
* @param {Variable} variable eslint-scope variable object.
|
|
227
|
+
* @returns {boolean} True if the variable is exported, false if not.
|
|
228
|
+
* @private
|
|
229
|
+
*/
|
|
230
|
+
function hasRestSpreadSibling(variable) {
|
|
231
|
+
if (config.ignoreRestSiblings) {
|
|
232
|
+
const hasRestSiblingDefinition = variable.defs.some(def => hasRestSibling(def.name.parent));
|
|
233
|
+
const hasRestSiblingReference = variable.references.some(ref => hasRestSibling(ref.identifier.parent));
|
|
234
|
+
|
|
235
|
+
return hasRestSiblingDefinition || hasRestSiblingReference;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
return false;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Determines if a reference is a read operation.
|
|
243
|
+
* @param {Reference} ref An eslint-scope Reference
|
|
244
|
+
* @returns {boolean} whether the given reference represents a read operation
|
|
245
|
+
* @private
|
|
246
|
+
*/
|
|
247
|
+
function isReadRef(ref) {
|
|
248
|
+
return ref.isRead();
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Determine if an identifier is referencing an enclosing function name.
|
|
253
|
+
* @param {Reference} ref The reference to check.
|
|
254
|
+
* @param {ASTNode[]} nodes The candidate function nodes.
|
|
255
|
+
* @returns {boolean} True if it's a self-reference, false if not.
|
|
256
|
+
* @private
|
|
257
|
+
*/
|
|
258
|
+
function isSelfReference(ref, nodes) {
|
|
259
|
+
let scope = ref.from;
|
|
260
|
+
|
|
261
|
+
while (scope) {
|
|
262
|
+
if (nodes.includes(scope.block)) {
|
|
263
|
+
return true;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
scope = scope.upper;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
return false;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Gets a list of function definitions for a specified variable.
|
|
274
|
+
* @param {Variable} variable eslint-scope variable object.
|
|
275
|
+
* @returns {ASTNode[]} Function nodes.
|
|
276
|
+
* @private
|
|
277
|
+
*/
|
|
278
|
+
function getFunctionDefinitions(variable) {
|
|
279
|
+
const functionDefinitions = [];
|
|
280
|
+
|
|
281
|
+
variable.defs.forEach(def => {
|
|
282
|
+
const { type, node } = def;
|
|
283
|
+
|
|
284
|
+
// FunctionDeclarations
|
|
285
|
+
if (type === "FunctionName") {
|
|
286
|
+
functionDefinitions.push(node);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// FunctionExpressions
|
|
290
|
+
if (type === "Variable" && node.init &&
|
|
291
|
+
(node.init.type === "FunctionExpression" || node.init.type === "ArrowFunctionExpression")) {
|
|
292
|
+
functionDefinitions.push(node.init);
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
return functionDefinitions;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Checks the position of given nodes.
|
|
300
|
+
* @param {ASTNode} inner A node which is expected as inside.
|
|
301
|
+
* @param {ASTNode} outer A node which is expected as outside.
|
|
302
|
+
* @returns {boolean} `true` if the `inner` node exists in the `outer` node.
|
|
303
|
+
* @private
|
|
304
|
+
*/
|
|
305
|
+
function isInside(inner, outer) {
|
|
306
|
+
return (
|
|
307
|
+
inner.range[0] >= outer.range[0] &&
|
|
308
|
+
inner.range[1] <= outer.range[1]
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Checks whether a given node is unused expression or not.
|
|
314
|
+
* @param {ASTNode} node The node itself
|
|
315
|
+
* @returns {boolean} The node is an unused expression.
|
|
316
|
+
* @private
|
|
317
|
+
*/
|
|
318
|
+
function isUnusedExpression(node) {
|
|
319
|
+
const parent = node.parent;
|
|
320
|
+
|
|
321
|
+
if (parent.type === "ExpressionStatement") {
|
|
322
|
+
return true;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
if (parent.type === "SequenceExpression") {
|
|
326
|
+
const isLastExpression = parent.expressions[parent.expressions.length - 1] === node;
|
|
327
|
+
|
|
328
|
+
if (!isLastExpression) {
|
|
329
|
+
return true;
|
|
330
|
+
}
|
|
331
|
+
return isUnusedExpression(parent);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
return false;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* If a given reference is left-hand side of an assignment, this gets
|
|
339
|
+
* the right-hand side node of the assignment.
|
|
340
|
+
*
|
|
341
|
+
* In the following cases, this returns null.
|
|
342
|
+
*
|
|
343
|
+
* - The reference is not the LHS of an assignment expression.
|
|
344
|
+
* - The reference is inside of a loop.
|
|
345
|
+
* - The reference is inside of a function scope which is different from
|
|
346
|
+
* the declaration.
|
|
347
|
+
* @param {eslint-scope.Reference} ref A reference to check.
|
|
348
|
+
* @param {ASTNode} prevRhsNode The previous RHS node.
|
|
349
|
+
* @returns {ASTNode|null} The RHS node or null.
|
|
350
|
+
* @private
|
|
351
|
+
*/
|
|
352
|
+
function getRhsNode(ref, prevRhsNode) {
|
|
353
|
+
const id = ref.identifier;
|
|
354
|
+
const parent = id.parent;
|
|
355
|
+
const refScope = ref.from.variableScope;
|
|
356
|
+
const varScope = ref.resolved.scope.variableScope;
|
|
357
|
+
const canBeUsedLater = refScope !== varScope || astUtils.isInLoop(id);
|
|
358
|
+
|
|
359
|
+
/*
|
|
360
|
+
* Inherits the previous node if this reference is in the node.
|
|
361
|
+
* This is for `a = a + a`-like code.
|
|
362
|
+
*/
|
|
363
|
+
if (prevRhsNode && isInside(id, prevRhsNode)) {
|
|
364
|
+
return prevRhsNode;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (parent.type === "AssignmentExpression" &&
|
|
368
|
+
isUnusedExpression(parent) &&
|
|
369
|
+
id === parent.left &&
|
|
370
|
+
!canBeUsedLater
|
|
371
|
+
) {
|
|
372
|
+
return parent.right;
|
|
373
|
+
}
|
|
374
|
+
return null;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Checks whether a given function node is stored to somewhere or not.
|
|
379
|
+
* If the function node is stored, the function can be used later.
|
|
380
|
+
* @param {ASTNode} funcNode A function node to check.
|
|
381
|
+
* @param {ASTNode} rhsNode The RHS node of the previous assignment.
|
|
382
|
+
* @returns {boolean} `true` if under the following conditions:
|
|
383
|
+
* - the funcNode is assigned to a variable.
|
|
384
|
+
* - the funcNode is bound as an argument of a function call.
|
|
385
|
+
* - the function is bound to a property and the object satisfies above conditions.
|
|
386
|
+
* @private
|
|
387
|
+
*/
|
|
388
|
+
function isStorableFunction(funcNode, rhsNode) {
|
|
389
|
+
let node = funcNode;
|
|
390
|
+
let parent = funcNode.parent;
|
|
391
|
+
|
|
392
|
+
while (parent && isInside(parent, rhsNode)) {
|
|
393
|
+
switch (parent.type) {
|
|
394
|
+
case "SequenceExpression":
|
|
395
|
+
if (parent.expressions[parent.expressions.length - 1] !== node) {
|
|
396
|
+
return false;
|
|
397
|
+
}
|
|
398
|
+
break;
|
|
399
|
+
|
|
400
|
+
case "CallExpression":
|
|
401
|
+
case "NewExpression":
|
|
402
|
+
return parent.callee !== node;
|
|
403
|
+
|
|
404
|
+
case "AssignmentExpression":
|
|
405
|
+
case "TaggedTemplateExpression":
|
|
406
|
+
case "YieldExpression":
|
|
407
|
+
return true;
|
|
408
|
+
|
|
409
|
+
default:
|
|
410
|
+
if (STATEMENT_TYPE.test(parent.type)) {
|
|
411
|
+
|
|
412
|
+
/*
|
|
413
|
+
* If it encountered statements, this is a complex pattern.
|
|
414
|
+
* Since analyzing complex patterns is hard, this returns `true` to avoid false positive.
|
|
415
|
+
*/
|
|
416
|
+
return true;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
node = parent;
|
|
421
|
+
parent = parent.parent;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
return false;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Checks whether a given Identifier node exists inside of a function node which can be used later.
|
|
429
|
+
*
|
|
430
|
+
* "can be used later" means:
|
|
431
|
+
* - the function is assigned to a variable.
|
|
432
|
+
* - the function is bound to a property and the object can be used later.
|
|
433
|
+
* - the function is bound as an argument of a function call.
|
|
434
|
+
*
|
|
435
|
+
* If a reference exists in a function which can be used later, the reference is read when the function is called.
|
|
436
|
+
* @param {ASTNode} id An Identifier node to check.
|
|
437
|
+
* @param {ASTNode} rhsNode The RHS node of the previous assignment.
|
|
438
|
+
* @returns {boolean} `true` if the `id` node exists inside of a function node which can be used later.
|
|
439
|
+
* @private
|
|
440
|
+
*/
|
|
441
|
+
function isInsideOfStorableFunction(id, rhsNode) {
|
|
442
|
+
const funcNode = astUtils.getUpperFunction(id);
|
|
443
|
+
|
|
444
|
+
return (
|
|
445
|
+
funcNode &&
|
|
446
|
+
isInside(funcNode, rhsNode) &&
|
|
447
|
+
isStorableFunction(funcNode, rhsNode)
|
|
448
|
+
);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Checks whether a given reference is a read to update itself or not.
|
|
453
|
+
* @param {eslint-scope.Reference} ref A reference to check.
|
|
454
|
+
* @param {ASTNode} rhsNode The RHS node of the previous assignment.
|
|
455
|
+
* @returns {boolean} The reference is a read to update itself.
|
|
456
|
+
* @private
|
|
457
|
+
*/
|
|
458
|
+
function isReadForItself(ref, rhsNode) {
|
|
459
|
+
const id = ref.identifier;
|
|
460
|
+
const parent = id.parent;
|
|
461
|
+
|
|
462
|
+
return ref.isRead() && (
|
|
463
|
+
|
|
464
|
+
// self update. e.g. `a += 1`, `a++`
|
|
465
|
+
(
|
|
466
|
+
(
|
|
467
|
+
parent.type === "AssignmentExpression" &&
|
|
468
|
+
parent.left === id &&
|
|
469
|
+
isUnusedExpression(parent) &&
|
|
470
|
+
!astUtils.isLogicalAssignmentOperator(parent.operator)
|
|
471
|
+
) ||
|
|
472
|
+
(
|
|
473
|
+
parent.type === "UpdateExpression" &&
|
|
474
|
+
isUnusedExpression(parent)
|
|
475
|
+
)
|
|
476
|
+
) ||
|
|
477
|
+
|
|
478
|
+
// in RHS of an assignment for itself. e.g. `a = a + 1`
|
|
479
|
+
(
|
|
480
|
+
rhsNode &&
|
|
481
|
+
isInside(id, rhsNode) &&
|
|
482
|
+
!isInsideOfStorableFunction(id, rhsNode)
|
|
483
|
+
)
|
|
484
|
+
);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Determine if an identifier is used either in for-in or for-of loops.
|
|
489
|
+
* @param {Reference} ref The reference to check.
|
|
490
|
+
* @returns {boolean} whether reference is used in the for-in loops
|
|
491
|
+
* @private
|
|
492
|
+
*/
|
|
493
|
+
function isForInOfRef(ref) {
|
|
494
|
+
let target = ref.identifier.parent;
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
// "for (var ...) { return; }"
|
|
498
|
+
if (target.type === "VariableDeclarator") {
|
|
499
|
+
target = target.parent.parent;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
if (target.type !== "ForInStatement" && target.type !== "ForOfStatement") {
|
|
503
|
+
return false;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
// "for (...) { return; }"
|
|
507
|
+
if (target.body.type === "BlockStatement") {
|
|
508
|
+
target = target.body.body[0];
|
|
509
|
+
|
|
510
|
+
// "for (...) return;"
|
|
511
|
+
} else {
|
|
512
|
+
target = target.body;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
// For empty loop body
|
|
516
|
+
if (!target) {
|
|
517
|
+
return false;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
return target.type === "ReturnStatement";
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Determines if the variable is used.
|
|
525
|
+
* @param {Variable} variable The variable to check.
|
|
526
|
+
* @returns {boolean} True if the variable is used
|
|
527
|
+
* @private
|
|
528
|
+
*/
|
|
529
|
+
function isUsedVariable(variable) {
|
|
530
|
+
const functionNodes = getFunctionDefinitions(variable),
|
|
531
|
+
isFunctionDefinition = functionNodes.length > 0;
|
|
532
|
+
let rhsNode = null;
|
|
533
|
+
|
|
534
|
+
return variable.references.some(ref => {
|
|
535
|
+
if (isForInOfRef(ref)) {
|
|
536
|
+
return true;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
const forItself = isReadForItself(ref, rhsNode);
|
|
540
|
+
|
|
541
|
+
rhsNode = getRhsNode(ref, rhsNode);
|
|
542
|
+
|
|
543
|
+
return (
|
|
544
|
+
isReadRef(ref) &&
|
|
545
|
+
!forItself &&
|
|
546
|
+
!(isFunctionDefinition && isSelfReference(ref, functionNodes))
|
|
547
|
+
);
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Checks whether the given variable is after the last used parameter.
|
|
553
|
+
* @param {eslint-scope.Variable} variable The variable to check.
|
|
554
|
+
* @returns {boolean} `true` if the variable is defined after the last
|
|
555
|
+
* used parameter.
|
|
556
|
+
*/
|
|
557
|
+
function isAfterLastUsedArg(variable) {
|
|
558
|
+
const def = variable.defs[0];
|
|
559
|
+
const params = sourceCode.getDeclaredVariables(def.node);
|
|
560
|
+
const posteriorParams = params.slice(params.indexOf(variable) + 1);
|
|
561
|
+
|
|
562
|
+
// If any used parameters occur after this parameter, do not report.
|
|
563
|
+
return !posteriorParams.some(v => v.references.length > 0 || v.eslintUsed);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Gets an array of variables without read references.
|
|
568
|
+
* @param {Scope} scope an eslint-scope Scope object.
|
|
569
|
+
* @param {Variable[]} unusedVars an array that saving result.
|
|
570
|
+
* @returns {Variable[]} unused variables of the scope and descendant scopes.
|
|
571
|
+
* @private
|
|
572
|
+
*/
|
|
573
|
+
function collectUnusedVariables(scope, unusedVars) {
|
|
574
|
+
const variables = scope.variables;
|
|
575
|
+
const childScopes = scope.childScopes;
|
|
576
|
+
let i, l;
|
|
577
|
+
|
|
578
|
+
if (scope.type !== "global" || config.vars === "all") {
|
|
579
|
+
for (i = 0, l = variables.length; i < l; ++i) {
|
|
580
|
+
const variable = variables[i];
|
|
581
|
+
|
|
582
|
+
// skip a variable of class itself name in the class scope
|
|
583
|
+
if (scope.type === "class" && scope.block.id === variable.identifiers[0]) {
|
|
584
|
+
continue;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
// skip function expression names and variables marked with markVariableAsUsed()
|
|
588
|
+
if (scope.functionExpressionScope || variable.eslintUsed) {
|
|
589
|
+
continue;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
// skip implicit "arguments" variable
|
|
593
|
+
if (scope.type === "function" && variable.name === "arguments" && variable.identifiers.length === 0) {
|
|
594
|
+
continue;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
// explicit global variables don't have definitions.
|
|
598
|
+
const def = variable.defs[0];
|
|
599
|
+
|
|
600
|
+
if (def) {
|
|
601
|
+
const type = def.type;
|
|
602
|
+
const refUsedInArrayPatterns = variable.references.some(ref => ref.identifier.parent.type === "ArrayPattern");
|
|
603
|
+
|
|
604
|
+
// skip elements of array destructuring patterns
|
|
605
|
+
if (
|
|
606
|
+
(
|
|
607
|
+
def.name.parent.type === "ArrayPattern" ||
|
|
608
|
+
refUsedInArrayPatterns
|
|
609
|
+
) &&
|
|
610
|
+
config.destructuredArrayIgnorePattern &&
|
|
611
|
+
config.destructuredArrayIgnorePattern.test(def.name.name)
|
|
612
|
+
) {
|
|
613
|
+
continue;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
// skip catch variables
|
|
617
|
+
if (type === "CatchClause") {
|
|
618
|
+
if (config.caughtErrors === "none") {
|
|
619
|
+
continue;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
// skip ignored parameters
|
|
623
|
+
if (config.caughtErrorsIgnorePattern && config.caughtErrorsIgnorePattern.test(def.name.name)) {
|
|
624
|
+
continue;
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
if (type === "Parameter") {
|
|
629
|
+
|
|
630
|
+
// skip any setter argument
|
|
631
|
+
if ((def.node.parent.type === "Property" || def.node.parent.type === "MethodDefinition") && def.node.parent.kind === "set") {
|
|
632
|
+
continue;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
// if "args" option is "none", skip any parameter
|
|
636
|
+
if (config.args === "none") {
|
|
637
|
+
continue;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
// skip ignored parameters
|
|
641
|
+
if (config.argsIgnorePattern && config.argsIgnorePattern.test(def.name.name)) {
|
|
642
|
+
continue;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
// if "args" option is "after-used", skip used variables
|
|
646
|
+
if (config.args === "after-used" && astUtils.isFunction(def.name.parent) && !isAfterLastUsedArg(variable)) {
|
|
647
|
+
continue;
|
|
648
|
+
}
|
|
649
|
+
} else {
|
|
650
|
+
|
|
651
|
+
// skip ignored variables
|
|
652
|
+
if (config.varsIgnorePattern && config.varsIgnorePattern.test(def.name.name)) {
|
|
653
|
+
continue;
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
if (!isUsedVariable(variable) && !isExported(variable) && !hasRestSpreadSibling(variable)) {
|
|
659
|
+
unusedVars.push(variable);
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
for (i = 0, l = childScopes.length; i < l; ++i) {
|
|
665
|
+
collectUnusedVariables(childScopes[i], unusedVars);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
return unusedVars;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
//--------------------------------------------------------------------------
|
|
672
|
+
// Public
|
|
673
|
+
//--------------------------------------------------------------------------
|
|
674
|
+
|
|
675
|
+
return {
|
|
676
|
+
"Program:exit"(programNode) {
|
|
677
|
+
const unusedVars = collectUnusedVariables(sourceCode.getScope(programNode), []);
|
|
678
|
+
|
|
679
|
+
for (let i = 0, l = unusedVars.length; i < l; ++i) {
|
|
680
|
+
const unusedVar = unusedVars[i];
|
|
681
|
+
|
|
682
|
+
// Report the first declaration.
|
|
683
|
+
if (unusedVar.defs.length > 0) {
|
|
684
|
+
|
|
685
|
+
// report last write reference, https://github.com/eslint/eslint/issues/14324
|
|
686
|
+
const writeReferences = unusedVar.references.filter(ref => ref.isWrite() && ref.from.variableScope === unusedVar.scope.variableScope);
|
|
687
|
+
|
|
688
|
+
let referenceToReport;
|
|
689
|
+
|
|
690
|
+
if (writeReferences.length > 0) {
|
|
691
|
+
referenceToReport = writeReferences[writeReferences.length - 1];
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
context.report({
|
|
695
|
+
node: referenceToReport ? referenceToReport.identifier : unusedVar.identifiers[0],
|
|
696
|
+
messageId: "unusedVar",
|
|
697
|
+
data: unusedVar.references.some(ref => ref.isWrite())
|
|
698
|
+
? getAssignedMessageData(unusedVar)
|
|
699
|
+
: getDefinedMessageData(unusedVar)
|
|
700
|
+
});
|
|
701
|
+
|
|
702
|
+
// If there are no regular declaration, report the first `/*globals*/` comment directive.
|
|
703
|
+
} else if (unusedVar.eslintExplicitGlobalComments) {
|
|
704
|
+
const directiveComment = unusedVar.eslintExplicitGlobalComments[0];
|
|
705
|
+
|
|
706
|
+
context.report({
|
|
707
|
+
node: programNode,
|
|
708
|
+
loc: astUtils.getNameLocationInGlobalDirectiveComment(sourceCode, directiveComment, unusedVar.name),
|
|
709
|
+
messageId: "unusedVar",
|
|
710
|
+
data: getDefinedMessageData(unusedVar)
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
}
|
|
718
|
+
};
|