repoburg 1.1.0 → 1.1.2
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/backend/dist/tsconfig.build.tsbuildinfo +1 -1
- package/backend/node_modules/@typescript-eslint/eslint-plugin/LICENSE +21 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/README.md +12 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +156 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/base.js +13 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/base.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js +64 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js +31 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended-type-checked.js +54 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended-type-checked.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended.js +33 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js +79 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +43 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic-type-checked.js +35 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic-type-checked.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic.js +29 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/configs/stylistic.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +39 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +140 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +222 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +76 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +156 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +56 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +240 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js +140 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js +99 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +123 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +211 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +166 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +152 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +109 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +128 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +222 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +98 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +245 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +635 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +63 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +120 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +112 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +164 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +283 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +366 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +147 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +415 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +288 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +48 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js +322 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +95 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js +357 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +57 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +67 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +258 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +747 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +181 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +101 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +91 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js +12 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +75 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +291 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +18 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js +3 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +351 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +488 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +53 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js +83 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +164 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +78 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +293 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +51 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +62 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +139 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +95 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +132 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +94 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +170 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +36 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +297 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +43 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +112 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +342 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +60 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +160 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +56 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +185 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +76 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +182 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +169 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +39 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +213 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +96 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +82 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +523 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +193 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +63 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +76 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +66 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +104 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +201 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +372 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +90 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +237 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +482 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +65 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +96 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +260 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +234 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +540 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +149 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +150 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +252 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +112 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +226 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +282 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +83 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +56 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +168 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +123 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +161 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +68 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +58 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +490 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +297 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +59 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +72 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-template-literals.js +138 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-template-literals.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +67 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +125 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js +226 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +634 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +171 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +73 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +200 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +65 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +235 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +156 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +186 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +231 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +72 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +46 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +348 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +3 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +417 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js +318 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +279 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +175 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js +107 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +82 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +315 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +74 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +159 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +137 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +508 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +62 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +182 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +63 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +62 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +212 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +211 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +145 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +268 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +64 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +228 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +80 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +143 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +133 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +800 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +242 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +110 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +228 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +200 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +245 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +398 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +89 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +562 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +6 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +16 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +241 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +45 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +163 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +418 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js +46 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +20 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +26 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js +8 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +155 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +42 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js +27 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +9 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js +9 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +189 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +27 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +60 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +30 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +99 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +111 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +42 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +151 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +39 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +132 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/block-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/camelcase.md +13 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +105 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-methods-use-this.md +96 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +20 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-generic-constructors.md +76 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +80 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +113 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +81 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +105 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +108 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +58 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +82 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +320 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +344 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +249 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +18 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/key-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-around-comment.md +25 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +55 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/max-params.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +164 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +1438 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +113 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +721 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +29 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-delete.md +40 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +88 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +56 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +116 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +14 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +58 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +13 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-type-constituents.md +66 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +53 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +92 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +59 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +168 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +54 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +12 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +295 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +124 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +61 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +102 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-import-type-side-effects.md +74 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +103 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +14 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +112 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +119 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +53 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +47 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +246 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-mixed-enums.md +88 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +131 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +54 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +40 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +42 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +12 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +75 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +92 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +60 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +71 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +105 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +108 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +109 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +623 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +133 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +119 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +51 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +79 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +77 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +55 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +93 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +96 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +68 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-declaration-merging.md +59 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-enum-comparison.md +82 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +74 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +113 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-unary-minus.md +52 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +27 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +87 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +19 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +47 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-template-literals.md +57 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +60 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +41 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +33 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +488 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +47 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-destructuring.md +91 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +62 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-find.md +39 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +44 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +92 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +75 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +103 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +47 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +187 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +263 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-promise-reject-errors.md +50 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +389 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +102 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +60 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +46 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +87 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +58 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +70 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +132 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +78 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +22 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +208 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +121 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +216 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +12 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-constituents.md +163 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +43 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +10 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +16 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +190 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +225 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +110 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +317 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +320 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +105 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +77 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/index.d.ts +9 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/package.json +106 -0
- package/backend/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts +45 -0
- package/backend/node_modules/@typescript-eslint/parser/LICENSE +22 -0
- package/backend/node_modules/@typescript-eslint/parser/README.md +12 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/index.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/index.js +17 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/parser.d.ts +20 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/parser.js +130 -0
- package/backend/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/parser/package.json +85 -0
- package/backend/node_modules/@typescript-eslint/type-utils/LICENSE +21 -0
- package/backend/node_modules/@typescript-eslint/type-utils/README.md +14 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts +21 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +188 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts +39 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +130 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +61 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts +7 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +15 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +66 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts +7 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +16 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts +6 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +38 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +51 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts +6 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.js +16 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +74 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/index.d.ts +19 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/index.js +39 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js +18 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts +27 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +226 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts +17 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +106 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +58 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.js +169 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts +4 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +37 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts +4 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +43 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts +16 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +59 -0
- package/backend/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/type-utils/package.json +81 -0
- package/backend/node_modules/@typescript-eslint/utils/LICENSE +21 -0
- package/backend/node_modules/@typescript-eslint/utils/README.md +12 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +48 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +36 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +76 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +40 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +76 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +99 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.d.ts +6 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +22 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +32 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +72 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +18 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +44 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +1231 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +22 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts +5 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +21 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +13 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +70 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +135 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts +11 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js +3 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +35 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +45 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +34 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.js +32 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/context.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts +17 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +48 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts +24 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +46 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +24 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +14 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +28 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.d.ts +2 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.js +8 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserPathSeemsToBeTSESLint.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/index.d.ts +8 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/index.js +41 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts +388 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.js +9 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/json-schema.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts +9 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +4 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts +131 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js +18 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.d.ts +260 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js +4 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +374 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js +24 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts +247 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +14 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.d.ts +89 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js +4 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.d.ts +2 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js +3 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.d.ts +37 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js +4 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +514 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js +3 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +162 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js +8 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts +44 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +34 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +362 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +9 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.d.ts +13 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +29 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.js +10 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-estree.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.d.ts +2 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js +18 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.d.ts +2 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js +9 -0
- package/backend/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/utils/package.json +98 -0
- package/backend/node_modules/chalk/index.d.ts +415 -0
- package/backend/node_modules/chalk/license +9 -0
- package/backend/node_modules/chalk/package.json +68 -0
- package/backend/node_modules/chalk/readme.md +341 -0
- package/backend/node_modules/chalk/source/index.js +229 -0
- package/backend/node_modules/chalk/source/templates.js +134 -0
- package/backend/node_modules/chalk/source/util.js +39 -0
- package/backend/node_modules/debug/LICENSE +20 -0
- package/backend/node_modules/debug/README.md +481 -0
- package/backend/node_modules/debug/package.json +64 -0
- package/backend/node_modules/debug/src/browser.js +272 -0
- package/backend/node_modules/debug/src/common.js +292 -0
- package/backend/node_modules/debug/src/index.js +10 -0
- package/backend/node_modules/debug/src/node.js +263 -0
- package/backend/node_modules/eslint/LICENSE +19 -0
- package/backend/node_modules/eslint/README.md +304 -0
- package/backend/node_modules/eslint/bin/eslint.js +173 -0
- package/backend/node_modules/eslint/conf/config-schema.js +93 -0
- package/backend/node_modules/eslint/conf/default-cli-options.js +32 -0
- package/backend/node_modules/eslint/conf/globals.js +154 -0
- package/backend/node_modules/eslint/conf/replacements.json +22 -0
- package/backend/node_modules/eslint/conf/rule-type-list.json +28 -0
- package/backend/node_modules/eslint/lib/api.js +54 -0
- package/backend/node_modules/eslint/lib/cli-engine/cli-engine.js +1078 -0
- package/backend/node_modules/eslint/lib/cli-engine/file-enumerator.js +547 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +46 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/html.js +351 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
- package/backend/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
- package/backend/node_modules/eslint/lib/cli-engine/hash.js +35 -0
- package/backend/node_modules/eslint/lib/cli-engine/index.js +7 -0
- package/backend/node_modules/eslint/lib/cli-engine/lint-result-cache.js +203 -0
- package/backend/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
- package/backend/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
- package/backend/node_modules/eslint/lib/cli.js +471 -0
- package/backend/node_modules/eslint/lib/config/default-config.js +67 -0
- package/backend/node_modules/eslint/lib/config/flat-config-array.js +380 -0
- package/backend/node_modules/eslint/lib/config/flat-config-helpers.js +111 -0
- package/backend/node_modules/eslint/lib/config/flat-config-schema.js +598 -0
- package/backend/node_modules/eslint/lib/config/rule-validator.js +158 -0
- package/backend/node_modules/eslint/lib/eslint/eslint-helpers.js +932 -0
- package/backend/node_modules/eslint/lib/eslint/eslint.js +707 -0
- package/backend/node_modules/eslint/lib/eslint/flat-eslint.js +1159 -0
- package/backend/node_modules/eslint/lib/eslint/index.js +9 -0
- package/backend/node_modules/eslint/lib/linter/apply-disable-directives.js +465 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +852 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +263 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +2348 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +342 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +349 -0
- package/backend/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
- package/backend/node_modules/eslint/lib/linter/config-comment-parser.js +185 -0
- package/backend/node_modules/eslint/lib/linter/index.js +13 -0
- package/backend/node_modules/eslint/lib/linter/interpolate.js +28 -0
- package/backend/node_modules/eslint/lib/linter/linter.js +2119 -0
- package/backend/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
- package/backend/node_modules/eslint/lib/linter/report-translator.js +369 -0
- package/backend/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
- package/backend/node_modules/eslint/lib/linter/rules.js +80 -0
- package/backend/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
- package/backend/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
- package/backend/node_modules/eslint/lib/linter/timing.js +161 -0
- package/backend/node_modules/eslint/lib/options.js +398 -0
- package/backend/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1131 -0
- package/backend/node_modules/eslint/lib/rule-tester/index.js +5 -0
- package/backend/node_modules/eslint/lib/rule-tester/rule-tester.js +1206 -0
- package/backend/node_modules/eslint/lib/rules/accessor-pairs.js +346 -0
- package/backend/node_modules/eslint/lib/rules/array-bracket-newline.js +261 -0
- package/backend/node_modules/eslint/lib/rules/array-bracket-spacing.js +244 -0
- package/backend/node_modules/eslint/lib/rules/array-callback-return.js +446 -0
- package/backend/node_modules/eslint/lib/rules/array-element-newline.js +311 -0
- package/backend/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
- package/backend/node_modules/eslint/lib/rules/arrow-parens.js +186 -0
- package/backend/node_modules/eslint/lib/rules/arrow-spacing.js +164 -0
- package/backend/node_modules/eslint/lib/rules/block-scoped-var.js +135 -0
- package/backend/node_modules/eslint/lib/rules/block-spacing.js +174 -0
- package/backend/node_modules/eslint/lib/rules/brace-style.js +197 -0
- package/backend/node_modules/eslint/lib/rules/callback-return.js +187 -0
- package/backend/node_modules/eslint/lib/rules/camelcase.js +399 -0
- package/backend/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
- package/backend/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
- package/backend/node_modules/eslint/lib/rules/comma-dangle.js +373 -0
- package/backend/node_modules/eslint/lib/rules/comma-spacing.js +192 -0
- package/backend/node_modules/eslint/lib/rules/comma-style.js +314 -0
- package/backend/node_modules/eslint/lib/rules/complexity.js +165 -0
- package/backend/node_modules/eslint/lib/rules/computed-property-spacing.js +208 -0
- package/backend/node_modules/eslint/lib/rules/consistent-return.js +210 -0
- package/backend/node_modules/eslint/lib/rules/consistent-this.js +153 -0
- package/backend/node_modules/eslint/lib/rules/constructor-super.js +446 -0
- package/backend/node_modules/eslint/lib/rules/curly.js +486 -0
- package/backend/node_modules/eslint/lib/rules/default-case-last.js +44 -0
- package/backend/node_modules/eslint/lib/rules/default-case.js +97 -0
- package/backend/node_modules/eslint/lib/rules/default-param-last.js +62 -0
- package/backend/node_modules/eslint/lib/rules/dot-location.js +108 -0
- package/backend/node_modules/eslint/lib/rules/dot-notation.js +176 -0
- package/backend/node_modules/eslint/lib/rules/eol-last.js +115 -0
- package/backend/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
- package/backend/node_modules/eslint/lib/rules/for-direction.js +140 -0
- package/backend/node_modules/eslint/lib/rules/func-call-spacing.js +233 -0
- package/backend/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
- package/backend/node_modules/eslint/lib/rules/func-names.js +191 -0
- package/backend/node_modules/eslint/lib/rules/func-style.js +98 -0
- package/backend/node_modules/eslint/lib/rules/function-call-argument-newline.js +125 -0
- package/backend/node_modules/eslint/lib/rules/function-paren-newline.js +292 -0
- package/backend/node_modules/eslint/lib/rules/generator-star-spacing.js +209 -0
- package/backend/node_modules/eslint/lib/rules/getter-return.js +204 -0
- package/backend/node_modules/eslint/lib/rules/global-require.js +90 -0
- package/backend/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +215 -0
- package/backend/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
- package/backend/node_modules/eslint/lib/rules/handle-callback-err.js +101 -0
- package/backend/node_modules/eslint/lib/rules/id-blacklist.js +246 -0
- package/backend/node_modules/eslint/lib/rules/id-denylist.js +228 -0
- package/backend/node_modules/eslint/lib/rules/id-length.js +177 -0
- package/backend/node_modules/eslint/lib/rules/id-match.js +299 -0
- package/backend/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +84 -0
- package/backend/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
- package/backend/node_modules/eslint/lib/rules/indent.js +1803 -0
- package/backend/node_modules/eslint/lib/rules/index.js +306 -0
- package/backend/node_modules/eslint/lib/rules/init-declarations.js +139 -0
- package/backend/node_modules/eslint/lib/rules/jsx-quotes.js +98 -0
- package/backend/node_modules/eslint/lib/rules/key-spacing.js +687 -0
- package/backend/node_modules/eslint/lib/rules/keyword-spacing.js +640 -0
- package/backend/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
- package/backend/node_modules/eslint/lib/rules/linebreak-style.js +108 -0
- package/backend/node_modules/eslint/lib/rules/lines-around-comment.js +471 -0
- package/backend/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
- package/backend/node_modules/eslint/lib/rules/lines-between-class-members.js +269 -0
- package/backend/node_modules/eslint/lib/rules/logical-assignment-operators.js +504 -0
- package/backend/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
- package/backend/node_modules/eslint/lib/rules/max-depth.js +156 -0
- package/backend/node_modules/eslint/lib/rules/max-len.js +440 -0
- package/backend/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
- package/backend/node_modules/eslint/lib/rules/max-lines.js +193 -0
- package/backend/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
- package/backend/node_modules/eslint/lib/rules/max-params.js +102 -0
- package/backend/node_modules/eslint/lib/rules/max-statements-per-line.js +199 -0
- package/backend/node_modules/eslint/lib/rules/max-statements.js +184 -0
- package/backend/node_modules/eslint/lib/rules/multiline-comment-style.js +474 -0
- package/backend/node_modules/eslint/lib/rules/multiline-ternary.js +174 -0
- package/backend/node_modules/eslint/lib/rules/new-cap.js +276 -0
- package/backend/node_modules/eslint/lib/rules/new-parens.js +93 -0
- package/backend/node_modules/eslint/lib/rules/newline-after-var.js +253 -0
- package/backend/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
- package/backend/node_modules/eslint/lib/rules/newline-per-chained-call.js +126 -0
- package/backend/node_modules/eslint/lib/rules/no-alert.js +138 -0
- package/backend/node_modules/eslint/lib/rules/no-array-constructor.js +133 -0
- package/backend/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
- package/backend/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
- package/backend/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
- package/backend/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
- package/backend/node_modules/eslint/lib/rules/no-caller.js +46 -0
- package/backend/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
- package/backend/node_modules/eslint/lib/rules/no-catch-shadow.js +82 -0
- package/backend/node_modules/eslint/lib/rules/no-class-assign.js +63 -0
- package/backend/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
- package/backend/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
- package/backend/node_modules/eslint/lib/rules/no-confusing-arrow.js +92 -0
- package/backend/node_modules/eslint/lib/rules/no-console.js +207 -0
- package/backend/node_modules/eslint/lib/rules/no-const-assign.js +56 -0
- package/backend/node_modules/eslint/lib/rules/no-constant-binary-expression.js +509 -0
- package/backend/node_modules/eslint/lib/rules/no-constant-condition.js +150 -0
- package/backend/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
- package/backend/node_modules/eslint/lib/rules/no-continue.js +39 -0
- package/backend/node_modules/eslint/lib/rules/no-control-regex.js +138 -0
- package/backend/node_modules/eslint/lib/rules/no-debugger.js +43 -0
- package/backend/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
- package/backend/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
- package/backend/node_modules/eslint/lib/rules/no-dupe-args.js +82 -0
- package/backend/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
- package/backend/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
- package/backend/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
- package/backend/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
- package/backend/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
- package/backend/node_modules/eslint/lib/rules/no-else-return.js +405 -0
- package/backend/node_modules/eslint/lib/rules/no-empty-character-class.js +76 -0
- package/backend/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
- package/backend/node_modules/eslint/lib/rules/no-empty-pattern.js +78 -0
- package/backend/node_modules/eslint/lib/rules/no-empty-static-block.js +47 -0
- package/backend/node_modules/eslint/lib/rules/no-empty.js +103 -0
- package/backend/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
- package/backend/node_modules/eslint/lib/rules/no-eval.js +286 -0
- package/backend/node_modules/eslint/lib/rules/no-ex-assign.js +54 -0
- package/backend/node_modules/eslint/lib/rules/no-extend-native.js +179 -0
- package/backend/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
- package/backend/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
- package/backend/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
- package/backend/node_modules/eslint/lib/rules/no-extra-parens.js +1322 -0
- package/backend/node_modules/eslint/lib/rules/no-extra-semi.js +147 -0
- package/backend/node_modules/eslint/lib/rules/no-fallthrough.js +196 -0
- package/backend/node_modules/eslint/lib/rules/no-floating-decimal.js +73 -0
- package/backend/node_modules/eslint/lib/rules/no-func-assign.js +78 -0
- package/backend/node_modules/eslint/lib/rules/no-global-assign.js +95 -0
- package/backend/node_modules/eslint/lib/rules/no-implicit-coercion.js +380 -0
- package/backend/node_modules/eslint/lib/rules/no-implicit-globals.js +146 -0
- package/backend/node_modules/eslint/lib/rules/no-implied-eval.js +132 -0
- package/backend/node_modules/eslint/lib/rules/no-import-assign.js +241 -0
- package/backend/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
- package/backend/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
- package/backend/node_modules/eslint/lib/rules/no-invalid-regexp.js +194 -0
- package/backend/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
- package/backend/node_modules/eslint/lib/rules/no-irregular-whitespace.js +276 -0
- package/backend/node_modules/eslint/lib/rules/no-iterator.js +52 -0
- package/backend/node_modules/eslint/lib/rules/no-label-var.js +80 -0
- package/backend/node_modules/eslint/lib/rules/no-labels.js +149 -0
- package/backend/node_modules/eslint/lib/rules/no-lone-blocks.js +136 -0
- package/backend/node_modules/eslint/lib/rules/no-lonely-if.js +88 -0
- package/backend/node_modules/eslint/lib/rules/no-loop-func.js +206 -0
- package/backend/node_modules/eslint/lib/rules/no-loss-of-precision.js +214 -0
- package/backend/node_modules/eslint/lib/rules/no-magic-numbers.js +243 -0
- package/backend/node_modules/eslint/lib/rules/no-misleading-character-class.js +300 -0
- package/backend/node_modules/eslint/lib/rules/no-mixed-operators.js +229 -0
- package/backend/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
- package/backend/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +116 -0
- package/backend/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
- package/backend/node_modules/eslint/lib/rules/no-multi-spaces.js +141 -0
- package/backend/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
- package/backend/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +154 -0
- package/backend/node_modules/eslint/lib/rules/no-native-reassign.js +98 -0
- package/backend/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
- package/backend/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
- package/backend/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
- package/backend/node_modules/eslint/lib/rules/no-new-func.js +87 -0
- package/backend/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +66 -0
- package/backend/node_modules/eslint/lib/rules/no-new-object.js +67 -0
- package/backend/node_modules/eslint/lib/rules/no-new-require.js +50 -0
- package/backend/node_modules/eslint/lib/rules/no-new-symbol.js +56 -0
- package/backend/node_modules/eslint/lib/rules/no-new-wrappers.js +60 -0
- package/backend/node_modules/eslint/lib/rules/no-new.js +43 -0
- package/backend/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
- package/backend/node_modules/eslint/lib/rules/no-obj-calls.js +86 -0
- package/backend/node_modules/eslint/lib/rules/no-object-constructor.js +117 -0
- package/backend/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
- package/backend/node_modules/eslint/lib/rules/no-octal.js +45 -0
- package/backend/node_modules/eslint/lib/rules/no-param-reassign.js +230 -0
- package/backend/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
- package/backend/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
- package/backend/node_modules/eslint/lib/rules/no-process-env.js +51 -0
- package/backend/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
- package/backend/node_modules/eslint/lib/rules/no-promise-executor-return.js +263 -0
- package/backend/node_modules/eslint/lib/rules/no-proto.js +48 -0
- package/backend/node_modules/eslint/lib/rules/no-prototype-builtins.js +159 -0
- package/backend/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
- package/backend/node_modules/eslint/lib/rules/no-regex-spaces.js +197 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-exports.js +193 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-globals.js +124 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-imports.js +410 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-modules.js +213 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-properties.js +168 -0
- package/backend/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
- package/backend/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
- package/backend/node_modules/eslint/lib/rules/no-return-await.js +135 -0
- package/backend/node_modules/eslint/lib/rules/no-script-url.js +61 -0
- package/backend/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
- package/backend/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
- package/backend/node_modules/eslint/lib/rules/no-sequences.js +138 -0
- package/backend/node_modules/eslint/lib/rules/no-setter-return.js +226 -0
- package/backend/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +65 -0
- package/backend/node_modules/eslint/lib/rules/no-shadow.js +336 -0
- package/backend/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
- package/backend/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
- package/backend/node_modules/eslint/lib/rules/no-sync.js +64 -0
- package/backend/node_modules/eslint/lib/rules/no-tabs.js +81 -0
- package/backend/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
- package/backend/node_modules/eslint/lib/rules/no-ternary.js +41 -0
- package/backend/node_modules/eslint/lib/rules/no-this-before-super.js +331 -0
- package/backend/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
- package/backend/node_modules/eslint/lib/rules/no-trailing-spaces.js +193 -0
- package/backend/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
- package/backend/node_modules/eslint/lib/rules/no-undef.js +79 -0
- package/backend/node_modules/eslint/lib/rules/no-undefined.js +86 -0
- package/backend/node_modules/eslint/lib/rules/no-underscore-dangle.js +335 -0
- package/backend/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
- package/backend/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
- package/backend/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
- package/backend/node_modules/eslint/lib/rules/no-unreachable-loop.js +185 -0
- package/backend/node_modules/eslint/lib/rules/no-unreachable.js +293 -0
- package/backend/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
- package/backend/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
- package/backend/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
- package/backend/node_modules/eslint/lib/rules/no-unused-expressions.js +186 -0
- package/backend/node_modules/eslint/lib/rules/no-unused-labels.js +143 -0
- package/backend/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
- package/backend/node_modules/eslint/lib/rules/no-unused-vars.js +718 -0
- package/backend/node_modules/eslint/lib/rules/no-use-before-define.js +348 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-backreference.js +194 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-escape.js +333 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
- package/backend/node_modules/eslint/lib/rules/no-useless-return.js +364 -0
- package/backend/node_modules/eslint/lib/rules/no-var.js +334 -0
- package/backend/node_modules/eslint/lib/rules/no-void.js +64 -0
- package/backend/node_modules/eslint/lib/rules/no-warning-comments.js +201 -0
- package/backend/node_modules/eslint/lib/rules/no-whitespace-before-property.js +116 -0
- package/backend/node_modules/eslint/lib/rules/no-with.js +39 -0
- package/backend/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +127 -0
- package/backend/node_modules/eslint/lib/rules/object-curly-newline.js +324 -0
- package/backend/node_modules/eslint/lib/rules/object-curly-spacing.js +311 -0
- package/backend/node_modules/eslint/lib/rules/object-property-newline.js +102 -0
- package/backend/node_modules/eslint/lib/rules/object-shorthand.js +520 -0
- package/backend/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +95 -0
- package/backend/node_modules/eslint/lib/rules/one-var.js +567 -0
- package/backend/node_modules/eslint/lib/rules/operator-assignment.js +209 -0
- package/backend/node_modules/eslint/lib/rules/operator-linebreak.js +253 -0
- package/backend/node_modules/eslint/lib/rules/padded-blocks.js +310 -0
- package/backend/node_modules/eslint/lib/rules/padding-line-between-statements.js +590 -0
- package/backend/node_modules/eslint/lib/rules/prefer-arrow-callback.js +381 -0
- package/backend/node_modules/eslint/lib/rules/prefer-const.js +501 -0
- package/backend/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
- package/backend/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +191 -0
- package/backend/node_modules/eslint/lib/rules/prefer-named-capture-group.js +178 -0
- package/backend/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
- package/backend/node_modules/eslint/lib/rules/prefer-object-has-own.js +114 -0
- package/backend/node_modules/eslint/lib/rules/prefer-object-spread.js +298 -0
- package/backend/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +132 -0
- package/backend/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
- package/backend/node_modules/eslint/lib/rules/prefer-regex-literals.js +507 -0
- package/backend/node_modules/eslint/lib/rules/prefer-rest-params.js +118 -0
- package/backend/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
- package/backend/node_modules/eslint/lib/rules/prefer-template.js +275 -0
- package/backend/node_modules/eslint/lib/rules/quote-props.js +310 -0
- package/backend/node_modules/eslint/lib/rules/quotes.js +350 -0
- package/backend/node_modules/eslint/lib/rules/radix.js +198 -0
- package/backend/node_modules/eslint/lib/rules/require-atomic-updates.js +331 -0
- package/backend/node_modules/eslint/lib/rules/require-await.js +113 -0
- package/backend/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
- package/backend/node_modules/eslint/lib/rules/require-unicode-regexp.js +129 -0
- package/backend/node_modules/eslint/lib/rules/require-yield.js +77 -0
- package/backend/node_modules/eslint/lib/rules/rest-spread-spacing.js +123 -0
- package/backend/node_modules/eslint/lib/rules/semi-spacing.js +248 -0
- package/backend/node_modules/eslint/lib/rules/semi-style.js +158 -0
- package/backend/node_modules/eslint/lib/rules/semi.js +438 -0
- package/backend/node_modules/eslint/lib/rules/sort-imports.js +241 -0
- package/backend/node_modules/eslint/lib/rules/sort-keys.js +230 -0
- package/backend/node_modules/eslint/lib/rules/sort-vars.js +104 -0
- package/backend/node_modules/eslint/lib/rules/space-before-blocks.js +204 -0
- package/backend/node_modules/eslint/lib/rules/space-before-function-paren.js +167 -0
- package/backend/node_modules/eslint/lib/rules/space-in-parens.js +285 -0
- package/backend/node_modules/eslint/lib/rules/space-infix-ops.js +198 -0
- package/backend/node_modules/eslint/lib/rules/space-unary-ops.js +324 -0
- package/backend/node_modules/eslint/lib/rules/spaced-comment.js +385 -0
- package/backend/node_modules/eslint/lib/rules/strict.js +277 -0
- package/backend/node_modules/eslint/lib/rules/switch-colon-spacing.js +132 -0
- package/backend/node_modules/eslint/lib/rules/symbol-description.js +73 -0
- package/backend/node_modules/eslint/lib/rules/template-curly-spacing.js +144 -0
- package/backend/node_modules/eslint/lib/rules/template-tag-spacing.js +93 -0
- package/backend/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
- package/backend/node_modules/eslint/lib/rules/use-isnan.js +141 -0
- package/backend/node_modules/eslint/lib/rules/utils/ast-utils.js +2282 -0
- package/backend/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
- package/backend/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
- package/backend/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
- package/backend/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
- package/backend/node_modules/eslint/lib/rules/utils/regular-expressions.js +42 -0
- package/backend/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
- package/backend/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
- package/backend/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- package/backend/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- package/backend/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- package/backend/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
- package/backend/node_modules/eslint/lib/rules/valid-typeof.js +127 -0
- package/backend/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
- package/backend/node_modules/eslint/lib/rules/wrap-iife.js +207 -0
- package/backend/node_modules/eslint/lib/rules/wrap-regex.js +61 -0
- package/backend/node_modules/eslint/lib/rules/yield-star-spacing.js +130 -0
- package/backend/node_modules/eslint/lib/rules/yoda.js +353 -0
- package/backend/node_modules/eslint/lib/shared/ajv.js +34 -0
- package/backend/node_modules/eslint/lib/shared/ast-utils.js +29 -0
- package/backend/node_modules/eslint/lib/shared/config-validator.js +347 -0
- package/backend/node_modules/eslint/lib/shared/deprecation-warnings.js +58 -0
- package/backend/node_modules/eslint/lib/shared/directives.js +15 -0
- package/backend/node_modules/eslint/lib/shared/logging.js +30 -0
- package/backend/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
- package/backend/node_modules/eslint/lib/shared/runtime-info.js +167 -0
- package/backend/node_modules/eslint/lib/shared/severity.js +49 -0
- package/backend/node_modules/eslint/lib/shared/string-utils.js +60 -0
- package/backend/node_modules/eslint/lib/shared/traverser.js +195 -0
- package/backend/node_modules/eslint/lib/shared/types.js +216 -0
- package/backend/node_modules/eslint/lib/source-code/index.js +5 -0
- package/backend/node_modules/eslint/lib/source-code/source-code.js +1055 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
- package/backend/node_modules/eslint/lib/source-code/token-store/utils.js +107 -0
- package/backend/node_modules/eslint/lib/unsupported-api.js +30 -0
- package/backend/node_modules/eslint/messages/all-files-ignored.js +16 -0
- package/backend/node_modules/eslint/messages/eslintrc-incompat.js +98 -0
- package/backend/node_modules/eslint/messages/eslintrc-plugins.js +24 -0
- package/backend/node_modules/eslint/messages/extend-config-missing.js +13 -0
- package/backend/node_modules/eslint/messages/failed-to-read-json.js +11 -0
- package/backend/node_modules/eslint/messages/file-not-found.js +10 -0
- package/backend/node_modules/eslint/messages/invalid-rule-options.js +17 -0
- package/backend/node_modules/eslint/messages/invalid-rule-severity.js +13 -0
- package/backend/node_modules/eslint/messages/no-config-found.js +15 -0
- package/backend/node_modules/eslint/messages/plugin-conflict.js +22 -0
- package/backend/node_modules/eslint/messages/plugin-invalid.js +16 -0
- package/backend/node_modules/eslint/messages/plugin-missing.js +19 -0
- package/backend/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
- package/backend/node_modules/eslint/messages/shared.js +18 -0
- package/backend/node_modules/eslint/messages/whitespace-found.js +11 -0
- package/backend/node_modules/eslint/package.json +181 -0
- package/backend/node_modules/undici-types/LICENSE +21 -0
- package/backend/node_modules/undici-types/README.md +6 -0
- package/backend/node_modules/undici-types/agent.d.ts +31 -0
- package/backend/node_modules/undici-types/api.d.ts +43 -0
- package/backend/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/backend/node_modules/undici-types/cache.d.ts +36 -0
- package/backend/node_modules/undici-types/client.d.ts +108 -0
- package/backend/node_modules/undici-types/connector.d.ts +34 -0
- package/backend/node_modules/undici-types/content-type.d.ts +21 -0
- package/backend/node_modules/undici-types/cookies.d.ts +28 -0
- package/backend/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/backend/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/backend/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/backend/node_modules/undici-types/errors.d.ts +149 -0
- package/backend/node_modules/undici-types/eventsource.d.ts +61 -0
- package/backend/node_modules/undici-types/fetch.d.ts +209 -0
- package/backend/node_modules/undici-types/file.d.ts +39 -0
- package/backend/node_modules/undici-types/filereader.d.ts +54 -0
- package/backend/node_modules/undici-types/formdata.d.ts +108 -0
- package/backend/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/backend/node_modules/undici-types/global-origin.d.ts +7 -0
- package/backend/node_modules/undici-types/handlers.d.ts +15 -0
- package/backend/node_modules/undici-types/header.d.ts +4 -0
- package/backend/node_modules/undici-types/index.d.ts +71 -0
- package/backend/node_modules/undici-types/interceptors.d.ts +17 -0
- package/backend/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/backend/node_modules/undici-types/mock-client.d.ts +25 -0
- package/backend/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/backend/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/backend/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/backend/node_modules/undici-types/package.json +55 -0
- package/backend/node_modules/undici-types/patch.d.ts +33 -0
- package/backend/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/backend/node_modules/undici-types/pool.d.ts +39 -0
- package/backend/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/backend/node_modules/undici-types/readable.d.ts +65 -0
- package/backend/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/backend/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/backend/node_modules/undici-types/util.d.ts +18 -0
- package/backend/node_modules/undici-types/webidl.d.ts +228 -0
- package/backend/node_modules/undici-types/websocket.d.ts +150 -0
- package/daemon/node_modules/undici-types/LICENSE +21 -0
- package/daemon/node_modules/undici-types/README.md +6 -0
- package/daemon/node_modules/undici-types/agent.d.ts +31 -0
- package/daemon/node_modules/undici-types/api.d.ts +43 -0
- package/daemon/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/daemon/node_modules/undici-types/cache.d.ts +36 -0
- package/daemon/node_modules/undici-types/client.d.ts +108 -0
- package/daemon/node_modules/undici-types/connector.d.ts +34 -0
- package/daemon/node_modules/undici-types/content-type.d.ts +21 -0
- package/daemon/node_modules/undici-types/cookies.d.ts +28 -0
- package/daemon/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/daemon/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/daemon/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/daemon/node_modules/undici-types/errors.d.ts +149 -0
- package/daemon/node_modules/undici-types/eventsource.d.ts +61 -0
- package/daemon/node_modules/undici-types/fetch.d.ts +209 -0
- package/daemon/node_modules/undici-types/file.d.ts +39 -0
- package/daemon/node_modules/undici-types/filereader.d.ts +54 -0
- package/daemon/node_modules/undici-types/formdata.d.ts +108 -0
- package/daemon/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/daemon/node_modules/undici-types/global-origin.d.ts +7 -0
- package/daemon/node_modules/undici-types/handlers.d.ts +15 -0
- package/daemon/node_modules/undici-types/header.d.ts +4 -0
- package/daemon/node_modules/undici-types/index.d.ts +71 -0
- package/daemon/node_modules/undici-types/interceptors.d.ts +17 -0
- package/daemon/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/daemon/node_modules/undici-types/mock-client.d.ts +25 -0
- package/daemon/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/daemon/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/daemon/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/daemon/node_modules/undici-types/package.json +55 -0
- package/daemon/node_modules/undici-types/patch.d.ts +33 -0
- package/daemon/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/daemon/node_modules/undici-types/pool.d.ts +39 -0
- package/daemon/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/daemon/node_modules/undici-types/readable.d.ts +65 -0
- package/daemon/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/daemon/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/daemon/node_modules/undici-types/util.d.ts +18 -0
- package/daemon/node_modules/undici-types/webidl.d.ts +228 -0
- package/daemon/node_modules/undici-types/websocket.d.ts +150 -0
- package/package.json +2 -2
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
const utils_1 = require("@typescript-eslint/utils");
|
|
27
|
+
const eslint_utils_1 = require("@typescript-eslint/utils/eslint-utils");
|
|
28
|
+
const tsutils = __importStar(require("ts-api-utils"));
|
|
29
|
+
const util_1 = require("../util");
|
|
30
|
+
exports.default = (0, util_1.createRule)({
|
|
31
|
+
name: 'prefer-find',
|
|
32
|
+
meta: {
|
|
33
|
+
docs: {
|
|
34
|
+
description: 'Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result',
|
|
35
|
+
requiresTypeChecking: true,
|
|
36
|
+
},
|
|
37
|
+
messages: {
|
|
38
|
+
preferFind: 'Prefer .find(...) instead of .filter(...)[0].',
|
|
39
|
+
preferFindSuggestion: 'Use .find(...) instead of .filter(...)[0].',
|
|
40
|
+
},
|
|
41
|
+
schema: [],
|
|
42
|
+
type: 'suggestion',
|
|
43
|
+
hasSuggestions: true,
|
|
44
|
+
},
|
|
45
|
+
defaultOptions: [],
|
|
46
|
+
create(context) {
|
|
47
|
+
const globalScope = (0, eslint_utils_1.getScope)(context);
|
|
48
|
+
const services = (0, util_1.getParserServices)(context);
|
|
49
|
+
const checker = services.program.getTypeChecker();
|
|
50
|
+
function parseIfArrayFilterExpression(expression) {
|
|
51
|
+
if (expression.type === utils_1.AST_NODE_TYPES.SequenceExpression) {
|
|
52
|
+
// Only the last expression in (a, b, [1, 2, 3].filter(condition))[0] matters
|
|
53
|
+
const lastExpression = (0, util_1.nullThrows)(expression.expressions.at(-1), 'Expected to have more than zero expressions in a sequence expression');
|
|
54
|
+
return parseIfArrayFilterExpression(lastExpression);
|
|
55
|
+
}
|
|
56
|
+
if (expression.type === utils_1.AST_NODE_TYPES.ChainExpression) {
|
|
57
|
+
return parseIfArrayFilterExpression(expression.expression);
|
|
58
|
+
}
|
|
59
|
+
// Check if it looks like <<stuff>>(...), but not <<stuff>>?.(...)
|
|
60
|
+
if (expression.type === utils_1.AST_NODE_TYPES.CallExpression &&
|
|
61
|
+
!expression.optional) {
|
|
62
|
+
const callee = expression.callee;
|
|
63
|
+
// Check if it looks like <<stuff>>.filter(...) or <<stuff>>['filter'](...),
|
|
64
|
+
// or the optional chaining variants.
|
|
65
|
+
if (callee.type === utils_1.AST_NODE_TYPES.MemberExpression) {
|
|
66
|
+
const isBracketSyntaxForFilter = callee.computed;
|
|
67
|
+
if (isStaticMemberAccessOfValue(callee, 'filter', globalScope)) {
|
|
68
|
+
const filterNode = callee.property;
|
|
69
|
+
const filteredObjectType = (0, util_1.getConstrainedTypeAtLocation)(services, callee.object);
|
|
70
|
+
// As long as the object is a (possibly nullable) array,
|
|
71
|
+
// this is an Array.prototype.filter expression.
|
|
72
|
+
if (isArrayish(filteredObjectType)) {
|
|
73
|
+
return {
|
|
74
|
+
isBracketSyntaxForFilter,
|
|
75
|
+
filterNode,
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return undefined;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Tells whether the type is a possibly nullable array/tuple or union thereof.
|
|
85
|
+
*/
|
|
86
|
+
function isArrayish(type) {
|
|
87
|
+
let isAtLeastOneArrayishComponent = false;
|
|
88
|
+
for (const unionPart of tsutils.unionTypeParts(type)) {
|
|
89
|
+
if (tsutils.isIntrinsicNullType(unionPart) ||
|
|
90
|
+
tsutils.isIntrinsicUndefinedType(unionPart)) {
|
|
91
|
+
continue;
|
|
92
|
+
}
|
|
93
|
+
// apparently checker.isArrayType(T[] & S[]) => false.
|
|
94
|
+
// so we need to check the intersection parts individually.
|
|
95
|
+
const isArrayOrIntersectionThereof = tsutils
|
|
96
|
+
.intersectionTypeParts(unionPart)
|
|
97
|
+
.every(intersectionPart => checker.isArrayType(intersectionPart) ||
|
|
98
|
+
checker.isTupleType(intersectionPart));
|
|
99
|
+
if (!isArrayOrIntersectionThereof) {
|
|
100
|
+
// There is a non-array, non-nullish type component,
|
|
101
|
+
// so it's not an array.
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
isAtLeastOneArrayishComponent = true;
|
|
105
|
+
}
|
|
106
|
+
return isAtLeastOneArrayishComponent;
|
|
107
|
+
}
|
|
108
|
+
function getObjectIfArrayAtExpression(node) {
|
|
109
|
+
// .at() should take exactly one argument.
|
|
110
|
+
if (node.arguments.length !== 1) {
|
|
111
|
+
return undefined;
|
|
112
|
+
}
|
|
113
|
+
const atArgument = (0, util_1.getStaticValue)(node.arguments[0], globalScope);
|
|
114
|
+
if (atArgument != null && isTreatedAsZeroByArrayAt(atArgument.value)) {
|
|
115
|
+
const callee = node.callee;
|
|
116
|
+
if (callee.type === utils_1.AST_NODE_TYPES.MemberExpression &&
|
|
117
|
+
!callee.optional &&
|
|
118
|
+
isStaticMemberAccessOfValue(callee, 'at', globalScope)) {
|
|
119
|
+
return callee.object;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
return undefined;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Implements the algorithm for array indexing by `.at()` method.
|
|
126
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at#parameters
|
|
127
|
+
*/
|
|
128
|
+
function isTreatedAsZeroByArrayAt(value) {
|
|
129
|
+
const asNumber = Number(value);
|
|
130
|
+
if (isNaN(asNumber)) {
|
|
131
|
+
return true;
|
|
132
|
+
}
|
|
133
|
+
return Math.trunc(asNumber) === 0;
|
|
134
|
+
}
|
|
135
|
+
function isMemberAccessOfZero(node) {
|
|
136
|
+
const property = (0, util_1.getStaticValue)(node.property, globalScope);
|
|
137
|
+
// Check if it looks like <<stuff>>[0] or <<stuff>>['0'], but not <<stuff>>?.[0]
|
|
138
|
+
return (!node.optional &&
|
|
139
|
+
property != null &&
|
|
140
|
+
isTreatedAsZeroByMemberAccess(property.value));
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Implements the algorithm for array indexing by member operator.
|
|
144
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#array_indices
|
|
145
|
+
*/
|
|
146
|
+
function isTreatedAsZeroByMemberAccess(value) {
|
|
147
|
+
return String(value) === '0';
|
|
148
|
+
}
|
|
149
|
+
function generateFixToRemoveArrayElementAccess(fixer, arrayNode, wholeExpressionBeingFlagged, sourceCode) {
|
|
150
|
+
const tokenToStartDeletingFrom = (0, util_1.nullThrows)(
|
|
151
|
+
// The next `.` or `[` is what we're looking for.
|
|
152
|
+
// think of (...).at(0) or (...)[0] or even (...)["at"](0).
|
|
153
|
+
sourceCode.getTokenAfter(arrayNode, token => token.value === '.' || token.value === '['), 'Expected to find a member access token!');
|
|
154
|
+
return fixer.removeRange([
|
|
155
|
+
tokenToStartDeletingFrom.range[0],
|
|
156
|
+
wholeExpressionBeingFlagged.range[1],
|
|
157
|
+
]);
|
|
158
|
+
}
|
|
159
|
+
function generateFixToReplaceFilterWithFind(fixer, filterExpression) {
|
|
160
|
+
return fixer.replaceText(filterExpression.filterNode, filterExpression.isBracketSyntaxForFilter ? '"find"' : 'find');
|
|
161
|
+
}
|
|
162
|
+
return {
|
|
163
|
+
// This query will be used to find things like `filteredResults.at(0)`.
|
|
164
|
+
CallExpression(node) {
|
|
165
|
+
const object = getObjectIfArrayAtExpression(node);
|
|
166
|
+
if (object) {
|
|
167
|
+
const filterExpression = parseIfArrayFilterExpression(object);
|
|
168
|
+
if (filterExpression) {
|
|
169
|
+
context.report({
|
|
170
|
+
node,
|
|
171
|
+
messageId: 'preferFind',
|
|
172
|
+
suggest: [
|
|
173
|
+
{
|
|
174
|
+
messageId: 'preferFindSuggestion',
|
|
175
|
+
fix: (fixer) => {
|
|
176
|
+
const sourceCode = (0, eslint_utils_1.getSourceCode)(context);
|
|
177
|
+
return [
|
|
178
|
+
generateFixToReplaceFilterWithFind(fixer, filterExpression),
|
|
179
|
+
// Get rid of the .at(0) or ['at'](0).
|
|
180
|
+
generateFixToRemoveArrayElementAccess(fixer, object, node, sourceCode),
|
|
181
|
+
];
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
// This query will be used to find things like `filteredResults[0]`.
|
|
190
|
+
//
|
|
191
|
+
// Note: we're always looking for array member access to be "computed",
|
|
192
|
+
// i.e. `filteredResults[0]`, since `filteredResults.0` isn't a thing.
|
|
193
|
+
['MemberExpression[computed=true]'](node) {
|
|
194
|
+
if (isMemberAccessOfZero(node)) {
|
|
195
|
+
const object = node.object;
|
|
196
|
+
const filterExpression = parseIfArrayFilterExpression(object);
|
|
197
|
+
if (filterExpression) {
|
|
198
|
+
context.report({
|
|
199
|
+
node,
|
|
200
|
+
messageId: 'preferFind',
|
|
201
|
+
suggest: [
|
|
202
|
+
{
|
|
203
|
+
messageId: 'preferFindSuggestion',
|
|
204
|
+
fix: (fixer) => {
|
|
205
|
+
const sourceCode = context.sourceCode;
|
|
206
|
+
return [
|
|
207
|
+
generateFixToReplaceFilterWithFind(fixer, filterExpression),
|
|
208
|
+
// Get rid of the [0].
|
|
209
|
+
generateFixToRemoveArrayElementAccess(fixer, object, node, sourceCode),
|
|
210
|
+
];
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
};
|
|
219
|
+
},
|
|
220
|
+
});
|
|
221
|
+
/**
|
|
222
|
+
* Answers whether the member expression looks like
|
|
223
|
+
* `x.memberName`, `x['memberName']`,
|
|
224
|
+
* or even `const mn = 'memberName'; x[mn]` (or optional variants thereof).
|
|
225
|
+
*/
|
|
226
|
+
function isStaticMemberAccessOfValue(memberExpression, value, scope) {
|
|
227
|
+
if (!memberExpression.computed) {
|
|
228
|
+
// x.memberName case.
|
|
229
|
+
return memberExpression.property.name === value;
|
|
230
|
+
}
|
|
231
|
+
// x['memberName'] cases.
|
|
232
|
+
const staticValueResult = (0, util_1.getStaticValue)(memberExpression.property, scope);
|
|
233
|
+
return staticValueResult != null && value === staticValueResult.value;
|
|
234
|
+
}
|
|
235
|
+
//# sourceMappingURL=prefer-find.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefer-find.js","sourceRoot":"","sources":["../../src/rules/prefer-find.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,wEAAgF;AAMhF,sDAAwC;AAGxC,kCAMiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,0HAA0H;YAC5H,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,+CAA+C;YAC3D,oBAAoB,EAAE,4CAA4C;SACnE;QACD,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,YAAY;QAClB,cAAc,EAAE,IAAI;KACrB;IAED,cAAc,EAAE,EAAE;IAElB,MAAM,CAAC,OAAO;QACZ,MAAM,WAAW,GAAG,IAAA,uBAAQ,EAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CA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AAO,CAAC,MAAM,CAAC;4BACb,IAAI;4BACJ,SAAS,EAAE,YAAY;4BACvB,OAAO,EAAE;gCACP;oCACE,SAAS,EAAE,sBAAsB;oCACjC,GAAG,EAAE,CAAC,KAAK,EAAsB,EAAE;wCACjC,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;wCACtC,OAAO;4CACL,kCAAkC,CAChC,KAAK,EACL,gBAAgB,CACjB;4CACD,sBAAsB;4CACtB,qCAAqC,CACnC,KAAK,EACL,MAAM,EACN,IAAI,EACJ,UAAU,CACX;yCACF,CAAC;oCACJ,CAAC;iCACF;6BACF;yBACF,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH;;;;GAIG;AACH,SAAS,2BAA2B,CAClC,gBAE4C,EAC5C,KAAa,EACb,KAA+B;IAE/B,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;QAC/B,qBAAqB;QACrB,OAAO,gBAAgB,CAAC,QAAQ,CAAC,IAAI,KAAK,KAAK,CAAC;IAClD,CAAC;IAED,yBAAyB;IACzB,MAAM,iBAAiB,GAAG,IAAA,qBAAc,EAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAC3E,OAAO,iBAAiB,IAAI,IAAI,IAAI,KAAK,KAAK,iBAAiB,CAAC,KAAK,CAAC;AACxE,CAAC"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const utils_1 = require("@typescript-eslint/utils");
|
|
4
|
+
const eslint_utils_1 = require("@typescript-eslint/utils/eslint-utils");
|
|
5
|
+
const util_1 = require("../util");
|
|
6
|
+
exports.default = (0, util_1.createRule)({
|
|
7
|
+
name: 'prefer-for-of',
|
|
8
|
+
meta: {
|
|
9
|
+
type: 'suggestion',
|
|
10
|
+
docs: {
|
|
11
|
+
description: 'Enforce the use of `for-of` loop over the standard `for` loop where possible',
|
|
12
|
+
recommended: 'stylistic',
|
|
13
|
+
},
|
|
14
|
+
messages: {
|
|
15
|
+
preferForOf: 'Expected a `for-of` loop instead of a `for` loop with this simple iteration.',
|
|
16
|
+
},
|
|
17
|
+
schema: [],
|
|
18
|
+
},
|
|
19
|
+
defaultOptions: [],
|
|
20
|
+
create(context) {
|
|
21
|
+
function isSingleVariableDeclaration(node) {
|
|
22
|
+
return (node?.type === utils_1.AST_NODE_TYPES.VariableDeclaration &&
|
|
23
|
+
node.kind !== 'const' &&
|
|
24
|
+
node.declarations.length === 1);
|
|
25
|
+
}
|
|
26
|
+
function isLiteral(node, value) {
|
|
27
|
+
return node.type === utils_1.AST_NODE_TYPES.Literal && node.value === value;
|
|
28
|
+
}
|
|
29
|
+
function isZeroInitialized(node) {
|
|
30
|
+
return node.init != null && isLiteral(node.init, 0);
|
|
31
|
+
}
|
|
32
|
+
function isMatchingIdentifier(node, name) {
|
|
33
|
+
return node.type === utils_1.AST_NODE_TYPES.Identifier && node.name === name;
|
|
34
|
+
}
|
|
35
|
+
function isLessThanLengthExpression(node, name) {
|
|
36
|
+
if (node?.type === utils_1.AST_NODE_TYPES.BinaryExpression &&
|
|
37
|
+
node.operator === '<' &&
|
|
38
|
+
isMatchingIdentifier(node.left, name) &&
|
|
39
|
+
node.right.type === utils_1.AST_NODE_TYPES.MemberExpression &&
|
|
40
|
+
isMatchingIdentifier(node.right.property, 'length')) {
|
|
41
|
+
return node.right.object;
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
function isIncrement(node, name) {
|
|
46
|
+
if (!node) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
switch (node.type) {
|
|
50
|
+
case utils_1.AST_NODE_TYPES.UpdateExpression:
|
|
51
|
+
// x++ or ++x
|
|
52
|
+
return (node.operator === '++' && isMatchingIdentifier(node.argument, name));
|
|
53
|
+
case utils_1.AST_NODE_TYPES.AssignmentExpression:
|
|
54
|
+
if (isMatchingIdentifier(node.left, name)) {
|
|
55
|
+
if (node.operator === '+=') {
|
|
56
|
+
// x += 1
|
|
57
|
+
return isLiteral(node.right, 1);
|
|
58
|
+
}
|
|
59
|
+
else if (node.operator === '=') {
|
|
60
|
+
// x = x + 1 or x = 1 + x
|
|
61
|
+
const expr = node.right;
|
|
62
|
+
return (expr.type === utils_1.AST_NODE_TYPES.BinaryExpression &&
|
|
63
|
+
expr.operator === '+' &&
|
|
64
|
+
((isMatchingIdentifier(expr.left, name) &&
|
|
65
|
+
isLiteral(expr.right, 1)) ||
|
|
66
|
+
(isLiteral(expr.left, 1) &&
|
|
67
|
+
isMatchingIdentifier(expr.right, name))));
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
function contains(outer, inner) {
|
|
74
|
+
return (outer.range[0] <= inner.range[0] && outer.range[1] >= inner.range[1]);
|
|
75
|
+
}
|
|
76
|
+
function isAssignee(node) {
|
|
77
|
+
const parent = node.parent;
|
|
78
|
+
if (!parent) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
// a[i] = 1, a[i] += 1, etc.
|
|
82
|
+
if (parent.type === utils_1.AST_NODE_TYPES.AssignmentExpression &&
|
|
83
|
+
parent.left === node) {
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
// delete a[i]
|
|
87
|
+
if (parent.type === utils_1.AST_NODE_TYPES.UnaryExpression &&
|
|
88
|
+
parent.operator === 'delete' &&
|
|
89
|
+
parent.argument === node) {
|
|
90
|
+
return true;
|
|
91
|
+
}
|
|
92
|
+
// a[i]++, --a[i], etc.
|
|
93
|
+
if (parent.type === utils_1.AST_NODE_TYPES.UpdateExpression &&
|
|
94
|
+
parent.argument === node) {
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
// [a[i]] = [0]
|
|
98
|
+
if (parent.type === utils_1.AST_NODE_TYPES.ArrayPattern) {
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
// [...a[i]] = [0]
|
|
102
|
+
if (parent.type === utils_1.AST_NODE_TYPES.RestElement) {
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
// ({ foo: a[i] }) = { foo: 0 }
|
|
106
|
+
if (parent.type === utils_1.AST_NODE_TYPES.Property &&
|
|
107
|
+
parent.value === node &&
|
|
108
|
+
parent.parent.type === utils_1.AST_NODE_TYPES.ObjectExpression &&
|
|
109
|
+
isAssignee(parent.parent)) {
|
|
110
|
+
return true;
|
|
111
|
+
}
|
|
112
|
+
return false;
|
|
113
|
+
}
|
|
114
|
+
function isIndexOnlyUsedWithArray(body, indexVar, arrayExpression) {
|
|
115
|
+
const sourceCode = (0, eslint_utils_1.getSourceCode)(context);
|
|
116
|
+
const arrayText = sourceCode.getText(arrayExpression);
|
|
117
|
+
return indexVar.references.every(reference => {
|
|
118
|
+
const id = reference.identifier;
|
|
119
|
+
const node = id.parent;
|
|
120
|
+
return (!contains(body, id) ||
|
|
121
|
+
(node.type === utils_1.AST_NODE_TYPES.MemberExpression &&
|
|
122
|
+
node.object.type !== utils_1.AST_NODE_TYPES.ThisExpression &&
|
|
123
|
+
node.property === id &&
|
|
124
|
+
sourceCode.getText(node.object) === arrayText &&
|
|
125
|
+
!isAssignee(node)));
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
return {
|
|
129
|
+
'ForStatement:exit'(node) {
|
|
130
|
+
if (!isSingleVariableDeclaration(node.init)) {
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
const declarator = node.init.declarations[0];
|
|
134
|
+
if (!declarator ||
|
|
135
|
+
!isZeroInitialized(declarator) ||
|
|
136
|
+
declarator.id.type !== utils_1.AST_NODE_TYPES.Identifier) {
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
const indexName = declarator.id.name;
|
|
140
|
+
const arrayExpression = isLessThanLengthExpression(node.test, indexName);
|
|
141
|
+
if (!arrayExpression) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
const [indexVar] = (0, eslint_utils_1.getDeclaredVariables)(context, node.init);
|
|
145
|
+
if (isIncrement(node.update, indexName) &&
|
|
146
|
+
isIndexOnlyUsedWithArray(node.body, indexVar, arrayExpression)) {
|
|
147
|
+
context.report({
|
|
148
|
+
node,
|
|
149
|
+
messageId: 'preferForOf',
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
};
|
|
154
|
+
},
|
|
155
|
+
});
|
|
156
|
+
//# sourceMappingURL=prefer-for-of.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefer-for-of.js","sourceRoot":"","sources":["../../src/rules/prefer-for-of.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAC1D,wEAG+C;AAE/C,kCAAqC;AAErC,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,8EAA8E;YAChF,WAAW,EAAE,WAAW;SACzB;QACD,QAAQ,EAAE;YACR,WAAW,EACT,8EAA8E;SACjF;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,SAAS,2BAA2B,CAClC,IAA0B;YAE1B,OAAO,CACL,IAAI,EAAE,IAAI,KAAK,sBAAc,CAAC,mBAAmB;gBACjD,IAAI,CAAC,IAAI,KAAK,OAAO;gBACrB,IAAI,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,CAC/B,CAAC;QACJ,CAAC;QAED,SAAS,SAAS,CAChB,IAAsD,EACtD,KAAa;YAEb,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,CAAC;QACtE,CAAC;QAED,SAAS,iBAAiB,CAAC,IAAi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AAa;qBACzB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.phrases = void 0;
|
|
4
|
+
const utils_1 = require("@typescript-eslint/utils");
|
|
5
|
+
const eslint_utils_1 = require("@typescript-eslint/utils/eslint-utils");
|
|
6
|
+
const util_1 = require("../util");
|
|
7
|
+
exports.phrases = {
|
|
8
|
+
[utils_1.AST_NODE_TYPES.TSTypeLiteral]: 'Type literal',
|
|
9
|
+
[utils_1.AST_NODE_TYPES.TSInterfaceDeclaration]: 'Interface',
|
|
10
|
+
};
|
|
11
|
+
exports.default = (0, util_1.createRule)({
|
|
12
|
+
name: 'prefer-function-type',
|
|
13
|
+
meta: {
|
|
14
|
+
docs: {
|
|
15
|
+
description: 'Enforce using function types instead of interfaces with call signatures',
|
|
16
|
+
recommended: 'stylistic',
|
|
17
|
+
},
|
|
18
|
+
fixable: 'code',
|
|
19
|
+
messages: {
|
|
20
|
+
functionTypeOverCallableType: '{{ literalOrInterface }} only has a call signature, you should use a function type instead.',
|
|
21
|
+
unexpectedThisOnFunctionOnlyInterface: "`this` refers to the function type '{{ interfaceName }}', did you intend to use a generic `this` parameter like `<Self>(this: Self, ...) => Self` instead?",
|
|
22
|
+
},
|
|
23
|
+
schema: [],
|
|
24
|
+
type: 'suggestion',
|
|
25
|
+
},
|
|
26
|
+
defaultOptions: [],
|
|
27
|
+
create(context) {
|
|
28
|
+
const sourceCode = (0, eslint_utils_1.getSourceCode)(context);
|
|
29
|
+
/**
|
|
30
|
+
* Checks if there the interface has exactly one supertype that isn't named 'Function'
|
|
31
|
+
* @param node The node being checked
|
|
32
|
+
*/
|
|
33
|
+
function hasOneSupertype(node) {
|
|
34
|
+
if (node.extends.length === 0) {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
if (node.extends.length !== 1) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
const expr = node.extends[0].expression;
|
|
41
|
+
return (expr.type !== utils_1.AST_NODE_TYPES.Identifier || expr.name !== 'Function');
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @param parent The parent of the call signature causing the diagnostic
|
|
45
|
+
*/
|
|
46
|
+
function shouldWrapSuggestion(parent) {
|
|
47
|
+
if (!parent) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
switch (parent.type) {
|
|
51
|
+
case utils_1.AST_NODE_TYPES.TSUnionType:
|
|
52
|
+
case utils_1.AST_NODE_TYPES.TSIntersectionType:
|
|
53
|
+
case utils_1.AST_NODE_TYPES.TSArrayType:
|
|
54
|
+
return true;
|
|
55
|
+
default:
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @param member The TypeElement being checked
|
|
61
|
+
* @param node The parent of member being checked
|
|
62
|
+
*/
|
|
63
|
+
function checkMember(member, node, tsThisTypes = null) {
|
|
64
|
+
if ((member.type === utils_1.AST_NODE_TYPES.TSCallSignatureDeclaration ||
|
|
65
|
+
member.type === utils_1.AST_NODE_TYPES.TSConstructSignatureDeclaration) &&
|
|
66
|
+
member.returnType !== undefined) {
|
|
67
|
+
if (tsThisTypes?.length &&
|
|
68
|
+
node.type === utils_1.AST_NODE_TYPES.TSInterfaceDeclaration) {
|
|
69
|
+
// the message can be confusing if we don't point directly to the `this` node instead of the whole member
|
|
70
|
+
// and in favour of generating at most one error we'll only report the first occurrence of `this` if there are multiple
|
|
71
|
+
context.report({
|
|
72
|
+
node: tsThisTypes[0],
|
|
73
|
+
messageId: 'unexpectedThisOnFunctionOnlyInterface',
|
|
74
|
+
data: {
|
|
75
|
+
interfaceName: node.id.name,
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const fixable = node.parent.type === utils_1.AST_NODE_TYPES.ExportDefaultDeclaration;
|
|
81
|
+
const fix = fixable
|
|
82
|
+
? null
|
|
83
|
+
: (fixer) => {
|
|
84
|
+
const fixes = [];
|
|
85
|
+
const start = member.range[0];
|
|
86
|
+
const colonPos = member.returnType.range[0] - start;
|
|
87
|
+
const text = sourceCode.getText().slice(start, member.range[1]);
|
|
88
|
+
const comments = sourceCode
|
|
89
|
+
.getCommentsBefore(member)
|
|
90
|
+
.concat(sourceCode.getCommentsAfter(member));
|
|
91
|
+
let suggestion = `${text.slice(0, colonPos)} =>${text.slice(colonPos + 1)}`;
|
|
92
|
+
const lastChar = suggestion.endsWith(';') ? ';' : '';
|
|
93
|
+
if (lastChar) {
|
|
94
|
+
suggestion = suggestion.slice(0, -1);
|
|
95
|
+
}
|
|
96
|
+
if (shouldWrapSuggestion(node.parent)) {
|
|
97
|
+
suggestion = `(${suggestion})`;
|
|
98
|
+
}
|
|
99
|
+
if (node.type === utils_1.AST_NODE_TYPES.TSInterfaceDeclaration) {
|
|
100
|
+
if (node.typeParameters !== undefined) {
|
|
101
|
+
suggestion = `type ${sourceCode
|
|
102
|
+
.getText()
|
|
103
|
+
.slice(node.id.range[0], node.typeParameters.range[1])} = ${suggestion}${lastChar}`;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
suggestion = `type ${node.id.name} = ${suggestion}${lastChar}`;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
const isParentExported = node.parent.type === utils_1.AST_NODE_TYPES.ExportNamedDeclaration;
|
|
110
|
+
if (node.type === utils_1.AST_NODE_TYPES.TSInterfaceDeclaration &&
|
|
111
|
+
isParentExported) {
|
|
112
|
+
const commentsText = comments.reduce((text, comment) => {
|
|
113
|
+
return (text +
|
|
114
|
+
(comment.type === utils_1.AST_TOKEN_TYPES.Line
|
|
115
|
+
? `//${comment.value}`
|
|
116
|
+
: `/*${comment.value}*/`) +
|
|
117
|
+
'\n');
|
|
118
|
+
}, '');
|
|
119
|
+
// comments should move before export and not between export and interface declaration
|
|
120
|
+
fixes.push(fixer.insertTextBefore(node.parent, commentsText));
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
comments.forEach(comment => {
|
|
124
|
+
let commentText = comment.type === utils_1.AST_TOKEN_TYPES.Line
|
|
125
|
+
? `//${comment.value}`
|
|
126
|
+
: `/*${comment.value}*/`;
|
|
127
|
+
const isCommentOnTheSameLine = comment.loc.start.line === member.loc.start.line;
|
|
128
|
+
if (!isCommentOnTheSameLine) {
|
|
129
|
+
commentText += '\n';
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
commentText += ' ';
|
|
133
|
+
}
|
|
134
|
+
suggestion = commentText + suggestion;
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
const fixStart = node.range[0];
|
|
138
|
+
fixes.push(fixer.replaceTextRange([fixStart, node.range[1]], suggestion));
|
|
139
|
+
return fixes;
|
|
140
|
+
};
|
|
141
|
+
context.report({
|
|
142
|
+
node: member,
|
|
143
|
+
messageId: 'functionTypeOverCallableType',
|
|
144
|
+
data: {
|
|
145
|
+
literalOrInterface: exports.phrases[node.type],
|
|
146
|
+
},
|
|
147
|
+
fix,
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
let tsThisTypes = null;
|
|
152
|
+
let literalNesting = 0;
|
|
153
|
+
return {
|
|
154
|
+
TSInterfaceDeclaration() {
|
|
155
|
+
// when entering an interface reset the count of `this`s to empty.
|
|
156
|
+
tsThisTypes = [];
|
|
157
|
+
},
|
|
158
|
+
'TSInterfaceDeclaration TSThisType'(node) {
|
|
159
|
+
// inside an interface keep track of all ThisType references.
|
|
160
|
+
// unless it's inside a nested type literal in which case it's invalid code anyway
|
|
161
|
+
// we don't want to incorrectly say "it refers to name" while typescript says it's completely invalid.
|
|
162
|
+
if (literalNesting === 0 && tsThisTypes != null) {
|
|
163
|
+
tsThisTypes.push(node);
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
'TSInterfaceDeclaration:exit'(node) {
|
|
167
|
+
if (!hasOneSupertype(node) && node.body.body.length === 1) {
|
|
168
|
+
checkMember(node.body.body[0], node, tsThisTypes);
|
|
169
|
+
}
|
|
170
|
+
// on exit check member and reset the array to nothing.
|
|
171
|
+
tsThisTypes = null;
|
|
172
|
+
},
|
|
173
|
+
// keep track of nested literals to avoid complaining about invalid `this` uses
|
|
174
|
+
'TSInterfaceDeclaration TSTypeLiteral'() {
|
|
175
|
+
literalNesting += 1;
|
|
176
|
+
},
|
|
177
|
+
'TSInterfaceDeclaration TSTypeLiteral:exit'() {
|
|
178
|
+
literalNesting -= 1;
|
|
179
|
+
},
|
|
180
|
+
'TSTypeLiteral[members.length = 1]'(node) {
|
|
181
|
+
checkMember(node.members[0], node);
|
|
182
|
+
},
|
|
183
|
+
};
|
|
184
|
+
},
|
|
185
|
+
});
|
|
186
|
+
//# sourceMappingURL=prefer-function-type.js.map
|
package/backend/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefer-function-type.js","sourceRoot":"","sources":["../../src/rules/prefer-function-type.ts"],"names":[],"mappings":";;;AACA,oDAA2E;AAC3E,wEAAsE;AAEtE,kCAAqC;AAExB,QAAA,OAAO,GAAG;IACrB,CAAC,sBAAc,CAAC,aAAa,CAAC,EAAE,cAAc;IAC9C,CAAC,sBAAc,CAAC,sBAAsB,CAAC,EAAE,WAAW;CAC5C,CAAC;AAEX,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,yEAAyE;YAC3E,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,4BAA4B,EAC1B,6FAA6F;YAC/F,qCAA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