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
package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
'use strict';var _vm = require('vm');var _vm2 = _interopRequireDefault(_vm);
|
|
2
|
+
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
meta: {
|
|
6
|
+
type: 'suggestion',
|
|
7
|
+
docs: {
|
|
8
|
+
category: 'Style guide',
|
|
9
|
+
description: 'Enforce a leading comment with the webpackChunkName for dynamic imports.',
|
|
10
|
+
url: (0, _docsUrl2['default'])('dynamic-import-chunkname') },
|
|
11
|
+
|
|
12
|
+
schema: [{
|
|
13
|
+
type: 'object',
|
|
14
|
+
properties: {
|
|
15
|
+
importFunctions: {
|
|
16
|
+
type: 'array',
|
|
17
|
+
uniqueItems: true,
|
|
18
|
+
items: {
|
|
19
|
+
type: 'string' } },
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
webpackChunknameFormat: {
|
|
23
|
+
type: 'string' } } }] },
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
create: function () {function create(context) {
|
|
30
|
+
var config = context.options[0];var _ref =
|
|
31
|
+
config || {},_ref$importFunctions = _ref.importFunctions,importFunctions = _ref$importFunctions === undefined ? [] : _ref$importFunctions;var _ref2 =
|
|
32
|
+
config || {},_ref2$webpackChunknam = _ref2.webpackChunknameFormat,webpackChunknameFormat = _ref2$webpackChunknam === undefined ? '([0-9a-zA-Z-_/.]|\\[(request|index)\\])+' : _ref2$webpackChunknam;
|
|
33
|
+
|
|
34
|
+
var paddedCommentRegex = /^ (\S[\s\S]+\S) $/;
|
|
35
|
+
var commentStyleRegex = /^( ((webpackChunkName: .+)|((webpackPrefetch|webpackPreload): (true|false|-?[0-9]+))|(webpackIgnore: (true|false))|((webpackInclude|webpackExclude): \/.*\/)|(webpackMode: ["'](lazy|lazy-once|eager|weak)["'])|(webpackExports: (['"]\w+['"]|\[(['"]\w+['"], *)+(['"]\w+['"]*)\]))),?)+ $/;
|
|
36
|
+
var chunkSubstrFormat = ' webpackChunkName: ["\']' + String(webpackChunknameFormat) + '["\'],? ';
|
|
37
|
+
var chunkSubstrRegex = new RegExp(chunkSubstrFormat);
|
|
38
|
+
|
|
39
|
+
function run(node, arg) {
|
|
40
|
+
var sourceCode = context.getSourceCode();
|
|
41
|
+
var leadingComments = sourceCode.getCommentsBefore ?
|
|
42
|
+
sourceCode.getCommentsBefore(arg) // This method is available in ESLint >= 4.
|
|
43
|
+
: sourceCode.getComments(arg).leading; // This method is deprecated in ESLint 7.
|
|
44
|
+
|
|
45
|
+
if (!leadingComments || leadingComments.length === 0) {
|
|
46
|
+
context.report({
|
|
47
|
+
node: node,
|
|
48
|
+
message: 'dynamic imports require a leading comment with the webpack chunkname' });
|
|
49
|
+
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
var isChunknamePresent = false;var _iteratorNormalCompletion = true;var _didIteratorError = false;var _iteratorError = undefined;try {
|
|
54
|
+
|
|
55
|
+
for (var _iterator = leadingComments[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {var comment = _step.value;
|
|
56
|
+
if (comment.type !== 'Block') {
|
|
57
|
+
context.report({
|
|
58
|
+
node: node,
|
|
59
|
+
message: 'dynamic imports require a /* foo */ style comment, not a // foo comment' });
|
|
60
|
+
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (!paddedCommentRegex.test(comment.value)) {
|
|
65
|
+
context.report({
|
|
66
|
+
node: node,
|
|
67
|
+
message: 'dynamic imports require a block comment padded with spaces - /* foo */' });
|
|
68
|
+
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
try {
|
|
73
|
+
// just like webpack itself does
|
|
74
|
+
_vm2['default'].runInNewContext('(function() {return {' + String(comment.value) + '}})()');
|
|
75
|
+
} catch (error) {
|
|
76
|
+
context.report({
|
|
77
|
+
node: node,
|
|
78
|
+
message: 'dynamic imports require a "webpack" comment with valid syntax' });
|
|
79
|
+
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (!commentStyleRegex.test(comment.value)) {
|
|
84
|
+
context.report({
|
|
85
|
+
node: node,
|
|
86
|
+
message: 'dynamic imports require a "webpack" comment with valid syntax' });
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (chunkSubstrRegex.test(comment.value)) {
|
|
93
|
+
isChunknamePresent = true;
|
|
94
|
+
}
|
|
95
|
+
}} catch (err) {_didIteratorError = true;_iteratorError = err;} finally {try {if (!_iteratorNormalCompletion && _iterator['return']) {_iterator['return']();}} finally {if (_didIteratorError) {throw _iteratorError;}}}
|
|
96
|
+
|
|
97
|
+
if (!isChunknamePresent) {
|
|
98
|
+
context.report({
|
|
99
|
+
node: node,
|
|
100
|
+
message: 'dynamic imports require a leading comment in the form /*' +
|
|
101
|
+
chunkSubstrFormat + '*/' });
|
|
102
|
+
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
return {
|
|
107
|
+
ImportExpression: function () {function ImportExpression(node) {
|
|
108
|
+
run(node, node.source);
|
|
109
|
+
}return ImportExpression;}(),
|
|
110
|
+
|
|
111
|
+
CallExpression: function () {function CallExpression(node) {
|
|
112
|
+
if (node.callee.type !== 'Import' && importFunctions.indexOf(node.callee.name) < 0) {
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
run(node, node.arguments[0]);
|
|
117
|
+
}return CallExpression;}() };
|
|
118
|
+
|
|
119
|
+
}return create;}() };
|
|
120
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9keW5hbWljLWltcG9ydC1jaHVua25hbWUuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIm1ldGEiLCJ0eXBlIiwiZG9jcyIsImNhdGVnb3J5IiwiZGVzY3JpcHRpb24iLCJ1cmwiLCJzY2hlbWEiLCJwcm9wZXJ0aWVzIiwiaW1wb3J0RnVuY3Rpb25zIiwidW5pcXVlSXRlbXMiLCJpdGVtcyIsIndlYnBhY2tDaHVua25hbWVGb3JtYXQiLCJjcmVhdGUiLCJjb250ZXh0IiwiY29uZmlnIiwib3B0aW9ucyIsInBhZGRlZENvbW1lbnRSZWdleCIsImNvbW1lbnRTdHlsZVJlZ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AgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoIXBhZGRlZENvbW1lbnRSZWdleC50ZXN0KGNvbW1lbnQudmFsdWUpKSB7XG4gICAgICAgICAgY29udGV4dC5yZXBvcnQoe1xuICAgICAgICAgICAgbm9kZSxcbiAgICAgICAgICAgIG1lc3NhZ2U6IGBkeW5hbWljIGltcG9ydHMgcmVxdWlyZSBhIGJsb2NrIGNvbW1lbnQgcGFkZGVkIHdpdGggc3BhY2VzIC0gLyogZm9vICovYCxcbiAgICAgICAgICB9KTtcbiAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB0cnkge1xuICAgICAgICAgIC8vIGp1c3QgbGlrZSB3ZWJwYWNrIGl0c2VsZiBkb2VzXG4gICAgICAgICAgdm0ucnVuSW5OZXdDb250ZXh0KGAoZnVuY3Rpb24oKSB7cmV0dXJuIHske2NvbW1lbnQudmFsdWV9fX0pKClgKTtcbiAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHtcbiAgICAgICAgICBjb250ZXh0LnJlcG9ydCh7XG4gICAgICAgICAgICBub2RlLFxuICAgICAgICAgICAgbWVzc2FnZTogYGR5bmFtaWMgaW1wb3J0cyByZXF1aXJlIGEgXCJ3ZWJwYWNrXCIgY29tbWVudCB3aXRoIHZhbGlkIHN5bnRheGAsXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKCFjb21tZW50U3R5bGVSZWdleC50ZXN0KGNvbW1lbnQudmFsdWUpKSB7XG4gICAgICAgICAgY29udGV4dC5yZXBvcnQoe1xuICAgICAgICAgICAgbm9kZSxcbiAgICAgICAgICAgIG1lc3NhZ2U6XG4gICAgICAgICAgICAgIGBkeW5hbWljIGltcG9ydHMgcmVxdWlyZSBhIFwid2VicGFja1wiIGNvbW1lbnQgd2l0aCB2YWxpZCBzeW50YXhgLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChjaHVua1N1YnN0clJlZ2V4LnRlc3QoY29tbWVudC52YWx1ZSkpIHtcbiAgICAgICAgICBpc0NodW5rbmFtZVByZXNlbnQgPSB0cnVlO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIGlmICghaXNDaHVua25hbWVQcmVzZW50KSB7XG4gICAgICAgIGNvbnRleHQucmVwb3J0KHtcbiAgICAgICAgICBub2RlLFxuICAgICAgICAgIG1lc3NhZ2U6XG4gICAgICAgICAgICBgZHluYW1pYyBpbXBvcnRzIHJlcXVpcmUgYSBsZWFkaW5nIGNvbW1lbnQgaW4gdGhlIGZvcm0gLyoke2NodW5rU3Vic3RyRm9ybWF0fSovYCxcbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIHtcbiAgICAgIEltcG9ydEV4cHJlc3Npb24obm9kZSkge1xuICAgICAgICBydW4obm9kZSwgbm9kZS5zb3VyY2UpO1xuICAgICAgfSxcblxuICAgICAgQ2FsbEV4cHJlc3Npb24obm9kZSkge1xuICAgICAgICBpZiAobm9kZS5jYWxsZWUudHlwZSAhPT0gJ0ltcG9ydCcgJiYgaW1wb3J0RnVuY3Rpb25zLmluZGV4T2Yobm9kZS5jYWxsZWUubmFtZSkgPCAwKSB7XG4gICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgcnVuKG5vZGUsIG5vZGUuYXJndW1lbnRzWzBdKTtcbiAgICAgIH0sXG4gICAgfTtcbiAgfSxcbn07XG4iXX0=
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
'use strict';var _slicedToArray = function () {function sliceIterator(arr, i) {var _arr = [];var _n = true;var _d = false;var _e = undefined;try {for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {_arr.push(_s.value);if (i && _arr.length === i) break;}} catch (err) {_d = true;_e = err;} finally {try {if (!_n && _i["return"]) _i["return"]();} finally {if (_d) throw _e;}}return _arr;}return function (arr, i) {if (Array.isArray(arr)) {return arr;} else if (Symbol.iterator in Object(arr)) {return sliceIterator(arr, i);} else {throw new TypeError("Invalid attempt to destructure non-iterable instance");}};}();var _ExportMap = require('../ExportMap');var _ExportMap2 = _interopRequireDefault(_ExportMap);
|
|
2
|
+
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);
|
|
3
|
+
var _arrayIncludes = require('array-includes');var _arrayIncludes2 = _interopRequireDefault(_arrayIncludes);
|
|
4
|
+
var _arrayPrototype = require('array.prototype.flatmap');var _arrayPrototype2 = _interopRequireDefault(_arrayPrototype);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
Notes on TypeScript namespaces aka TSModuleDeclaration:
|
|
8
|
+
|
|
9
|
+
There are two forms:
|
|
10
|
+
- active namespaces: namespace Foo {} / module Foo {}
|
|
11
|
+
- ambient modules; declare module "eslint-plugin-import" {}
|
|
12
|
+
|
|
13
|
+
active namespaces:
|
|
14
|
+
- cannot contain a default export
|
|
15
|
+
- cannot contain an export all
|
|
16
|
+
- cannot contain a multi name export (export { a, b })
|
|
17
|
+
- can have active namespaces nested within them
|
|
18
|
+
|
|
19
|
+
ambient namespaces:
|
|
20
|
+
- can only be defined in .d.ts files
|
|
21
|
+
- cannot be nested within active namespaces
|
|
22
|
+
- have no other restrictions
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
var rootProgram = 'root';
|
|
26
|
+
var tsTypePrefix = 'type:';
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Detect function overloads like:
|
|
30
|
+
* ```ts
|
|
31
|
+
* export function foo(a: number);
|
|
32
|
+
* export function foo(a: string);
|
|
33
|
+
* export function foo(a: number|string) { return a; }
|
|
34
|
+
* ```
|
|
35
|
+
* @param {Set<Object>} nodes
|
|
36
|
+
* @returns {boolean}
|
|
37
|
+
*/
|
|
38
|
+
function isTypescriptFunctionOverloads(nodes) {
|
|
39
|
+
var nodesArr = Array.from(nodes);
|
|
40
|
+
|
|
41
|
+
var idents = (0, _arrayPrototype2['default'])(
|
|
42
|
+
nodesArr,
|
|
43
|
+
function (node) {return node.declaration && (
|
|
44
|
+
node.declaration.type === 'TSDeclareFunction' // eslint 6+
|
|
45
|
+
|| node.declaration.type === 'TSEmptyBodyFunctionDeclaration' // eslint 4-5
|
|
46
|
+
) ?
|
|
47
|
+
node.declaration.id.name :
|
|
48
|
+
[];});
|
|
49
|
+
|
|
50
|
+
if (new Set(idents).size !== idents.length) {
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
var types = new Set(nodesArr.map(function (node) {return node.parent.type;}));
|
|
55
|
+
if (!types.has('TSDeclareFunction')) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
if (types.size === 1) {
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
if (types.size === 2 && types.has('FunctionDeclaration')) {
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Detect merging Namespaces with Classes, Functions, or Enums like:
|
|
69
|
+
* ```ts
|
|
70
|
+
* export class Foo { }
|
|
71
|
+
* export namespace Foo { }
|
|
72
|
+
* ```
|
|
73
|
+
* @param {Set<Object>} nodes
|
|
74
|
+
* @returns {boolean}
|
|
75
|
+
*/
|
|
76
|
+
function isTypescriptNamespaceMerging(nodes) {
|
|
77
|
+
var types = new Set(Array.from(nodes, function (node) {return node.parent.type;}));
|
|
78
|
+
var noNamespaceNodes = Array.from(nodes).filter(function (node) {return node.parent.type !== 'TSModuleDeclaration';});
|
|
79
|
+
|
|
80
|
+
return types.has('TSModuleDeclaration') && (
|
|
81
|
+
|
|
82
|
+
types.size === 1
|
|
83
|
+
// Merging with functions
|
|
84
|
+
|| types.size === 2 && (types.has('FunctionDeclaration') || types.has('TSDeclareFunction')) ||
|
|
85
|
+
types.size === 3 && types.has('FunctionDeclaration') && types.has('TSDeclareFunction')
|
|
86
|
+
// Merging with classes or enums
|
|
87
|
+
|| types.size === 2 && (types.has('ClassDeclaration') || types.has('TSEnumDeclaration')) && noNamespaceNodes.length === 1);
|
|
88
|
+
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Detect if a typescript namespace node should be reported as multiple export:
|
|
93
|
+
* ```ts
|
|
94
|
+
* export class Foo { }
|
|
95
|
+
* export function Foo();
|
|
96
|
+
* export namespace Foo { }
|
|
97
|
+
* ```
|
|
98
|
+
* @param {Object} node
|
|
99
|
+
* @param {Set<Object>} nodes
|
|
100
|
+
* @returns {boolean}
|
|
101
|
+
*/
|
|
102
|
+
function shouldSkipTypescriptNamespace(node, nodes) {
|
|
103
|
+
var types = new Set(Array.from(nodes, function (node) {return node.parent.type;}));
|
|
104
|
+
|
|
105
|
+
return !isTypescriptNamespaceMerging(nodes) &&
|
|
106
|
+
node.parent.type === 'TSModuleDeclaration' && (
|
|
107
|
+
|
|
108
|
+
types.has('TSEnumDeclaration') ||
|
|
109
|
+
types.has('ClassDeclaration') ||
|
|
110
|
+
types.has('FunctionDeclaration') ||
|
|
111
|
+
types.has('TSDeclareFunction'));
|
|
112
|
+
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
module.exports = {
|
|
116
|
+
meta: {
|
|
117
|
+
type: 'problem',
|
|
118
|
+
docs: {
|
|
119
|
+
category: 'Helpful warnings',
|
|
120
|
+
description: 'Forbid any invalid exports, i.e. re-export of the same name.',
|
|
121
|
+
url: (0, _docsUrl2['default'])('export') },
|
|
122
|
+
|
|
123
|
+
schema: [] },
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
create: function () {function create(context) {
|
|
127
|
+
var namespace = new Map([[rootProgram, new Map()]]);
|
|
128
|
+
|
|
129
|
+
function addNamed(name, node, parent, isType) {
|
|
130
|
+
if (!namespace.has(parent)) {
|
|
131
|
+
namespace.set(parent, new Map());
|
|
132
|
+
}
|
|
133
|
+
var named = namespace.get(parent);
|
|
134
|
+
|
|
135
|
+
var key = isType ? '' + tsTypePrefix + String(name) : name;
|
|
136
|
+
var nodes = named.get(key);
|
|
137
|
+
|
|
138
|
+
if (nodes == null) {
|
|
139
|
+
nodes = new Set();
|
|
140
|
+
named.set(key, nodes);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
nodes.add(node);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
function getParent(node) {
|
|
147
|
+
if (node.parent && node.parent.type === 'TSModuleBlock') {
|
|
148
|
+
return node.parent.parent;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// just in case somehow a non-ts namespace export declaration isn't directly
|
|
152
|
+
// parented to the root Program node
|
|
153
|
+
return rootProgram;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
return {
|
|
157
|
+
ExportDefaultDeclaration: function () {function ExportDefaultDeclaration(node) {
|
|
158
|
+
addNamed('default', node, getParent(node));
|
|
159
|
+
}return ExportDefaultDeclaration;}(),
|
|
160
|
+
|
|
161
|
+
ExportSpecifier: function () {function ExportSpecifier(node) {
|
|
162
|
+
addNamed(
|
|
163
|
+
node.exported.name || node.exported.value,
|
|
164
|
+
node.exported,
|
|
165
|
+
getParent(node.parent));
|
|
166
|
+
|
|
167
|
+
}return ExportSpecifier;}(),
|
|
168
|
+
|
|
169
|
+
ExportNamedDeclaration: function () {function ExportNamedDeclaration(node) {
|
|
170
|
+
if (node.declaration == null) {return;}
|
|
171
|
+
|
|
172
|
+
var parent = getParent(node);
|
|
173
|
+
// support for old TypeScript versions
|
|
174
|
+
var isTypeVariableDecl = node.declaration.kind === 'type';
|
|
175
|
+
|
|
176
|
+
if (node.declaration.id != null) {
|
|
177
|
+
if ((0, _arrayIncludes2['default'])([
|
|
178
|
+
'TSTypeAliasDeclaration',
|
|
179
|
+
'TSInterfaceDeclaration'],
|
|
180
|
+
node.declaration.type)) {
|
|
181
|
+
addNamed(node.declaration.id.name, node.declaration.id, parent, true);
|
|
182
|
+
} else {
|
|
183
|
+
addNamed(node.declaration.id.name, node.declaration.id, parent, isTypeVariableDecl);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
if (node.declaration.declarations != null) {var _iteratorNormalCompletion = true;var _didIteratorError = false;var _iteratorError = undefined;try {
|
|
188
|
+
for (var _iterator = node.declaration.declarations[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {var declaration = _step.value;
|
|
189
|
+
(0, _ExportMap.recursivePatternCapture)(declaration.id, function (v) {addNamed(v.name, v, parent, isTypeVariableDecl);});
|
|
190
|
+
}} catch (err) {_didIteratorError = true;_iteratorError = err;} finally {try {if (!_iteratorNormalCompletion && _iterator['return']) {_iterator['return']();}} finally {if (_didIteratorError) {throw _iteratorError;}}}
|
|
191
|
+
}
|
|
192
|
+
}return ExportNamedDeclaration;}(),
|
|
193
|
+
|
|
194
|
+
ExportAllDeclaration: function () {function ExportAllDeclaration(node) {
|
|
195
|
+
if (node.source == null) {return;} // not sure if this is ever true
|
|
196
|
+
|
|
197
|
+
// `export * as X from 'path'` does not conflict
|
|
198
|
+
if (node.exported && node.exported.name) {return;}
|
|
199
|
+
|
|
200
|
+
var remoteExports = _ExportMap2['default'].get(node.source.value, context);
|
|
201
|
+
if (remoteExports == null) {return;}
|
|
202
|
+
|
|
203
|
+
if (remoteExports.errors.length) {
|
|
204
|
+
remoteExports.reportErrors(context, node);
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
var parent = getParent(node);
|
|
209
|
+
|
|
210
|
+
var any = false;
|
|
211
|
+
remoteExports.forEach(function (v, name) {
|
|
212
|
+
if (name !== 'default') {
|
|
213
|
+
any = true; // poor man's filter
|
|
214
|
+
addNamed(name, node, parent);
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
if (!any) {
|
|
219
|
+
context.report(
|
|
220
|
+
node.source, 'No named exports found in module \'' + String(
|
|
221
|
+
node.source.value) + '\'.');
|
|
222
|
+
|
|
223
|
+
}
|
|
224
|
+
}return ExportAllDeclaration;}(),
|
|
225
|
+
|
|
226
|
+
'Program:exit': function () {function ProgramExit() {var _iteratorNormalCompletion2 = true;var _didIteratorError2 = false;var _iteratorError2 = undefined;try {
|
|
227
|
+
for (var _iterator2 = namespace[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {var _ref = _step2.value;var _ref2 = _slicedToArray(_ref, 2);var named = _ref2[1];var _iteratorNormalCompletion3 = true;var _didIteratorError3 = false;var _iteratorError3 = undefined;try {
|
|
228
|
+
for (var _iterator3 = named[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {var _ref3 = _step3.value;var _ref4 = _slicedToArray(_ref3, 2);var name = _ref4[0];var nodes = _ref4[1];
|
|
229
|
+
if (nodes.size <= 1) {continue;}
|
|
230
|
+
|
|
231
|
+
if (isTypescriptFunctionOverloads(nodes) || isTypescriptNamespaceMerging(nodes)) {continue;}var _iteratorNormalCompletion4 = true;var _didIteratorError4 = false;var _iteratorError4 = undefined;try {
|
|
232
|
+
|
|
233
|
+
for (var _iterator4 = nodes[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {var node = _step4.value;
|
|
234
|
+
if (shouldSkipTypescriptNamespace(node, nodes)) {continue;}
|
|
235
|
+
|
|
236
|
+
if (name === 'default') {
|
|
237
|
+
context.report(node, 'Multiple default exports.');
|
|
238
|
+
} else {
|
|
239
|
+
context.report(
|
|
240
|
+
node, 'Multiple exports of name \'' + String(
|
|
241
|
+
name.replace(tsTypePrefix, '')) + '\'.');
|
|
242
|
+
|
|
243
|
+
}
|
|
244
|
+
}} catch (err) {_didIteratorError4 = true;_iteratorError4 = err;} finally {try {if (!_iteratorNormalCompletion4 && _iterator4['return']) {_iterator4['return']();}} finally {if (_didIteratorError4) {throw _iteratorError4;}}}
|
|
245
|
+
}} catch (err) {_didIteratorError3 = true;_iteratorError3 = err;} finally {try {if (!_iteratorNormalCompletion3 && _iterator3['return']) {_iterator3['return']();}} finally {if (_didIteratorError3) {throw _iteratorError3;}}}
|
|
246
|
+
}} catch (err) {_didIteratorError2 = true;_iteratorError2 = err;} finally {try {if (!_iteratorNormalCompletion2 && _iterator2['return']) {_iterator2['return']();}} finally {if (_didIteratorError2) {throw _iteratorError2;}}}
|
|
247
|
+
}return ProgramExit;}() };
|
|
248
|
+
|
|
249
|
+
}return create;}() };
|
|
250
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9leHBvcnQuanMiXSwibmFtZXMiOlsicm9vdFByb2dyYW0iLCJ0c1R5cGVQcmVmaXgiLCJpc1R5cGVzY3JpcHRGdW5jdGlvbk92ZXJsb2FkcyIsIm5vZGVzIiwibm9kZXNBcnIiLCJBcnJheSIsImZyb20iLCJpZGVudHMiLCJub2RlIiwiZGVjbGFyYXRpb24iLCJ0eXBlIiwiaWQiLCJuYW1lIiwiU2V0Iiwic2l6ZSIsImxlbmd0aCIsInR5cGVzIiwibWFwIiwicGFyZW50IiwiaGFzIiwiaXNUeXBlc2NyaXB0TmFtZXNwYWNlTWVyZ2luZyIsIm5vTmFtZXNwYWNlTm9kZXMiLCJmaWx0ZXIiLCJzaG91bGRTa2lwVHlwZXNjcmlwdE5hbWVzcGFjZSIsIm1vZHVsZSIsImV4cG9ydHMiLCJtZXRhIiwiZG9jcyIsImNhdGVnb3J5IiwiZGVzY3JpcHRpb24iLCJ1cmwiLCJzY2hlbWEiLCJjcmVhdGUiLCJjb250ZXh0IiwibmFtZXNwYWNlIiwiTWFwIiwiYWRkTmFtZWQ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AgICAgICBpZiAobmFtZSAhPT0gJ2RlZmF1bHQnKSB7XG4gICAgICAgICAgICBhbnkgPSB0cnVlOyAvLyBwb29yIG1hbidzIGZpbHRlclxuICAgICAgICAgICAgYWRkTmFtZWQobmFtZSwgbm9kZSwgcGFyZW50KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuXG4gICAgICAgIGlmICghYW55KSB7XG4gICAgICAgICAgY29udGV4dC5yZXBvcnQoXG4gICAgICAgICAgICBub2RlLnNvdXJjZSxcbiAgICAgICAgICAgIGBObyBuYW1lZCBleHBvcnRzIGZvdW5kIGluIG1vZHVsZSAnJHtub2RlLnNvdXJjZS52YWx1ZX0nLmAsXG4gICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgfSxcblxuICAgICAgJ1Byb2dyYW06ZXhpdCcoKSB7XG4gICAgICAgIGZvciAoY29uc3QgWywgbmFtZWRdIG9mIG5hbWVzcGFjZSkge1xuICAgICAgICAgIGZvciAoY29uc3QgW25hbWUsIG5vZGVzXSBvZiBuYW1lZCkge1xuICAgICAgICAgICAgaWYgKG5vZGVzLnNpemUgPD0gMSkgeyBjb250aW51ZTsgfVxuXG4gICAgICAgICAgICBpZiAoaXNUeXBlc2NyaXB0RnVuY3Rpb25PdmVybG9hZHMobm9kZXMpIHx8IGlzVHlwZXNjcmlwdE5hbWVzcGFjZU1lcmdpbmcobm9kZXMpKSB7IGNvbnRpbnVlOyB9XG5cbiAgICAgICAgICAgIGZvciAoY29uc3Qgbm9kZSBvZiBub2Rlcykge1xuICAgICAgICAgICAgICBpZiAoc2hvdWxkU2tpcFR5cGVzY3JpcHROYW1lc3BhY2Uobm9kZSwgbm9kZXMpKSB7IGNvbnRpbnVlOyB9XG5cbiAgICAgICAgICAgICAgaWYgKG5hbWUgPT09ICdkZWZhdWx0Jykge1xuICAgICAgICAgICAgICAgIGNvbnRleHQucmVwb3J0KG5vZGUsICdNdWx0aXBsZSBkZWZhdWx0IGV4cG9ydHMuJyk7XG4gICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgY29udGV4dC5yZXBvcnQoXG4gICAgICAgICAgICAgICAgICBub2RlLFxuICAgICAgICAgICAgICAgICAgYE11bHRpcGxlIGV4cG9ydHMgb2YgbmFtZSAnJHtuYW1lLnJlcGxhY2UodHNUeXBlUHJlZml4LCAnJyl9Jy5gLFxuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH0sXG4gICAgfTtcbiAgfSxcbn07XG4iXX0=
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';var _arrayPrototype = require('array.prototype.findlastindex');var _arrayPrototype2 = _interopRequireDefault(_arrayPrototype);
|
|
2
|
+
|
|
3
|
+
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
4
|
+
|
|
5
|
+
function isNonExportStatement(_ref) {var type = _ref.type;
|
|
6
|
+
return type !== 'ExportDefaultDeclaration' &&
|
|
7
|
+
type !== 'ExportNamedDeclaration' &&
|
|
8
|
+
type !== 'ExportAllDeclaration';
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
module.exports = {
|
|
12
|
+
meta: {
|
|
13
|
+
type: 'suggestion',
|
|
14
|
+
docs: {
|
|
15
|
+
category: 'Style guide',
|
|
16
|
+
description: 'Ensure all exports appear after other statements.',
|
|
17
|
+
url: (0, _docsUrl2['default'])('exports-last') },
|
|
18
|
+
|
|
19
|
+
schema: [] },
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
create: function () {function create(context) {
|
|
23
|
+
return {
|
|
24
|
+
Program: function () {function Program(_ref2) {var body = _ref2.body;
|
|
25
|
+
var lastNonExportStatementIndex = (0, _arrayPrototype2['default'])(body, isNonExportStatement);
|
|
26
|
+
|
|
27
|
+
if (lastNonExportStatementIndex !== -1) {
|
|
28
|
+
body.slice(0, lastNonExportStatementIndex).forEach(function (node) {
|
|
29
|
+
if (!isNonExportStatement(node)) {
|
|
30
|
+
context.report({
|
|
31
|
+
node: node,
|
|
32
|
+
message: 'Export statements should appear at the end of the file' });
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}return Program;}() };
|
|
38
|
+
|
|
39
|
+
}return create;}() };
|
|
40
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9leHBvcnRzLWxhc3QuanMiXSwibmFtZXMiOlsiaXNOb25FeHBvcnRTdGF0ZW1lbnQiLCJ0eXBlIiwibW9kdWxlIiwiZXhwb3J0cyIsIm1ldGEiLCJkb2NzIiwiY2F0ZWdvcnkiLCJkZXNjcmlwdGlvbiIsInVybCIsInNjaGVtYSIsImNyZWF0ZSIsImNvbnRleHQiLCJQcm9ncmFtIiwiYm9keSIsImxhc3ROb25FeHBvcnRTdGF0ZW1lbnRJbmRleCIsInNsaWNlIiwiZm9yRWFjaCIsIm5vZGUiLCJyZXBvcnQiLCJtZXNzYWdlIl0sIm1hcHBpbmdzIjoiYUFBQSwrRDs7QUFFQSxxQzs7QUFFQSxTQUFTQSxvQkFBVCxPQUF3QyxLQUFSQyxJQUFRLFFBQVJBLElBQVE7QUFDdEMsU0FBT0EsU0FBUywwQkFBVDtBQUNGQSxXQUFTLHdCQURQO0FBRUZBLFdBQVMsc0JBRmQ7QUFHRDs7QUFFREMsT0FBT0MsT0FBUCxHQUFpQjtBQUNmQyxRQUFNO0FBQ0pILFVBQU0sWUFERjtBQUVKSSxVQUFNO0FBQ0pDLGdCQUFVLGFBRE47QUFFSkMsbUJBQWEsbURBRlQ7QUFHSkMsV0FBSywwQkFBUSxjQUFSLENBSEQsRUFGRjs7QUFPSkMsWUFBUSxFQVBKLEVBRFM7OztBQVdmQyxRQ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