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
|
@@ -1,902 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Helper functions for ESLint class
|
|
3
|
-
* @author Nicholas C. Zakas
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
|
|
8
|
-
//-----------------------------------------------------------------------------
|
|
9
|
-
// Requirements
|
|
10
|
-
//-----------------------------------------------------------------------------
|
|
11
|
-
|
|
12
|
-
const path = require("path");
|
|
13
|
-
const fs = require("fs");
|
|
14
|
-
const fsp = fs.promises;
|
|
15
|
-
const isGlob = require("is-glob");
|
|
16
|
-
const hash = require("../cli-engine/hash");
|
|
17
|
-
const minimatch = require("minimatch");
|
|
18
|
-
const util = require("util");
|
|
19
|
-
const fswalk = require("@nodelib/fs.walk");
|
|
20
|
-
const globParent = require("glob-parent");
|
|
21
|
-
const isPathInside = require("is-path-inside");
|
|
22
|
-
|
|
23
|
-
//-----------------------------------------------------------------------------
|
|
24
|
-
// Fixup references
|
|
25
|
-
//-----------------------------------------------------------------------------
|
|
26
|
-
|
|
27
|
-
const doFsWalk = util.promisify(fswalk.walk);
|
|
28
|
-
const Minimatch = minimatch.Minimatch;
|
|
29
|
-
const MINIMATCH_OPTIONS = { dot: true };
|
|
30
|
-
|
|
31
|
-
//-----------------------------------------------------------------------------
|
|
32
|
-
// Types
|
|
33
|
-
//-----------------------------------------------------------------------------
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @typedef {Object} GlobSearch
|
|
37
|
-
* @property {Array<string>} patterns The normalized patterns to use for a search.
|
|
38
|
-
* @property {Array<string>} rawPatterns The patterns as entered by the user
|
|
39
|
-
* before doing any normalization.
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
|
-
//-----------------------------------------------------------------------------
|
|
43
|
-
// Errors
|
|
44
|
-
//-----------------------------------------------------------------------------
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* The error type when no files match a glob.
|
|
48
|
-
*/
|
|
49
|
-
class NoFilesFoundError extends Error {
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @param {string} pattern The glob pattern which was not found.
|
|
53
|
-
* @param {boolean} globEnabled If `false` then the pattern was a glob pattern, but glob was disabled.
|
|
54
|
-
*/
|
|
55
|
-
constructor(pattern, globEnabled) {
|
|
56
|
-
super(`No files matching '${pattern}' were found${!globEnabled ? " (glob was disabled)" : ""}.`);
|
|
57
|
-
this.messageTemplate = "file-not-found";
|
|
58
|
-
this.messageData = { pattern, globDisabled: !globEnabled };
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* The error type when a search fails to match multiple patterns.
|
|
64
|
-
*/
|
|
65
|
-
class UnmatchedSearchPatternsError extends Error {
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @param {Object} options The options for the error.
|
|
69
|
-
* @param {string} options.basePath The directory that was searched.
|
|
70
|
-
* @param {Array<string>} options.unmatchedPatterns The glob patterns
|
|
71
|
-
* which were not found.
|
|
72
|
-
* @param {Array<string>} options.patterns The glob patterns that were
|
|
73
|
-
* searched.
|
|
74
|
-
* @param {Array<string>} options.rawPatterns The raw glob patterns that
|
|
75
|
-
* were searched.
|
|
76
|
-
*/
|
|
77
|
-
constructor({ basePath, unmatchedPatterns, patterns, rawPatterns }) {
|
|
78
|
-
super(`No files matching '${rawPatterns}' in '${basePath}' were found.`);
|
|
79
|
-
this.basePath = basePath;
|
|
80
|
-
this.unmatchedPatterns = unmatchedPatterns;
|
|
81
|
-
this.patterns = patterns;
|
|
82
|
-
this.rawPatterns = rawPatterns;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* The error type when there are files matched by a glob, but all of them have been ignored.
|
|
88
|
-
*/
|
|
89
|
-
class AllFilesIgnoredError extends Error {
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @param {string} pattern The glob pattern which was not found.
|
|
93
|
-
*/
|
|
94
|
-
constructor(pattern) {
|
|
95
|
-
super(`All files matched by '${pattern}' are ignored.`);
|
|
96
|
-
this.messageTemplate = "all-files-ignored";
|
|
97
|
-
this.messageData = { pattern };
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
//-----------------------------------------------------------------------------
|
|
103
|
-
// General Helpers
|
|
104
|
-
//-----------------------------------------------------------------------------
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Check if a given value is a non-empty string or not.
|
|
108
|
-
* @param {any} x The value to check.
|
|
109
|
-
* @returns {boolean} `true` if `x` is a non-empty string.
|
|
110
|
-
*/
|
|
111
|
-
function isNonEmptyString(x) {
|
|
112
|
-
return typeof x === "string" && x.trim() !== "";
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Check if a given value is an array of non-empty strings or not.
|
|
117
|
-
* @param {any} x The value to check.
|
|
118
|
-
* @returns {boolean} `true` if `x` is an array of non-empty strings.
|
|
119
|
-
*/
|
|
120
|
-
function isArrayOfNonEmptyString(x) {
|
|
121
|
-
return Array.isArray(x) && x.every(isNonEmptyString);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
//-----------------------------------------------------------------------------
|
|
125
|
-
// File-related Helpers
|
|
126
|
-
//-----------------------------------------------------------------------------
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Normalizes slashes in a file pattern to posix-style.
|
|
130
|
-
* @param {string} pattern The pattern to replace slashes in.
|
|
131
|
-
* @returns {string} The pattern with slashes normalized.
|
|
132
|
-
*/
|
|
133
|
-
function normalizeToPosix(pattern) {
|
|
134
|
-
return pattern.replace(/\\/gu, "/");
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* Check if a string is a glob pattern or not.
|
|
139
|
-
* @param {string} pattern A glob pattern.
|
|
140
|
-
* @returns {boolean} `true` if the string is a glob pattern.
|
|
141
|
-
*/
|
|
142
|
-
function isGlobPattern(pattern) {
|
|
143
|
-
return isGlob(path.sep === "\\" ? normalizeToPosix(pattern) : pattern);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Determines if a given glob pattern will return any results.
|
|
149
|
-
* Used primarily to help with useful error messages.
|
|
150
|
-
* @param {Object} options The options for the function.
|
|
151
|
-
* @param {string} options.basePath The directory to search.
|
|
152
|
-
* @param {string} options.pattern A glob pattern to match.
|
|
153
|
-
* @returns {Promise<boolean>} True if there is a glob match, false if not.
|
|
154
|
-
*/
|
|
155
|
-
function globMatch({ basePath, pattern }) {
|
|
156
|
-
|
|
157
|
-
let found = false;
|
|
158
|
-
const patternToUse = path.isAbsolute(pattern)
|
|
159
|
-
? normalizeToPosix(path.relative(basePath, pattern))
|
|
160
|
-
: pattern;
|
|
161
|
-
|
|
162
|
-
const matcher = new Minimatch(patternToUse, MINIMATCH_OPTIONS);
|
|
163
|
-
|
|
164
|
-
const fsWalkSettings = {
|
|
165
|
-
|
|
166
|
-
deepFilter(entry) {
|
|
167
|
-
const relativePath = normalizeToPosix(path.relative(basePath, entry.path));
|
|
168
|
-
|
|
169
|
-
return !found && matcher.match(relativePath, true);
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
entryFilter(entry) {
|
|
173
|
-
if (found || entry.dirent.isDirectory()) {
|
|
174
|
-
return false;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
const relativePath = normalizeToPosix(path.relative(basePath, entry.path));
|
|
178
|
-
|
|
179
|
-
if (matcher.match(relativePath)) {
|
|
180
|
-
found = true;
|
|
181
|
-
return true;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
return false;
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
return new Promise(resolve => {
|
|
189
|
-
|
|
190
|
-
// using a stream so we can exit early because we just need one match
|
|
191
|
-
const globStream = fswalk.walkStream(basePath, fsWalkSettings);
|
|
192
|
-
|
|
193
|
-
globStream.on("data", () => {
|
|
194
|
-
globStream.destroy();
|
|
195
|
-
resolve(true);
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
// swallow errors as they're not important here
|
|
199
|
-
globStream.on("error", () => { });
|
|
200
|
-
|
|
201
|
-
globStream.on("end", () => {
|
|
202
|
-
resolve(false);
|
|
203
|
-
});
|
|
204
|
-
globStream.read();
|
|
205
|
-
});
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Searches a directory looking for matching glob patterns. This uses
|
|
211
|
-
* the config array's logic to determine if a directory or file should
|
|
212
|
-
* be ignored, so it is consistent with how ignoring works throughout
|
|
213
|
-
* ESLint.
|
|
214
|
-
* @param {Object} options The options for this function.
|
|
215
|
-
* @param {string} options.basePath The directory to search.
|
|
216
|
-
* @param {Array<string>} options.patterns An array of glob patterns
|
|
217
|
-
* to match.
|
|
218
|
-
* @param {Array<string>} options.rawPatterns An array of glob patterns
|
|
219
|
-
* as the user inputted them. Used for errors.
|
|
220
|
-
* @param {FlatConfigArray} options.configs The config array to use for
|
|
221
|
-
* determining what to ignore.
|
|
222
|
-
* @param {boolean} options.errorOnUnmatchedPattern Determines if an error
|
|
223
|
-
* should be thrown when a pattern is unmatched.
|
|
224
|
-
* @returns {Promise<Array<string>>} An array of matching file paths
|
|
225
|
-
* or an empty array if there are no matches.
|
|
226
|
-
* @throws {UnmatchedSearchPatternsError} If there is a pattern that doesn't
|
|
227
|
-
* match any files.
|
|
228
|
-
*/
|
|
229
|
-
async function globSearch({
|
|
230
|
-
basePath,
|
|
231
|
-
patterns,
|
|
232
|
-
rawPatterns,
|
|
233
|
-
configs,
|
|
234
|
-
errorOnUnmatchedPattern
|
|
235
|
-
}) {
|
|
236
|
-
|
|
237
|
-
if (patterns.length === 0) {
|
|
238
|
-
return [];
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/*
|
|
242
|
-
* In this section we are converting the patterns into Minimatch
|
|
243
|
-
* instances for performance reasons. Because we are doing the same
|
|
244
|
-
* matches repeatedly, it's best to compile those patterns once and
|
|
245
|
-
* reuse them multiple times.
|
|
246
|
-
*
|
|
247
|
-
* To do that, we convert any patterns with an absolute path into a
|
|
248
|
-
* relative path and normalize it to Posix-style slashes. We also keep
|
|
249
|
-
* track of the relative patterns to map them back to the original
|
|
250
|
-
* patterns, which we need in order to throw an error if there are any
|
|
251
|
-
* unmatched patterns.
|
|
252
|
-
*/
|
|
253
|
-
const relativeToPatterns = new Map();
|
|
254
|
-
const matchers = patterns.map((pattern, i) => {
|
|
255
|
-
const patternToUse = path.isAbsolute(pattern)
|
|
256
|
-
? normalizeToPosix(path.relative(basePath, pattern))
|
|
257
|
-
: pattern;
|
|
258
|
-
|
|
259
|
-
relativeToPatterns.set(patternToUse, patterns[i]);
|
|
260
|
-
|
|
261
|
-
return new Minimatch(patternToUse, MINIMATCH_OPTIONS);
|
|
262
|
-
});
|
|
263
|
-
|
|
264
|
-
/*
|
|
265
|
-
* We track unmatched patterns because we may want to throw an error when
|
|
266
|
-
* they occur. To start, this set is initialized with all of the patterns.
|
|
267
|
-
* Every time a match occurs, the pattern is removed from the set, making
|
|
268
|
-
* it easy to tell if we have any unmatched patterns left at the end of
|
|
269
|
-
* search.
|
|
270
|
-
*/
|
|
271
|
-
const unmatchedPatterns = new Set([...relativeToPatterns.keys()]);
|
|
272
|
-
|
|
273
|
-
const filePaths = (await doFsWalk(basePath, {
|
|
274
|
-
|
|
275
|
-
deepFilter(entry) {
|
|
276
|
-
const relativePath = normalizeToPosix(path.relative(basePath, entry.path));
|
|
277
|
-
const matchesPattern = matchers.some(matcher => matcher.match(relativePath, true));
|
|
278
|
-
|
|
279
|
-
return matchesPattern && !configs.isDirectoryIgnored(entry.path);
|
|
280
|
-
},
|
|
281
|
-
entryFilter(entry) {
|
|
282
|
-
const relativePath = normalizeToPosix(path.relative(basePath, entry.path));
|
|
283
|
-
|
|
284
|
-
// entries may be directories or files so filter out directories
|
|
285
|
-
if (entry.dirent.isDirectory()) {
|
|
286
|
-
return false;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/*
|
|
290
|
-
* Optimization: We need to track when patterns are left unmatched
|
|
291
|
-
* and so we use `unmatchedPatterns` to do that. There is a bit of
|
|
292
|
-
* complexity here because the same file can be matched by more than
|
|
293
|
-
* one pattern. So, when we start, we actually need to test every
|
|
294
|
-
* pattern against every file. Once we know there are no remaining
|
|
295
|
-
* unmatched patterns, then we can switch to just looking for the
|
|
296
|
-
* first matching pattern for improved speed.
|
|
297
|
-
*/
|
|
298
|
-
const matchesPattern = unmatchedPatterns.size > 0
|
|
299
|
-
? matchers.reduce((previousValue, matcher) => {
|
|
300
|
-
const pathMatches = matcher.match(relativePath);
|
|
301
|
-
|
|
302
|
-
/*
|
|
303
|
-
* We updated the unmatched patterns set only if the path
|
|
304
|
-
* matches and the file isn't ignored. If the file is
|
|
305
|
-
* ignored, that means there wasn't a match for the
|
|
306
|
-
* pattern so it should not be removed.
|
|
307
|
-
*
|
|
308
|
-
* Performance note: isFileIgnored() aggressively caches
|
|
309
|
-
* results so there is no performance penalty for calling
|
|
310
|
-
* it twice with the same argument.
|
|
311
|
-
*/
|
|
312
|
-
if (pathMatches && !configs.isFileIgnored(entry.path)) {
|
|
313
|
-
unmatchedPatterns.delete(matcher.pattern);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
return pathMatches || previousValue;
|
|
317
|
-
}, false)
|
|
318
|
-
: matchers.some(matcher => matcher.match(relativePath));
|
|
319
|
-
|
|
320
|
-
return matchesPattern && !configs.isFileIgnored(entry.path);
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
})).map(entry => entry.path);
|
|
324
|
-
|
|
325
|
-
// now check to see if we have any unmatched patterns
|
|
326
|
-
if (errorOnUnmatchedPattern && unmatchedPatterns.size > 0) {
|
|
327
|
-
throw new UnmatchedSearchPatternsError({
|
|
328
|
-
basePath,
|
|
329
|
-
unmatchedPatterns: [...unmatchedPatterns].map(
|
|
330
|
-
pattern => relativeToPatterns.get(pattern)
|
|
331
|
-
),
|
|
332
|
-
patterns,
|
|
333
|
-
rawPatterns
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
return filePaths;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Throws an error for unmatched patterns. The error will only contain information about the first one.
|
|
342
|
-
* Checks to see if there are any ignored results for a given search.
|
|
343
|
-
* @param {Object} options The options for this function.
|
|
344
|
-
* @param {string} options.basePath The directory to search.
|
|
345
|
-
* @param {Array<string>} options.patterns An array of glob patterns
|
|
346
|
-
* that were used in the original search.
|
|
347
|
-
* @param {Array<string>} options.rawPatterns An array of glob patterns
|
|
348
|
-
* as the user inputted them. Used for errors.
|
|
349
|
-
* @param {Array<string>} options.unmatchedPatterns A non-empty array of glob patterns
|
|
350
|
-
* that were unmatched in the original search.
|
|
351
|
-
* @returns {void} Always throws an error.
|
|
352
|
-
* @throws {NoFilesFoundError} If the first unmatched pattern
|
|
353
|
-
* doesn't match any files even when there are no ignores.
|
|
354
|
-
* @throws {AllFilesIgnoredError} If the first unmatched pattern
|
|
355
|
-
* matches some files when there are no ignores.
|
|
356
|
-
*/
|
|
357
|
-
async function throwErrorForUnmatchedPatterns({
|
|
358
|
-
basePath,
|
|
359
|
-
patterns,
|
|
360
|
-
rawPatterns,
|
|
361
|
-
unmatchedPatterns
|
|
362
|
-
}) {
|
|
363
|
-
|
|
364
|
-
const pattern = unmatchedPatterns[0];
|
|
365
|
-
const rawPattern = rawPatterns[patterns.indexOf(pattern)];
|
|
366
|
-
|
|
367
|
-
const patternHasMatch = await globMatch({
|
|
368
|
-
basePath,
|
|
369
|
-
pattern
|
|
370
|
-
});
|
|
371
|
-
|
|
372
|
-
if (patternHasMatch) {
|
|
373
|
-
throw new AllFilesIgnoredError(rawPattern);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
// if we get here there are truly no matches
|
|
377
|
-
throw new NoFilesFoundError(rawPattern, true);
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* Performs multiple glob searches in parallel.
|
|
382
|
-
* @param {Object} options The options for this function.
|
|
383
|
-
* @param {Map<string,GlobSearch>} options.searches
|
|
384
|
-
* An array of glob patterns to match.
|
|
385
|
-
* @param {FlatConfigArray} options.configs The config array to use for
|
|
386
|
-
* determining what to ignore.
|
|
387
|
-
* @param {boolean} options.errorOnUnmatchedPattern Determines if an
|
|
388
|
-
* unmatched glob pattern should throw an error.
|
|
389
|
-
* @returns {Promise<Array<string>>} An array of matching file paths
|
|
390
|
-
* or an empty array if there are no matches.
|
|
391
|
-
*/
|
|
392
|
-
async function globMultiSearch({ searches, configs, errorOnUnmatchedPattern }) {
|
|
393
|
-
|
|
394
|
-
/*
|
|
395
|
-
* For convenience, we normalized the search map into an array of objects.
|
|
396
|
-
* Next, we filter out all searches that have no patterns. This happens
|
|
397
|
-
* primarily for the cwd, which is prepopulated in the searches map as an
|
|
398
|
-
* optimization. However, if it has no patterns, it means all patterns
|
|
399
|
-
* occur outside of the cwd and we can safely filter out that search.
|
|
400
|
-
*/
|
|
401
|
-
const normalizedSearches = [...searches].map(
|
|
402
|
-
([basePath, { patterns, rawPatterns }]) => ({ basePath, patterns, rawPatterns })
|
|
403
|
-
).filter(({ patterns }) => patterns.length > 0);
|
|
404
|
-
|
|
405
|
-
const results = await Promise.allSettled(
|
|
406
|
-
normalizedSearches.map(
|
|
407
|
-
({ basePath, patterns, rawPatterns }) => globSearch({
|
|
408
|
-
basePath,
|
|
409
|
-
patterns,
|
|
410
|
-
rawPatterns,
|
|
411
|
-
configs,
|
|
412
|
-
errorOnUnmatchedPattern
|
|
413
|
-
})
|
|
414
|
-
)
|
|
415
|
-
);
|
|
416
|
-
|
|
417
|
-
const filePaths = [];
|
|
418
|
-
|
|
419
|
-
for (let i = 0; i < results.length; i++) {
|
|
420
|
-
|
|
421
|
-
const result = results[i];
|
|
422
|
-
const currentSearch = normalizedSearches[i];
|
|
423
|
-
|
|
424
|
-
if (result.status === "fulfilled") {
|
|
425
|
-
|
|
426
|
-
// if the search was successful just add the results
|
|
427
|
-
if (result.value.length > 0) {
|
|
428
|
-
filePaths.push(...result.value);
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
continue;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
// if we make it here then there was an error
|
|
435
|
-
const error = result.reason;
|
|
436
|
-
|
|
437
|
-
// unexpected errors should be re-thrown
|
|
438
|
-
if (!error.basePath) {
|
|
439
|
-
throw error;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
if (errorOnUnmatchedPattern) {
|
|
443
|
-
|
|
444
|
-
await throwErrorForUnmatchedPatterns({
|
|
445
|
-
...currentSearch,
|
|
446
|
-
unmatchedPatterns: error.unmatchedPatterns
|
|
447
|
-
});
|
|
448
|
-
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
return [...new Set(filePaths)];
|
|
454
|
-
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* Finds all files matching the options specified.
|
|
459
|
-
* @param {Object} args The arguments objects.
|
|
460
|
-
* @param {Array<string>} args.patterns An array of glob patterns.
|
|
461
|
-
* @param {boolean} args.globInputPaths true to interpret glob patterns,
|
|
462
|
-
* false to not interpret glob patterns.
|
|
463
|
-
* @param {string} args.cwd The current working directory to find from.
|
|
464
|
-
* @param {FlatConfigArray} args.configs The configs for the current run.
|
|
465
|
-
* @param {boolean} args.errorOnUnmatchedPattern Determines if an unmatched pattern
|
|
466
|
-
* should throw an error.
|
|
467
|
-
* @returns {Promise<Array<string>>} The fully resolved file paths.
|
|
468
|
-
* @throws {AllFilesIgnoredError} If there are no results due to an ignore pattern.
|
|
469
|
-
* @throws {NoFilesFoundError} If no files matched the given patterns.
|
|
470
|
-
*/
|
|
471
|
-
async function findFiles({
|
|
472
|
-
patterns,
|
|
473
|
-
globInputPaths,
|
|
474
|
-
cwd,
|
|
475
|
-
configs,
|
|
476
|
-
errorOnUnmatchedPattern
|
|
477
|
-
}) {
|
|
478
|
-
|
|
479
|
-
const results = [];
|
|
480
|
-
const missingPatterns = [];
|
|
481
|
-
let globbyPatterns = [];
|
|
482
|
-
let rawPatterns = [];
|
|
483
|
-
const searches = new Map([[cwd, { patterns: globbyPatterns, rawPatterns: [] }]]);
|
|
484
|
-
|
|
485
|
-
// check to see if we have explicit files and directories
|
|
486
|
-
const filePaths = patterns.map(filePath => path.resolve(cwd, filePath));
|
|
487
|
-
const stats = await Promise.all(
|
|
488
|
-
filePaths.map(
|
|
489
|
-
filePath => fsp.stat(filePath).catch(() => { })
|
|
490
|
-
)
|
|
491
|
-
);
|
|
492
|
-
|
|
493
|
-
stats.forEach((stat, index) => {
|
|
494
|
-
|
|
495
|
-
const filePath = filePaths[index];
|
|
496
|
-
const pattern = normalizeToPosix(patterns[index]);
|
|
497
|
-
|
|
498
|
-
if (stat) {
|
|
499
|
-
|
|
500
|
-
// files are added directly to the list
|
|
501
|
-
if (stat.isFile()) {
|
|
502
|
-
results.push({
|
|
503
|
-
filePath,
|
|
504
|
-
ignored: configs.isFileIgnored(filePath)
|
|
505
|
-
});
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
// directories need extensions attached
|
|
509
|
-
if (stat.isDirectory()) {
|
|
510
|
-
|
|
511
|
-
// group everything in cwd together and split out others
|
|
512
|
-
if (isPathInside(filePath, cwd)) {
|
|
513
|
-
({ patterns: globbyPatterns, rawPatterns } = searches.get(cwd));
|
|
514
|
-
} else {
|
|
515
|
-
if (!searches.has(filePath)) {
|
|
516
|
-
searches.set(filePath, { patterns: [], rawPatterns: [] });
|
|
517
|
-
}
|
|
518
|
-
({ patterns: globbyPatterns, rawPatterns } = searches.get(filePath));
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
globbyPatterns.push(`${normalizeToPosix(filePath)}/**`);
|
|
522
|
-
rawPatterns.push(pattern);
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
return;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
// save patterns for later use based on whether globs are enabled
|
|
529
|
-
if (globInputPaths && isGlobPattern(pattern)) {
|
|
530
|
-
|
|
531
|
-
const basePath = path.resolve(cwd, globParent(pattern));
|
|
532
|
-
|
|
533
|
-
// group in cwd if possible and split out others
|
|
534
|
-
if (isPathInside(basePath, cwd)) {
|
|
535
|
-
({ patterns: globbyPatterns, rawPatterns } = searches.get(cwd));
|
|
536
|
-
} else {
|
|
537
|
-
if (!searches.has(basePath)) {
|
|
538
|
-
searches.set(basePath, { patterns: [], rawPatterns: [] });
|
|
539
|
-
}
|
|
540
|
-
({ patterns: globbyPatterns, rawPatterns } = searches.get(basePath));
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
globbyPatterns.push(filePath);
|
|
544
|
-
rawPatterns.push(pattern);
|
|
545
|
-
} else {
|
|
546
|
-
missingPatterns.push(pattern);
|
|
547
|
-
}
|
|
548
|
-
});
|
|
549
|
-
|
|
550
|
-
// there were patterns that didn't match anything, tell the user
|
|
551
|
-
if (errorOnUnmatchedPattern && missingPatterns.length) {
|
|
552
|
-
throw new NoFilesFoundError(missingPatterns[0], globInputPaths);
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
// now we are safe to do the search
|
|
556
|
-
const globbyResults = await globMultiSearch({
|
|
557
|
-
searches,
|
|
558
|
-
configs,
|
|
559
|
-
errorOnUnmatchedPattern
|
|
560
|
-
});
|
|
561
|
-
|
|
562
|
-
return [
|
|
563
|
-
...results,
|
|
564
|
-
...globbyResults.map(filePath => ({
|
|
565
|
-
filePath: path.resolve(filePath),
|
|
566
|
-
ignored: false
|
|
567
|
-
}))
|
|
568
|
-
];
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
//-----------------------------------------------------------------------------
|
|
572
|
-
// Results-related Helpers
|
|
573
|
-
//-----------------------------------------------------------------------------
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* Checks if the given message is an error message.
|
|
577
|
-
* @param {LintMessage} message The message to check.
|
|
578
|
-
* @returns {boolean} Whether or not the message is an error message.
|
|
579
|
-
* @private
|
|
580
|
-
*/
|
|
581
|
-
function isErrorMessage(message) {
|
|
582
|
-
return message.severity === 2;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* Returns result with warning by ignore settings
|
|
587
|
-
* @param {string} filePath File path of checked code
|
|
588
|
-
* @param {string} baseDir Absolute path of base directory
|
|
589
|
-
* @returns {LintResult} Result with single warning
|
|
590
|
-
* @private
|
|
591
|
-
*/
|
|
592
|
-
function createIgnoreResult(filePath, baseDir) {
|
|
593
|
-
let message;
|
|
594
|
-
const isInNodeModules = baseDir && path.dirname(path.relative(baseDir, filePath)).split(path.sep).includes("node_modules");
|
|
595
|
-
|
|
596
|
-
if (isInNodeModules) {
|
|
597
|
-
message = "File ignored by default because it is located under the node_modules directory. Use ignore pattern \"!**/node_modules/\" to disable file ignore settings or use \"--no-warn-ignored\" to suppress this warning.";
|
|
598
|
-
} else {
|
|
599
|
-
message = "File ignored because of a matching ignore pattern. Use \"--no-ignore\" to disable file ignore settings or use \"--no-warn-ignored\" to suppress this warning.";
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
return {
|
|
603
|
-
filePath: path.resolve(filePath),
|
|
604
|
-
messages: [
|
|
605
|
-
{
|
|
606
|
-
ruleId: null,
|
|
607
|
-
fatal: false,
|
|
608
|
-
severity: 1,
|
|
609
|
-
message,
|
|
610
|
-
nodeType: null
|
|
611
|
-
}
|
|
612
|
-
],
|
|
613
|
-
suppressedMessages: [],
|
|
614
|
-
errorCount: 0,
|
|
615
|
-
warningCount: 1,
|
|
616
|
-
fatalErrorCount: 0,
|
|
617
|
-
fixableErrorCount: 0,
|
|
618
|
-
fixableWarningCount: 0
|
|
619
|
-
};
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
//-----------------------------------------------------------------------------
|
|
623
|
-
// Options-related Helpers
|
|
624
|
-
//-----------------------------------------------------------------------------
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Check if a given value is a valid fix type or not.
|
|
629
|
-
* @param {any} x The value to check.
|
|
630
|
-
* @returns {boolean} `true` if `x` is valid fix type.
|
|
631
|
-
*/
|
|
632
|
-
function isFixType(x) {
|
|
633
|
-
return x === "directive" || x === "problem" || x === "suggestion" || x === "layout";
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
/**
|
|
637
|
-
* Check if a given value is an array of fix types or not.
|
|
638
|
-
* @param {any} x The value to check.
|
|
639
|
-
* @returns {boolean} `true` if `x` is an array of fix types.
|
|
640
|
-
*/
|
|
641
|
-
function isFixTypeArray(x) {
|
|
642
|
-
return Array.isArray(x) && x.every(isFixType);
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* The error for invalid options.
|
|
647
|
-
*/
|
|
648
|
-
class ESLintInvalidOptionsError extends Error {
|
|
649
|
-
constructor(messages) {
|
|
650
|
-
super(`Invalid Options:\n- ${messages.join("\n- ")}`);
|
|
651
|
-
this.code = "ESLINT_INVALID_OPTIONS";
|
|
652
|
-
Error.captureStackTrace(this, ESLintInvalidOptionsError);
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
/**
|
|
657
|
-
* Validates and normalizes options for the wrapped CLIEngine instance.
|
|
658
|
-
* @param {FlatESLintOptions} options The options to process.
|
|
659
|
-
* @throws {ESLintInvalidOptionsError} If of any of a variety of type errors.
|
|
660
|
-
* @returns {FlatESLintOptions} The normalized options.
|
|
661
|
-
*/
|
|
662
|
-
function processOptions({
|
|
663
|
-
allowInlineConfig = true, // ← we cannot use `overrideConfig.noInlineConfig` instead because `allowInlineConfig` has side-effect that suppress warnings that show inline configs are ignored.
|
|
664
|
-
baseConfig = null,
|
|
665
|
-
cache = false,
|
|
666
|
-
cacheLocation = ".eslintcache",
|
|
667
|
-
cacheStrategy = "metadata",
|
|
668
|
-
cwd = process.cwd(),
|
|
669
|
-
errorOnUnmatchedPattern = true,
|
|
670
|
-
fix = false,
|
|
671
|
-
fixTypes = null, // ← should be null by default because if it's an array then it suppresses rules that don't have the `meta.type` property.
|
|
672
|
-
globInputPaths = true,
|
|
673
|
-
ignore = true,
|
|
674
|
-
ignorePatterns = null,
|
|
675
|
-
overrideConfig = null,
|
|
676
|
-
overrideConfigFile = null,
|
|
677
|
-
plugins = {},
|
|
678
|
-
warnIgnored = true,
|
|
679
|
-
...unknownOptions
|
|
680
|
-
}) {
|
|
681
|
-
const errors = [];
|
|
682
|
-
const unknownOptionKeys = Object.keys(unknownOptions);
|
|
683
|
-
|
|
684
|
-
if (unknownOptionKeys.length >= 1) {
|
|
685
|
-
errors.push(`Unknown options: ${unknownOptionKeys.join(", ")}`);
|
|
686
|
-
if (unknownOptionKeys.includes("cacheFile")) {
|
|
687
|
-
errors.push("'cacheFile' has been removed. Please use the 'cacheLocation' option instead.");
|
|
688
|
-
}
|
|
689
|
-
if (unknownOptionKeys.includes("configFile")) {
|
|
690
|
-
errors.push("'configFile' has been removed. Please use the 'overrideConfigFile' option instead.");
|
|
691
|
-
}
|
|
692
|
-
if (unknownOptionKeys.includes("envs")) {
|
|
693
|
-
errors.push("'envs' has been removed.");
|
|
694
|
-
}
|
|
695
|
-
if (unknownOptionKeys.includes("extensions")) {
|
|
696
|
-
errors.push("'extensions' has been removed.");
|
|
697
|
-
}
|
|
698
|
-
if (unknownOptionKeys.includes("resolvePluginsRelativeTo")) {
|
|
699
|
-
errors.push("'resolvePluginsRelativeTo' has been removed.");
|
|
700
|
-
}
|
|
701
|
-
if (unknownOptionKeys.includes("globals")) {
|
|
702
|
-
errors.push("'globals' has been removed. Please use the 'overrideConfig.languageOptions.globals' option instead.");
|
|
703
|
-
}
|
|
704
|
-
if (unknownOptionKeys.includes("ignorePath")) {
|
|
705
|
-
errors.push("'ignorePath' has been removed.");
|
|
706
|
-
}
|
|
707
|
-
if (unknownOptionKeys.includes("ignorePattern")) {
|
|
708
|
-
errors.push("'ignorePattern' has been removed. Please use the 'overrideConfig.ignorePatterns' option instead.");
|
|
709
|
-
}
|
|
710
|
-
if (unknownOptionKeys.includes("parser")) {
|
|
711
|
-
errors.push("'parser' has been removed. Please use the 'overrideConfig.languageOptions.parser' option instead.");
|
|
712
|
-
}
|
|
713
|
-
if (unknownOptionKeys.includes("parserOptions")) {
|
|
714
|
-
errors.push("'parserOptions' has been removed. Please use the 'overrideConfig.languageOptions.parserOptions' option instead.");
|
|
715
|
-
}
|
|
716
|
-
if (unknownOptionKeys.includes("rules")) {
|
|
717
|
-
errors.push("'rules' has been removed. Please use the 'overrideConfig.rules' option instead.");
|
|
718
|
-
}
|
|
719
|
-
if (unknownOptionKeys.includes("rulePaths")) {
|
|
720
|
-
errors.push("'rulePaths' has been removed. Please define your rules using plugins.");
|
|
721
|
-
}
|
|
722
|
-
if (unknownOptionKeys.includes("reportUnusedDisableDirectives")) {
|
|
723
|
-
errors.push("'reportUnusedDisableDirectives' has been removed. Please use the 'overrideConfig.linterOptions.reportUnusedDisableDirectives' option instead.");
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
if (typeof allowInlineConfig !== "boolean") {
|
|
727
|
-
errors.push("'allowInlineConfig' must be a boolean.");
|
|
728
|
-
}
|
|
729
|
-
if (typeof baseConfig !== "object") {
|
|
730
|
-
errors.push("'baseConfig' must be an object or null.");
|
|
731
|
-
}
|
|
732
|
-
if (typeof cache !== "boolean") {
|
|
733
|
-
errors.push("'cache' must be a boolean.");
|
|
734
|
-
}
|
|
735
|
-
if (!isNonEmptyString(cacheLocation)) {
|
|
736
|
-
errors.push("'cacheLocation' must be a non-empty string.");
|
|
737
|
-
}
|
|
738
|
-
if (
|
|
739
|
-
cacheStrategy !== "metadata" &&
|
|
740
|
-
cacheStrategy !== "content"
|
|
741
|
-
) {
|
|
742
|
-
errors.push("'cacheStrategy' must be any of \"metadata\", \"content\".");
|
|
743
|
-
}
|
|
744
|
-
if (!isNonEmptyString(cwd) || !path.isAbsolute(cwd)) {
|
|
745
|
-
errors.push("'cwd' must be an absolute path.");
|
|
746
|
-
}
|
|
747
|
-
if (typeof errorOnUnmatchedPattern !== "boolean") {
|
|
748
|
-
errors.push("'errorOnUnmatchedPattern' must be a boolean.");
|
|
749
|
-
}
|
|
750
|
-
if (typeof fix !== "boolean" && typeof fix !== "function") {
|
|
751
|
-
errors.push("'fix' must be a boolean or a function.");
|
|
752
|
-
}
|
|
753
|
-
if (fixTypes !== null && !isFixTypeArray(fixTypes)) {
|
|
754
|
-
errors.push("'fixTypes' must be an array of any of \"directive\", \"problem\", \"suggestion\", and \"layout\".");
|
|
755
|
-
}
|
|
756
|
-
if (typeof globInputPaths !== "boolean") {
|
|
757
|
-
errors.push("'globInputPaths' must be a boolean.");
|
|
758
|
-
}
|
|
759
|
-
if (typeof ignore !== "boolean") {
|
|
760
|
-
errors.push("'ignore' must be a boolean.");
|
|
761
|
-
}
|
|
762
|
-
if (!isArrayOfNonEmptyString(ignorePatterns) && ignorePatterns !== null) {
|
|
763
|
-
errors.push("'ignorePatterns' must be an array of non-empty strings or null.");
|
|
764
|
-
}
|
|
765
|
-
if (typeof overrideConfig !== "object") {
|
|
766
|
-
errors.push("'overrideConfig' must be an object or null.");
|
|
767
|
-
}
|
|
768
|
-
if (!isNonEmptyString(overrideConfigFile) && overrideConfigFile !== null && overrideConfigFile !== true) {
|
|
769
|
-
errors.push("'overrideConfigFile' must be a non-empty string, null, or true.");
|
|
770
|
-
}
|
|
771
|
-
if (typeof plugins !== "object") {
|
|
772
|
-
errors.push("'plugins' must be an object or null.");
|
|
773
|
-
} else if (plugins !== null && Object.keys(plugins).includes("")) {
|
|
774
|
-
errors.push("'plugins' must not include an empty string.");
|
|
775
|
-
}
|
|
776
|
-
if (Array.isArray(plugins)) {
|
|
777
|
-
errors.push("'plugins' doesn't add plugins to configuration to load. Please use the 'overrideConfig.plugins' option instead.");
|
|
778
|
-
}
|
|
779
|
-
if (typeof warnIgnored !== "boolean") {
|
|
780
|
-
errors.push("'warnIgnored' must be a boolean.");
|
|
781
|
-
}
|
|
782
|
-
if (errors.length > 0) {
|
|
783
|
-
throw new ESLintInvalidOptionsError(errors);
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
return {
|
|
787
|
-
allowInlineConfig,
|
|
788
|
-
baseConfig,
|
|
789
|
-
cache,
|
|
790
|
-
cacheLocation,
|
|
791
|
-
cacheStrategy,
|
|
792
|
-
|
|
793
|
-
// when overrideConfigFile is true that means don't do config file lookup
|
|
794
|
-
configFile: overrideConfigFile === true ? false : overrideConfigFile,
|
|
795
|
-
overrideConfig,
|
|
796
|
-
cwd: path.normalize(cwd),
|
|
797
|
-
errorOnUnmatchedPattern,
|
|
798
|
-
fix,
|
|
799
|
-
fixTypes,
|
|
800
|
-
globInputPaths,
|
|
801
|
-
ignore,
|
|
802
|
-
ignorePatterns,
|
|
803
|
-
warnIgnored
|
|
804
|
-
};
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
//-----------------------------------------------------------------------------
|
|
809
|
-
// Cache-related helpers
|
|
810
|
-
//-----------------------------------------------------------------------------
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* return the cacheFile to be used by eslint, based on whether the provided parameter is
|
|
814
|
-
* a directory or looks like a directory (ends in `path.sep`), in which case the file
|
|
815
|
-
* name will be the `cacheFile/.cache_hashOfCWD`
|
|
816
|
-
*
|
|
817
|
-
* if cacheFile points to a file or looks like a file then in will just use that file
|
|
818
|
-
* @param {string} cacheFile The name of file to be used to store the cache
|
|
819
|
-
* @param {string} cwd Current working directory
|
|
820
|
-
* @returns {string} the resolved path to the cache file
|
|
821
|
-
*/
|
|
822
|
-
function getCacheFile(cacheFile, cwd) {
|
|
823
|
-
|
|
824
|
-
/*
|
|
825
|
-
* make sure the path separators are normalized for the environment/os
|
|
826
|
-
* keeping the trailing path separator if present
|
|
827
|
-
*/
|
|
828
|
-
const normalizedCacheFile = path.normalize(cacheFile);
|
|
829
|
-
|
|
830
|
-
const resolvedCacheFile = path.resolve(cwd, normalizedCacheFile);
|
|
831
|
-
const looksLikeADirectory = normalizedCacheFile.slice(-1) === path.sep;
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* return the name for the cache file in case the provided parameter is a directory
|
|
835
|
-
* @returns {string} the resolved path to the cacheFile
|
|
836
|
-
*/
|
|
837
|
-
function getCacheFileForDirectory() {
|
|
838
|
-
return path.join(resolvedCacheFile, `.cache_${hash(cwd)}`);
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
let fileStats;
|
|
842
|
-
|
|
843
|
-
try {
|
|
844
|
-
fileStats = fs.lstatSync(resolvedCacheFile);
|
|
845
|
-
} catch {
|
|
846
|
-
fileStats = null;
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
/*
|
|
851
|
-
* in case the file exists we need to verify if the provided path
|
|
852
|
-
* is a directory or a file. If it is a directory we want to create a file
|
|
853
|
-
* inside that directory
|
|
854
|
-
*/
|
|
855
|
-
if (fileStats) {
|
|
856
|
-
|
|
857
|
-
/*
|
|
858
|
-
* is a directory or is a file, but the original file the user provided
|
|
859
|
-
* looks like a directory but `path.resolve` removed the `last path.sep`
|
|
860
|
-
* so we need to still treat this like a directory
|
|
861
|
-
*/
|
|
862
|
-
if (fileStats.isDirectory() || looksLikeADirectory) {
|
|
863
|
-
return getCacheFileForDirectory();
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
// is file so just use that file
|
|
867
|
-
return resolvedCacheFile;
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
/*
|
|
871
|
-
* here we known the file or directory doesn't exist,
|
|
872
|
-
* so we will try to infer if its a directory if it looks like a directory
|
|
873
|
-
* for the current operating system.
|
|
874
|
-
*/
|
|
875
|
-
|
|
876
|
-
// if the last character passed is a path separator we assume is a directory
|
|
877
|
-
if (looksLikeADirectory) {
|
|
878
|
-
return getCacheFileForDirectory();
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
return resolvedCacheFile;
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
//-----------------------------------------------------------------------------
|
|
886
|
-
// Exports
|
|
887
|
-
//-----------------------------------------------------------------------------
|
|
888
|
-
|
|
889
|
-
module.exports = {
|
|
890
|
-
isGlobPattern,
|
|
891
|
-
findFiles,
|
|
892
|
-
|
|
893
|
-
isNonEmptyString,
|
|
894
|
-
isArrayOfNonEmptyString,
|
|
895
|
-
|
|
896
|
-
createIgnoreResult,
|
|
897
|
-
isErrorMessage,
|
|
898
|
-
|
|
899
|
-
processOptions,
|
|
900
|
-
|
|
901
|
-
getCacheFile
|
|
902
|
-
};
|