create-packer 1.34.9 → 1.35.0
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/README.md +4 -4
- package/package.json +1 -1
- package/template/web-app/react-rspack/.env +2 -0
- package/template/web-app/react-rspack/.env.development +2 -0
- package/template/web-app/react-rspack/.eslintrc +120 -0
- package/template/web-app/react-rspack/README.md +14 -0
- package/template/web-app/react-rspack/domain/router/router.tsx +28 -0
- package/template/web-app/react-rspack/env.d.ts +17 -0
- package/template/web-app/react-rspack/index.html +12 -0
- package/template/web-app/react-rspack/package.json +83 -0
- package/template/web-app/react-rspack/public/rsbuild-logo.svg +1 -0
- package/template/web-app/react-rspack/rsbuild.config.ts +78 -0
- package/template/web-app/react-rspack/shared/service/home.ts +8 -0
- package/template/web-app/react-rspack/shared/service/request.ts +5 -0
- package/template/web-app/react-rspack/tsconfig.node.json +14 -0
- package/template/web-app/react-vite/.editorconfig +14 -0
- package/template/web-app/react-vite/.eslintignore +4 -0
- package/template/web-app/react-vite/.gitignore +28 -0
- package/template/web-app/react-vite/.husky/commit-msg +4 -0
- package/template/web-app/react-vite/.husky/pre-commit +4 -0
- package/template/web-app/react-vite/.prettierignore +6 -0
- package/template/web-app/react-vite/.prettierrc +12 -0
- package/template/web-app/react-vite/.stylelintignore +4 -0
- package/template/web-app/react-vite/.stylelintrc +24 -0
- package/template/web-app/react-vite/.vscode/extensions.json +8 -0
- package/template/web-app/react-vite/.vscode/settings.json +18 -0
- package/template/web-app/react-vite/commitlint.config.cjs +1 -0
- package/template/web-app/react-vite/domain/app/app.model.ts +7 -0
- package/template/web-app/react-vite/domain/app/app.styled.ts +3 -0
- package/template/web-app/react-vite/domain/app/components/app-context.tsx +17 -0
- package/template/web-app/react-vite/domain/app/components/app.tsx +24 -0
- package/template/web-app/react-vite/domain/app/components/index.ts +1 -0
- package/template/web-app/react-vite/domain/app/index.ts +2 -0
- package/template/web-app/react-vite/domain/router/home/ids.ts +3 -0
- package/template/web-app/react-vite/domain/router/home/index.ts +2 -0
- package/template/web-app/react-vite/domain/router/home/routes.tsx +13 -0
- package/template/web-app/react-vite/domain/router/ids.ts +6 -0
- package/template/web-app/react-vite/domain/router/index.ts +3 -0
- package/template/web-app/react-vite/domain/router/router.types.ts +3 -0
- package/template/web-app/react-vite/main.tsx +4 -0
- package/template/web-app/react-vite/pages/home/home.styled.ts +7 -0
- package/template/web-app/react-vite/pages/home/home.tsx +10 -0
- package/template/web-app/react-vite/pages/home/index.ts +1 -0
- package/template/web-app/react-vite/pages/index.tsx +18 -0
- package/template/web-app/react-vite/pages/not-found.tsx +3 -0
- package/template/web-app/react-vite/postcss.config.cjs +7 -0
- package/template/web-app/react-vite/scripts/createChunks.ts +26 -0
- package/template/web-app/react-vite/scripts/index.ts +1 -0
- package/template/web-app/react-vite/shared/assets/react.svg +1 -0
- package/template/web-app/react-vite/shared/components/index.ts +0 -0
- package/template/web-app/react-vite/shared/constant/index.ts +0 -0
- package/template/web-app/react-vite/shared/hooks/defineRouter/defineRouter.types.ts +33 -0
- package/template/web-app/react-vite/shared/hooks/defineRouter/deineRouter.tsx +160 -0
- package/template/web-app/react-vite/shared/hooks/defineRouter/index.ts +2 -0
- package/template/web-app/react-vite/shared/hooks/index.ts +6 -0
- package/template/web-app/react-vite/shared/hooks/useInterval.ts +26 -0
- package/template/web-app/react-vite/shared/hooks/useLoadingAction.ts +27 -0
- package/template/web-app/react-vite/shared/hooks/useLowPriorityState.ts +26 -0
- package/template/web-app/react-vite/shared/hooks/useSyncState.ts +15 -0
- package/template/web-app/react-vite/shared/hooks/useVisible.ts +27 -0
- package/template/web-app/react-vite/shared/service/api.ts +1 -0
- package/template/web-app/react-vite/shared/service/index.ts +3 -0
- package/template/web-app/react-vite/shared/theme/index.ts +1 -0
- package/template/web-app/react-vite/shared/theme/theme.styled.ts +56 -0
- package/template/web-app/react-vite/shared/tools/componentInstance.tsx +80 -0
- package/template/web-app/react-vite/shared/tools/index.ts +1 -0
- package/template/web-app/react-vite/shared/types/index.ts +1 -0
- package/template/web-app/react-vite/shared/types/utils.ts +2 -0
- package/template/web-app/react-vite/tsconfig.json +44 -0
- package/template/web-app/react-webpack/webpack.config.mjs +4 -5
- package/template/lib/react/node_modules/.bin/acorn +0 -17
- package/template/lib/react/node_modules/.bin/acorn.CMD +0 -12
- package/template/lib/react/node_modules/.bin/acorn.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/browserslist +0 -17
- package/template/lib/react/node_modules/.bin/browserslist.CMD +0 -12
- package/template/lib/react/node_modules/.bin/browserslist.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/esbuild +0 -17
- package/template/lib/react/node_modules/.bin/esbuild.CMD +0 -12
- package/template/lib/react/node_modules/.bin/esbuild.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/prettier +0 -17
- package/template/lib/react/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/react/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/sb +0 -17
- package/template/lib/react/node_modules/.bin/sb.CMD +0 -12
- package/template/lib/react/node_modules/.bin/sb.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/storybook +0 -17
- package/template/lib/react/node_modules/.bin/storybook.CMD +0 -12
- package/template/lib/react/node_modules/.bin/storybook.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/stylelint +0 -17
- package/template/lib/react/node_modules/.bin/stylelint.CMD +0 -12
- package/template/lib/react/node_modules/.bin/stylelint.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/tsc +0 -17
- package/template/lib/react/node_modules/.bin/tsc.CMD +0 -12
- package/template/lib/react/node_modules/.bin/tsc.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/tsserver +0 -17
- package/template/lib/react/node_modules/.bin/tsserver.CMD +0 -12
- package/template/lib/react/node_modules/.bin/tsserver.ps1 +0 -41
- package/template/lib/react/node_modules/.bin/vite +0 -17
- package/template/lib/react/node_modules/.bin/vite.CMD +0 -12
- package/template/lib/react/node_modules/.bin/vite.ps1 +0 -41
- package/template/lib/react/node_modules/eslint/LICENSE +0 -19
- package/template/lib/react/node_modules/eslint/README.md +0 -304
- package/template/lib/react/node_modules/eslint/bin/eslint.js +0 -173
- package/template/lib/react/node_modules/eslint/conf/config-schema.js +0 -93
- package/template/lib/react/node_modules/eslint/conf/default-cli-options.js +0 -32
- package/template/lib/react/node_modules/eslint/conf/globals.js +0 -154
- package/template/lib/react/node_modules/eslint/conf/replacements.json +0 -22
- package/template/lib/react/node_modules/eslint/conf/rule-type-list.json +0 -28
- package/template/lib/react/node_modules/eslint/lib/api.js +0 -26
- package/template/lib/react/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1078
- package/template/lib/react/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -547
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +0 -46
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -351
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
- package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
- package/template/lib/react/node_modules/eslint/lib/cli-engine/hash.js +0 -35
- package/template/lib/react/node_modules/eslint/lib/cli-engine/index.js +0 -7
- package/template/lib/react/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -203
- package/template/lib/react/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
- package/template/lib/react/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
- package/template/lib/react/node_modules/eslint/lib/cli.js +0 -471
- package/template/lib/react/node_modules/eslint/lib/config/default-config.js +0 -67
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-array.js +0 -274
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-helpers.js +0 -111
- package/template/lib/react/node_modules/eslint/lib/config/flat-config-schema.js +0 -583
- package/template/lib/react/node_modules/eslint/lib/config/rule-validator.js +0 -158
- package/template/lib/react/node_modules/eslint/lib/eslint/eslint-helpers.js +0 -902
- package/template/lib/react/node_modules/eslint/lib/eslint/eslint.js +0 -700
- package/template/lib/react/node_modules/eslint/lib/eslint/flat-eslint.js +0 -1142
- package/template/lib/react/node_modules/eslint/lib/eslint/index.js +0 -9
- package/template/lib/react/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -465
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -852
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -263
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -2348
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -342
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -349
- package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
- package/template/lib/react/node_modules/eslint/lib/linter/config-comment-parser.js +0 -185
- package/template/lib/react/node_modules/eslint/lib/linter/index.js +0 -13
- package/template/lib/react/node_modules/eslint/lib/linter/interpolate.js +0 -28
- package/template/lib/react/node_modules/eslint/lib/linter/linter.js +0 -2119
- package/template/lib/react/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
- package/template/lib/react/node_modules/eslint/lib/linter/report-translator.js +0 -369
- package/template/lib/react/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
- package/template/lib/react/node_modules/eslint/lib/linter/rules.js +0 -80
- package/template/lib/react/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
- package/template/lib/react/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
- package/template/lib/react/node_modules/eslint/lib/linter/timing.js +0 -161
- package/template/lib/react/node_modules/eslint/lib/options.js +0 -398
- package/template/lib/react/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1122
- package/template/lib/react/node_modules/eslint/lib/rule-tester/index.js +0 -5
- package/template/lib/react/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1206
- package/template/lib/react/node_modules/eslint/lib/rules/accessor-pairs.js +0 -346
- package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -261
- package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -244
- package/template/lib/react/node_modules/eslint/lib/rules/array-callback-return.js +0 -446
- package/template/lib/react/node_modules/eslint/lib/rules/array-element-newline.js +0 -311
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-parens.js +0 -186
- package/template/lib/react/node_modules/eslint/lib/rules/arrow-spacing.js +0 -164
- package/template/lib/react/node_modules/eslint/lib/rules/block-scoped-var.js +0 -135
- package/template/lib/react/node_modules/eslint/lib/rules/block-spacing.js +0 -174
- package/template/lib/react/node_modules/eslint/lib/rules/brace-style.js +0 -197
- package/template/lib/react/node_modules/eslint/lib/rules/callback-return.js +0 -187
- package/template/lib/react/node_modules/eslint/lib/rules/camelcase.js +0 -399
- package/template/lib/react/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
- package/template/lib/react/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
- package/template/lib/react/node_modules/eslint/lib/rules/comma-dangle.js +0 -373
- package/template/lib/react/node_modules/eslint/lib/rules/comma-spacing.js +0 -192
- package/template/lib/react/node_modules/eslint/lib/rules/comma-style.js +0 -314
- package/template/lib/react/node_modules/eslint/lib/rules/complexity.js +0 -165
- package/template/lib/react/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -208
- package/template/lib/react/node_modules/eslint/lib/rules/consistent-return.js +0 -210
- package/template/lib/react/node_modules/eslint/lib/rules/consistent-this.js +0 -153
- package/template/lib/react/node_modules/eslint/lib/rules/constructor-super.js +0 -446
- package/template/lib/react/node_modules/eslint/lib/rules/curly.js +0 -486
- package/template/lib/react/node_modules/eslint/lib/rules/default-case-last.js +0 -44
- package/template/lib/react/node_modules/eslint/lib/rules/default-case.js +0 -97
- package/template/lib/react/node_modules/eslint/lib/rules/default-param-last.js +0 -62
- package/template/lib/react/node_modules/eslint/lib/rules/dot-location.js +0 -108
- package/template/lib/react/node_modules/eslint/lib/rules/dot-notation.js +0 -176
- package/template/lib/react/node_modules/eslint/lib/rules/eol-last.js +0 -115
- package/template/lib/react/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
- package/template/lib/react/node_modules/eslint/lib/rules/for-direction.js +0 -140
- package/template/lib/react/node_modules/eslint/lib/rules/func-call-spacing.js +0 -233
- package/template/lib/react/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
- package/template/lib/react/node_modules/eslint/lib/rules/func-names.js +0 -191
- package/template/lib/react/node_modules/eslint/lib/rules/func-style.js +0 -98
- package/template/lib/react/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -125
- package/template/lib/react/node_modules/eslint/lib/rules/function-paren-newline.js +0 -292
- package/template/lib/react/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -209
- package/template/lib/react/node_modules/eslint/lib/rules/getter-return.js +0 -204
- package/template/lib/react/node_modules/eslint/lib/rules/global-require.js +0 -90
- package/template/lib/react/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -215
- package/template/lib/react/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
- package/template/lib/react/node_modules/eslint/lib/rules/handle-callback-err.js +0 -101
- package/template/lib/react/node_modules/eslint/lib/rules/id-blacklist.js +0 -246
- package/template/lib/react/node_modules/eslint/lib/rules/id-denylist.js +0 -228
- package/template/lib/react/node_modules/eslint/lib/rules/id-length.js +0 -177
- package/template/lib/react/node_modules/eslint/lib/rules/id-match.js +0 -299
- package/template/lib/react/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -84
- package/template/lib/react/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
- package/template/lib/react/node_modules/eslint/lib/rules/indent.js +0 -1803
- package/template/lib/react/node_modules/eslint/lib/rules/index.js +0 -306
- package/template/lib/react/node_modules/eslint/lib/rules/init-declarations.js +0 -139
- package/template/lib/react/node_modules/eslint/lib/rules/jsx-quotes.js +0 -98
- package/template/lib/react/node_modules/eslint/lib/rules/key-spacing.js +0 -687
- package/template/lib/react/node_modules/eslint/lib/rules/keyword-spacing.js +0 -640
- package/template/lib/react/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
- package/template/lib/react/node_modules/eslint/lib/rules/linebreak-style.js +0 -108
- package/template/lib/react/node_modules/eslint/lib/rules/lines-around-comment.js +0 -471
- package/template/lib/react/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
- package/template/lib/react/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -269
- package/template/lib/react/node_modules/eslint/lib/rules/logical-assignment-operators.js +0 -504
- package/template/lib/react/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
- package/template/lib/react/node_modules/eslint/lib/rules/max-depth.js +0 -156
- package/template/lib/react/node_modules/eslint/lib/rules/max-len.js +0 -440
- package/template/lib/react/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
- package/template/lib/react/node_modules/eslint/lib/rules/max-lines.js +0 -193
- package/template/lib/react/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
- package/template/lib/react/node_modules/eslint/lib/rules/max-params.js +0 -102
- package/template/lib/react/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -199
- package/template/lib/react/node_modules/eslint/lib/rules/max-statements.js +0 -184
- package/template/lib/react/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -474
- package/template/lib/react/node_modules/eslint/lib/rules/multiline-ternary.js +0 -174
- package/template/lib/react/node_modules/eslint/lib/rules/new-cap.js +0 -276
- package/template/lib/react/node_modules/eslint/lib/rules/new-parens.js +0 -93
- package/template/lib/react/node_modules/eslint/lib/rules/newline-after-var.js +0 -253
- package/template/lib/react/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
- package/template/lib/react/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -126
- package/template/lib/react/node_modules/eslint/lib/rules/no-alert.js +0 -138
- package/template/lib/react/node_modules/eslint/lib/rules/no-array-constructor.js +0 -133
- package/template/lib/react/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
- package/template/lib/react/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
- package/template/lib/react/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
- package/template/lib/react/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
- package/template/lib/react/node_modules/eslint/lib/rules/no-caller.js +0 -46
- package/template/lib/react/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
- package/template/lib/react/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -82
- package/template/lib/react/node_modules/eslint/lib/rules/no-class-assign.js +0 -63
- package/template/lib/react/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
- package/template/lib/react/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -92
- package/template/lib/react/node_modules/eslint/lib/rules/no-console.js +0 -207
- package/template/lib/react/node_modules/eslint/lib/rules/no-const-assign.js +0 -56
- package/template/lib/react/node_modules/eslint/lib/rules/no-constant-binary-expression.js +0 -509
- package/template/lib/react/node_modules/eslint/lib/rules/no-constant-condition.js +0 -150
- package/template/lib/react/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
- package/template/lib/react/node_modules/eslint/lib/rules/no-continue.js +0 -39
- package/template/lib/react/node_modules/eslint/lib/rules/no-control-regex.js +0 -138
- package/template/lib/react/node_modules/eslint/lib/rules/no-debugger.js +0 -43
- package/template/lib/react/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
- package/template/lib/react/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-args.js +0 -82
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
- package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
- package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
- package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
- package/template/lib/react/node_modules/eslint/lib/rules/no-else-return.js +0 -405
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -76
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -78
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty-static-block.js +0 -47
- package/template/lib/react/node_modules/eslint/lib/rules/no-empty.js +0 -103
- package/template/lib/react/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
- package/template/lib/react/node_modules/eslint/lib/rules/no-eval.js +0 -286
- package/template/lib/react/node_modules/eslint/lib/rules/no-ex-assign.js +0 -54
- package/template/lib/react/node_modules/eslint/lib/rules/no-extend-native.js +0 -179
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1322
- package/template/lib/react/node_modules/eslint/lib/rules/no-extra-semi.js +0 -147
- package/template/lib/react/node_modules/eslint/lib/rules/no-fallthrough.js +0 -196
- package/template/lib/react/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -73
- package/template/lib/react/node_modules/eslint/lib/rules/no-func-assign.js +0 -78
- package/template/lib/react/node_modules/eslint/lib/rules/no-global-assign.js +0 -95
- package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -380
- package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -146
- package/template/lib/react/node_modules/eslint/lib/rules/no-implied-eval.js +0 -132
- package/template/lib/react/node_modules/eslint/lib/rules/no-import-assign.js +0 -241
- package/template/lib/react/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
- package/template/lib/react/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
- package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -194
- package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
- package/template/lib/react/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -276
- package/template/lib/react/node_modules/eslint/lib/rules/no-iterator.js +0 -52
- package/template/lib/react/node_modules/eslint/lib/rules/no-label-var.js +0 -80
- package/template/lib/react/node_modules/eslint/lib/rules/no-labels.js +0 -149
- package/template/lib/react/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -136
- package/template/lib/react/node_modules/eslint/lib/rules/no-lonely-if.js +0 -88
- package/template/lib/react/node_modules/eslint/lib/rules/no-loop-func.js +0 -206
- package/template/lib/react/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -214
- package/template/lib/react/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -243
- package/template/lib/react/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -300
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -229
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
- package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -116
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -141
- package/template/lib/react/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
- package/template/lib/react/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -154
- package/template/lib/react/node_modules/eslint/lib/rules/no-native-reassign.js +0 -98
- package/template/lib/react/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
- package/template/lib/react/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
- package/template/lib/react/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-func.js +0 -87
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +0 -66
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-object.js +0 -67
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-require.js +0 -50
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-symbol.js +0 -56
- package/template/lib/react/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/rules/no-new.js +0 -43
- package/template/lib/react/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
- package/template/lib/react/node_modules/eslint/lib/rules/no-obj-calls.js +0 -86
- package/template/lib/react/node_modules/eslint/lib/rules/no-object-constructor.js +0 -117
- package/template/lib/react/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
- package/template/lib/react/node_modules/eslint/lib/rules/no-octal.js +0 -45
- package/template/lib/react/node_modules/eslint/lib/rules/no-param-reassign.js +0 -230
- package/template/lib/react/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
- package/template/lib/react/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
- package/template/lib/react/node_modules/eslint/lib/rules/no-process-env.js +0 -51
- package/template/lib/react/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
- package/template/lib/react/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -263
- package/template/lib/react/node_modules/eslint/lib/rules/no-proto.js +0 -48
- package/template/lib/react/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -159
- package/template/lib/react/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
- package/template/lib/react/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -197
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -193
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -124
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -410
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -213
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -168
- package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
- package/template/lib/react/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
- package/template/lib/react/node_modules/eslint/lib/rules/no-return-await.js +0 -135
- package/template/lib/react/node_modules/eslint/lib/rules/no-script-url.js +0 -61
- package/template/lib/react/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
- package/template/lib/react/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/rules/no-sequences.js +0 -138
- package/template/lib/react/node_modules/eslint/lib/rules/no-setter-return.js +0 -226
- package/template/lib/react/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -65
- package/template/lib/react/node_modules/eslint/lib/rules/no-shadow.js +0 -336
- package/template/lib/react/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
- package/template/lib/react/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
- package/template/lib/react/node_modules/eslint/lib/rules/no-sync.js +0 -64
- package/template/lib/react/node_modules/eslint/lib/rules/no-tabs.js +0 -81
- package/template/lib/react/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
- package/template/lib/react/node_modules/eslint/lib/rules/no-ternary.js +0 -41
- package/template/lib/react/node_modules/eslint/lib/rules/no-this-before-super.js +0 -331
- package/template/lib/react/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
- package/template/lib/react/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -193
- package/template/lib/react/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
- package/template/lib/react/node_modules/eslint/lib/rules/no-undef.js +0 -79
- package/template/lib/react/node_modules/eslint/lib/rules/no-undefined.js +0 -86
- package/template/lib/react/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -335
- package/template/lib/react/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
- package/template/lib/react/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
- package/template/lib/react/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
- package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -185
- package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable.js +0 -293
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
- package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -186
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-labels.js +0 -143
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
- package/template/lib/react/node_modules/eslint/lib/rules/no-unused-vars.js +0 -718
- package/template/lib/react/node_modules/eslint/lib/rules/no-use-before-define.js +0 -348
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -194
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-escape.js +0 -333
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
- package/template/lib/react/node_modules/eslint/lib/rules/no-useless-return.js +0 -364
- package/template/lib/react/node_modules/eslint/lib/rules/no-var.js +0 -334
- package/template/lib/react/node_modules/eslint/lib/rules/no-void.js +0 -64
- package/template/lib/react/node_modules/eslint/lib/rules/no-warning-comments.js +0 -201
- package/template/lib/react/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -116
- package/template/lib/react/node_modules/eslint/lib/rules/no-with.js +0 -39
- package/template/lib/react/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -127
- package/template/lib/react/node_modules/eslint/lib/rules/object-curly-newline.js +0 -324
- package/template/lib/react/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -311
- package/template/lib/react/node_modules/eslint/lib/rules/object-property-newline.js +0 -102
- package/template/lib/react/node_modules/eslint/lib/rules/object-shorthand.js +0 -520
- package/template/lib/react/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -95
- package/template/lib/react/node_modules/eslint/lib/rules/one-var.js +0 -567
- package/template/lib/react/node_modules/eslint/lib/rules/operator-assignment.js +0 -209
- package/template/lib/react/node_modules/eslint/lib/rules/operator-linebreak.js +0 -253
- package/template/lib/react/node_modules/eslint/lib/rules/padded-blocks.js +0 -310
- package/template/lib/react/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -590
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -381
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-const.js +0 -501
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -191
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -178
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -114
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -298
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -132
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -507
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -118
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
- package/template/lib/react/node_modules/eslint/lib/rules/prefer-template.js +0 -275
- package/template/lib/react/node_modules/eslint/lib/rules/quote-props.js +0 -310
- package/template/lib/react/node_modules/eslint/lib/rules/quotes.js +0 -350
- package/template/lib/react/node_modules/eslint/lib/rules/radix.js +0 -198
- package/template/lib/react/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -331
- package/template/lib/react/node_modules/eslint/lib/rules/require-await.js +0 -113
- package/template/lib/react/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
- package/template/lib/react/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -129
- package/template/lib/react/node_modules/eslint/lib/rules/require-yield.js +0 -77
- package/template/lib/react/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -123
- package/template/lib/react/node_modules/eslint/lib/rules/semi-spacing.js +0 -248
- package/template/lib/react/node_modules/eslint/lib/rules/semi-style.js +0 -158
- package/template/lib/react/node_modules/eslint/lib/rules/semi.js +0 -438
- package/template/lib/react/node_modules/eslint/lib/rules/sort-imports.js +0 -241
- package/template/lib/react/node_modules/eslint/lib/rules/sort-keys.js +0 -230
- package/template/lib/react/node_modules/eslint/lib/rules/sort-vars.js +0 -104
- package/template/lib/react/node_modules/eslint/lib/rules/space-before-blocks.js +0 -204
- package/template/lib/react/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -167
- package/template/lib/react/node_modules/eslint/lib/rules/space-in-parens.js +0 -285
- package/template/lib/react/node_modules/eslint/lib/rules/space-infix-ops.js +0 -198
- package/template/lib/react/node_modules/eslint/lib/rules/space-unary-ops.js +0 -324
- package/template/lib/react/node_modules/eslint/lib/rules/spaced-comment.js +0 -385
- package/template/lib/react/node_modules/eslint/lib/rules/strict.js +0 -277
- package/template/lib/react/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -132
- package/template/lib/react/node_modules/eslint/lib/rules/symbol-description.js +0 -73
- package/template/lib/react/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -144
- package/template/lib/react/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -93
- package/template/lib/react/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
- package/template/lib/react/node_modules/eslint/lib/rules/use-isnan.js +0 -141
- package/template/lib/react/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -2282
- package/template/lib/react/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
- package/template/lib/react/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
- package/template/lib/react/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
- package/template/lib/react/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
- package/template/lib/react/node_modules/eslint/lib/rules/utils/regular-expressions.js +0 -42
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
- package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
- package/template/lib/react/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
- package/template/lib/react/node_modules/eslint/lib/rules/valid-typeof.js +0 -127
- package/template/lib/react/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
- package/template/lib/react/node_modules/eslint/lib/rules/wrap-iife.js +0 -207
- package/template/lib/react/node_modules/eslint/lib/rules/wrap-regex.js +0 -61
- package/template/lib/react/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -130
- package/template/lib/react/node_modules/eslint/lib/rules/yoda.js +0 -353
- package/template/lib/react/node_modules/eslint/lib/shared/ajv.js +0 -34
- package/template/lib/react/node_modules/eslint/lib/shared/ast-utils.js +0 -29
- package/template/lib/react/node_modules/eslint/lib/shared/config-validator.js +0 -347
- package/template/lib/react/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -58
- package/template/lib/react/node_modules/eslint/lib/shared/directives.js +0 -15
- package/template/lib/react/node_modules/eslint/lib/shared/logging.js +0 -30
- package/template/lib/react/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
- package/template/lib/react/node_modules/eslint/lib/shared/runtime-info.js +0 -167
- package/template/lib/react/node_modules/eslint/lib/shared/severity.js +0 -49
- package/template/lib/react/node_modules/eslint/lib/shared/string-utils.js +0 -60
- package/template/lib/react/node_modules/eslint/lib/shared/traverser.js +0 -195
- package/template/lib/react/node_modules/eslint/lib/shared/types.js +0 -216
- package/template/lib/react/node_modules/eslint/lib/source-code/index.js +0 -5
- package/template/lib/react/node_modules/eslint/lib/source-code/source-code.js +0 -1055
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
- package/template/lib/react/node_modules/eslint/lib/source-code/token-store/utils.js +0 -107
- package/template/lib/react/node_modules/eslint/lib/unsupported-api.js +0 -30
- package/template/lib/react/node_modules/eslint/messages/all-files-ignored.js +0 -16
- package/template/lib/react/node_modules/eslint/messages/eslintrc-incompat.js +0 -98
- package/template/lib/react/node_modules/eslint/messages/eslintrc-plugins.js +0 -24
- package/template/lib/react/node_modules/eslint/messages/extend-config-missing.js +0 -13
- package/template/lib/react/node_modules/eslint/messages/failed-to-read-json.js +0 -11
- package/template/lib/react/node_modules/eslint/messages/file-not-found.js +0 -10
- package/template/lib/react/node_modules/eslint/messages/invalid-rule-options.js +0 -17
- package/template/lib/react/node_modules/eslint/messages/invalid-rule-severity.js +0 -13
- package/template/lib/react/node_modules/eslint/messages/no-config-found.js +0 -15
- package/template/lib/react/node_modules/eslint/messages/plugin-conflict.js +0 -22
- package/template/lib/react/node_modules/eslint/messages/plugin-invalid.js +0 -16
- package/template/lib/react/node_modules/eslint/messages/plugin-missing.js +0 -19
- package/template/lib/react/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
- package/template/lib/react/node_modules/eslint/messages/shared.js +0 -18
- package/template/lib/react/node_modules/eslint/messages/whitespace-found.js +0 -11
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml +0 -17
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.CMD +0 -12
- package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +0 -41
- package/template/lib/react/node_modules/eslint/package.json +0 -179
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/LICENSE +0 -5
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/README.md +0 -232
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.cjs +0 -278
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +0 -20
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +0 -251
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js +0 -252
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js.map +0 -1
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/package.json +0 -108
- package/template/lib/react/node_modules/eslint-import-resolver-typescript/shim.d.ts +0 -4
- package/template/lib/react/node_modules/eslint-plugin-import/CHANGELOG.md +0 -1925
- package/template/lib/react/node_modules/eslint-plugin-import/CONTRIBUTING.md +0 -84
- package/template/lib/react/node_modules/eslint-plugin-import/LICENSE +0 -22
- package/template/lib/react/node_modules/eslint-plugin-import/README.md +0 -500
- package/template/lib/react/node_modules/eslint-plugin-import/RELEASE.md +0 -54
- package/template/lib/react/node_modules/eslint-plugin-import/SECURITY.md +0 -11
- package/template/lib/react/node_modules/eslint-plugin-import/config/electron.js +0 -8
- package/template/lib/react/node_modules/eslint-plugin-import/config/errors.js +0 -14
- package/template/lib/react/node_modules/eslint-plugin-import/config/react-native.js +0 -13
- package/template/lib/react/node_modules/eslint-plugin-import/config/react.js +0 -18
- package/template/lib/react/node_modules/eslint-plugin-import/config/recommended.js +0 -28
- package/template/lib/react/node_modules/eslint-plugin-import/config/stage-0.js +0 -12
- package/template/lib/react/node_modules/eslint-plugin-import/config/typescript.js +0 -34
- package/template/lib/react/node_modules/eslint-plugin-import/config/warnings.js +0 -12
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +0 -91
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/default.md +0 -72
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +0 -92
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/export.md +0 -37
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/exports-last.md +0 -51
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/extensions.md +0 -174
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/first.md +0 -75
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/group-exports.md +0 -118
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/imports-first.md +0 -9
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +0 -70
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/named.md +0 -102
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/namespace.md +0 -106
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +0 -167
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +0 -54
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-amd.md +0 -37
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +0 -83
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +0 -96
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +0 -111
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +0 -65
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +0 -62
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +0 -109
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +0 -25
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +0 -49
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +0 -139
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +0 -81
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +0 -136
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +0 -54
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +0 -52
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +0 -53
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +0 -36
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +0 -79
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +0 -44
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +0 -42
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +0 -70
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +0 -123
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +0 -198
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +0 -32
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +0 -60
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +0 -110
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +0 -125
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +0 -85
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +0 -39
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/order.md +0 -365
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +0 -185
- package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +0 -57
- package/template/lib/react/node_modules/eslint-plugin-import/lib/ExportMap.js +0 -856
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/importType.js +0 -129
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/packagePath.js +0 -22
- package/template/lib/react/node_modules/eslint-plugin-import/lib/core/staticRequire.js +0 -11
- package/template/lib/react/node_modules/eslint-plugin-import/lib/docsUrl.js +0 -8
- package/template/lib/react/node_modules/eslint-plugin-import/lib/importDeclaration.js +0 -5
- package/template/lib/react/node_modules/eslint-plugin-import/lib/index.js +0 -71
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +0 -221
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/default.js +0 -40
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +0 -120
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/export.js +0 -250
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/exports-last.js +0 -40
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/extensions.js +0 -193
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/first.js +0 -144
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/group-exports.js +0 -155
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/imports-first.js +0 -16
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +0 -60
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/named.js +0 -143
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/namespace.js +0 -218
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +0 -237
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +0 -40
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-amd.js +0 -47
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +0 -103
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +0 -141
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +0 -158
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +0 -43
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +0 -138
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +0 -354
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +0 -77
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +0 -105
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +0 -301
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +0 -85
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +0 -144
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +0 -59
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +0 -96
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +0 -45
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +0 -31
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +0 -39
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +0 -175
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +0 -44
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +0 -71
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +0 -48
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +0 -245
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +0 -39
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +0 -79
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +0 -60
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +0 -945
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +0 -147
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +0 -26
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/order.js +0 -785
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +0 -116
- package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +0 -38
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/LICENSE +0 -22
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/README.md +0 -21
- package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/index.js +0 -41
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver +0 -17
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-import/package.json +0 -124
- package/template/lib/react/node_modules/eslint-plugin-prettier/LICENSE.md +0 -24
- package/template/lib/react/node_modules/eslint-plugin-prettier/README.md +0 -202
- package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +0 -5
- package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +0 -254
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +0 -17
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +0 -17
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-prettier/package.json +0 -101
- package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.d.ts +0 -5
- package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.js +0 -17
- package/template/lib/react/node_modules/eslint-plugin-prettier/worker.js +0 -181
- package/template/lib/react/node_modules/eslint-plugin-react/LICENSE +0 -22
- package/template/lib/react/node_modules/eslint-plugin-react/README.md +0 -420
- package/template/lib/react/node_modules/eslint-plugin-react/configs/all.js +0 -39
- package/template/lib/react/node_modules/eslint-plugin-react/configs/jsx-runtime.js +0 -18
- package/template/lib/react/node_modules/eslint-plugin-react/configs/recommended.js +0 -34
- package/template/lib/react/node_modules/eslint-plugin-react/index.js +0 -31
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.js +0 -400
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/button-has-type.js +0 -163
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.js +0 -108
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.js +0 -280
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/display-name.js +0 -283
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js +0 -134
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.js +0 -121
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-elements.js +0 -114
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js +0 -134
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.js +0 -293
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/function-component-definition.js +0 -284
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/hook-use-state.js +0 -203
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.js +0 -142
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/index.js +0 -106
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.js +0 -159
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.js +0 -116
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js +0 -308
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.js +0 -73
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js +0 -414
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.js +0 -184
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.js +0 -430
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.js +0 -110
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.js +0 -110
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js +0 -80
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js +0 -209
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.js +0 -171
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js +0 -213
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent.js +0 -441
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-key.js +0 -293
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js +0 -162
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.js +0 -154
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-newline.js +0 -168
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js +0 -208
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js +0 -64
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js +0 -225
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js +0 -76
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.js +0 -186
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.js +0 -195
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.js +0 -97
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.js +0 -283
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.js +0 -115
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js +0 -257
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js +0 -233
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js +0 -163
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js +0 -134
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.js +0 -141
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.js +0 -188
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js +0 -530
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js +0 -96
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js +0 -323
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-react.js +0 -46
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-vars.js +0 -60
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.js +0 -260
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.js +0 -187
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js +0 -125
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.js +0 -288
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.js +0 -144
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js +0 -119
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js +0 -155
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger.js +0 -74
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js +0 -258
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.js +0 -10
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js +0 -10
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.js +0 -154
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.js +0 -50
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.js +0 -639
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js +0 -55
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.js +0 -80
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-namespace.js +0 -61
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.js +0 -103
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.js +0 -87
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.js +0 -81
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-set-state.js +0 -88
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-string-refs.js +0 -119
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.js +0 -46
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-typos.js +0 -257
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.js +0 -133
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.js +0 -609
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unsafe.js +0 -153
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unstable-nested-components.js +0 -491
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-class-component-methods.js +0 -257
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-prop-types.js +0 -173
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-state.js +0 -522
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-will-update-set-state.js +0 -14
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-es6-class.js +0 -57
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-exact-props.js +0 -161
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-read-only-props.js +0 -116
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-stateless-function.js +0 -390
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prop-types.js +0 -201
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/react-in-jsx-scope.js +0 -56
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-default-props.js +0 -193
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-optimization.js +0 -239
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-render-return.js +0 -104
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/self-closing-comp.js +0 -103
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-comp.js +0 -446
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-default-props.js +0 -174
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-prop-types.js +0 -266
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/state-in-constructor.js +0 -67
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/static-property-placement.js +0 -187
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/style-prop-object.js +0 -137
- package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/void-dom-elements-no-children.js +0 -165
- package/template/lib/react/node_modules/eslint-plugin-react/lib/types.d.ts +0 -28
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/Components.js +0 -946
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/annotations.js +0 -32
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/ast.js +0 -461
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/componentUtil.js +0 -182
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/defaultProps.js +0 -268
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/docsUrl.js +0 -7
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/error.js +0 -14
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js +0 -16
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateContext.js +0 -53
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateElement.js +0 -33
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isDestructuredFromPragmaImport.js +0 -79
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isFirstLetterCapitalized.js +0 -16
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/jsx.js +0 -196
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/lifecycleMethods.js +0 -30
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/linkComponents.js +0 -49
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/log.js +0 -14
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js +0 -119
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/message.js +0 -8
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/pragma.js +0 -72
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypes.js +0 -1248
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypesSort.js +0 -211
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propWrapper.js +0 -61
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/props.js +0 -103
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/report.js +0 -12
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/usedPropTypes.js +0 -569
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/variable.js +0 -94
- package/template/lib/react/node_modules/eslint-plugin-react/lib/util/version.js +0 -161
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve +0 -17
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver +0 -17
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-react/package.json +0 -106
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/LICENSE +0 -21
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/README.md +0 -75
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js +0 -2458
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.min.js +0 -63
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/index.js +0 -9
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint +0 -17
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/react/node_modules/eslint-plugin-react-hooks/package.json +0 -39
- package/template/lib/react/node_modules/prettier/LICENSE +0 -4857
- package/template/lib/react/node_modules/prettier/README.md +0 -109
- package/template/lib/react/node_modules/prettier/bin/prettier.cjs +0 -68
- package/template/lib/react/node_modules/prettier/doc.d.ts +0 -243
- package/template/lib/react/node_modules/prettier/doc.js +0 -1328
- package/template/lib/react/node_modules/prettier/doc.mjs +0 -1300
- package/template/lib/react/node_modules/prettier/index.cjs +0 -648
- package/template/lib/react/node_modules/prettier/index.d.ts +0 -940
- package/template/lib/react/node_modules/prettier/index.mjs +0 -24255
- package/template/lib/react/node_modules/prettier/internal/cli.mjs +0 -7089
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier +0 -17
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/react/node_modules/prettier/package.json +0 -198
- package/template/lib/react/node_modules/prettier/plugins/acorn.d.ts +0 -6
- package/template/lib/react/node_modules/prettier/plugins/acorn.js +0 -13
- package/template/lib/react/node_modules/prettier/plugins/acorn.mjs +0 -13
- package/template/lib/react/node_modules/prettier/plugins/angular.d.ts +0 -8
- package/template/lib/react/node_modules/prettier/plugins/angular.js +0 -1
- package/template/lib/react/node_modules/prettier/plugins/angular.mjs +0 -1
- package/template/lib/react/node_modules/prettier/plugins/babel.d.ts +0 -18
- package/template/lib/react/node_modules/prettier/plugins/babel.js +0 -16
- package/template/lib/react/node_modules/prettier/plugins/babel.mjs +0 -16
- package/template/lib/react/node_modules/prettier/plugins/estree.d.ts +0 -1
- package/template/lib/react/node_modules/prettier/plugins/estree.js +0 -36
- package/template/lib/react/node_modules/prettier/plugins/estree.mjs +0 -36
- package/template/lib/react/node_modules/prettier/plugins/flow.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/flow.js +0 -21
- package/template/lib/react/node_modules/prettier/plugins/flow.mjs +0 -21
- package/template/lib/react/node_modules/prettier/plugins/glimmer.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/glimmer.js +0 -30
- package/template/lib/react/node_modules/prettier/plugins/glimmer.mjs +0 -30
- package/template/lib/react/node_modules/prettier/plugins/graphql.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/graphql.js +0 -29
- package/template/lib/react/node_modules/prettier/plugins/graphql.mjs +0 -29
- package/template/lib/react/node_modules/prettier/plugins/html.d.ts +0 -8
- package/template/lib/react/node_modules/prettier/plugins/html.js +0 -19
- package/template/lib/react/node_modules/prettier/plugins/html.mjs +0 -19
- package/template/lib/react/node_modules/prettier/plugins/markdown.d.ts +0 -7
- package/template/lib/react/node_modules/prettier/plugins/markdown.js +0 -59
- package/template/lib/react/node_modules/prettier/plugins/markdown.mjs +0 -59
- package/template/lib/react/node_modules/prettier/plugins/meriyah.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/meriyah.js +0 -5
- package/template/lib/react/node_modules/prettier/plugins/meriyah.mjs +0 -5
- package/template/lib/react/node_modules/prettier/plugins/postcss.d.ts +0 -7
- package/template/lib/react/node_modules/prettier/plugins/postcss.js +0 -49
- package/template/lib/react/node_modules/prettier/plugins/postcss.mjs +0 -49
- package/template/lib/react/node_modules/prettier/plugins/typescript.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/typescript.js +0 -25
- package/template/lib/react/node_modules/prettier/plugins/typescript.mjs +0 -25
- package/template/lib/react/node_modules/prettier/plugins/yaml.d.ts +0 -5
- package/template/lib/react/node_modules/prettier/plugins/yaml.js +0 -161
- package/template/lib/react/node_modules/prettier/plugins/yaml.mjs +0 -161
- package/template/lib/react/node_modules/prettier/standalone.d.ts +0 -33
- package/template/lib/react/node_modules/prettier/standalone.js +0 -34
- package/template/lib/react/node_modules/prettier/standalone.mjs +0 -34
- package/template/lib/react/node_modules/prop-types/LICENSE +0 -21
- package/template/lib/react/node_modules/prop-types/README.md +0 -302
- package/template/lib/react/node_modules/prop-types/checkPropTypes.js +0 -103
- package/template/lib/react/node_modules/prop-types/factory.js +0 -19
- package/template/lib/react/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
- package/template/lib/react/node_modules/prop-types/factoryWithTypeCheckers.js +0 -610
- package/template/lib/react/node_modules/prop-types/index.js +0 -19
- package/template/lib/react/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
- package/template/lib/react/node_modules/prop-types/lib/has.js +0 -1
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify +0 -17
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.CMD +0 -12
- package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.ps1 +0 -41
- package/template/lib/react/node_modules/prop-types/package.json +0 -60
- package/template/lib/react/node_modules/prop-types/prop-types.js +0 -1315
- package/template/lib/react/node_modules/prop-types/prop-types.min.js +0 -1
- package/template/lib/react/node_modules/react/LICENSE +0 -21
- package/template/lib/react/node_modules/react/README.md +0 -37
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1296
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -10
- package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -10
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1314
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -11
- package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -11
- package/template/lib/react/node_modules/react/cjs/react.development.js +0 -2739
- package/template/lib/react/node_modules/react/cjs/react.production.min.js +0 -26
- package/template/lib/react/node_modules/react/cjs/react.shared-subset.development.js +0 -20
- package/template/lib/react/node_modules/react/cjs/react.shared-subset.production.min.js +0 -10
- package/template/lib/react/node_modules/react/index.js +0 -7
- package/template/lib/react/node_modules/react/jsx-dev-runtime.js +0 -7
- package/template/lib/react/node_modules/react/jsx-runtime.js +0 -7
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify +0 -17
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.CMD +0 -12
- package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.ps1 +0 -41
- package/template/lib/react/node_modules/react/package.json +0 -47
- package/template/lib/react/node_modules/react/react.shared-subset.js +0 -7
- package/template/lib/react/node_modules/react/umd/react.development.js +0 -3342
- package/template/lib/react/node_modules/react/umd/react.production.min.js +0 -31
- package/template/lib/react/node_modules/react/umd/react.profiling.min.js +0 -31
- package/template/lib/react/node_modules/react-dom/LICENSE +0 -21
- package/template/lib/react/node_modules/react-dom/README.md +0 -60
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -7018
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -93
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +0 -7078
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +0 -101
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -7003
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -96
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +0 -7059
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +0 -102
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +0 -1741
- package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +0 -40
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.development.js +0 -29868
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.production.min.js +0 -323
- package/template/lib/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +0 -367
- package/template/lib/react/node_modules/react-dom/client.js +0 -25
- package/template/lib/react/node_modules/react-dom/index.js +0 -38
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify +0 -17
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.CMD +0 -12
- package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.ps1 +0 -41
- package/template/lib/react/node_modules/react-dom/package.json +0 -62
- package/template/lib/react/node_modules/react-dom/profiling.js +0 -38
- package/template/lib/react/node_modules/react-dom/server.browser.js +0 -17
- package/template/lib/react/node_modules/react-dom/server.js +0 -3
- package/template/lib/react/node_modules/react-dom/server.node.js +0 -17
- package/template/lib/react/node_modules/react-dom/test-utils.js +0 -7
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +0 -7015
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +0 -75
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +0 -7000
- package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +0 -76
- package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +0 -1737
- package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +0 -33
- package/template/lib/react/node_modules/react-dom/umd/react-dom.development.js +0 -29869
- package/template/lib/react/node_modules/react-dom/umd/react-dom.production.min.js +0 -267
- package/template/lib/react/node_modules/react-dom/umd/react-dom.profiling.min.js +0 -285
- package/template/lib/react/node_modules/stylelint-config-standard-scss/LICENSE +0 -21
- package/template/lib/react/node_modules/stylelint-config-standard-scss/README.md +0 -50
- package/template/lib/react/node_modules/stylelint-config-standard-scss/index.js +0 -67
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +0 -17
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +0 -12
- package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +0 -41
- package/template/lib/react/node_modules/stylelint-config-standard-scss/package.json +0 -58
- package/template/lib/ts/node_modules/.bin/acorn +0 -17
- package/template/lib/ts/node_modules/.bin/acorn.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/acorn.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/eslint +0 -17
- package/template/lib/ts/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/prettier +0 -17
- package/template/lib/ts/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/stylelint +0 -17
- package/template/lib/ts/node_modules/.bin/stylelint.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/stylelint.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/tsc +0 -17
- package/template/lib/ts/node_modules/.bin/tsc.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/tsc.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/tsserver +0 -17
- package/template/lib/ts/node_modules/.bin/tsserver.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/tsserver.ps1 +0 -41
- package/template/lib/ts/node_modules/.bin/vitest +0 -17
- package/template/lib/ts/node_modules/.bin/vitest.CMD +0 -12
- package/template/lib/ts/node_modules/.bin/vitest.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint/LICENSE +0 -19
- package/template/lib/ts/node_modules/eslint/README.md +0 -304
- package/template/lib/ts/node_modules/eslint/bin/eslint.js +0 -173
- package/template/lib/ts/node_modules/eslint/conf/config-schema.js +0 -93
- package/template/lib/ts/node_modules/eslint/conf/default-cli-options.js +0 -32
- package/template/lib/ts/node_modules/eslint/conf/globals.js +0 -154
- package/template/lib/ts/node_modules/eslint/conf/replacements.json +0 -22
- package/template/lib/ts/node_modules/eslint/conf/rule-type-list.json +0 -28
- package/template/lib/ts/node_modules/eslint/lib/api.js +0 -26
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1078
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -547
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +0 -46
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -351
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/hash.js +0 -35
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/index.js +0 -7
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -203
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
- package/template/lib/ts/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
- package/template/lib/ts/node_modules/eslint/lib/cli.js +0 -471
- package/template/lib/ts/node_modules/eslint/lib/config/default-config.js +0 -67
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-array.js +0 -274
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-helpers.js +0 -111
- package/template/lib/ts/node_modules/eslint/lib/config/flat-config-schema.js +0 -583
- package/template/lib/ts/node_modules/eslint/lib/config/rule-validator.js +0 -158
- package/template/lib/ts/node_modules/eslint/lib/eslint/eslint-helpers.js +0 -902
- package/template/lib/ts/node_modules/eslint/lib/eslint/eslint.js +0 -700
- package/template/lib/ts/node_modules/eslint/lib/eslint/flat-eslint.js +0 -1142
- package/template/lib/ts/node_modules/eslint/lib/eslint/index.js +0 -9
- package/template/lib/ts/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -465
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -852
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -263
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -2348
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -342
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -349
- package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
- package/template/lib/ts/node_modules/eslint/lib/linter/config-comment-parser.js +0 -185
- package/template/lib/ts/node_modules/eslint/lib/linter/index.js +0 -13
- package/template/lib/ts/node_modules/eslint/lib/linter/interpolate.js +0 -28
- package/template/lib/ts/node_modules/eslint/lib/linter/linter.js +0 -2119
- package/template/lib/ts/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
- package/template/lib/ts/node_modules/eslint/lib/linter/report-translator.js +0 -369
- package/template/lib/ts/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
- package/template/lib/ts/node_modules/eslint/lib/linter/rules.js +0 -80
- package/template/lib/ts/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
- package/template/lib/ts/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
- package/template/lib/ts/node_modules/eslint/lib/linter/timing.js +0 -161
- package/template/lib/ts/node_modules/eslint/lib/options.js +0 -398
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1122
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/index.js +0 -5
- package/template/lib/ts/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1206
- package/template/lib/ts/node_modules/eslint/lib/rules/accessor-pairs.js +0 -346
- package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -261
- package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -244
- package/template/lib/ts/node_modules/eslint/lib/rules/array-callback-return.js +0 -446
- package/template/lib/ts/node_modules/eslint/lib/rules/array-element-newline.js +0 -311
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-parens.js +0 -186
- package/template/lib/ts/node_modules/eslint/lib/rules/arrow-spacing.js +0 -164
- package/template/lib/ts/node_modules/eslint/lib/rules/block-scoped-var.js +0 -135
- package/template/lib/ts/node_modules/eslint/lib/rules/block-spacing.js +0 -174
- package/template/lib/ts/node_modules/eslint/lib/rules/brace-style.js +0 -197
- package/template/lib/ts/node_modules/eslint/lib/rules/callback-return.js +0 -187
- package/template/lib/ts/node_modules/eslint/lib/rules/camelcase.js +0 -399
- package/template/lib/ts/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
- package/template/lib/ts/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-dangle.js +0 -373
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-spacing.js +0 -192
- package/template/lib/ts/node_modules/eslint/lib/rules/comma-style.js +0 -314
- package/template/lib/ts/node_modules/eslint/lib/rules/complexity.js +0 -165
- package/template/lib/ts/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -208
- package/template/lib/ts/node_modules/eslint/lib/rules/consistent-return.js +0 -210
- package/template/lib/ts/node_modules/eslint/lib/rules/consistent-this.js +0 -153
- package/template/lib/ts/node_modules/eslint/lib/rules/constructor-super.js +0 -446
- package/template/lib/ts/node_modules/eslint/lib/rules/curly.js +0 -486
- package/template/lib/ts/node_modules/eslint/lib/rules/default-case-last.js +0 -44
- package/template/lib/ts/node_modules/eslint/lib/rules/default-case.js +0 -97
- package/template/lib/ts/node_modules/eslint/lib/rules/default-param-last.js +0 -62
- package/template/lib/ts/node_modules/eslint/lib/rules/dot-location.js +0 -108
- package/template/lib/ts/node_modules/eslint/lib/rules/dot-notation.js +0 -176
- package/template/lib/ts/node_modules/eslint/lib/rules/eol-last.js +0 -115
- package/template/lib/ts/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
- package/template/lib/ts/node_modules/eslint/lib/rules/for-direction.js +0 -140
- package/template/lib/ts/node_modules/eslint/lib/rules/func-call-spacing.js +0 -233
- package/template/lib/ts/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
- package/template/lib/ts/node_modules/eslint/lib/rules/func-names.js +0 -191
- package/template/lib/ts/node_modules/eslint/lib/rules/func-style.js +0 -98
- package/template/lib/ts/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -125
- package/template/lib/ts/node_modules/eslint/lib/rules/function-paren-newline.js +0 -292
- package/template/lib/ts/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -209
- package/template/lib/ts/node_modules/eslint/lib/rules/getter-return.js +0 -204
- package/template/lib/ts/node_modules/eslint/lib/rules/global-require.js +0 -90
- package/template/lib/ts/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -215
- package/template/lib/ts/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
- package/template/lib/ts/node_modules/eslint/lib/rules/handle-callback-err.js +0 -101
- package/template/lib/ts/node_modules/eslint/lib/rules/id-blacklist.js +0 -246
- package/template/lib/ts/node_modules/eslint/lib/rules/id-denylist.js +0 -228
- package/template/lib/ts/node_modules/eslint/lib/rules/id-length.js +0 -177
- package/template/lib/ts/node_modules/eslint/lib/rules/id-match.js +0 -299
- package/template/lib/ts/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -84
- package/template/lib/ts/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
- package/template/lib/ts/node_modules/eslint/lib/rules/indent.js +0 -1803
- package/template/lib/ts/node_modules/eslint/lib/rules/index.js +0 -306
- package/template/lib/ts/node_modules/eslint/lib/rules/init-declarations.js +0 -139
- package/template/lib/ts/node_modules/eslint/lib/rules/jsx-quotes.js +0 -98
- package/template/lib/ts/node_modules/eslint/lib/rules/key-spacing.js +0 -687
- package/template/lib/ts/node_modules/eslint/lib/rules/keyword-spacing.js +0 -640
- package/template/lib/ts/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
- package/template/lib/ts/node_modules/eslint/lib/rules/linebreak-style.js +0 -108
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-comment.js +0 -471
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
- package/template/lib/ts/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -269
- package/template/lib/ts/node_modules/eslint/lib/rules/logical-assignment-operators.js +0 -504
- package/template/lib/ts/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
- package/template/lib/ts/node_modules/eslint/lib/rules/max-depth.js +0 -156
- package/template/lib/ts/node_modules/eslint/lib/rules/max-len.js +0 -440
- package/template/lib/ts/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
- package/template/lib/ts/node_modules/eslint/lib/rules/max-lines.js +0 -193
- package/template/lib/ts/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
- package/template/lib/ts/node_modules/eslint/lib/rules/max-params.js +0 -102
- package/template/lib/ts/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -199
- package/template/lib/ts/node_modules/eslint/lib/rules/max-statements.js +0 -184
- package/template/lib/ts/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -474
- package/template/lib/ts/node_modules/eslint/lib/rules/multiline-ternary.js +0 -174
- package/template/lib/ts/node_modules/eslint/lib/rules/new-cap.js +0 -276
- package/template/lib/ts/node_modules/eslint/lib/rules/new-parens.js +0 -93
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-after-var.js +0 -253
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
- package/template/lib/ts/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -126
- package/template/lib/ts/node_modules/eslint/lib/rules/no-alert.js +0 -138
- package/template/lib/ts/node_modules/eslint/lib/rules/no-array-constructor.js +0 -133
- package/template/lib/ts/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
- package/template/lib/ts/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
- package/template/lib/ts/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
- package/template/lib/ts/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
- package/template/lib/ts/node_modules/eslint/lib/rules/no-caller.js +0 -46
- package/template/lib/ts/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
- package/template/lib/ts/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -82
- package/template/lib/ts/node_modules/eslint/lib/rules/no-class-assign.js +0 -63
- package/template/lib/ts/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
- package/template/lib/ts/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -92
- package/template/lib/ts/node_modules/eslint/lib/rules/no-console.js +0 -207
- package/template/lib/ts/node_modules/eslint/lib/rules/no-const-assign.js +0 -56
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-binary-expression.js +0 -509
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-condition.js +0 -150
- package/template/lib/ts/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
- package/template/lib/ts/node_modules/eslint/lib/rules/no-continue.js +0 -39
- package/template/lib/ts/node_modules/eslint/lib/rules/no-control-regex.js +0 -138
- package/template/lib/ts/node_modules/eslint/lib/rules/no-debugger.js +0 -43
- package/template/lib/ts/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
- package/template/lib/ts/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-args.js +0 -82
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
- package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
- package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
- package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
- package/template/lib/ts/node_modules/eslint/lib/rules/no-else-return.js +0 -405
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -76
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -78
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-static-block.js +0 -47
- package/template/lib/ts/node_modules/eslint/lib/rules/no-empty.js +0 -103
- package/template/lib/ts/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
- package/template/lib/ts/node_modules/eslint/lib/rules/no-eval.js +0 -286
- package/template/lib/ts/node_modules/eslint/lib/rules/no-ex-assign.js +0 -54
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extend-native.js +0 -179
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1322
- package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-semi.js +0 -147
- package/template/lib/ts/node_modules/eslint/lib/rules/no-fallthrough.js +0 -196
- package/template/lib/ts/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -73
- package/template/lib/ts/node_modules/eslint/lib/rules/no-func-assign.js +0 -78
- package/template/lib/ts/node_modules/eslint/lib/rules/no-global-assign.js +0 -95
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -380
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -146
- package/template/lib/ts/node_modules/eslint/lib/rules/no-implied-eval.js +0 -132
- package/template/lib/ts/node_modules/eslint/lib/rules/no-import-assign.js +0 -241
- package/template/lib/ts/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
- package/template/lib/ts/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
- package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -194
- package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
- package/template/lib/ts/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -276
- package/template/lib/ts/node_modules/eslint/lib/rules/no-iterator.js +0 -52
- package/template/lib/ts/node_modules/eslint/lib/rules/no-label-var.js +0 -80
- package/template/lib/ts/node_modules/eslint/lib/rules/no-labels.js +0 -149
- package/template/lib/ts/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -136
- package/template/lib/ts/node_modules/eslint/lib/rules/no-lonely-if.js +0 -88
- package/template/lib/ts/node_modules/eslint/lib/rules/no-loop-func.js +0 -206
- package/template/lib/ts/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -214
- package/template/lib/ts/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -243
- package/template/lib/ts/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -300
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -229
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
- package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -116
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -141
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
- package/template/lib/ts/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -154
- package/template/lib/ts/node_modules/eslint/lib/rules/no-native-reassign.js +0 -98
- package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
- package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
- package/template/lib/ts/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-func.js +0 -87
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +0 -66
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-object.js +0 -67
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-require.js +0 -50
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-symbol.js +0 -56
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/rules/no-new.js +0 -43
- package/template/lib/ts/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
- package/template/lib/ts/node_modules/eslint/lib/rules/no-obj-calls.js +0 -86
- package/template/lib/ts/node_modules/eslint/lib/rules/no-object-constructor.js +0 -117
- package/template/lib/ts/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
- package/template/lib/ts/node_modules/eslint/lib/rules/no-octal.js +0 -45
- package/template/lib/ts/node_modules/eslint/lib/rules/no-param-reassign.js +0 -230
- package/template/lib/ts/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
- package/template/lib/ts/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
- package/template/lib/ts/node_modules/eslint/lib/rules/no-process-env.js +0 -51
- package/template/lib/ts/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
- package/template/lib/ts/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -263
- package/template/lib/ts/node_modules/eslint/lib/rules/no-proto.js +0 -48
- package/template/lib/ts/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -159
- package/template/lib/ts/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
- package/template/lib/ts/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -197
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -193
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -124
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -410
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -213
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -168
- package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
- package/template/lib/ts/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
- package/template/lib/ts/node_modules/eslint/lib/rules/no-return-await.js +0 -135
- package/template/lib/ts/node_modules/eslint/lib/rules/no-script-url.js +0 -61
- package/template/lib/ts/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
- package/template/lib/ts/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sequences.js +0 -138
- package/template/lib/ts/node_modules/eslint/lib/rules/no-setter-return.js +0 -226
- package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -65
- package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow.js +0 -336
- package/template/lib/ts/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
- package/template/lib/ts/node_modules/eslint/lib/rules/no-sync.js +0 -64
- package/template/lib/ts/node_modules/eslint/lib/rules/no-tabs.js +0 -81
- package/template/lib/ts/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
- package/template/lib/ts/node_modules/eslint/lib/rules/no-ternary.js +0 -41
- package/template/lib/ts/node_modules/eslint/lib/rules/no-this-before-super.js +0 -331
- package/template/lib/ts/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
- package/template/lib/ts/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -193
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undef.js +0 -79
- package/template/lib/ts/node_modules/eslint/lib/rules/no-undefined.js +0 -86
- package/template/lib/ts/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -335
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -185
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable.js +0 -293
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -186
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-labels.js +0 -143
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
- package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-vars.js +0 -718
- package/template/lib/ts/node_modules/eslint/lib/rules/no-use-before-define.js +0 -348
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -194
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-escape.js +0 -333
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
- package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-return.js +0 -364
- package/template/lib/ts/node_modules/eslint/lib/rules/no-var.js +0 -334
- package/template/lib/ts/node_modules/eslint/lib/rules/no-void.js +0 -64
- package/template/lib/ts/node_modules/eslint/lib/rules/no-warning-comments.js +0 -201
- package/template/lib/ts/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -116
- package/template/lib/ts/node_modules/eslint/lib/rules/no-with.js +0 -39
- package/template/lib/ts/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -127
- package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-newline.js +0 -324
- package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -311
- package/template/lib/ts/node_modules/eslint/lib/rules/object-property-newline.js +0 -102
- package/template/lib/ts/node_modules/eslint/lib/rules/object-shorthand.js +0 -520
- package/template/lib/ts/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -95
- package/template/lib/ts/node_modules/eslint/lib/rules/one-var.js +0 -567
- package/template/lib/ts/node_modules/eslint/lib/rules/operator-assignment.js +0 -209
- package/template/lib/ts/node_modules/eslint/lib/rules/operator-linebreak.js +0 -253
- package/template/lib/ts/node_modules/eslint/lib/rules/padded-blocks.js +0 -310
- package/template/lib/ts/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -590
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -381
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-const.js +0 -501
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -191
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -178
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -114
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -298
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -132
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -507
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -118
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
- package/template/lib/ts/node_modules/eslint/lib/rules/prefer-template.js +0 -275
- package/template/lib/ts/node_modules/eslint/lib/rules/quote-props.js +0 -310
- package/template/lib/ts/node_modules/eslint/lib/rules/quotes.js +0 -350
- package/template/lib/ts/node_modules/eslint/lib/rules/radix.js +0 -198
- package/template/lib/ts/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -331
- package/template/lib/ts/node_modules/eslint/lib/rules/require-await.js +0 -113
- package/template/lib/ts/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
- package/template/lib/ts/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -129
- package/template/lib/ts/node_modules/eslint/lib/rules/require-yield.js +0 -77
- package/template/lib/ts/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -123
- package/template/lib/ts/node_modules/eslint/lib/rules/semi-spacing.js +0 -248
- package/template/lib/ts/node_modules/eslint/lib/rules/semi-style.js +0 -158
- package/template/lib/ts/node_modules/eslint/lib/rules/semi.js +0 -438
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-imports.js +0 -241
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-keys.js +0 -230
- package/template/lib/ts/node_modules/eslint/lib/rules/sort-vars.js +0 -104
- package/template/lib/ts/node_modules/eslint/lib/rules/space-before-blocks.js +0 -204
- package/template/lib/ts/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -167
- package/template/lib/ts/node_modules/eslint/lib/rules/space-in-parens.js +0 -285
- package/template/lib/ts/node_modules/eslint/lib/rules/space-infix-ops.js +0 -198
- package/template/lib/ts/node_modules/eslint/lib/rules/space-unary-ops.js +0 -324
- package/template/lib/ts/node_modules/eslint/lib/rules/spaced-comment.js +0 -385
- package/template/lib/ts/node_modules/eslint/lib/rules/strict.js +0 -277
- package/template/lib/ts/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -132
- package/template/lib/ts/node_modules/eslint/lib/rules/symbol-description.js +0 -73
- package/template/lib/ts/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -144
- package/template/lib/ts/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -93
- package/template/lib/ts/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
- package/template/lib/ts/node_modules/eslint/lib/rules/use-isnan.js +0 -141
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -2282
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/regular-expressions.js +0 -42
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
- package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
- package/template/lib/ts/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
- package/template/lib/ts/node_modules/eslint/lib/rules/valid-typeof.js +0 -127
- package/template/lib/ts/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
- package/template/lib/ts/node_modules/eslint/lib/rules/wrap-iife.js +0 -207
- package/template/lib/ts/node_modules/eslint/lib/rules/wrap-regex.js +0 -61
- package/template/lib/ts/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -130
- package/template/lib/ts/node_modules/eslint/lib/rules/yoda.js +0 -353
- package/template/lib/ts/node_modules/eslint/lib/shared/ajv.js +0 -34
- package/template/lib/ts/node_modules/eslint/lib/shared/ast-utils.js +0 -29
- package/template/lib/ts/node_modules/eslint/lib/shared/config-validator.js +0 -347
- package/template/lib/ts/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -58
- package/template/lib/ts/node_modules/eslint/lib/shared/directives.js +0 -15
- package/template/lib/ts/node_modules/eslint/lib/shared/logging.js +0 -30
- package/template/lib/ts/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
- package/template/lib/ts/node_modules/eslint/lib/shared/runtime-info.js +0 -167
- package/template/lib/ts/node_modules/eslint/lib/shared/severity.js +0 -49
- package/template/lib/ts/node_modules/eslint/lib/shared/string-utils.js +0 -60
- package/template/lib/ts/node_modules/eslint/lib/shared/traverser.js +0 -195
- package/template/lib/ts/node_modules/eslint/lib/shared/types.js +0 -216
- package/template/lib/ts/node_modules/eslint/lib/source-code/index.js +0 -5
- package/template/lib/ts/node_modules/eslint/lib/source-code/source-code.js +0 -1055
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
- package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/utils.js +0 -107
- package/template/lib/ts/node_modules/eslint/lib/unsupported-api.js +0 -30
- package/template/lib/ts/node_modules/eslint/messages/all-files-ignored.js +0 -16
- package/template/lib/ts/node_modules/eslint/messages/eslintrc-incompat.js +0 -98
- package/template/lib/ts/node_modules/eslint/messages/eslintrc-plugins.js +0 -24
- package/template/lib/ts/node_modules/eslint/messages/extend-config-missing.js +0 -13
- package/template/lib/ts/node_modules/eslint/messages/failed-to-read-json.js +0 -11
- package/template/lib/ts/node_modules/eslint/messages/file-not-found.js +0 -10
- package/template/lib/ts/node_modules/eslint/messages/invalid-rule-options.js +0 -17
- package/template/lib/ts/node_modules/eslint/messages/invalid-rule-severity.js +0 -13
- package/template/lib/ts/node_modules/eslint/messages/no-config-found.js +0 -15
- package/template/lib/ts/node_modules/eslint/messages/plugin-conflict.js +0 -22
- package/template/lib/ts/node_modules/eslint/messages/plugin-invalid.js +0 -16
- package/template/lib/ts/node_modules/eslint/messages/plugin-missing.js +0 -19
- package/template/lib/ts/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
- package/template/lib/ts/node_modules/eslint/messages/shared.js +0 -18
- package/template/lib/ts/node_modules/eslint/messages/whitespace-found.js +0 -11
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint +0 -17
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml +0 -17
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.CMD +0 -12
- package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint/package.json +0 -179
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/LICENSE +0 -5
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/README.md +0 -232
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.cjs +0 -278
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +0 -20
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +0 -251
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js +0 -252
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js.map +0 -1
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +0 -17
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/package.json +0 -108
- package/template/lib/ts/node_modules/eslint-import-resolver-typescript/shim.d.ts +0 -4
- package/template/lib/ts/node_modules/eslint-plugin-import/CHANGELOG.md +0 -1925
- package/template/lib/ts/node_modules/eslint-plugin-import/CONTRIBUTING.md +0 -84
- package/template/lib/ts/node_modules/eslint-plugin-import/LICENSE +0 -22
- package/template/lib/ts/node_modules/eslint-plugin-import/README.md +0 -500
- package/template/lib/ts/node_modules/eslint-plugin-import/RELEASE.md +0 -54
- package/template/lib/ts/node_modules/eslint-plugin-import/SECURITY.md +0 -11
- package/template/lib/ts/node_modules/eslint-plugin-import/config/electron.js +0 -8
- package/template/lib/ts/node_modules/eslint-plugin-import/config/errors.js +0 -14
- package/template/lib/ts/node_modules/eslint-plugin-import/config/react-native.js +0 -13
- package/template/lib/ts/node_modules/eslint-plugin-import/config/react.js +0 -18
- package/template/lib/ts/node_modules/eslint-plugin-import/config/recommended.js +0 -28
- package/template/lib/ts/node_modules/eslint-plugin-import/config/stage-0.js +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-import/config/typescript.js +0 -34
- package/template/lib/ts/node_modules/eslint-plugin-import/config/warnings.js +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +0 -91
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/default.md +0 -72
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +0 -92
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/export.md +0 -37
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/exports-last.md +0 -51
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/extensions.md +0 -174
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/first.md +0 -75
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/group-exports.md +0 -118
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/imports-first.md +0 -9
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +0 -70
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/named.md +0 -102
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/namespace.md +0 -106
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +0 -167
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +0 -54
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-amd.md +0 -37
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +0 -83
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +0 -96
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +0 -111
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +0 -65
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +0 -62
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +0 -109
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +0 -25
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +0 -49
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +0 -139
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +0 -81
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +0 -136
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +0 -54
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +0 -52
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +0 -53
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +0 -36
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +0 -79
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +0 -44
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +0 -42
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +0 -70
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +0 -123
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +0 -198
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +0 -32
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +0 -60
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +0 -110
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +0 -125
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +0 -85
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +0 -39
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/order.md +0 -365
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +0 -185
- package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +0 -57
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/ExportMap.js +0 -856
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/importType.js +0 -129
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/packagePath.js +0 -22
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/staticRequire.js +0 -11
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/docsUrl.js +0 -8
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/importDeclaration.js +0 -5
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/index.js +0 -71
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +0 -221
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/default.js +0 -40
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +0 -120
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/export.js +0 -250
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/exports-last.js +0 -40
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/extensions.js +0 -193
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/first.js +0 -144
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/group-exports.js +0 -155
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/imports-first.js +0 -16
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +0 -60
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/named.js +0 -143
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/namespace.js +0 -218
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +0 -237
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +0 -40
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-amd.js +0 -47
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +0 -103
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +0 -141
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +0 -158
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +0 -43
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +0 -138
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +0 -354
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +0 -77
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +0 -105
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +0 -301
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +0 -85
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +0 -144
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +0 -59
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +0 -96
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +0 -45
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +0 -31
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +0 -39
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +0 -175
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +0 -44
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +0 -71
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +0 -48
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +0 -245
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +0 -39
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +0 -79
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +0 -60
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +0 -945
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +0 -147
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +0 -26
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/order.js +0 -785
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +0 -116
- package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +0 -38
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/LICENSE +0 -22
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/README.md +0 -21
- package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/index.js +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-import/package.json +0 -124
- package/template/lib/ts/node_modules/eslint-plugin-prettier/LICENSE.md +0 -24
- package/template/lib/ts/node_modules/eslint-plugin-prettier/README.md +0 -202
- package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +0 -5
- package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +0 -254
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/ts/node_modules/eslint-plugin-prettier/package.json +0 -101
- package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.d.ts +0 -5
- package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.js +0 -17
- package/template/lib/ts/node_modules/eslint-plugin-prettier/worker.js +0 -181
- package/template/lib/ts/node_modules/prettier/LICENSE +0 -4857
- package/template/lib/ts/node_modules/prettier/README.md +0 -109
- package/template/lib/ts/node_modules/prettier/bin/prettier.cjs +0 -68
- package/template/lib/ts/node_modules/prettier/doc.d.ts +0 -243
- package/template/lib/ts/node_modules/prettier/doc.js +0 -1328
- package/template/lib/ts/node_modules/prettier/doc.mjs +0 -1300
- package/template/lib/ts/node_modules/prettier/index.cjs +0 -648
- package/template/lib/ts/node_modules/prettier/index.d.ts +0 -940
- package/template/lib/ts/node_modules/prettier/index.mjs +0 -24255
- package/template/lib/ts/node_modules/prettier/internal/cli.mjs +0 -7089
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier +0 -17
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.CMD +0 -12
- package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.ps1 +0 -41
- package/template/lib/ts/node_modules/prettier/package.json +0 -198
- package/template/lib/ts/node_modules/prettier/plugins/acorn.d.ts +0 -6
- package/template/lib/ts/node_modules/prettier/plugins/acorn.js +0 -13
- package/template/lib/ts/node_modules/prettier/plugins/acorn.mjs +0 -13
- package/template/lib/ts/node_modules/prettier/plugins/angular.d.ts +0 -8
- package/template/lib/ts/node_modules/prettier/plugins/angular.js +0 -1
- package/template/lib/ts/node_modules/prettier/plugins/angular.mjs +0 -1
- package/template/lib/ts/node_modules/prettier/plugins/babel.d.ts +0 -18
- package/template/lib/ts/node_modules/prettier/plugins/babel.js +0 -16
- package/template/lib/ts/node_modules/prettier/plugins/babel.mjs +0 -16
- package/template/lib/ts/node_modules/prettier/plugins/estree.d.ts +0 -1
- package/template/lib/ts/node_modules/prettier/plugins/estree.js +0 -36
- package/template/lib/ts/node_modules/prettier/plugins/estree.mjs +0 -36
- package/template/lib/ts/node_modules/prettier/plugins/flow.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/flow.js +0 -21
- package/template/lib/ts/node_modules/prettier/plugins/flow.mjs +0 -21
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.js +0 -30
- package/template/lib/ts/node_modules/prettier/plugins/glimmer.mjs +0 -30
- package/template/lib/ts/node_modules/prettier/plugins/graphql.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/graphql.js +0 -29
- package/template/lib/ts/node_modules/prettier/plugins/graphql.mjs +0 -29
- package/template/lib/ts/node_modules/prettier/plugins/html.d.ts +0 -8
- package/template/lib/ts/node_modules/prettier/plugins/html.js +0 -19
- package/template/lib/ts/node_modules/prettier/plugins/html.mjs +0 -19
- package/template/lib/ts/node_modules/prettier/plugins/markdown.d.ts +0 -7
- package/template/lib/ts/node_modules/prettier/plugins/markdown.js +0 -59
- package/template/lib/ts/node_modules/prettier/plugins/markdown.mjs +0 -59
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.js +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/meriyah.mjs +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/postcss.d.ts +0 -7
- package/template/lib/ts/node_modules/prettier/plugins/postcss.js +0 -49
- package/template/lib/ts/node_modules/prettier/plugins/postcss.mjs +0 -49
- package/template/lib/ts/node_modules/prettier/plugins/typescript.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/typescript.js +0 -25
- package/template/lib/ts/node_modules/prettier/plugins/typescript.mjs +0 -25
- package/template/lib/ts/node_modules/prettier/plugins/yaml.d.ts +0 -5
- package/template/lib/ts/node_modules/prettier/plugins/yaml.js +0 -161
- package/template/lib/ts/node_modules/prettier/plugins/yaml.mjs +0 -161
- package/template/lib/ts/node_modules/prettier/standalone.d.ts +0 -33
- package/template/lib/ts/node_modules/prettier/standalone.js +0 -34
- package/template/lib/ts/node_modules/prettier/standalone.mjs +0 -34
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/LICENSE +0 -21
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/README.md +0 -50
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/index.js +0 -67
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +0 -17
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +0 -12
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +0 -41
- package/template/lib/ts/node_modules/stylelint-config-standard-scss/package.json +0 -58
- /package/template/web-app/{react → react-rspack}/.editorconfig +0 -0
- /package/template/web-app/{react → react-rspack}/.eslintignore +0 -0
- /package/template/web-app/{react → react-rspack}/.gitignore +0 -0
- /package/template/web-app/{react → react-rspack}/.husky/commit-msg +0 -0
- /package/template/web-app/{react → react-rspack}/.husky/pre-commit +0 -0
- /package/template/web-app/{react → react-rspack}/.prettierignore +0 -0
- /package/template/web-app/{react → react-rspack}/.prettierrc +0 -0
- /package/template/web-app/{react → react-rspack}/.stylelintignore +0 -0
- /package/template/web-app/{react → react-rspack}/.stylelintrc +0 -0
- /package/template/web-app/{react → react-rspack}/.vscode/extensions.json +0 -0
- /package/template/web-app/{react → react-rspack}/.vscode/settings.json +0 -0
- /package/template/web-app/{react → react-rspack}/commitlint.config.cjs +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/app.model.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/app.styled.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/components/app-context.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/components/app.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/components/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/app/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/home/ids.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/home/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/home/routes.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/ids.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/domain/router/router.types.ts +0 -0
- /package/template/web-app/{react → react-rspack}/main.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/pages/home/home.styled.ts +0 -0
- /package/template/web-app/{react → react-rspack}/pages/home/home.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/pages/home/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/pages/index.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/pages/not-found.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/postcss.config.cjs +0 -0
- /package/template/web-app/{react → react-rspack}/scripts/createChunks.ts +0 -0
- /package/template/web-app/{react → react-rspack}/scripts/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/assets/react.svg +0 -0
- /package/template/web-app/{react → react-rspack}/shared/components/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/constant/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/defineRouter.types.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/deineRouter.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/useInterval.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/useLoadingAction.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/useLowPriorityState.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/useSyncState.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/hooks/useVisible.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/service/api.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/service/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/theme/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/theme/theme.styled.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/tools/componentInstance.tsx +0 -0
- /package/template/web-app/{react → react-rspack}/shared/tools/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/types/index.ts +0 -0
- /package/template/web-app/{react → react-rspack}/shared/types/utils.ts +0 -0
- /package/template/web-app/{react → react-rspack}/tsconfig.json +0 -0
- /package/template/web-app/{react → react-vite}/.env +0 -0
- /package/template/web-app/{react → react-vite}/.env.development +0 -0
- /package/template/web-app/{react → react-vite}/.eslintrc +0 -0
- /package/template/web-app/{react → react-vite}/README.md +0 -0
- /package/template/web-app/{react → react-vite}/domain/router/router.tsx +0 -0
- /package/template/web-app/{react → react-vite}/index.html +0 -0
- /package/template/web-app/{react → react-vite}/mockUtils.ts +0 -0
- /package/template/web-app/{react → react-vite}/package.json +0 -0
- /package/template/web-app/{react → react-vite}/pages/home/home.mock.ts +0 -0
- /package/template/web-app/{react → react-vite}/public/vite.svg +0 -0
- /package/template/web-app/{react → react-vite}/shared/service/home.ts +0 -0
- /package/template/web-app/{react → react-vite}/shared/service/request.ts +0 -0
- /package/template/web-app/{react → react-vite}/tsconfig.node.json +0 -0
- /package/template/web-app/{react → react-vite}/vite-env.d.ts +0 -0
- /package/template/web-app/{react → react-vite}/vite.config.ts +0 -0
package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
'use strict';var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
meta: {
|
|
5
|
-
type: 'suggestion',
|
|
6
|
-
docs: {
|
|
7
|
-
category: 'Helpful warnings',
|
|
8
|
-
description: 'Forbid the use of mutable exports with `var` or `let`.',
|
|
9
|
-
url: (0, _docsUrl2['default'])('no-mutable-exports') },
|
|
10
|
-
|
|
11
|
-
schema: [] },
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
create: function () {function create(context) {
|
|
15
|
-
function checkDeclaration(node) {var
|
|
16
|
-
kind = node.kind;
|
|
17
|
-
if (kind === 'var' || kind === 'let') {
|
|
18
|
-
context.report(node, 'Exporting mutable \'' + String(kind) + '\' binding, use \'const\' instead.');
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function checkDeclarationsInScope(_ref, name) {var variables = _ref.variables;var _iteratorNormalCompletion = true;var _didIteratorError = false;var _iteratorError = undefined;try {
|
|
23
|
-
for (var _iterator = variables[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {var variable = _step.value;
|
|
24
|
-
if (variable.name === name) {var _iteratorNormalCompletion2 = true;var _didIteratorError2 = false;var _iteratorError2 = undefined;try {
|
|
25
|
-
for (var _iterator2 = variable.defs[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {var def = _step2.value;
|
|
26
|
-
if (def.type === 'Variable' && def.parent) {
|
|
27
|
-
checkDeclaration(def.parent);
|
|
28
|
-
}
|
|
29
|
-
}} catch (err) {_didIteratorError2 = true;_iteratorError2 = err;} finally {try {if (!_iteratorNormalCompletion2 && _iterator2['return']) {_iterator2['return']();}} finally {if (_didIteratorError2) {throw _iteratorError2;}}}
|
|
30
|
-
}
|
|
31
|
-
}} catch (err) {_didIteratorError = true;_iteratorError = err;} finally {try {if (!_iteratorNormalCompletion && _iterator['return']) {_iterator['return']();}} finally {if (_didIteratorError) {throw _iteratorError;}}}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function handleExportDefault(node) {
|
|
35
|
-
var scope = context.getScope();
|
|
36
|
-
|
|
37
|
-
if (node.declaration.name) {
|
|
38
|
-
checkDeclarationsInScope(scope, node.declaration.name);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
function handleExportNamed(node) {
|
|
43
|
-
var scope = context.getScope();
|
|
44
|
-
|
|
45
|
-
if (node.declaration) {
|
|
46
|
-
checkDeclaration(node.declaration);
|
|
47
|
-
} else if (!node.source) {var _iteratorNormalCompletion3 = true;var _didIteratorError3 = false;var _iteratorError3 = undefined;try {
|
|
48
|
-
for (var _iterator3 = node.specifiers[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {var specifier = _step3.value;
|
|
49
|
-
checkDeclarationsInScope(scope, specifier.local.name);
|
|
50
|
-
}} catch (err) {_didIteratorError3 = true;_iteratorError3 = err;} finally {try {if (!_iteratorNormalCompletion3 && _iterator3['return']) {_iterator3['return']();}} finally {if (_didIteratorError3) {throw _iteratorError3;}}}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
return {
|
|
55
|
-
ExportDefaultDeclaration: handleExportDefault,
|
|
56
|
-
ExportNamedDeclaration: handleExportNamed };
|
|
57
|
-
|
|
58
|
-
}return create;}() };
|
|
59
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9uby1tdXRhYmxlLWV4cG9ydHMuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIm1ldGEiLCJ0eXBlIiwiZG9jcyIsImNhdGVnb3J5IiwiZGVzY3JpcHRpb24iLCJ1cmwiLCJzY2hlbWEiLCJjcmVhdGUiLCJjb250ZXh0IiwiY2hlY2tEZWNsYXJhdGlvbiIsIm5vZG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B9XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gaGFuZGxlRXhwb3J0RGVmYXVsdChub2RlKSB7XG4gICAgICBjb25zdCBzY29wZSA9IGNvbnRleHQuZ2V0U2NvcGUoKTtcblxuICAgICAgaWYgKG5vZGUuZGVjbGFyYXRpb24ubmFtZSkge1xuICAgICAgICBjaGVja0RlY2xhcmF0aW9uc0luU2NvcGUoc2NvcGUsIG5vZGUuZGVjbGFyYXRpb24ubmFtZSk7XG4gICAgICB9XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gaGFuZGxlRXhwb3J0TmFtZWQobm9kZSkge1xuICAgICAgY29uc3Qgc2NvcGUgPSBjb250ZXh0LmdldFNjb3BlKCk7XG5cbiAgICAgIGlmIChub2RlLmRlY2xhcmF0aW9uKSAge1xuICAgICAgICBjaGVja0RlY2xhcmF0aW9uKG5vZGUuZGVjbGFyYXRpb24pO1xuICAgICAgfSBlbHNlIGlmICghbm9kZS5zb3VyY2UpIHtcbiAgICAgICAgZm9yIChjb25zdCBzcGVjaWZpZXIgb2Ygbm9kZS5zcGVjaWZpZXJzKSB7XG4gICAgICAgICAgY2hlY2tEZWNsYXJhdGlvbnNJblNjb3BlKHNjb3BlLCBzcGVjaWZpZXIubG9jYWwubmFtZSk7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgRXhwb3J0RGVmYXVsdERlY2xhcmF0aW9uOiBoYW5kbGVFeHBvcnREZWZhdWx0LFxuICAgICAgRXhwb3J0TmFtZWREZWNsYXJhdGlvbjogaGFuZGxlRXhwb3J0TmFtZWQsXG4gICAgfTtcbiAgfSxcbn07XG4iXX0=
|
package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _ExportMap = require('../ExportMap');var _ExportMap2 = _interopRequireDefault(_ExportMap);
|
|
8
|
-
var _importDeclaration = require('../importDeclaration');var _importDeclaration2 = _interopRequireDefault(_importDeclaration);
|
|
9
|
-
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
10
|
-
|
|
11
|
-
//------------------------------------------------------------------------------
|
|
12
|
-
// Rule Definition
|
|
13
|
-
//------------------------------------------------------------------------------
|
|
14
|
-
|
|
15
|
-
module.exports = {
|
|
16
|
-
meta: {
|
|
17
|
-
type: 'suggestion',
|
|
18
|
-
docs: {
|
|
19
|
-
category: 'Helpful warnings',
|
|
20
|
-
description: 'Forbid use of exported name as property of default export.',
|
|
21
|
-
url: (0, _docsUrl2['default'])('no-named-as-default-member') },
|
|
22
|
-
|
|
23
|
-
schema: [] },
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
create: function () {function create(context) {
|
|
27
|
-
var fileImports = new Map();
|
|
28
|
-
var allPropertyLookups = new Map();
|
|
29
|
-
|
|
30
|
-
function storePropertyLookup(objectName, propName, node) {
|
|
31
|
-
var lookups = allPropertyLookups.get(objectName) || [];
|
|
32
|
-
lookups.push({ node: node, propName: propName });
|
|
33
|
-
allPropertyLookups.set(objectName, lookups);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
return {
|
|
37
|
-
ImportDefaultSpecifier: function () {function ImportDefaultSpecifier(node) {
|
|
38
|
-
var declaration = (0, _importDeclaration2['default'])(context);
|
|
39
|
-
var exportMap = _ExportMap2['default'].get(declaration.source.value, context);
|
|
40
|
-
if (exportMap == null) {return;}
|
|
41
|
-
|
|
42
|
-
if (exportMap.errors.length) {
|
|
43
|
-
exportMap.reportErrors(context, declaration);
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
fileImports.set(node.local.name, {
|
|
48
|
-
exportMap: exportMap,
|
|
49
|
-
sourcePath: declaration.source.value });
|
|
50
|
-
|
|
51
|
-
}return ImportDefaultSpecifier;}(),
|
|
52
|
-
|
|
53
|
-
MemberExpression: function () {function MemberExpression(node) {
|
|
54
|
-
var objectName = node.object.name;
|
|
55
|
-
var propName = node.property.name;
|
|
56
|
-
storePropertyLookup(objectName, propName, node);
|
|
57
|
-
}return MemberExpression;}(),
|
|
58
|
-
|
|
59
|
-
VariableDeclarator: function () {function VariableDeclarator(node) {
|
|
60
|
-
var isDestructure = node.id.type === 'ObjectPattern' &&
|
|
61
|
-
node.init != null &&
|
|
62
|
-
node.init.type === 'Identifier';
|
|
63
|
-
if (!isDestructure) {return;}
|
|
64
|
-
|
|
65
|
-
var objectName = node.init.name;var _iteratorNormalCompletion = true;var _didIteratorError = false;var _iteratorError = undefined;try {
|
|
66
|
-
for (var _iterator = node.id.properties[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {var _ref = _step.value;var key = _ref.key;
|
|
67
|
-
if (key == null) {continue;} // true for rest properties
|
|
68
|
-
storePropertyLookup(objectName, key.name, key);
|
|
69
|
-
}} catch (err) {_didIteratorError = true;_iteratorError = err;} finally {try {if (!_iteratorNormalCompletion && _iterator['return']) {_iterator['return']();}} finally {if (_didIteratorError) {throw _iteratorError;}}}
|
|
70
|
-
}return VariableDeclarator;}(),
|
|
71
|
-
|
|
72
|
-
'Program:exit': function () {function ProgramExit() {
|
|
73
|
-
allPropertyLookups.forEach(function (lookups, objectName) {
|
|
74
|
-
var fileImport = fileImports.get(objectName);
|
|
75
|
-
if (fileImport == null) {return;}var _iteratorNormalCompletion2 = true;var _didIteratorError2 = false;var _iteratorError2 = undefined;try {
|
|
76
|
-
|
|
77
|
-
for (var _iterator2 = lookups[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {var _ref2 = _step2.value;var propName = _ref2.propName,node = _ref2.node;
|
|
78
|
-
// the default import can have a "default" property
|
|
79
|
-
if (propName === 'default') {continue;}
|
|
80
|
-
if (!fileImport.exportMap.namespace.has(propName)) {continue;}
|
|
81
|
-
|
|
82
|
-
context.report({
|
|
83
|
-
node: node,
|
|
84
|
-
message: 'Caution: `' + String(objectName) + '` also has a named export `' + String(propName) + '`. Check if you meant to write `import {' + String(propName) + '} from \'' + String(fileImport.sourcePath) + '\'` instead.' });
|
|
85
|
-
|
|
86
|
-
}} catch (err) {_didIteratorError2 = true;_iteratorError2 = err;} finally {try {if (!_iteratorNormalCompletion2 && _iterator2['return']) {_iterator2['return']();}} finally {if (_didIteratorError2) {throw _iteratorError2;}}}
|
|
87
|
-
});
|
|
88
|
-
}return ProgramExit;}() };
|
|
89
|
-
|
|
90
|
-
}return create;}() }; /**
|
|
91
|
-
* @fileoverview Rule to warn about potentially confused use of name exports
|
|
92
|
-
* @author Desmond Brand
|
|
93
|
-
* @copyright 2016 Desmond Brand. All rights reserved.
|
|
94
|
-
* See LICENSE in root directory for full license.
|
|
95
|
-
*/
|
|
96
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9uby1uYW1lZC1hcy1kZWZhdWx0LW1lbWJlci5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwibWV0YSIsInR5cGUiLCJkb2NzIiwiY2F0ZWdvcnkiLCJkZXNjcmlwdGlvbiIsInVybCIsInNjaGVtYSIsImNyZWF0ZSIsImNvbnRleHQiLCJmaWxlSW1wb3J0cyIsIk1hcCIsImFsbFByb3BlcnR5TG9va3VwcyIsInN0b3JlUHJvcGVydHlMb29rdXAiLCJvYmplY3ROYW1lIiwicHJvcE5hbWUiLCJub2RlIiwibG9va3VwcyIsImdldCIsInB1c2giLCJzZXQiLCJJbXBvcnREZWZhdWx0U3BlY2lmaWVyIiwiZGVjbGFyYXRpb24i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AgJ1Byb2dyYW06ZXhpdCcoKSB7XG4gICAgICAgIGFsbFByb3BlcnR5TG9va3Vwcy5mb3JFYWNoKChsb29rdXBzLCBvYmplY3ROYW1lKSA9PiB7XG4gICAgICAgICAgY29uc3QgZmlsZUltcG9ydCA9IGZpbGVJbXBvcnRzLmdldChvYmplY3ROYW1lKTtcbiAgICAgICAgICBpZiAoZmlsZUltcG9ydCA9PSBudWxsKSB7IHJldHVybjsgfVxuXG4gICAgICAgICAgZm9yIChjb25zdCB7IHByb3BOYW1lLCBub2RlIH0gb2YgbG9va3Vwcykge1xuICAgICAgICAgICAgLy8gdGhlIGRlZmF1bHQgaW1wb3J0IGNhbiBoYXZlIGEgXCJkZWZhdWx0XCIgcHJvcGVydHlcbiAgICAgICAgICAgIGlmIChwcm9wTmFtZSA9PT0gJ2RlZmF1bHQnKSB7IGNvbnRpbnVlOyB9XG4gICAgICAgICAgICBpZiAoIWZpbGVJbXBvcnQuZXhwb3J0TWFwLm5hbWVzcGFjZS5oYXMocHJvcE5hbWUpKSB7IGNvbnRpbnVlOyB9XG5cbiAgICAgICAgICAgIGNvbnRleHQucmVwb3J0KHtcbiAgICAgICAgICAgICAgbm9kZSxcbiAgICAgICAgICAgICAgbWVzc2FnZTogYENhdXRpb246IFxcYCR7b2JqZWN0TmFtZX1cXGAgYWxzbyBoYXMgYSBuYW1lZCBleHBvcnQgXFxgJHtwcm9wTmFtZX1cXGAuIENoZWNrIGlmIHlvdSBtZWFudCB0byB3cml0ZSBcXGBpbXBvcnQgeyR7cHJvcE5hbWV9fSBmcm9tICcke2ZpbGVJbXBvcnQuc291cmNlUGF0aH0nXFxgIGluc3RlYWQuYCxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgICB9LFxuICAgIH07XG4gIH0sXG59O1xuIl19
|
package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
'use strict';var _ExportMap = require('../ExportMap');var _ExportMap2 = _interopRequireDefault(_ExportMap);
|
|
2
|
-
var _importDeclaration = require('../importDeclaration');var _importDeclaration2 = _interopRequireDefault(_importDeclaration);
|
|
3
|
-
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
4
|
-
|
|
5
|
-
module.exports = {
|
|
6
|
-
meta: {
|
|
7
|
-
type: 'problem',
|
|
8
|
-
docs: {
|
|
9
|
-
category: 'Helpful warnings',
|
|
10
|
-
description: 'Forbid use of exported name as identifier of default export.',
|
|
11
|
-
url: (0, _docsUrl2['default'])('no-named-as-default') },
|
|
12
|
-
|
|
13
|
-
schema: [] },
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
create: function () {function create(context) {
|
|
17
|
-
function checkDefault(nameKey, defaultSpecifier) {
|
|
18
|
-
// #566: default is a valid specifier
|
|
19
|
-
if (defaultSpecifier[nameKey].name === 'default') {return;}
|
|
20
|
-
|
|
21
|
-
var declaration = (0, _importDeclaration2['default'])(context);
|
|
22
|
-
|
|
23
|
-
var imports = _ExportMap2['default'].get(declaration.source.value, context);
|
|
24
|
-
if (imports == null) {return;}
|
|
25
|
-
|
|
26
|
-
if (imports.errors.length) {
|
|
27
|
-
imports.reportErrors(context, declaration);
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
if (imports.has('default') && imports.has(defaultSpecifier[nameKey].name)) {
|
|
32
|
-
|
|
33
|
-
context.report(
|
|
34
|
-
defaultSpecifier, 'Using exported name \'' + String(
|
|
35
|
-
defaultSpecifier[nameKey].name) + '\' as identifier for default export.');
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
ImportDefaultSpecifier: checkDefault.bind(null, 'local'),
|
|
42
|
-
ExportDefaultSpecifier: checkDefault.bind(null, 'exported') };
|
|
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AgICAgICBgVXNpbmcgZXhwb3J0ZWQgbmFtZSAnJHtkZWZhdWx0U3BlY2lmaWVyW25hbWVLZXldLm5hbWV9JyBhcyBpZGVudGlmaWVyIGZvciBkZWZhdWx0IGV4cG9ydC5gLFxuICAgICAgICApO1xuXG4gICAgICB9XG4gICAgfVxuICAgIHJldHVybiB7XG4gICAgICBJbXBvcnREZWZhdWx0U3BlY2lmaWVyOiBjaGVja0RlZmF1bHQuYmluZChudWxsLCAnbG9jYWwnKSxcbiAgICAgIEV4cG9ydERlZmF1bHRTcGVjaWZpZXI6IGNoZWNrRGVmYXVsdC5iaW5kKG51bGwsICdleHBvcnRlZCcpLFxuICAgIH07XG4gIH0sXG59O1xuIl19
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use strict';var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
meta: {
|
|
5
|
-
type: 'suggestion',
|
|
6
|
-
docs: {
|
|
7
|
-
category: 'Style guide',
|
|
8
|
-
description: 'Forbid named default exports.',
|
|
9
|
-
url: (0, _docsUrl2['default'])('no-named-default') },
|
|
10
|
-
|
|
11
|
-
schema: [] },
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
create: function () {function create(context) {
|
|
15
|
-
return {
|
|
16
|
-
ImportDeclaration: function () {function ImportDeclaration(node) {
|
|
17
|
-
node.specifiers.forEach(function (im) {
|
|
18
|
-
if (im.importKind === 'type' || im.importKind === 'typeof') {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
if (im.type === 'ImportSpecifier' && (im.imported.name || im.imported.value) === 'default') {
|
|
23
|
-
context.report({
|
|
24
|
-
node: im.local,
|
|
25
|
-
message: 'Use default import syntax to import \'' + String(im.local.name) + '\'.' });
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
}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ZWQudmFsdWUpID09PSAnZGVmYXVsdCcpIHtcbiAgICAgICAgICAgIGNvbnRleHQucmVwb3J0KHtcbiAgICAgICAgICAgICAgbm9kZTogaW0ubG9jYWwsXG4gICAgICAgICAgICAgIG1lc3NhZ2U6IGBVc2UgZGVmYXVsdCBpbXBvcnQgc3ludGF4IHRvIGltcG9ydCAnJHtpbS5sb2NhbC5uYW1lfScuYCB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgfSxcbiAgICB9O1xuICB9LFxufTtcbiJdfQ==
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
'use strict';var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
meta: {
|
|
5
|
-
type: 'suggestion',
|
|
6
|
-
docs: {
|
|
7
|
-
category: 'Style guide',
|
|
8
|
-
description: 'Forbid named exports.',
|
|
9
|
-
url: (0, _docsUrl2['default'])('no-named-export') },
|
|
10
|
-
|
|
11
|
-
schema: [] },
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
create: function () {function create(context) {
|
|
15
|
-
// ignore non-modules
|
|
16
|
-
if (context.parserOptions.sourceType !== 'module') {
|
|
17
|
-
return {};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
var message = 'Named exports are not allowed.';
|
|
21
|
-
|
|
22
|
-
return {
|
|
23
|
-
ExportAllDeclaration: function () {function ExportAllDeclaration(node) {
|
|
24
|
-
context.report({ node: node, message: message });
|
|
25
|
-
}return ExportAllDeclaration;}(),
|
|
26
|
-
|
|
27
|
-
ExportNamedDeclaration: function () {function ExportNamedDeclaration(node) {
|
|
28
|
-
if (node.specifiers.length === 0) {
|
|
29
|
-
return context.report({ node: node, message: message });
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
var someNamed = node.specifiers.some(function (specifier) {return (specifier.exported.name || specifier.exported.value) !== 'default';});
|
|
33
|
-
if (someNamed) {
|
|
34
|
-
context.report({ node: node, message: message });
|
|
35
|
-
}
|
|
36
|
-
}return ExportNamedDeclaration;}() };
|
|
37
|
-
|
|
38
|
-
}return create;}() };
|
|
39
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9uby1uYW1lZC1leHBvcnQuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIm1ldGEiLCJ0eXBlIiwiZG9jcyIsImNhdGVnb3J5IiwiZGVzY3JpcHRpb24iLCJ1cmwiLCJzY2hlbWEiLCJjcmVhdGUiLCJjb250ZXh0IiwicGFyc2VyT3B0aW9ucyIsInNvdXJjZVR5cGUiLCJtZXNzYWdlIiwiRXhwb3J0QWxsRGVjbGFyYXRpb24iLCJub2RlIiwicmVwb3J0IiwiRXhwb3J0TmFtZWREZWNsYXJhdGlvbiIsInNwZWNpZmllcnMiLCJsZW5ndGgiLCJzb21lTmFtZWQiLCJzb21lIiwic3BlY2lmaWVyIiwiZXhwb3J0ZWQiLCJuYW1lIiwidmFsdWUiXSwibWFwcGluZ3MiOiJhQUFBLHFDOztBQUVBQSxPQUFPQyxPQUFQLEdBQWlCO0FBQ2ZDLFFBQU07QUFDSkMsVUFBTSxZQURGO0FBRUpDLFVBQU07QUFDSkMsZ0JBQVUsYUFETjtBQUVKQyxtQkFBYSx1QkFGVDtBQUdKQyxXQUFLLDBCQUFRLGlCQUFSLENBSEQsRUFGRjs7QUFPSkMsWUFBUSxFQVBKLEVBRFM7OztBQVdmQyxRQVhlLCtCQVdSQyxPQVhRLEVBV0M7QUFDZDtBQUNBLFVBQUlBLFFBQVFDLGFBQVIsQ0FBc0JDLFVBQXRCLEtBQXFDLFFBQXpDLEVBQW1EO0FBQ2pELGVBQU8sRUFBUDtBQUNEOztBQUVELFVBQU1DLFVBQVUsZ0NBQWh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cbiAgICB9LFxuICAgIHNjaGVtYTogW10sXG4gIH0sXG5cbiAgY3JlYXRlKGNvbnRleHQpIHtcbiAgICAvLyBpZ25vcmUgbm9uLW1vZHVsZXNcbiAgICBpZiAoY29udGV4dC5wYXJzZXJPcHRpb25zLnNvdXJjZVR5cGUgIT09ICdtb2R1bGUnKSB7XG4gICAgICByZXR1cm4ge307XG4gICAgfVxuXG4gICAgY29uc3QgbWVzc2FnZSA9ICdOYW1lZCBleHBvcnRzIGFyZSBub3QgYWxsb3dlZC4nO1xuXG4gICAgcmV0dXJuIHtcbiAgICAgIEV4cG9ydEFsbERlY2xhcmF0aW9uKG5vZGUpIHtcbiAgICAgICAgY29udGV4dC5yZXBvcnQoeyBub2RlLCBtZXNzYWdlIH0pO1xuICAgICAgfSxcblxuICAgICAgRXhwb3J0TmFtZWREZWNsYXJhdGlvbihub2RlKSB7XG4gICAgICAgIGlmIChub2RlLnNwZWNpZmllcnMubGVuZ3RoID09PSAwKSB7XG4gICAgICAgICAgcmV0dXJuIGNvbnRleHQucmVwb3J0KHsgbm9kZSwgbWVzc2FnZSB9KTtcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IHNvbWVOYW1lZCA9IG5vZGUuc3BlY2lmaWVycy5zb21lKChzcGVjaWZpZXIpID0+IChzcGVjaWZpZXIuZXhwb3J0ZWQubmFtZSB8fCBzcGVjaWZpZXIuZXhwb3J0ZWQudmFsdWUpICE9PSAnZGVmYXVsdCcpO1xuICAgICAgICBpZiAoc29tZU5hbWVkKSB7XG4gICAgICAgICAgY29udGV4dC5yZXBvcnQoeyBub2RlLCBtZXNzYWdlIH0pO1xuICAgICAgICB9XG4gICAgICB9LFxuICAgIH07XG4gIH0sXG59O1xuIl19
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _minimatch = require('minimatch');var _minimatch2 = _interopRequireDefault(_minimatch);
|
|
7
|
-
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
8
|
-
|
|
9
|
-
//------------------------------------------------------------------------------
|
|
10
|
-
// Rule Definition
|
|
11
|
-
//------------------------------------------------------------------------------
|
|
12
|
-
/**
|
|
13
|
-
* @fileoverview Rule to disallow namespace import
|
|
14
|
-
* @author Radek Benkel
|
|
15
|
-
*/module.exports = { meta: { type: 'suggestion',
|
|
16
|
-
docs: {
|
|
17
|
-
category: 'Style guide',
|
|
18
|
-
description: 'Forbid namespace (a.k.a. "wildcard" `*`) imports.',
|
|
19
|
-
url: (0, _docsUrl2['default'])('no-namespace') },
|
|
20
|
-
|
|
21
|
-
fixable: 'code',
|
|
22
|
-
schema: [{
|
|
23
|
-
type: 'object',
|
|
24
|
-
properties: {
|
|
25
|
-
ignore: {
|
|
26
|
-
type: 'array',
|
|
27
|
-
items: {
|
|
28
|
-
type: 'string' },
|
|
29
|
-
|
|
30
|
-
uniqueItems: true } } }] },
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
create: function () {function create(context) {
|
|
37
|
-
var firstOption = context.options[0] || {};
|
|
38
|
-
var ignoreGlobs = firstOption.ignore;
|
|
39
|
-
|
|
40
|
-
return {
|
|
41
|
-
ImportNamespaceSpecifier: function () {function ImportNamespaceSpecifier(node) {
|
|
42
|
-
if (ignoreGlobs && ignoreGlobs.find(function (glob) {return (0, _minimatch2['default'])(node.parent.source.value, glob, { matchBase: true });})) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
var scopeVariables = context.getScope().variables;
|
|
47
|
-
var namespaceVariable = scopeVariables.find(function (variable) {return variable.defs[0].node === node;});
|
|
48
|
-
var namespaceReferences = namespaceVariable.references;
|
|
49
|
-
var namespaceIdentifiers = namespaceReferences.map(function (reference) {return reference.identifier;});
|
|
50
|
-
var canFix = namespaceIdentifiers.length > 0 && !usesNamespaceAsObject(namespaceIdentifiers);
|
|
51
|
-
|
|
52
|
-
context.report({
|
|
53
|
-
node: node,
|
|
54
|
-
message: 'Unexpected namespace import.',
|
|
55
|
-
fix: canFix && function (fixer) {
|
|
56
|
-
var scopeManager = context.getSourceCode().scopeManager;
|
|
57
|
-
var fixes = [];
|
|
58
|
-
|
|
59
|
-
// Pass 1: Collect variable names that are already in scope for each reference we want
|
|
60
|
-
// to transform, so that we can be sure that we choose non-conflicting import names
|
|
61
|
-
var importNameConflicts = {};
|
|
62
|
-
namespaceIdentifiers.forEach(function (identifier) {
|
|
63
|
-
var parent = identifier.parent;
|
|
64
|
-
if (parent && parent.type === 'MemberExpression') {
|
|
65
|
-
var importName = getMemberPropertyName(parent);
|
|
66
|
-
var localConflicts = getVariableNamesInScope(scopeManager, parent);
|
|
67
|
-
if (!importNameConflicts[importName]) {
|
|
68
|
-
importNameConflicts[importName] = localConflicts;
|
|
69
|
-
} else {
|
|
70
|
-
localConflicts.forEach(function (c) {return importNameConflicts[importName].add(c);});
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
// Choose new names for each import
|
|
76
|
-
var importNames = Object.keys(importNameConflicts);
|
|
77
|
-
var importLocalNames = generateLocalNames(
|
|
78
|
-
importNames,
|
|
79
|
-
importNameConflicts,
|
|
80
|
-
namespaceVariable.name);
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
// Replace the ImportNamespaceSpecifier with a list of ImportSpecifiers
|
|
84
|
-
var namedImportSpecifiers = importNames.map(function (importName) {return importName === importLocalNames[importName] ?
|
|
85
|
-
importName : String(
|
|
86
|
-
importName) + ' as ' + String(importLocalNames[importName]);});
|
|
87
|
-
|
|
88
|
-
fixes.push(fixer.replaceText(node, '{ ' + String(namedImportSpecifiers.join(', ')) + ' }'));
|
|
89
|
-
|
|
90
|
-
// Pass 2: Replace references to the namespace with references to the named imports
|
|
91
|
-
namespaceIdentifiers.forEach(function (identifier) {
|
|
92
|
-
var parent = identifier.parent;
|
|
93
|
-
if (parent && parent.type === 'MemberExpression') {
|
|
94
|
-
var importName = getMemberPropertyName(parent);
|
|
95
|
-
fixes.push(fixer.replaceText(parent, importLocalNames[importName]));
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
return fixes;
|
|
100
|
-
} });
|
|
101
|
-
|
|
102
|
-
}return ImportNamespaceSpecifier;}() };
|
|
103
|
-
|
|
104
|
-
}return create;}() };
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* @param {Identifier[]} namespaceIdentifiers
|
|
109
|
-
* @returns {boolean} `true` if the namespace variable is more than just a glorified constant
|
|
110
|
-
*/
|
|
111
|
-
function usesNamespaceAsObject(namespaceIdentifiers) {
|
|
112
|
-
return !namespaceIdentifiers.every(function (identifier) {
|
|
113
|
-
var parent = identifier.parent;
|
|
114
|
-
|
|
115
|
-
// `namespace.x` or `namespace['x']`
|
|
116
|
-
return (
|
|
117
|
-
parent &&
|
|
118
|
-
parent.type === 'MemberExpression' && (
|
|
119
|
-
parent.property.type === 'Identifier' || parent.property.type === 'Literal'));
|
|
120
|
-
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* @param {MemberExpression} memberExpression
|
|
126
|
-
* @returns {string} the name of the member in the object expression, e.g. the `x` in `namespace.x`
|
|
127
|
-
*/
|
|
128
|
-
function getMemberPropertyName(memberExpression) {
|
|
129
|
-
return memberExpression.property.type === 'Identifier' ?
|
|
130
|
-
memberExpression.property.name :
|
|
131
|
-
memberExpression.property.value;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @param {ScopeManager} scopeManager
|
|
136
|
-
* @param {ASTNode} node
|
|
137
|
-
* @return {Set<string>}
|
|
138
|
-
*/
|
|
139
|
-
function getVariableNamesInScope(scopeManager, node) {
|
|
140
|
-
var currentNode = node;
|
|
141
|
-
var scope = scopeManager.acquire(currentNode);
|
|
142
|
-
while (scope == null) {
|
|
143
|
-
currentNode = currentNode.parent;
|
|
144
|
-
scope = scopeManager.acquire(currentNode, true);
|
|
145
|
-
}
|
|
146
|
-
return new Set(scope.variables.concat(scope.upper.variables).map(function (variable) {return variable.name;}));
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
*
|
|
151
|
-
* @param {*} names
|
|
152
|
-
* @param {*} nameConflicts
|
|
153
|
-
* @param {*} namespaceName
|
|
154
|
-
*/
|
|
155
|
-
function generateLocalNames(names, nameConflicts, namespaceName) {
|
|
156
|
-
var localNames = {};
|
|
157
|
-
names.forEach(function (name) {
|
|
158
|
-
var localName = void 0;
|
|
159
|
-
if (!nameConflicts[name].has(name)) {
|
|
160
|
-
localName = name;
|
|
161
|
-
} else if (!nameConflicts[name].has(String(namespaceName) + '_' + String(name))) {
|
|
162
|
-
localName = String(namespaceName) + '_' + String(name);
|
|
163
|
-
} else {
|
|
164
|
-
for (var i = 1; i < Infinity; i++) {
|
|
165
|
-
if (!nameConflicts[name].has(String(namespaceName) + '_' + String(name) + '_' + String(i))) {
|
|
166
|
-
localName = String(namespaceName) + '_' + String(name) + '_' + String(i);
|
|
167
|
-
break;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
localNames[name] = localName;
|
|
172
|
-
});
|
|
173
|
-
return localNames;
|
|
174
|
-
}
|
|
175
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9uby1uYW1lc3BhY2UuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIm1ldGEiLCJ0eXBlIiwiZG9jcyIsImNhdGVnb3J5IiwiZGVzY3JpcHRpb24iLCJ1cmwiLCJmaXhhYmxlIiwic2NoZW1hIiwicHJvcGVydGllcyIsImlnbm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1lKHBhcmVudCk7XG4gICAgICAgICAgICAgICAgY29uc3QgbG9jYWxDb25mbGljdHMgPSBnZXRWYXJpYWJsZU5hbWVzSW5TY29wZShzY29wZU1hbmFnZXIsIHBhcmVudCk7XG4gICAgICAgICAgICAgICAgaWYgKCFpbXBvcnROYW1lQ29uZmxpY3RzW2ltcG9ydE5hbWVdKSB7XG4gICAgICAgICAgICAgICAgICBpbXBvcnROYW1lQ29uZmxpY3RzW2ltcG9ydE5hbWVdID0gbG9jYWxDb25mbGljdHM7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgIGxvY2FsQ29uZmxpY3RzLmZvckVhY2goKGMpID0+IGltcG9ydE5hbWVDb25mbGljdHNbaW1wb3J0TmFtZV0uYWRkKGMpKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICAvLyBDaG9vc2UgbmV3IG5hbWVzIGZvciBlYWNoIGltcG9ydFxuICAgICAgICAgICAgY29uc3QgaW1wb3J0TmFtZXMgPSBPYmplY3Qua2V5cyhpbXBvcnROYW1lQ29uZmxpY3RzKTtcbiAgICAgICAgICAgIGNvbnN0IGltcG9ydExvY2FsTmFtZXMgPSBnZW5lcmF0ZUxvY2FsTmFtZXMoXG4gICAgICAgICAgICAgIGltcG9ydE5hbWVzLFxuICAgICAgICAgICAgICBpbXBvcnROYW1lQ29uZmxpY3RzLFxuICAgICAgICAgICAgICBuYW1lc3BhY2VWYXJpYWJsZS5uYW1lLFxuICAgICAgICAgICAgKTtcblxuICAgICAgICAgICAgLy8gUmVwbGFjZSB0aGUgSW1wb3J0TmFtZXNwYWNlU3BlY2lmaWVyIHdpdGggYSBsaXN0IG9mIEltcG9ydFNwZWNpZmllcnNcbiAgICAgICAgICAgIGNvbnN0IG5hbWVkSW1wb3J0U3BlY2lmaWVycyA9IGltcG9ydE5hbWVzLm1hcCgoaW1wb3J0TmFtZSkgPT4gaW1wb3J0TmFtZSA9PT0gaW1wb3J0TG9jYWxOYW1lc1tpbXBvcnROYW1lXVxuICAgICAgICAgICAgICA/IGltcG9ydE5hbWVcbiAgICAgICAgICAgICAgOiBgJHtpbXBvcnROYW1lfSBhcyAke2ltcG9ydExvY2FsTmFtZXNbaW1wb3J0TmFtZV19YCxcbiAgICAgICAgICAgICk7XG4gICAgICAgICAgICBmaXhlcy5wdXNoKGZpeGVyLnJlcGxhY2VUZXh0KG5vZGUsIGB7ICR7bmFtZWRJbXBvcnRTcGVjaWZpZXJzLmpvaW4oJywgJyl9IH1gKSk7XG5cbiAgICAgICAgICAgIC8vIFBhc3MgMjogUmVwbGFjZSByZWZlcmVuY2VzIHRvIHRoZSBuYW1lc3BhY2Ugd2l0aCByZWZlcmVuY2VzIHRvIHRoZSBuYW1lZCBpbXBvcnRzXG4gICAgICAgICAgICBuYW1lc3BhY2VJZGVudGlmaWVycy5mb3JFYWNoKChpZGVudGlmaWVyKSA9PiB7XG4gICAgICAgICAgICAgIGNvbnN0IHBhcmVudCA9IGlkZW50aWZpZXIucGFyZW50O1xuICAgICAgICAgICAgICBpZiAocGFyZW50ICYmIHBhcmVudC50eXBlID09PSAnTWVtYmVyRXhwcmVzc2lvbicpIHtcbiAgICAgICAgICAgICAgICBjb25zdCBpbXBvcnROYW1lID0gZ2V0TWVtYmVyUHJvcGVydHlOYW1lKHBhcmVudCk7XG4gICAgICAgICAgICAgICAgZml4ZXMucHVzaChmaXhlci5yZXBsYWNlVGV4dChwYXJlbnQsIGltcG9ydExvY2FsTmFtZXNbaW1wb3J0TmFtZV0pKTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIHJldHVybiBmaXhlcztcbiAgICAgICAgICB9KSxcbiAgICAgICAgfSk7XG4gICAgICB9LFxuICAgIH07XG4gIH0sXG59O1xuXG4vKipcbiAqIEBwYXJhbSB7SWRlbnRpZmllcltdfSBuYW1lc3BhY2VJZGVudG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1lQ29uZmxpY3RzW25hbWVdLmhhcyhgJHtuYW1lc3BhY2VOYW1lfV8ke25hbWV9YCkpIHtcbiAgICAgIGxvY2FsTmFtZSA9IGAke25hbWVzcGFjZU5hbWV9XyR7bmFtZX1gO1xuICAgIH0gZWxzZSB7XG4gICAgICBmb3IgKGxldCBpID0gMTsgaSA8IEluZmluaXR5OyBpKyspIHtcbiAgICAgICAgaWYgKCFuYW1lQ29uZmxpY3RzW25hbWVdLmhhcyhgJHtuYW1lc3BhY2VOYW1lfV8ke25hbWV9XyR7aX1gKSkge1xuICAgICAgICAgIGxvY2FsTmFtZSA9IGAke25hbWVzcGFjZU5hbWV9XyR7bmFtZX1fJHtpfWA7XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gICAgbG9jYWxOYW1lc1tuYW1lXSA9IGxvY2FsTmFtZTtcbiAgfSk7XG4gIHJldHVybiBsb2NhbE5hbWVzO1xufVxuIl19
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use strict';var _importType = require('../core/importType');var _importType2 = _interopRequireDefault(_importType);
|
|
2
|
-
var _moduleVisitor = require('eslint-module-utils/moduleVisitor');var _moduleVisitor2 = _interopRequireDefault(_moduleVisitor);
|
|
3
|
-
var _docsUrl = require('../docsUrl');var _docsUrl2 = _interopRequireDefault(_docsUrl);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { 'default': obj };}
|
|
4
|
-
|
|
5
|
-
function reportIfMissing(context, node, allowed, name) {
|
|
6
|
-
if (allowed.indexOf(name) === -1 && (0, _importType2['default'])(name, context) === 'builtin') {
|
|
7
|
-
context.report(node, 'Do not import Node.js builtin module "' + String(name) + '"');
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
module.exports = {
|
|
12
|
-
meta: {
|
|
13
|
-
type: 'suggestion',
|
|
14
|
-
docs: {
|
|
15
|
-
category: 'Module systems',
|
|
16
|
-
description: 'Forbid Node.js builtin modules.',
|
|
17
|
-
url: (0, _docsUrl2['default'])('no-nodejs-modules') },
|
|
18
|
-
|
|
19
|
-
schema: [
|
|
20
|
-
{
|
|
21
|
-
type: 'object',
|
|
22
|
-
properties: {
|
|
23
|
-
allow: {
|
|
24
|
-
type: 'array',
|
|
25
|
-
uniqueItems: true,
|
|
26
|
-
items: {
|
|
27
|
-
type: 'string' } } },
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
additionalProperties: false }] },
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
create: function () {function create(context) {
|
|
37
|
-
var options = context.options[0] || {};
|
|
38
|
-
var allowed = options.allow || [];
|
|
39
|
-
|
|
40
|
-
return (0, _moduleVisitor2['default'])(function (source, node) {
|
|
41
|
-
reportIfMissing(context, node, allowed, source.value);
|
|
42
|
-
}, { commonjs: true });
|
|
43
|
-
}return create;}() };
|
|
44
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9uby1ub2RlanMtbW9kdWxlcy5qcyJdLCJuYW1lcyI6WyJyZXBvcnRJZk1pc3NpbmciLCJjb250ZXh0Iiwibm9kZSIsImFsbG93ZWQiLCJuYW1lIiwiaW5kZXhPZiIsInJlcG9ydCIsIm1vZHVsZSIsImV4cG9ydHMiLCJtZXRhIiwidHlwZSIsImRvY3MiLCJjYXRlZ29yeSIsImRlc2NyaXB0aW9uIiwidXJsIiwic2NoZW1hIiwicHJvcGVydGllcyIsImFsbG93IiwidW5pcXVlSXRlbXMiLCJpdGVtcyIsImFkZGl0aW9uYWxQcm9wZXJ0aWVzIiwiY3JlYXRlIiwib3B0aW9ucyIsInNvdXJjZSIsInZhbHVlIiwiY29tbW9uanMiXSwibWFwcGluZ3MiOiJhQUFBLGdEO0FBQ0Esa0U7QUFDQSxxQzs7QUFFQSxTQUFTQSxlQUFULENBQXlCQyxPQUF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ge1xuICAgICAgICAgICAgICB0eXBlOiAnc3RyaW5nJyxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgICAgYWRkaXRpb25hbFByb3BlcnRpZXM6IGZhbHNlLFxuICAgICAgfSxcbiAgICBdLFxuICB9LFxuXG4gIGNyZWF0ZShjb250ZXh0KSB7XG4gICAgY29uc3Qgb3B0aW9ucyA9IGNvbnRleHQub3B0aW9uc1swXSB8fCB7fTtcbiAgICBjb25zdCBhbGxvd2VkID0gb3B0aW9ucy5hbGxvdyB8fCBbXTtcblxuICAgIHJldHVybiBtb2R1bGVWaXNpdG9yKChzb3VyY2UsIG5vZGUpID0+IHtcbiAgICAgIHJlcG9ydElmTWlzc2luZyhjb250ZXh0LCBub2RlLCBhbGxvd2VkLCBzb3VyY2UudmFsdWUpO1xuICAgIH0sIHsgY29tbW9uanM6IHRydWUgfSk7XG4gIH0sXG59O1xuIl19
|