create-packer 1.34.4 → 1.34.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/lib/react/node_modules/.bin/acorn +17 -0
- package/template/lib/react/node_modules/.bin/acorn.CMD +12 -0
- package/template/lib/react/node_modules/.bin/acorn.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/browserslist +17 -0
- package/template/lib/react/node_modules/.bin/browserslist.CMD +12 -0
- package/template/lib/react/node_modules/.bin/browserslist.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/esbuild +17 -0
- package/template/lib/react/node_modules/.bin/esbuild.CMD +12 -0
- package/template/lib/react/node_modules/.bin/esbuild.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/prettier +17 -0
- package/template/lib/react/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/react/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/sb +17 -0
- package/template/lib/react/node_modules/.bin/sb.CMD +12 -0
- package/template/lib/react/node_modules/.bin/sb.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/storybook +17 -0
- package/template/lib/react/node_modules/.bin/storybook.CMD +12 -0
- package/template/lib/react/node_modules/.bin/storybook.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/stylelint +17 -0
- package/template/lib/react/node_modules/.bin/stylelint.CMD +12 -0
- package/template/lib/react/node_modules/.bin/stylelint.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/tsc +17 -0
- package/template/lib/react/node_modules/.bin/tsc.CMD +12 -0
- package/template/lib/react/node_modules/.bin/tsc.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/tsserver +17 -0
- package/template/lib/react/node_modules/.bin/tsserver.CMD +12 -0
- package/template/lib/react/node_modules/.bin/tsserver.ps1 +41 -0
- package/template/lib/react/node_modules/.bin/vite +17 -0
- package/template/lib/react/node_modules/.bin/vite.CMD +12 -0
- package/template/lib/react/node_modules/.bin/vite.ps1 +41 -0
- package/template/lib/react/node_modules/eslint/LICENSE +19 -0
- package/template/lib/react/node_modules/eslint/README.md +304 -0
- package/template/lib/react/node_modules/eslint/bin/eslint.js +173 -0
- package/template/lib/react/node_modules/eslint/conf/config-schema.js +93 -0
- package/template/lib/react/node_modules/eslint/conf/default-cli-options.js +32 -0
- package/template/lib/react/node_modules/eslint/conf/globals.js +154 -0
- package/template/lib/react/node_modules/eslint/conf/replacements.json +22 -0
- package/template/lib/react/node_modules/eslint/conf/rule-type-list.json +28 -0
- package/template/lib/react/node_modules/eslint/lib/api.js +26 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/cli-engine.js +1078 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/file-enumerator.js +547 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +46 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/html.js +351 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/hash.js +35 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/index.js +7 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/lint-result-cache.js +203 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
- package/template/lib/react/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
- package/template/lib/react/node_modules/eslint/lib/cli.js +471 -0
- package/template/lib/react/node_modules/eslint/lib/config/default-config.js +67 -0
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-array.js +274 -0
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-helpers.js +111 -0
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-schema.js +583 -0
- package/template/lib/react/node_modules/eslint/lib/config/rule-validator.js +158 -0
- package/template/lib/react/node_modules/eslint/lib/eslint/eslint-helpers.js +902 -0
- package/template/lib/react/node_modules/eslint/lib/eslint/eslint.js +700 -0
- package/template/lib/react/node_modules/eslint/lib/eslint/flat-eslint.js +1142 -0
- package/template/lib/react/node_modules/eslint/lib/eslint/index.js +9 -0
- package/template/lib/react/node_modules/eslint/lib/linter/apply-disable-directives.js +465 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +852 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +263 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +2348 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +342 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +349 -0
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
- package/template/lib/react/node_modules/eslint/lib/linter/config-comment-parser.js +185 -0
- package/template/lib/react/node_modules/eslint/lib/linter/index.js +13 -0
- package/template/lib/react/node_modules/eslint/lib/linter/interpolate.js +28 -0
- package/template/lib/react/node_modules/eslint/lib/linter/linter.js +2119 -0
- package/template/lib/react/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
- package/template/lib/react/node_modules/eslint/lib/linter/report-translator.js +369 -0
- package/template/lib/react/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
- package/template/lib/react/node_modules/eslint/lib/linter/rules.js +80 -0
- package/template/lib/react/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
- package/template/lib/react/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
- package/template/lib/react/node_modules/eslint/lib/linter/timing.js +161 -0
- package/template/lib/react/node_modules/eslint/lib/options.js +398 -0
- package/template/lib/react/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1122 -0
- package/template/lib/react/node_modules/eslint/lib/rule-tester/index.js +5 -0
- package/template/lib/react/node_modules/eslint/lib/rule-tester/rule-tester.js +1206 -0
- package/template/lib/react/node_modules/eslint/lib/rules/accessor-pairs.js +346 -0
- package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-newline.js +261 -0
- package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-spacing.js +244 -0
- package/template/lib/react/node_modules/eslint/lib/rules/array-callback-return.js +446 -0
- package/template/lib/react/node_modules/eslint/lib/rules/array-element-newline.js +311 -0
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-parens.js +186 -0
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-spacing.js +164 -0
- package/template/lib/react/node_modules/eslint/lib/rules/block-scoped-var.js +135 -0
- package/template/lib/react/node_modules/eslint/lib/rules/block-spacing.js +174 -0
- package/template/lib/react/node_modules/eslint/lib/rules/brace-style.js +197 -0
- package/template/lib/react/node_modules/eslint/lib/rules/callback-return.js +187 -0
- package/template/lib/react/node_modules/eslint/lib/rules/camelcase.js +399 -0
- package/template/lib/react/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
- package/template/lib/react/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
- package/template/lib/react/node_modules/eslint/lib/rules/comma-dangle.js +373 -0
- package/template/lib/react/node_modules/eslint/lib/rules/comma-spacing.js +192 -0
- package/template/lib/react/node_modules/eslint/lib/rules/comma-style.js +314 -0
- package/template/lib/react/node_modules/eslint/lib/rules/complexity.js +165 -0
- package/template/lib/react/node_modules/eslint/lib/rules/computed-property-spacing.js +208 -0
- package/template/lib/react/node_modules/eslint/lib/rules/consistent-return.js +210 -0
- package/template/lib/react/node_modules/eslint/lib/rules/consistent-this.js +153 -0
- package/template/lib/react/node_modules/eslint/lib/rules/constructor-super.js +446 -0
- package/template/lib/react/node_modules/eslint/lib/rules/curly.js +486 -0
- package/template/lib/react/node_modules/eslint/lib/rules/default-case-last.js +44 -0
- package/template/lib/react/node_modules/eslint/lib/rules/default-case.js +97 -0
- package/template/lib/react/node_modules/eslint/lib/rules/default-param-last.js +62 -0
- package/template/lib/react/node_modules/eslint/lib/rules/dot-location.js +108 -0
- package/template/lib/react/node_modules/eslint/lib/rules/dot-notation.js +176 -0
- package/template/lib/react/node_modules/eslint/lib/rules/eol-last.js +115 -0
- package/template/lib/react/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
- package/template/lib/react/node_modules/eslint/lib/rules/for-direction.js +140 -0
- package/template/lib/react/node_modules/eslint/lib/rules/func-call-spacing.js +233 -0
- package/template/lib/react/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
- package/template/lib/react/node_modules/eslint/lib/rules/func-names.js +191 -0
- package/template/lib/react/node_modules/eslint/lib/rules/func-style.js +98 -0
- package/template/lib/react/node_modules/eslint/lib/rules/function-call-argument-newline.js +125 -0
- package/template/lib/react/node_modules/eslint/lib/rules/function-paren-newline.js +292 -0
- package/template/lib/react/node_modules/eslint/lib/rules/generator-star-spacing.js +209 -0
- package/template/lib/react/node_modules/eslint/lib/rules/getter-return.js +204 -0
- package/template/lib/react/node_modules/eslint/lib/rules/global-require.js +90 -0
- package/template/lib/react/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +215 -0
- package/template/lib/react/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
- package/template/lib/react/node_modules/eslint/lib/rules/handle-callback-err.js +101 -0
- package/template/lib/react/node_modules/eslint/lib/rules/id-blacklist.js +246 -0
- package/template/lib/react/node_modules/eslint/lib/rules/id-denylist.js +228 -0
- package/template/lib/react/node_modules/eslint/lib/rules/id-length.js +177 -0
- package/template/lib/react/node_modules/eslint/lib/rules/id-match.js +299 -0
- package/template/lib/react/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +84 -0
- package/template/lib/react/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
- package/template/lib/react/node_modules/eslint/lib/rules/indent.js +1803 -0
- package/template/lib/react/node_modules/eslint/lib/rules/index.js +306 -0
- package/template/lib/react/node_modules/eslint/lib/rules/init-declarations.js +139 -0
- package/template/lib/react/node_modules/eslint/lib/rules/jsx-quotes.js +98 -0
- package/template/lib/react/node_modules/eslint/lib/rules/key-spacing.js +687 -0
- package/template/lib/react/node_modules/eslint/lib/rules/keyword-spacing.js +640 -0
- package/template/lib/react/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
- package/template/lib/react/node_modules/eslint/lib/rules/linebreak-style.js +108 -0
- package/template/lib/react/node_modules/eslint/lib/rules/lines-around-comment.js +471 -0
- package/template/lib/react/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
- package/template/lib/react/node_modules/eslint/lib/rules/lines-between-class-members.js +269 -0
- package/template/lib/react/node_modules/eslint/lib/rules/logical-assignment-operators.js +504 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-depth.js +156 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-len.js +440 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-lines.js +193 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-params.js +102 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-statements-per-line.js +199 -0
- package/template/lib/react/node_modules/eslint/lib/rules/max-statements.js +184 -0
- package/template/lib/react/node_modules/eslint/lib/rules/multiline-comment-style.js +474 -0
- package/template/lib/react/node_modules/eslint/lib/rules/multiline-ternary.js +174 -0
- package/template/lib/react/node_modules/eslint/lib/rules/new-cap.js +276 -0
- package/template/lib/react/node_modules/eslint/lib/rules/new-parens.js +93 -0
- package/template/lib/react/node_modules/eslint/lib/rules/newline-after-var.js +253 -0
- package/template/lib/react/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
- package/template/lib/react/node_modules/eslint/lib/rules/newline-per-chained-call.js +126 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-alert.js +138 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-array-constructor.js +133 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-caller.js +46 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-catch-shadow.js +82 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-class-assign.js +63 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-confusing-arrow.js +92 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-console.js +207 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-const-assign.js +56 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-constant-binary-expression.js +509 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-constant-condition.js +150 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-continue.js +39 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-control-regex.js +138 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-debugger.js +43 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-args.js +82 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-else-return.js +405 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-character-class.js +76 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-pattern.js +78 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-static-block.js +47 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty.js +103 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-eval.js +286 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-ex-assign.js +54 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extend-native.js +179 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-parens.js +1322 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-semi.js +147 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-fallthrough.js +196 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-floating-decimal.js +73 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-func-assign.js +78 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-global-assign.js +95 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-coercion.js +380 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-globals.js +146 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-implied-eval.js +132 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-import-assign.js +241 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-regexp.js +194 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-irregular-whitespace.js +276 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-iterator.js +52 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-label-var.js +80 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-labels.js +149 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-lone-blocks.js +136 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-lonely-if.js +88 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-loop-func.js +206 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-loss-of-precision.js +214 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-magic-numbers.js +243 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-misleading-character-class.js +300 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-operators.js +229 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +116 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-spaces.js +141 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +154 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-native-reassign.js +98 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-func.js +87 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +66 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-object.js +67 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-require.js +50 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-symbol.js +56 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-wrappers.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-new.js +43 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-obj-calls.js +86 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-object-constructor.js +117 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-octal.js +45 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-param-reassign.js +230 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-process-env.js +51 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-promise-executor-return.js +263 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-proto.js +48 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-prototype-builtins.js +159 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-regex-spaces.js +197 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-exports.js +193 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-globals.js +124 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-imports.js +410 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-modules.js +213 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-properties.js +168 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-return-await.js +135 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-script-url.js +61 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-sequences.js +138 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-setter-return.js +226 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +65 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-shadow.js +336 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-sync.js +64 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-tabs.js +81 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-ternary.js +41 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-this-before-super.js +331 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-trailing-spaces.js +193 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-undef.js +79 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-undefined.js +86 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-underscore-dangle.js +335 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable-loop.js +185 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable.js +293 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-expressions.js +186 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-labels.js +143 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-vars.js +718 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-use-before-define.js +348 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-backreference.js +194 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-escape.js +333 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-return.js +364 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-var.js +334 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-void.js +64 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-warning-comments.js +201 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-whitespace-before-property.js +116 -0
- package/template/lib/react/node_modules/eslint/lib/rules/no-with.js +39 -0
- package/template/lib/react/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +127 -0
- package/template/lib/react/node_modules/eslint/lib/rules/object-curly-newline.js +324 -0
- package/template/lib/react/node_modules/eslint/lib/rules/object-curly-spacing.js +311 -0
- package/template/lib/react/node_modules/eslint/lib/rules/object-property-newline.js +102 -0
- package/template/lib/react/node_modules/eslint/lib/rules/object-shorthand.js +520 -0
- package/template/lib/react/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +95 -0
- package/template/lib/react/node_modules/eslint/lib/rules/one-var.js +567 -0
- package/template/lib/react/node_modules/eslint/lib/rules/operator-assignment.js +209 -0
- package/template/lib/react/node_modules/eslint/lib/rules/operator-linebreak.js +253 -0
- package/template/lib/react/node_modules/eslint/lib/rules/padded-blocks.js +310 -0
- package/template/lib/react/node_modules/eslint/lib/rules/padding-line-between-statements.js +590 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-arrow-callback.js +381 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-const.js +501 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +191 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-named-capture-group.js +178 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-has-own.js +114 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-spread.js +298 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +132 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-regex-literals.js +507 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-rest-params.js +118 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-template.js +275 -0
- package/template/lib/react/node_modules/eslint/lib/rules/quote-props.js +310 -0
- package/template/lib/react/node_modules/eslint/lib/rules/quotes.js +350 -0
- package/template/lib/react/node_modules/eslint/lib/rules/radix.js +198 -0
- package/template/lib/react/node_modules/eslint/lib/rules/require-atomic-updates.js +331 -0
- package/template/lib/react/node_modules/eslint/lib/rules/require-await.js +113 -0
- package/template/lib/react/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
- package/template/lib/react/node_modules/eslint/lib/rules/require-unicode-regexp.js +129 -0
- package/template/lib/react/node_modules/eslint/lib/rules/require-yield.js +77 -0
- package/template/lib/react/node_modules/eslint/lib/rules/rest-spread-spacing.js +123 -0
- package/template/lib/react/node_modules/eslint/lib/rules/semi-spacing.js +248 -0
- package/template/lib/react/node_modules/eslint/lib/rules/semi-style.js +158 -0
- package/template/lib/react/node_modules/eslint/lib/rules/semi.js +438 -0
- package/template/lib/react/node_modules/eslint/lib/rules/sort-imports.js +241 -0
- package/template/lib/react/node_modules/eslint/lib/rules/sort-keys.js +230 -0
- package/template/lib/react/node_modules/eslint/lib/rules/sort-vars.js +104 -0
- package/template/lib/react/node_modules/eslint/lib/rules/space-before-blocks.js +204 -0
- package/template/lib/react/node_modules/eslint/lib/rules/space-before-function-paren.js +167 -0
- package/template/lib/react/node_modules/eslint/lib/rules/space-in-parens.js +285 -0
- package/template/lib/react/node_modules/eslint/lib/rules/space-infix-ops.js +198 -0
- package/template/lib/react/node_modules/eslint/lib/rules/space-unary-ops.js +324 -0
- package/template/lib/react/node_modules/eslint/lib/rules/spaced-comment.js +385 -0
- package/template/lib/react/node_modules/eslint/lib/rules/strict.js +277 -0
- package/template/lib/react/node_modules/eslint/lib/rules/switch-colon-spacing.js +132 -0
- package/template/lib/react/node_modules/eslint/lib/rules/symbol-description.js +73 -0
- package/template/lib/react/node_modules/eslint/lib/rules/template-curly-spacing.js +144 -0
- package/template/lib/react/node_modules/eslint/lib/rules/template-tag-spacing.js +93 -0
- package/template/lib/react/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
- package/template/lib/react/node_modules/eslint/lib/rules/use-isnan.js +141 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/ast-utils.js +2282 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/regular-expressions.js +42 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- package/template/lib/react/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
- package/template/lib/react/node_modules/eslint/lib/rules/valid-typeof.js +127 -0
- package/template/lib/react/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
- package/template/lib/react/node_modules/eslint/lib/rules/wrap-iife.js +207 -0
- package/template/lib/react/node_modules/eslint/lib/rules/wrap-regex.js +61 -0
- package/template/lib/react/node_modules/eslint/lib/rules/yield-star-spacing.js +130 -0
- package/template/lib/react/node_modules/eslint/lib/rules/yoda.js +353 -0
- package/template/lib/react/node_modules/eslint/lib/shared/ajv.js +34 -0
- package/template/lib/react/node_modules/eslint/lib/shared/ast-utils.js +29 -0
- package/template/lib/react/node_modules/eslint/lib/shared/config-validator.js +347 -0
- package/template/lib/react/node_modules/eslint/lib/shared/deprecation-warnings.js +58 -0
- package/template/lib/react/node_modules/eslint/lib/shared/directives.js +15 -0
- package/template/lib/react/node_modules/eslint/lib/shared/logging.js +30 -0
- package/template/lib/react/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
- package/template/lib/react/node_modules/eslint/lib/shared/runtime-info.js +167 -0
- package/template/lib/react/node_modules/eslint/lib/shared/severity.js +49 -0
- package/template/lib/react/node_modules/eslint/lib/shared/string-utils.js +60 -0
- package/template/lib/react/node_modules/eslint/lib/shared/traverser.js +195 -0
- package/template/lib/react/node_modules/eslint/lib/shared/types.js +216 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/index.js +5 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/source-code.js +1055 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/utils.js +107 -0
- package/template/lib/react/node_modules/eslint/lib/unsupported-api.js +30 -0
- package/template/lib/react/node_modules/eslint/messages/all-files-ignored.js +16 -0
- package/template/lib/react/node_modules/eslint/messages/eslintrc-incompat.js +98 -0
- package/template/lib/react/node_modules/eslint/messages/eslintrc-plugins.js +24 -0
- package/template/lib/react/node_modules/eslint/messages/extend-config-missing.js +13 -0
- package/template/lib/react/node_modules/eslint/messages/failed-to-read-json.js +11 -0
- package/template/lib/react/node_modules/eslint/messages/file-not-found.js +10 -0
- package/template/lib/react/node_modules/eslint/messages/invalid-rule-options.js +17 -0
- package/template/lib/react/node_modules/eslint/messages/invalid-rule-severity.js +13 -0
- package/template/lib/react/node_modules/eslint/messages/no-config-found.js +15 -0
- package/template/lib/react/node_modules/eslint/messages/plugin-conflict.js +22 -0
- package/template/lib/react/node_modules/eslint/messages/plugin-invalid.js +16 -0
- package/template/lib/react/node_modules/eslint/messages/plugin-missing.js +19 -0
- package/template/lib/react/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
- package/template/lib/react/node_modules/eslint/messages/shared.js +18 -0
- package/template/lib/react/node_modules/eslint/messages/whitespace-found.js +11 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml +17 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.CMD +12 -0
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +41 -0
- package/template/lib/react/node_modules/eslint/package.json +179 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/LICENSE +5 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/README.md +232 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.cjs +278 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +20 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +251 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js +252 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js.map +1 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/package.json +108 -0
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/shim.d.ts +4 -0
- package/template/lib/react/node_modules/eslint-plugin-import/CHANGELOG.md +1925 -0
- package/template/lib/react/node_modules/eslint-plugin-import/CONTRIBUTING.md +84 -0
- package/template/lib/react/node_modules/eslint-plugin-import/LICENSE +22 -0
- package/template/lib/react/node_modules/eslint-plugin-import/README.md +500 -0
- package/template/lib/react/node_modules/eslint-plugin-import/RELEASE.md +54 -0
- package/template/lib/react/node_modules/eslint-plugin-import/SECURITY.md +11 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/electron.js +8 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/errors.js +14 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/react-native.js +13 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/react.js +18 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/recommended.js +28 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/stage-0.js +12 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/typescript.js +34 -0
- package/template/lib/react/node_modules/eslint-plugin-import/config/warnings.js +12 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +91 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/default.md +72 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +92 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/export.md +37 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/exports-last.md +51 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/extensions.md +174 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/first.md +75 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/group-exports.md +118 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/imports-first.md +9 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +70 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/named.md +102 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/namespace.md +106 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +167 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +54 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-amd.md +37 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +83 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +96 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +111 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +65 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +62 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +109 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +25 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +49 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +139 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +81 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +136 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +54 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +52 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +53 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +36 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +79 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +44 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +42 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +70 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +123 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +198 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +32 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +60 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +110 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +125 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +85 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +39 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/order.md +365 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +185 -0
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +57 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/ExportMap.js +856 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/importType.js +129 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/packagePath.js +22 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/staticRequire.js +11 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/docsUrl.js +8 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/importDeclaration.js +5 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/index.js +71 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +221 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/default.js +40 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +120 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/export.js +250 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/exports-last.js +40 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/extensions.js +193 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/first.js +144 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/group-exports.js +155 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/imports-first.js +16 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +60 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/named.js +143 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/namespace.js +218 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +237 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +40 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-amd.js +47 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +103 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +141 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +158 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +43 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +138 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +354 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +77 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +105 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +301 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +85 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +144 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +59 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +96 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +45 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +31 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +39 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +175 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +44 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +71 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +48 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +245 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +39 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +79 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +60 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +945 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +147 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +26 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/order.js +785 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +116 -0
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +38 -0
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/LICENSE +22 -0
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/README.md +21 -0
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/index.js +41 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver +17 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-import/package.json +124 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/LICENSE.md +24 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/README.md +202 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +5 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +254 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +17 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +17 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/package.json +101 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.d.ts +5 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.js +17 -0
- package/template/lib/react/node_modules/eslint-plugin-prettier/worker.js +181 -0
- package/template/lib/react/node_modules/eslint-plugin-react/LICENSE +22 -0
- package/template/lib/react/node_modules/eslint-plugin-react/README.md +420 -0
- package/template/lib/react/node_modules/eslint-plugin-react/configs/all.js +39 -0
- package/template/lib/react/node_modules/eslint-plugin-react/configs/jsx-runtime.js +18 -0
- package/template/lib/react/node_modules/eslint-plugin-react/configs/recommended.js +34 -0
- package/template/lib/react/node_modules/eslint-plugin-react/index.js +31 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.js +400 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/button-has-type.js +163 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.js +108 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.js +280 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/display-name.js +283 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js +134 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.js +121 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-elements.js +114 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js +134 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.js +293 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/function-component-definition.js +284 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/hook-use-state.js +203 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.js +142 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/index.js +106 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.js +159 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.js +116 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js +308 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.js +73 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js +414 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.js +184 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.js +430 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.js +110 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.js +110 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js +80 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js +209 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.js +171 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js +213 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent.js +441 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-key.js +293 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js +162 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.js +154 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-newline.js +168 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js +208 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js +64 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js +225 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js +76 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.js +186 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.js +195 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.js +97 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.js +283 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.js +115 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js +257 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js +233 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js +163 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js +134 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.js +141 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.js +188 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js +530 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js +96 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js +323 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-react.js +46 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-vars.js +60 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.js +260 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.js +187 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js +125 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.js +288 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.js +144 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js +119 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js +155 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger.js +74 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js +258 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.js +10 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js +10 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.js +154 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.js +50 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.js +639 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js +55 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.js +80 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-namespace.js +61 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.js +103 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.js +87 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.js +81 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-set-state.js +88 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-string-refs.js +119 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.js +46 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-typos.js +257 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.js +133 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.js +609 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unsafe.js +153 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unstable-nested-components.js +491 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-class-component-methods.js +257 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-prop-types.js +173 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-state.js +522 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-will-update-set-state.js +14 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-es6-class.js +57 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-exact-props.js +161 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-read-only-props.js +116 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-stateless-function.js +390 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prop-types.js +201 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/react-in-jsx-scope.js +56 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-default-props.js +193 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-optimization.js +239 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-render-return.js +104 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/self-closing-comp.js +103 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-comp.js +446 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-default-props.js +174 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-prop-types.js +266 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/state-in-constructor.js +67 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/static-property-placement.js +187 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/style-prop-object.js +137 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/void-dom-elements-no-children.js +165 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/types.d.ts +28 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/Components.js +946 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/annotations.js +32 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/ast.js +461 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/componentUtil.js +182 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/defaultProps.js +268 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/docsUrl.js +7 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/error.js +14 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js +16 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateContext.js +53 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateElement.js +33 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isDestructuredFromPragmaImport.js +79 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isFirstLetterCapitalized.js +16 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/jsx.js +196 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/lifecycleMethods.js +30 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/linkComponents.js +49 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/log.js +14 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js +119 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/message.js +8 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/pragma.js +72 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypes.js +1248 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypesSort.js +211 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propWrapper.js +61 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/props.js +103 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/report.js +12 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/usedPropTypes.js +569 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/variable.js +94 -0
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/version.js +161 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve +17 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver +17 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-react/package.json +106 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/LICENSE +21 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/README.md +75 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js +2458 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.min.js +63 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/index.js +9 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint +17 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/package.json +39 -0
- package/template/lib/react/node_modules/prettier/LICENSE +4857 -0
- package/template/lib/react/node_modules/prettier/README.md +109 -0
- package/template/lib/react/node_modules/prettier/bin/prettier.cjs +68 -0
- package/template/lib/react/node_modules/prettier/doc.d.ts +243 -0
- package/template/lib/react/node_modules/prettier/doc.js +1328 -0
- package/template/lib/react/node_modules/prettier/doc.mjs +1300 -0
- package/template/lib/react/node_modules/prettier/index.cjs +648 -0
- package/template/lib/react/node_modules/prettier/index.d.ts +940 -0
- package/template/lib/react/node_modules/prettier/index.mjs +24255 -0
- package/template/lib/react/node_modules/prettier/internal/cli.mjs +7089 -0
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier +17 -0
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/react/node_modules/prettier/package.json +198 -0
- package/template/lib/react/node_modules/prettier/plugins/acorn.d.ts +6 -0
- package/template/lib/react/node_modules/prettier/plugins/acorn.js +13 -0
- package/template/lib/react/node_modules/prettier/plugins/acorn.mjs +13 -0
- package/template/lib/react/node_modules/prettier/plugins/angular.d.ts +8 -0
- package/template/lib/react/node_modules/prettier/plugins/angular.js +1 -0
- package/template/lib/react/node_modules/prettier/plugins/angular.mjs +1 -0
- package/template/lib/react/node_modules/prettier/plugins/babel.d.ts +18 -0
- package/template/lib/react/node_modules/prettier/plugins/babel.js +16 -0
- package/template/lib/react/node_modules/prettier/plugins/babel.mjs +16 -0
- package/template/lib/react/node_modules/prettier/plugins/estree.d.ts +1 -0
- package/template/lib/react/node_modules/prettier/plugins/estree.js +36 -0
- package/template/lib/react/node_modules/prettier/plugins/estree.mjs +36 -0
- package/template/lib/react/node_modules/prettier/plugins/flow.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/flow.js +21 -0
- package/template/lib/react/node_modules/prettier/plugins/flow.mjs +21 -0
- package/template/lib/react/node_modules/prettier/plugins/glimmer.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/glimmer.js +30 -0
- package/template/lib/react/node_modules/prettier/plugins/glimmer.mjs +30 -0
- package/template/lib/react/node_modules/prettier/plugins/graphql.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/graphql.js +29 -0
- package/template/lib/react/node_modules/prettier/plugins/graphql.mjs +29 -0
- package/template/lib/react/node_modules/prettier/plugins/html.d.ts +8 -0
- package/template/lib/react/node_modules/prettier/plugins/html.js +19 -0
- package/template/lib/react/node_modules/prettier/plugins/html.mjs +19 -0
- package/template/lib/react/node_modules/prettier/plugins/markdown.d.ts +7 -0
- package/template/lib/react/node_modules/prettier/plugins/markdown.js +59 -0
- package/template/lib/react/node_modules/prettier/plugins/markdown.mjs +59 -0
- package/template/lib/react/node_modules/prettier/plugins/meriyah.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/meriyah.js +5 -0
- package/template/lib/react/node_modules/prettier/plugins/meriyah.mjs +5 -0
- package/template/lib/react/node_modules/prettier/plugins/postcss.d.ts +7 -0
- package/template/lib/react/node_modules/prettier/plugins/postcss.js +49 -0
- package/template/lib/react/node_modules/prettier/plugins/postcss.mjs +49 -0
- package/template/lib/react/node_modules/prettier/plugins/typescript.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/typescript.js +25 -0
- package/template/lib/react/node_modules/prettier/plugins/typescript.mjs +25 -0
- package/template/lib/react/node_modules/prettier/plugins/yaml.d.ts +5 -0
- package/template/lib/react/node_modules/prettier/plugins/yaml.js +161 -0
- package/template/lib/react/node_modules/prettier/plugins/yaml.mjs +161 -0
- package/template/lib/react/node_modules/prettier/standalone.d.ts +33 -0
- package/template/lib/react/node_modules/prettier/standalone.js +34 -0
- package/template/lib/react/node_modules/prettier/standalone.mjs +34 -0
- package/template/lib/react/node_modules/prop-types/LICENSE +21 -0
- package/template/lib/react/node_modules/prop-types/README.md +302 -0
- package/template/lib/react/node_modules/prop-types/checkPropTypes.js +103 -0
- package/template/lib/react/node_modules/prop-types/factory.js +19 -0
- package/template/lib/react/node_modules/prop-types/factoryWithThrowingShims.js +65 -0
- package/template/lib/react/node_modules/prop-types/factoryWithTypeCheckers.js +610 -0
- package/template/lib/react/node_modules/prop-types/index.js +19 -0
- package/template/lib/react/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -0
- package/template/lib/react/node_modules/prop-types/lib/has.js +1 -0
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify +17 -0
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.CMD +12 -0
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.ps1 +41 -0
- package/template/lib/react/node_modules/prop-types/package.json +60 -0
- package/template/lib/react/node_modules/prop-types/prop-types.js +1315 -0
- package/template/lib/react/node_modules/prop-types/prop-types.min.js +1 -0
- package/template/lib/react/node_modules/react/LICENSE +21 -0
- package/template/lib/react/node_modules/react/README.md +37 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1296 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +10 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +10 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.development.js +1314 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +11 -0
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +11 -0
- package/template/lib/react/node_modules/react/cjs/react.development.js +2739 -0
- package/template/lib/react/node_modules/react/cjs/react.production.min.js +26 -0
- package/template/lib/react/node_modules/react/cjs/react.shared-subset.development.js +20 -0
- package/template/lib/react/node_modules/react/cjs/react.shared-subset.production.min.js +10 -0
- package/template/lib/react/node_modules/react/index.js +7 -0
- package/template/lib/react/node_modules/react/jsx-dev-runtime.js +7 -0
- package/template/lib/react/node_modules/react/jsx-runtime.js +7 -0
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify +17 -0
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.CMD +12 -0
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.ps1 +41 -0
- package/template/lib/react/node_modules/react/package.json +47 -0
- package/template/lib/react/node_modules/react/react.shared-subset.js +7 -0
- package/template/lib/react/node_modules/react/umd/react.development.js +3342 -0
- package/template/lib/react/node_modules/react/umd/react.production.min.js +31 -0
- package/template/lib/react/node_modules/react/umd/react.profiling.min.js +31 -0
- package/template/lib/react/node_modules/react-dom/LICENSE +21 -0
- package/template/lib/react/node_modules/react-dom/README.md +60 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +7018 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +93 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +7078 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +101 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +7003 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +96 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +7059 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +102 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +1741 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +40 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.development.js +29868 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.production.min.js +323 -0
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +367 -0
- package/template/lib/react/node_modules/react-dom/client.js +25 -0
- package/template/lib/react/node_modules/react-dom/index.js +38 -0
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify +17 -0
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.CMD +12 -0
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.ps1 +41 -0
- package/template/lib/react/node_modules/react-dom/package.json +62 -0
- package/template/lib/react/node_modules/react-dom/profiling.js +38 -0
- package/template/lib/react/node_modules/react-dom/server.browser.js +17 -0
- package/template/lib/react/node_modules/react-dom/server.js +3 -0
- package/template/lib/react/node_modules/react-dom/server.node.js +17 -0
- package/template/lib/react/node_modules/react-dom/test-utils.js +7 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +7015 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +75 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +7000 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +76 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +1737 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +33 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom.development.js +29869 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom.production.min.js +267 -0
- package/template/lib/react/node_modules/react-dom/umd/react-dom.profiling.min.js +285 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/LICENSE +21 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/README.md +50 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/index.js +67 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +17 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +12 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +41 -0
- package/template/lib/react/node_modules/stylelint-config-standard-scss/package.json +58 -0
- package/template/lib/ts/node_modules/.bin/acorn +17 -0
- package/template/lib/ts/node_modules/.bin/acorn.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/acorn.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/eslint +17 -0
- package/template/lib/ts/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/prettier +17 -0
- package/template/lib/ts/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/stylelint +17 -0
- package/template/lib/ts/node_modules/.bin/stylelint.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/stylelint.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/tsc +17 -0
- package/template/lib/ts/node_modules/.bin/tsc.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/tsc.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/tsserver +17 -0
- package/template/lib/ts/node_modules/.bin/tsserver.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/tsserver.ps1 +41 -0
- package/template/lib/ts/node_modules/.bin/vitest +17 -0
- package/template/lib/ts/node_modules/.bin/vitest.CMD +12 -0
- package/template/lib/ts/node_modules/.bin/vitest.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint/LICENSE +19 -0
- package/template/lib/ts/node_modules/eslint/README.md +304 -0
- package/template/lib/ts/node_modules/eslint/bin/eslint.js +173 -0
- package/template/lib/ts/node_modules/eslint/conf/config-schema.js +93 -0
- package/template/lib/ts/node_modules/eslint/conf/default-cli-options.js +32 -0
- package/template/lib/ts/node_modules/eslint/conf/globals.js +154 -0
- package/template/lib/ts/node_modules/eslint/conf/replacements.json +22 -0
- package/template/lib/ts/node_modules/eslint/conf/rule-type-list.json +28 -0
- package/template/lib/ts/node_modules/eslint/lib/api.js +26 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/cli-engine.js +1078 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/file-enumerator.js +547 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +46 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/html.js +351 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/hash.js +35 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/index.js +7 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/lint-result-cache.js +203 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
- package/template/lib/ts/node_modules/eslint/lib/cli.js +471 -0
- package/template/lib/ts/node_modules/eslint/lib/config/default-config.js +67 -0
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-array.js +274 -0
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-helpers.js +111 -0
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-schema.js +583 -0
- package/template/lib/ts/node_modules/eslint/lib/config/rule-validator.js +158 -0
- package/template/lib/ts/node_modules/eslint/lib/eslint/eslint-helpers.js +902 -0
- package/template/lib/ts/node_modules/eslint/lib/eslint/eslint.js +700 -0
- package/template/lib/ts/node_modules/eslint/lib/eslint/flat-eslint.js +1142 -0
- package/template/lib/ts/node_modules/eslint/lib/eslint/index.js +9 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/apply-disable-directives.js +465 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +852 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +263 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +2348 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +342 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +349 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/config-comment-parser.js +185 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/index.js +13 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/interpolate.js +28 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/linter.js +2119 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/report-translator.js +369 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/rules.js +80 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
- package/template/lib/ts/node_modules/eslint/lib/linter/timing.js +161 -0
- package/template/lib/ts/node_modules/eslint/lib/options.js +398 -0
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1122 -0
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/index.js +5 -0
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/rule-tester.js +1206 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/accessor-pairs.js +346 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-newline.js +261 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-spacing.js +244 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/array-callback-return.js +446 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/array-element-newline.js +311 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-parens.js +186 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-spacing.js +164 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/block-scoped-var.js +135 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/block-spacing.js +174 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/brace-style.js +197 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/callback-return.js +187 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/camelcase.js +399 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-dangle.js +373 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-spacing.js +192 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-style.js +314 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/complexity.js +165 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/computed-property-spacing.js +208 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/consistent-return.js +210 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/consistent-this.js +153 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/constructor-super.js +446 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/curly.js +486 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/default-case-last.js +44 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/default-case.js +97 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/default-param-last.js +62 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/dot-location.js +108 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/dot-notation.js +176 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/eol-last.js +115 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/for-direction.js +140 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/func-call-spacing.js +233 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/func-names.js +191 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/func-style.js +98 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/function-call-argument-newline.js +125 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/function-paren-newline.js +292 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/generator-star-spacing.js +209 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/getter-return.js +204 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/global-require.js +90 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +215 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/handle-callback-err.js +101 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/id-blacklist.js +246 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/id-denylist.js +228 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/id-length.js +177 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/id-match.js +299 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +84 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/indent.js +1803 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/index.js +306 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/init-declarations.js +139 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/jsx-quotes.js +98 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/key-spacing.js +687 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/keyword-spacing.js +640 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/linebreak-style.js +108 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-comment.js +471 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-between-class-members.js +269 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/logical-assignment-operators.js +504 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-depth.js +156 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-len.js +440 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-lines.js +193 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-params.js +102 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-statements-per-line.js +199 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/max-statements.js +184 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/multiline-comment-style.js +474 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/multiline-ternary.js +174 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/new-cap.js +276 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/new-parens.js +93 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-after-var.js +253 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-per-chained-call.js +126 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-alert.js +138 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-array-constructor.js +133 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-caller.js +46 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-catch-shadow.js +82 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-class-assign.js +63 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-confusing-arrow.js +92 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-console.js +207 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-const-assign.js +56 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-binary-expression.js +509 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-condition.js +150 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-continue.js +39 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-control-regex.js +138 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-debugger.js +43 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-args.js +82 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-else-return.js +405 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-character-class.js +76 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-pattern.js +78 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-static-block.js +47 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty.js +103 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-eval.js +286 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-ex-assign.js +54 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extend-native.js +179 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-parens.js +1322 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-semi.js +147 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-fallthrough.js +196 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-floating-decimal.js +73 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-func-assign.js +78 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-global-assign.js +95 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-coercion.js +380 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-globals.js +146 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implied-eval.js +132 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-import-assign.js +241 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-regexp.js +194 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-irregular-whitespace.js +276 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-iterator.js +52 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-label-var.js +80 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-labels.js +149 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-lone-blocks.js +136 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-lonely-if.js +88 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-loop-func.js +206 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-loss-of-precision.js +214 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-magic-numbers.js +243 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-misleading-character-class.js +300 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-operators.js +229 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +116 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-spaces.js +141 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +154 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-native-reassign.js +98 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-func.js +87 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +66 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-object.js +67 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-require.js +50 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-symbol.js +56 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-wrappers.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new.js +43 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-obj-calls.js +86 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-object-constructor.js +117 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-octal.js +45 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-param-reassign.js +230 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-process-env.js +51 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-promise-executor-return.js +263 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-proto.js +48 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-prototype-builtins.js +159 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-regex-spaces.js +197 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-exports.js +193 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-globals.js +124 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-imports.js +410 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-modules.js +213 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-properties.js +168 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-return-await.js +135 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-script-url.js +61 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sequences.js +138 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-setter-return.js +226 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +65 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow.js +336 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sync.js +64 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-tabs.js +81 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-ternary.js +41 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-this-before-super.js +331 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-trailing-spaces.js +193 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undef.js +79 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undefined.js +86 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-underscore-dangle.js +335 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable-loop.js +185 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable.js +293 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-expressions.js +186 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-labels.js +143 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-vars.js +718 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-use-before-define.js +348 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-backreference.js +194 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-escape.js +333 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-return.js +364 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-var.js +334 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-void.js +64 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-warning-comments.js +201 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-whitespace-before-property.js +116 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/no-with.js +39 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +127 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-newline.js +324 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-spacing.js +311 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/object-property-newline.js +102 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/object-shorthand.js +520 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +95 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/one-var.js +567 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/operator-assignment.js +209 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/operator-linebreak.js +253 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/padded-blocks.js +310 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/padding-line-between-statements.js +590 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-arrow-callback.js +381 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-const.js +501 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +191 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-named-capture-group.js +178 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-has-own.js +114 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-spread.js +298 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +132 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-regex-literals.js +507 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-rest-params.js +118 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-template.js +275 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/quote-props.js +310 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/quotes.js +350 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/radix.js +198 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/require-atomic-updates.js +331 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/require-await.js +113 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/require-unicode-regexp.js +129 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/require-yield.js +77 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/rest-spread-spacing.js +123 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/semi-spacing.js +248 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/semi-style.js +158 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/semi.js +438 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-imports.js +241 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-keys.js +230 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-vars.js +104 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/space-before-blocks.js +204 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/space-before-function-paren.js +167 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/space-in-parens.js +285 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/space-infix-ops.js +198 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/space-unary-ops.js +324 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/spaced-comment.js +385 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/strict.js +277 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/switch-colon-spacing.js +132 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/symbol-description.js +73 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/template-curly-spacing.js +144 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/template-tag-spacing.js +93 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/use-isnan.js +141 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/ast-utils.js +2282 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/regular-expressions.js +42 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/valid-typeof.js +127 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/wrap-iife.js +207 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/wrap-regex.js +61 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/yield-star-spacing.js +130 -0
- package/template/lib/ts/node_modules/eslint/lib/rules/yoda.js +353 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/ajv.js +34 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/ast-utils.js +29 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/config-validator.js +347 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/deprecation-warnings.js +58 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/directives.js +15 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/logging.js +30 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/runtime-info.js +167 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/severity.js +49 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/string-utils.js +60 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/traverser.js +195 -0
- package/template/lib/ts/node_modules/eslint/lib/shared/types.js +216 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/index.js +5 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/source-code.js +1055 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/utils.js +107 -0
- package/template/lib/ts/node_modules/eslint/lib/unsupported-api.js +30 -0
- package/template/lib/ts/node_modules/eslint/messages/all-files-ignored.js +16 -0
- package/template/lib/ts/node_modules/eslint/messages/eslintrc-incompat.js +98 -0
- package/template/lib/ts/node_modules/eslint/messages/eslintrc-plugins.js +24 -0
- package/template/lib/ts/node_modules/eslint/messages/extend-config-missing.js +13 -0
- package/template/lib/ts/node_modules/eslint/messages/failed-to-read-json.js +11 -0
- package/template/lib/ts/node_modules/eslint/messages/file-not-found.js +10 -0
- package/template/lib/ts/node_modules/eslint/messages/invalid-rule-options.js +17 -0
- package/template/lib/ts/node_modules/eslint/messages/invalid-rule-severity.js +13 -0
- package/template/lib/ts/node_modules/eslint/messages/no-config-found.js +15 -0
- package/template/lib/ts/node_modules/eslint/messages/plugin-conflict.js +22 -0
- package/template/lib/ts/node_modules/eslint/messages/plugin-invalid.js +16 -0
- package/template/lib/ts/node_modules/eslint/messages/plugin-missing.js +19 -0
- package/template/lib/ts/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
- package/template/lib/ts/node_modules/eslint/messages/shared.js +18 -0
- package/template/lib/ts/node_modules/eslint/messages/whitespace-found.js +11 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint +17 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml +17 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.CMD +12 -0
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint/package.json +179 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/LICENSE +5 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/README.md +232 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.cjs +278 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +20 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +251 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js +252 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js.map +1 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +17 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/package.json +108 -0
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/shim.d.ts +4 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/CHANGELOG.md +1925 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/CONTRIBUTING.md +84 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/LICENSE +22 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/README.md +500 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/RELEASE.md +54 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/SECURITY.md +11 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/electron.js +8 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/errors.js +14 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/react-native.js +13 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/react.js +18 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/recommended.js +28 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/stage-0.js +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/typescript.js +34 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/config/warnings.js +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +91 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/default.md +72 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +92 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/export.md +37 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/exports-last.md +51 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/extensions.md +174 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/first.md +75 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/group-exports.md +118 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/imports-first.md +9 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +70 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/named.md +102 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/namespace.md +106 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +167 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +54 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-amd.md +37 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +83 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +96 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +111 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +65 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +62 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +109 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +25 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +49 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +139 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +81 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +136 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +54 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +52 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +53 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +36 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +79 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +44 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +42 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +70 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +123 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +198 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +32 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +60 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +110 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +125 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +85 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +39 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/order.md +365 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +185 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +57 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/ExportMap.js +856 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/importType.js +129 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/packagePath.js +22 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/staticRequire.js +11 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/docsUrl.js +8 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/importDeclaration.js +5 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/index.js +71 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +221 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/default.js +40 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +120 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/export.js +250 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/exports-last.js +40 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/extensions.js +193 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/first.js +144 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/group-exports.js +155 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/imports-first.js +16 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +60 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/named.js +143 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/namespace.js +218 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +237 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +40 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-amd.js +47 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +103 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +141 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +158 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +43 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +138 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +354 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +77 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +105 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +301 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +85 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +144 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +59 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +96 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +45 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +31 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +39 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +175 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +44 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +71 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +48 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +245 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +39 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +79 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +60 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +945 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +147 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +26 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/order.js +785 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +116 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +38 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/LICENSE +22 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/README.md +21 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/index.js +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-import/package.json +124 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/LICENSE.md +24 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/README.md +202 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +5 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +254 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/package.json +101 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.d.ts +5 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.js +17 -0
- package/template/lib/ts/node_modules/eslint-plugin-prettier/worker.js +181 -0
- package/template/lib/ts/node_modules/prettier/LICENSE +4857 -0
- package/template/lib/ts/node_modules/prettier/README.md +109 -0
- package/template/lib/ts/node_modules/prettier/bin/prettier.cjs +68 -0
- package/template/lib/ts/node_modules/prettier/doc.d.ts +243 -0
- package/template/lib/ts/node_modules/prettier/doc.js +1328 -0
- package/template/lib/ts/node_modules/prettier/doc.mjs +1300 -0
- package/template/lib/ts/node_modules/prettier/index.cjs +648 -0
- package/template/lib/ts/node_modules/prettier/index.d.ts +940 -0
- package/template/lib/ts/node_modules/prettier/index.mjs +24255 -0
- package/template/lib/ts/node_modules/prettier/internal/cli.mjs +7089 -0
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier +17 -0
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.CMD +12 -0
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.ps1 +41 -0
- package/template/lib/ts/node_modules/prettier/package.json +198 -0
- package/template/lib/ts/node_modules/prettier/plugins/acorn.d.ts +6 -0
- package/template/lib/ts/node_modules/prettier/plugins/acorn.js +13 -0
- package/template/lib/ts/node_modules/prettier/plugins/acorn.mjs +13 -0
- package/template/lib/ts/node_modules/prettier/plugins/angular.d.ts +8 -0
- package/template/lib/ts/node_modules/prettier/plugins/angular.js +1 -0
- package/template/lib/ts/node_modules/prettier/plugins/angular.mjs +1 -0
- package/template/lib/ts/node_modules/prettier/plugins/babel.d.ts +18 -0
- package/template/lib/ts/node_modules/prettier/plugins/babel.js +16 -0
- package/template/lib/ts/node_modules/prettier/plugins/babel.mjs +16 -0
- package/template/lib/ts/node_modules/prettier/plugins/estree.d.ts +1 -0
- package/template/lib/ts/node_modules/prettier/plugins/estree.js +36 -0
- package/template/lib/ts/node_modules/prettier/plugins/estree.mjs +36 -0
- package/template/lib/ts/node_modules/prettier/plugins/flow.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/flow.js +21 -0
- package/template/lib/ts/node_modules/prettier/plugins/flow.mjs +21 -0
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.js +30 -0
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.mjs +30 -0
- package/template/lib/ts/node_modules/prettier/plugins/graphql.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/graphql.js +29 -0
- package/template/lib/ts/node_modules/prettier/plugins/graphql.mjs +29 -0
- package/template/lib/ts/node_modules/prettier/plugins/html.d.ts +8 -0
- package/template/lib/ts/node_modules/prettier/plugins/html.js +19 -0
- package/template/lib/ts/node_modules/prettier/plugins/html.mjs +19 -0
- package/template/lib/ts/node_modules/prettier/plugins/markdown.d.ts +7 -0
- package/template/lib/ts/node_modules/prettier/plugins/markdown.js +59 -0
- package/template/lib/ts/node_modules/prettier/plugins/markdown.mjs +59 -0
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.js +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.mjs +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/postcss.d.ts +7 -0
- package/template/lib/ts/node_modules/prettier/plugins/postcss.js +49 -0
- package/template/lib/ts/node_modules/prettier/plugins/postcss.mjs +49 -0
- package/template/lib/ts/node_modules/prettier/plugins/typescript.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/typescript.js +25 -0
- package/template/lib/ts/node_modules/prettier/plugins/typescript.mjs +25 -0
- package/template/lib/ts/node_modules/prettier/plugins/yaml.d.ts +5 -0
- package/template/lib/ts/node_modules/prettier/plugins/yaml.js +161 -0
- package/template/lib/ts/node_modules/prettier/plugins/yaml.mjs +161 -0
- package/template/lib/ts/node_modules/prettier/standalone.d.ts +33 -0
- package/template/lib/ts/node_modules/prettier/standalone.js +34 -0
- package/template/lib/ts/node_modules/prettier/standalone.mjs +34 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/LICENSE +21 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/README.md +50 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/index.js +67 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +17 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +12 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +41 -0
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/package.json +58 -0
- package/template/lib/workspace/packages/react/.stylelintrc +1 -1
- package/template/lib/workspace/packages/react/package.json +1 -1
- package/template/web-app/react/.stylelintrc +1 -1
- package/template/web-app/react/package.json +1 -1
- package/template/web-app/react-webpack/.stylelintrc +1 -1
- package/template/web-app/react-webpack/package.json +1 -1
- package/template/web-extension/.stylelintrc +1 -1
- package/template/web-extension/package.json +1 -1
- package/template/web-extension/vite.config.ts +1 -1
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview enforce a particular style for multiline comments
|
|
3
|
+
* @author Teddy Katz
|
|
4
|
+
*/
|
|
5
|
+
"use strict";
|
|
6
|
+
|
|
7
|
+
const astUtils = require("./utils/ast-utils");
|
|
8
|
+
|
|
9
|
+
//------------------------------------------------------------------------------
|
|
10
|
+
// Rule Definition
|
|
11
|
+
//------------------------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
/** @type {import('../shared/types').Rule} */
|
|
14
|
+
module.exports = {
|
|
15
|
+
meta: {
|
|
16
|
+
type: "suggestion",
|
|
17
|
+
|
|
18
|
+
docs: {
|
|
19
|
+
description: "Enforce a particular style for multiline comments",
|
|
20
|
+
recommended: false,
|
|
21
|
+
url: "https://eslint.org/docs/latest/rules/multiline-comment-style"
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
fixable: "whitespace",
|
|
25
|
+
schema: {
|
|
26
|
+
anyOf: [
|
|
27
|
+
{
|
|
28
|
+
type: "array",
|
|
29
|
+
items: [
|
|
30
|
+
{
|
|
31
|
+
enum: ["starred-block", "bare-block"]
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
additionalItems: false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
type: "array",
|
|
38
|
+
items: [
|
|
39
|
+
{
|
|
40
|
+
enum: ["separate-lines"]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
type: "object",
|
|
44
|
+
properties: {
|
|
45
|
+
checkJSDoc: {
|
|
46
|
+
type: "boolean"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
additionalProperties: false
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
additionalItems: false
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
messages: {
|
|
57
|
+
expectedBlock: "Expected a block comment instead of consecutive line comments.",
|
|
58
|
+
expectedBareBlock: "Expected a block comment without padding stars.",
|
|
59
|
+
startNewline: "Expected a linebreak after '/*'.",
|
|
60
|
+
endNewline: "Expected a linebreak before '*/'.",
|
|
61
|
+
missingStar: "Expected a '*' at the start of this line.",
|
|
62
|
+
alignment: "Expected this line to be aligned with the start of the comment.",
|
|
63
|
+
expectedLines: "Expected multiple line comments instead of a block comment."
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
|
|
67
|
+
create(context) {
|
|
68
|
+
const sourceCode = context.sourceCode;
|
|
69
|
+
const option = context.options[0] || "starred-block";
|
|
70
|
+
const params = context.options[1] || {};
|
|
71
|
+
const checkJSDoc = !!params.checkJSDoc;
|
|
72
|
+
|
|
73
|
+
//----------------------------------------------------------------------
|
|
74
|
+
// Helpers
|
|
75
|
+
//----------------------------------------------------------------------
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Checks if a comment line is starred.
|
|
79
|
+
* @param {string} line A string representing a comment line.
|
|
80
|
+
* @returns {boolean} Whether or not the comment line is starred.
|
|
81
|
+
*/
|
|
82
|
+
function isStarredCommentLine(line) {
|
|
83
|
+
return /^\s*\*/u.test(line);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Checks if a comment group is in starred-block form.
|
|
88
|
+
* @param {Token[]} commentGroup A group of comments, containing either multiple line comments or a single block comment.
|
|
89
|
+
* @returns {boolean} Whether or not the comment group is in starred block form.
|
|
90
|
+
*/
|
|
91
|
+
function isStarredBlockComment([firstComment]) {
|
|
92
|
+
if (firstComment.type !== "Block") {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const lines = firstComment.value.split(astUtils.LINEBREAK_MATCHER);
|
|
97
|
+
|
|
98
|
+
// The first and last lines can only contain whitespace.
|
|
99
|
+
return lines.length > 0 && lines.every((line, i) => (i === 0 || i === lines.length - 1 ? /^\s*$/u : /^\s*\*/u).test(line));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Checks if a comment group is in JSDoc form.
|
|
104
|
+
* @param {Token[]} commentGroup A group of comments, containing either multiple line comments or a single block comment.
|
|
105
|
+
* @returns {boolean} Whether or not the comment group is in JSDoc form.
|
|
106
|
+
*/
|
|
107
|
+
function isJSDocComment([firstComment]) {
|
|
108
|
+
if (firstComment.type !== "Block") {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
const lines = firstComment.value.split(astUtils.LINEBREAK_MATCHER);
|
|
113
|
+
|
|
114
|
+
return /^\*\s*$/u.test(lines[0]) &&
|
|
115
|
+
lines.slice(1, -1).every(line => /^\s* /u.test(line)) &&
|
|
116
|
+
/^\s*$/u.test(lines[lines.length - 1]);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Processes a comment group that is currently in separate-line form, calculating the offset for each line.
|
|
121
|
+
* @param {Token[]} commentGroup A group of comments containing multiple line comments.
|
|
122
|
+
* @returns {string[]} An array of the processed lines.
|
|
123
|
+
*/
|
|
124
|
+
function processSeparateLineComments(commentGroup) {
|
|
125
|
+
const allLinesHaveLeadingSpace = commentGroup
|
|
126
|
+
.map(({ value }) => value)
|
|
127
|
+
.filter(line => line.trim().length)
|
|
128
|
+
.every(line => line.startsWith(" "));
|
|
129
|
+
|
|
130
|
+
return commentGroup.map(({ value }) => (allLinesHaveLeadingSpace ? value.replace(/^ /u, "") : value));
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Processes a comment group that is currently in starred-block form, calculating the offset for each line.
|
|
135
|
+
* @param {Token} comment A single block comment token in starred-block form.
|
|
136
|
+
* @returns {string[]} An array of the processed lines.
|
|
137
|
+
*/
|
|
138
|
+
function processStarredBlockComment(comment) {
|
|
139
|
+
const lines = comment.value.split(astUtils.LINEBREAK_MATCHER)
|
|
140
|
+
.filter((line, i, linesArr) => !(i === 0 || i === linesArr.length - 1))
|
|
141
|
+
.map(line => line.replace(/^\s*$/u, ""));
|
|
142
|
+
const allLinesHaveLeadingSpace = lines
|
|
143
|
+
.map(line => line.replace(/\s*\*/u, ""))
|
|
144
|
+
.filter(line => line.trim().length)
|
|
145
|
+
.every(line => line.startsWith(" "));
|
|
146
|
+
|
|
147
|
+
return lines.map(line => line.replace(allLinesHaveLeadingSpace ? /\s*\* ?/u : /\s*\*/u, ""));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Processes a comment group that is currently in bare-block form, calculating the offset for each line.
|
|
152
|
+
* @param {Token} comment A single block comment token in bare-block form.
|
|
153
|
+
* @returns {string[]} An array of the processed lines.
|
|
154
|
+
*/
|
|
155
|
+
function processBareBlockComment(comment) {
|
|
156
|
+
const lines = comment.value.split(astUtils.LINEBREAK_MATCHER).map(line => line.replace(/^\s*$/u, ""));
|
|
157
|
+
const leadingWhitespace = `${sourceCode.text.slice(comment.range[0] - comment.loc.start.column, comment.range[0])} `;
|
|
158
|
+
let offset = "";
|
|
159
|
+
|
|
160
|
+
/*
|
|
161
|
+
* Calculate the offset of the least indented line and use that as the basis for offsetting all the lines.
|
|
162
|
+
* The first line should not be checked because it is inline with the opening block comment delimiter.
|
|
163
|
+
*/
|
|
164
|
+
for (const [i, line] of lines.entries()) {
|
|
165
|
+
if (!line.trim().length || i === 0) {
|
|
166
|
+
continue;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
const [, lineOffset] = line.match(/^(\s*\*?\s*)/u);
|
|
170
|
+
|
|
171
|
+
if (lineOffset.length < leadingWhitespace.length) {
|
|
172
|
+
const newOffset = leadingWhitespace.slice(lineOffset.length - leadingWhitespace.length);
|
|
173
|
+
|
|
174
|
+
if (newOffset.length > offset.length) {
|
|
175
|
+
offset = newOffset;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return lines.map(line => {
|
|
181
|
+
const match = line.match(/^(\s*\*?\s*)(.*)/u);
|
|
182
|
+
const [, lineOffset, lineContents] = match;
|
|
183
|
+
|
|
184
|
+
if (lineOffset.length > leadingWhitespace.length) {
|
|
185
|
+
return `${lineOffset.slice(leadingWhitespace.length - (offset.length + lineOffset.length))}${lineContents}`;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
if (lineOffset.length < leadingWhitespace.length) {
|
|
189
|
+
return `${lineOffset.slice(leadingWhitespace.length)}${lineContents}`;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
return lineContents;
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Gets a list of comment lines in a group, formatting leading whitespace as necessary.
|
|
198
|
+
* @param {Token[]} commentGroup A group of comments containing either multiple line comments or a single block comment.
|
|
199
|
+
* @returns {string[]} A list of comment lines.
|
|
200
|
+
*/
|
|
201
|
+
function getCommentLines(commentGroup) {
|
|
202
|
+
const [firstComment] = commentGroup;
|
|
203
|
+
|
|
204
|
+
if (firstComment.type === "Line") {
|
|
205
|
+
return processSeparateLineComments(commentGroup);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
if (isStarredBlockComment(commentGroup)) {
|
|
209
|
+
return processStarredBlockComment(firstComment);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
return processBareBlockComment(firstComment);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Gets the initial offset (whitespace) from the beginning of a line to a given comment token.
|
|
217
|
+
* @param {Token} comment The token to check.
|
|
218
|
+
* @returns {string} The offset from the beginning of a line to the token.
|
|
219
|
+
*/
|
|
220
|
+
function getInitialOffset(comment) {
|
|
221
|
+
return sourceCode.text.slice(comment.range[0] - comment.loc.start.column, comment.range[0]);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Converts a comment into starred-block form
|
|
226
|
+
* @param {Token} firstComment The first comment of the group being converted
|
|
227
|
+
* @param {string[]} commentLinesList A list of lines to appear in the new starred-block comment
|
|
228
|
+
* @returns {string} A representation of the comment value in starred-block form, excluding start and end markers
|
|
229
|
+
*/
|
|
230
|
+
function convertToStarredBlock(firstComment, commentLinesList) {
|
|
231
|
+
const initialOffset = getInitialOffset(firstComment);
|
|
232
|
+
|
|
233
|
+
return `/*\n${commentLinesList.map(line => `${initialOffset} * ${line}`).join("\n")}\n${initialOffset} */`;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Converts a comment into separate-line form
|
|
238
|
+
* @param {Token} firstComment The first comment of the group being converted
|
|
239
|
+
* @param {string[]} commentLinesList A list of lines to appear in the new starred-block comment
|
|
240
|
+
* @returns {string} A representation of the comment value in separate-line form
|
|
241
|
+
*/
|
|
242
|
+
function convertToSeparateLines(firstComment, commentLinesList) {
|
|
243
|
+
return commentLinesList.map(line => `// ${line}`).join(`\n${getInitialOffset(firstComment)}`);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Converts a comment into bare-block form
|
|
248
|
+
* @param {Token} firstComment The first comment of the group being converted
|
|
249
|
+
* @param {string[]} commentLinesList A list of lines to appear in the new starred-block comment
|
|
250
|
+
* @returns {string} A representation of the comment value in bare-block form
|
|
251
|
+
*/
|
|
252
|
+
function convertToBlock(firstComment, commentLinesList) {
|
|
253
|
+
return `/* ${commentLinesList.join(`\n${getInitialOffset(firstComment)} `)} */`;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Each method checks a group of comments to see if it's valid according to the given option.
|
|
258
|
+
* @param {Token[]} commentGroup A list of comments that appear together. This will either contain a single
|
|
259
|
+
* block comment or multiple line comments.
|
|
260
|
+
* @returns {void}
|
|
261
|
+
*/
|
|
262
|
+
const commentGroupCheckers = {
|
|
263
|
+
"starred-block"(commentGroup) {
|
|
264
|
+
const [firstComment] = commentGroup;
|
|
265
|
+
const commentLines = getCommentLines(commentGroup);
|
|
266
|
+
|
|
267
|
+
if (commentLines.some(value => value.includes("*/"))) {
|
|
268
|
+
return;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
if (commentGroup.length > 1) {
|
|
272
|
+
context.report({
|
|
273
|
+
loc: {
|
|
274
|
+
start: firstComment.loc.start,
|
|
275
|
+
end: commentGroup[commentGroup.length - 1].loc.end
|
|
276
|
+
},
|
|
277
|
+
messageId: "expectedBlock",
|
|
278
|
+
fix(fixer) {
|
|
279
|
+
const range = [firstComment.range[0], commentGroup[commentGroup.length - 1].range[1]];
|
|
280
|
+
|
|
281
|
+
return commentLines.some(value => value.startsWith("/"))
|
|
282
|
+
? null
|
|
283
|
+
: fixer.replaceTextRange(range, convertToStarredBlock(firstComment, commentLines));
|
|
284
|
+
}
|
|
285
|
+
});
|
|
286
|
+
} else {
|
|
287
|
+
const lines = firstComment.value.split(astUtils.LINEBREAK_MATCHER);
|
|
288
|
+
const expectedLeadingWhitespace = getInitialOffset(firstComment);
|
|
289
|
+
const expectedLinePrefix = `${expectedLeadingWhitespace} *`;
|
|
290
|
+
|
|
291
|
+
if (!/^\*?\s*$/u.test(lines[0])) {
|
|
292
|
+
const start = firstComment.value.startsWith("*") ? firstComment.range[0] + 1 : firstComment.range[0];
|
|
293
|
+
|
|
294
|
+
context.report({
|
|
295
|
+
loc: {
|
|
296
|
+
start: firstComment.loc.start,
|
|
297
|
+
end: { line: firstComment.loc.start.line, column: firstComment.loc.start.column + 2 }
|
|
298
|
+
},
|
|
299
|
+
messageId: "startNewline",
|
|
300
|
+
fix: fixer => fixer.insertTextAfterRange([start, start + 2], `\n${expectedLinePrefix}`)
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
if (!/^\s*$/u.test(lines[lines.length - 1])) {
|
|
305
|
+
context.report({
|
|
306
|
+
loc: {
|
|
307
|
+
start: { line: firstComment.loc.end.line, column: firstComment.loc.end.column - 2 },
|
|
308
|
+
end: firstComment.loc.end
|
|
309
|
+
},
|
|
310
|
+
messageId: "endNewline",
|
|
311
|
+
fix: fixer => fixer.replaceTextRange([firstComment.range[1] - 2, firstComment.range[1]], `\n${expectedLinePrefix}/`)
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
for (let lineNumber = firstComment.loc.start.line + 1; lineNumber <= firstComment.loc.end.line; lineNumber++) {
|
|
316
|
+
const lineText = sourceCode.lines[lineNumber - 1];
|
|
317
|
+
const errorType = isStarredCommentLine(lineText)
|
|
318
|
+
? "alignment"
|
|
319
|
+
: "missingStar";
|
|
320
|
+
|
|
321
|
+
if (!lineText.startsWith(expectedLinePrefix)) {
|
|
322
|
+
context.report({
|
|
323
|
+
loc: {
|
|
324
|
+
start: { line: lineNumber, column: 0 },
|
|
325
|
+
end: { line: lineNumber, column: lineText.length }
|
|
326
|
+
},
|
|
327
|
+
messageId: errorType,
|
|
328
|
+
fix(fixer) {
|
|
329
|
+
const lineStartIndex = sourceCode.getIndexFromLoc({ line: lineNumber, column: 0 });
|
|
330
|
+
|
|
331
|
+
if (errorType === "alignment") {
|
|
332
|
+
const [, commentTextPrefix = ""] = lineText.match(/^(\s*\*)/u) || [];
|
|
333
|
+
const commentTextStartIndex = lineStartIndex + commentTextPrefix.length;
|
|
334
|
+
|
|
335
|
+
return fixer.replaceTextRange([lineStartIndex, commentTextStartIndex], expectedLinePrefix);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
const [, commentTextPrefix = ""] = lineText.match(/^(\s*)/u) || [];
|
|
339
|
+
const commentTextStartIndex = lineStartIndex + commentTextPrefix.length;
|
|
340
|
+
let offset;
|
|
341
|
+
|
|
342
|
+
for (const [idx, line] of lines.entries()) {
|
|
343
|
+
if (!/\S+/u.test(line)) {
|
|
344
|
+
continue;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
const lineTextToAlignWith = sourceCode.lines[firstComment.loc.start.line - 1 + idx];
|
|
348
|
+
const [, prefix = "", initialOffset = ""] = lineTextToAlignWith.match(/^(\s*(?:\/?\*)?(\s*))/u) || [];
|
|
349
|
+
|
|
350
|
+
offset = `${commentTextPrefix.slice(prefix.length)}${initialOffset}`;
|
|
351
|
+
|
|
352
|
+
if (/^\s*\//u.test(lineText) && offset.length === 0) {
|
|
353
|
+
offset += " ";
|
|
354
|
+
}
|
|
355
|
+
break;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
return fixer.replaceTextRange([lineStartIndex, commentTextStartIndex], `${expectedLinePrefix}${offset}`);
|
|
359
|
+
}
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"separate-lines"(commentGroup) {
|
|
366
|
+
const [firstComment] = commentGroup;
|
|
367
|
+
|
|
368
|
+
const isJSDoc = isJSDocComment(commentGroup);
|
|
369
|
+
|
|
370
|
+
if (firstComment.type !== "Block" || (!checkJSDoc && isJSDoc)) {
|
|
371
|
+
return;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
let commentLines = getCommentLines(commentGroup);
|
|
375
|
+
|
|
376
|
+
if (isJSDoc) {
|
|
377
|
+
commentLines = commentLines.slice(1, commentLines.length - 1);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
const tokenAfter = sourceCode.getTokenAfter(firstComment, { includeComments: true });
|
|
381
|
+
|
|
382
|
+
if (tokenAfter && firstComment.loc.end.line === tokenAfter.loc.start.line) {
|
|
383
|
+
return;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
context.report({
|
|
387
|
+
loc: {
|
|
388
|
+
start: firstComment.loc.start,
|
|
389
|
+
end: { line: firstComment.loc.start.line, column: firstComment.loc.start.column + 2 }
|
|
390
|
+
},
|
|
391
|
+
messageId: "expectedLines",
|
|
392
|
+
fix(fixer) {
|
|
393
|
+
return fixer.replaceText(firstComment, convertToSeparateLines(firstComment, commentLines));
|
|
394
|
+
}
|
|
395
|
+
});
|
|
396
|
+
},
|
|
397
|
+
"bare-block"(commentGroup) {
|
|
398
|
+
if (isJSDocComment(commentGroup)) {
|
|
399
|
+
return;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
const [firstComment] = commentGroup;
|
|
403
|
+
const commentLines = getCommentLines(commentGroup);
|
|
404
|
+
|
|
405
|
+
// Disallows consecutive line comments in favor of using a block comment.
|
|
406
|
+
if (firstComment.type === "Line" && commentLines.length > 1 &&
|
|
407
|
+
!commentLines.some(value => value.includes("*/"))) {
|
|
408
|
+
context.report({
|
|
409
|
+
loc: {
|
|
410
|
+
start: firstComment.loc.start,
|
|
411
|
+
end: commentGroup[commentGroup.length - 1].loc.end
|
|
412
|
+
},
|
|
413
|
+
messageId: "expectedBlock",
|
|
414
|
+
fix(fixer) {
|
|
415
|
+
return fixer.replaceTextRange(
|
|
416
|
+
[firstComment.range[0], commentGroup[commentGroup.length - 1].range[1]],
|
|
417
|
+
convertToBlock(firstComment, commentLines)
|
|
418
|
+
);
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
// Prohibits block comments from having a * at the beginning of each line.
|
|
424
|
+
if (isStarredBlockComment(commentGroup)) {
|
|
425
|
+
context.report({
|
|
426
|
+
loc: {
|
|
427
|
+
start: firstComment.loc.start,
|
|
428
|
+
end: { line: firstComment.loc.start.line, column: firstComment.loc.start.column + 2 }
|
|
429
|
+
},
|
|
430
|
+
messageId: "expectedBareBlock",
|
|
431
|
+
fix(fixer) {
|
|
432
|
+
return fixer.replaceText(firstComment, convertToBlock(firstComment, commentLines));
|
|
433
|
+
}
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
//----------------------------------------------------------------------
|
|
440
|
+
// Public
|
|
441
|
+
//----------------------------------------------------------------------
|
|
442
|
+
|
|
443
|
+
return {
|
|
444
|
+
Program() {
|
|
445
|
+
return sourceCode.getAllComments()
|
|
446
|
+
.filter(comment => comment.type !== "Shebang")
|
|
447
|
+
.filter(comment => !astUtils.COMMENTS_IGNORE_PATTERN.test(comment.value))
|
|
448
|
+
.filter(comment => {
|
|
449
|
+
const tokenBefore = sourceCode.getTokenBefore(comment, { includeComments: true });
|
|
450
|
+
|
|
451
|
+
return !tokenBefore || tokenBefore.loc.end.line < comment.loc.start.line;
|
|
452
|
+
})
|
|
453
|
+
.reduce((commentGroups, comment, index, commentList) => {
|
|
454
|
+
const tokenBefore = sourceCode.getTokenBefore(comment, { includeComments: true });
|
|
455
|
+
|
|
456
|
+
if (
|
|
457
|
+
comment.type === "Line" &&
|
|
458
|
+
index && commentList[index - 1].type === "Line" &&
|
|
459
|
+
tokenBefore && tokenBefore.loc.end.line === comment.loc.start.line - 1 &&
|
|
460
|
+
tokenBefore === commentList[index - 1]
|
|
461
|
+
) {
|
|
462
|
+
commentGroups[commentGroups.length - 1].push(comment);
|
|
463
|
+
} else {
|
|
464
|
+
commentGroups.push([comment]);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
return commentGroups;
|
|
468
|
+
}, [])
|
|
469
|
+
.filter(commentGroup => !(commentGroup.length === 1 && commentGroup[0].loc.start.line === commentGroup[0].loc.end.line))
|
|
470
|
+
.forEach(commentGroupCheckers[option]);
|
|
471
|
+
}
|
|
472
|
+
};
|
|
473
|
+
}
|
|
474
|
+
};
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Enforce newlines between operands of ternary expressions
|
|
3
|
+
* @author Kai Cataldo
|
|
4
|
+
* @deprecated in ESLint v8.53.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
|
|
9
|
+
const astUtils = require("./utils/ast-utils");
|
|
10
|
+
|
|
11
|
+
//------------------------------------------------------------------------------
|
|
12
|
+
// Rule Definition
|
|
13
|
+
//------------------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
/** @type {import('../shared/types').Rule} */
|
|
16
|
+
module.exports = {
|
|
17
|
+
meta: {
|
|
18
|
+
deprecated: true,
|
|
19
|
+
replacedBy: [],
|
|
20
|
+
type: "layout",
|
|
21
|
+
|
|
22
|
+
docs: {
|
|
23
|
+
description: "Enforce newlines between operands of ternary expressions",
|
|
24
|
+
recommended: false,
|
|
25
|
+
url: "https://eslint.org/docs/latest/rules/multiline-ternary"
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
schema: [
|
|
29
|
+
{
|
|
30
|
+
enum: ["always", "always-multiline", "never"]
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
|
|
34
|
+
messages: {
|
|
35
|
+
expectedTestCons: "Expected newline between test and consequent of ternary expression.",
|
|
36
|
+
expectedConsAlt: "Expected newline between consequent and alternate of ternary expression.",
|
|
37
|
+
unexpectedTestCons: "Unexpected newline between test and consequent of ternary expression.",
|
|
38
|
+
unexpectedConsAlt: "Unexpected newline between consequent and alternate of ternary expression."
|
|
39
|
+
},
|
|
40
|
+
|
|
41
|
+
fixable: "whitespace"
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
create(context) {
|
|
45
|
+
const sourceCode = context.sourceCode;
|
|
46
|
+
const option = context.options[0];
|
|
47
|
+
const multiline = option !== "never";
|
|
48
|
+
const allowSingleLine = option === "always-multiline";
|
|
49
|
+
|
|
50
|
+
//--------------------------------------------------------------------------
|
|
51
|
+
// Public
|
|
52
|
+
//--------------------------------------------------------------------------
|
|
53
|
+
|
|
54
|
+
return {
|
|
55
|
+
ConditionalExpression(node) {
|
|
56
|
+
const questionToken = sourceCode.getTokenAfter(node.test, astUtils.isNotClosingParenToken);
|
|
57
|
+
const colonToken = sourceCode.getTokenAfter(node.consequent, astUtils.isNotClosingParenToken);
|
|
58
|
+
|
|
59
|
+
const firstTokenOfTest = sourceCode.getFirstToken(node);
|
|
60
|
+
const lastTokenOfTest = sourceCode.getTokenBefore(questionToken);
|
|
61
|
+
const firstTokenOfConsequent = sourceCode.getTokenAfter(questionToken);
|
|
62
|
+
const lastTokenOfConsequent = sourceCode.getTokenBefore(colonToken);
|
|
63
|
+
const firstTokenOfAlternate = sourceCode.getTokenAfter(colonToken);
|
|
64
|
+
|
|
65
|
+
const areTestAndConsequentOnSameLine = astUtils.isTokenOnSameLine(lastTokenOfTest, firstTokenOfConsequent);
|
|
66
|
+
const areConsequentAndAlternateOnSameLine = astUtils.isTokenOnSameLine(lastTokenOfConsequent, firstTokenOfAlternate);
|
|
67
|
+
|
|
68
|
+
const hasComments = !!sourceCode.getCommentsInside(node).length;
|
|
69
|
+
|
|
70
|
+
if (!multiline) {
|
|
71
|
+
if (!areTestAndConsequentOnSameLine) {
|
|
72
|
+
context.report({
|
|
73
|
+
node: node.test,
|
|
74
|
+
loc: {
|
|
75
|
+
start: firstTokenOfTest.loc.start,
|
|
76
|
+
end: lastTokenOfTest.loc.end
|
|
77
|
+
},
|
|
78
|
+
messageId: "unexpectedTestCons",
|
|
79
|
+
fix(fixer) {
|
|
80
|
+
if (hasComments) {
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
const fixers = [];
|
|
84
|
+
const areTestAndQuestionOnSameLine = astUtils.isTokenOnSameLine(lastTokenOfTest, questionToken);
|
|
85
|
+
const areQuestionAndConsOnSameLine = astUtils.isTokenOnSameLine(questionToken, firstTokenOfConsequent);
|
|
86
|
+
|
|
87
|
+
if (!areTestAndQuestionOnSameLine) {
|
|
88
|
+
fixers.push(fixer.removeRange([lastTokenOfTest.range[1], questionToken.range[0]]));
|
|
89
|
+
}
|
|
90
|
+
if (!areQuestionAndConsOnSameLine) {
|
|
91
|
+
fixers.push(fixer.removeRange([questionToken.range[1], firstTokenOfConsequent.range[0]]));
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
return fixers;
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (!areConsequentAndAlternateOnSameLine) {
|
|
100
|
+
context.report({
|
|
101
|
+
node: node.consequent,
|
|
102
|
+
loc: {
|
|
103
|
+
start: firstTokenOfConsequent.loc.start,
|
|
104
|
+
end: lastTokenOfConsequent.loc.end
|
|
105
|
+
},
|
|
106
|
+
messageId: "unexpectedConsAlt",
|
|
107
|
+
fix(fixer) {
|
|
108
|
+
if (hasComments) {
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
const fixers = [];
|
|
112
|
+
const areConsAndColonOnSameLine = astUtils.isTokenOnSameLine(lastTokenOfConsequent, colonToken);
|
|
113
|
+
const areColonAndAltOnSameLine = astUtils.isTokenOnSameLine(colonToken, firstTokenOfAlternate);
|
|
114
|
+
|
|
115
|
+
if (!areConsAndColonOnSameLine) {
|
|
116
|
+
fixers.push(fixer.removeRange([lastTokenOfConsequent.range[1], colonToken.range[0]]));
|
|
117
|
+
}
|
|
118
|
+
if (!areColonAndAltOnSameLine) {
|
|
119
|
+
fixers.push(fixer.removeRange([colonToken.range[1], firstTokenOfAlternate.range[0]]));
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
return fixers;
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
} else {
|
|
127
|
+
if (allowSingleLine && node.loc.start.line === node.loc.end.line) {
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
if (areTestAndConsequentOnSameLine) {
|
|
132
|
+
context.report({
|
|
133
|
+
node: node.test,
|
|
134
|
+
loc: {
|
|
135
|
+
start: firstTokenOfTest.loc.start,
|
|
136
|
+
end: lastTokenOfTest.loc.end
|
|
137
|
+
},
|
|
138
|
+
messageId: "expectedTestCons",
|
|
139
|
+
fix: fixer => (hasComments ? null : (
|
|
140
|
+
fixer.replaceTextRange(
|
|
141
|
+
[
|
|
142
|
+
lastTokenOfTest.range[1],
|
|
143
|
+
questionToken.range[0]
|
|
144
|
+
],
|
|
145
|
+
"\n"
|
|
146
|
+
)
|
|
147
|
+
))
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
if (areConsequentAndAlternateOnSameLine) {
|
|
152
|
+
context.report({
|
|
153
|
+
node: node.consequent,
|
|
154
|
+
loc: {
|
|
155
|
+
start: firstTokenOfConsequent.loc.start,
|
|
156
|
+
end: lastTokenOfConsequent.loc.end
|
|
157
|
+
},
|
|
158
|
+
messageId: "expectedConsAlt",
|
|
159
|
+
fix: (fixer => (hasComments ? null : (
|
|
160
|
+
fixer.replaceTextRange(
|
|
161
|
+
[
|
|
162
|
+
lastTokenOfConsequent.range[1],
|
|
163
|
+
colonToken.range[0]
|
|
164
|
+
],
|
|
165
|
+
"\n"
|
|
166
|
+
)
|
|
167
|
+
)))
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
};
|