@depup/typescript-eslint__eslint-plugin 8.57.1-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +25 -0
- package/changes.json +5 -0
- package/dist/configs/eslint-recommended-raw.d.ts +10 -0
- package/dist/configs/eslint-recommended-raw.js +46 -0
- package/dist/configs/eslintrc/all.d.ts +159 -0
- package/dist/configs/eslintrc/all.js +165 -0
- package/dist/configs/eslintrc/base.d.ts +8 -0
- package/dist/configs/eslintrc/base.js +6 -0
- package/dist/configs/eslintrc/disable-type-checked.d.ts +71 -0
- package/dist/configs/eslintrc/disable-type-checked.js +73 -0
- package/dist/configs/eslintrc/eslint-recommended.d.ts +12 -0
- package/dist/configs/eslintrc/eslint-recommended.js +13 -0
- package/dist/configs/eslintrc/recommended-type-checked-only.d.ts +33 -0
- package/dist/configs/eslintrc/recommended-type-checked-only.js +39 -0
- package/dist/configs/eslintrc/recommended-type-checked.d.ts +56 -0
- package/dist/configs/eslintrc/recommended-type-checked.js +62 -0
- package/dist/configs/eslintrc/recommended.d.ts +29 -0
- package/dist/configs/eslintrc/recommended.js +35 -0
- package/dist/configs/eslintrc/strict-type-checked-only.d.ts +64 -0
- package/dist/configs/eslintrc/strict-type-checked-only.js +79 -0
- package/dist/configs/eslintrc/strict-type-checked.d.ts +98 -0
- package/dist/configs/eslintrc/strict-type-checked.js +114 -0
- package/dist/configs/eslintrc/strict.d.ts +40 -0
- package/dist/configs/eslintrc/strict.js +47 -0
- package/dist/configs/eslintrc/stylistic-type-checked-only.d.ts +15 -0
- package/dist/configs/eslintrc/stylistic-type-checked-only.js +21 -0
- package/dist/configs/eslintrc/stylistic-type-checked.d.ts +29 -0
- package/dist/configs/eslintrc/stylistic-type-checked.js +35 -0
- package/dist/configs/eslintrc/stylistic.d.ts +20 -0
- package/dist/configs/eslintrc/stylistic.js +26 -0
- package/dist/configs/flat/all.d.ts +7 -0
- package/dist/configs/flat/all.js +179 -0
- package/dist/configs/flat/base.d.ts +8 -0
- package/dist/configs/flat/base.js +17 -0
- package/dist/configs/flat/disable-type-checked.d.ts +7 -0
- package/dist/configs/flat/disable-type-checked.js +81 -0
- package/dist/configs/flat/eslint-recommended.d.ts +9 -0
- package/dist/configs/flat/eslint-recommended.js +16 -0
- package/dist/configs/flat/recommended-type-checked-only.d.ts +7 -0
- package/dist/configs/flat/recommended-type-checked-only.js +53 -0
- package/dist/configs/flat/recommended-type-checked.d.ts +7 -0
- package/dist/configs/flat/recommended-type-checked.js +76 -0
- package/dist/configs/flat/recommended.d.ts +7 -0
- package/dist/configs/flat/recommended.js +49 -0
- package/dist/configs/flat/strict-type-checked-only.d.ts +7 -0
- package/dist/configs/flat/strict-type-checked-only.js +93 -0
- package/dist/configs/flat/strict-type-checked.d.ts +7 -0
- package/dist/configs/flat/strict-type-checked.js +128 -0
- package/dist/configs/flat/strict.d.ts +7 -0
- package/dist/configs/flat/strict.js +61 -0
- package/dist/configs/flat/stylistic-type-checked-only.d.ts +7 -0
- package/dist/configs/flat/stylistic-type-checked-only.js +35 -0
- package/dist/configs/flat/stylistic-type-checked.d.ts +7 -0
- package/dist/configs/flat/stylistic-type-checked.js +49 -0
- package/dist/configs/flat/stylistic.d.ts +7 -0
- package/dist/configs/flat/stylistic.js +40 -0
- package/dist/index.d.ts +1128 -0
- package/dist/index.js +6 -0
- package/dist/raw-plugin.d.ts +1152 -0
- package/dist/raw-plugin.js +122 -0
- package/dist/rules/adjacent-overload-signatures.d.ts +4 -0
- package/dist/rules/adjacent-overload-signatures.js +124 -0
- package/dist/rules/array-type.d.ts +12 -0
- package/dist/rules/array-type.js +232 -0
- package/dist/rules/await-thenable.d.ts +6 -0
- package/dist/rules/await-thenable.js +228 -0
- package/dist/rules/ban-ts-comment.d.ts +17 -0
- package/dist/rules/ban-ts-comment.js +195 -0
- package/dist/rules/ban-tslint-comment.d.ts +4 -0
- package/dist/rules/ban-tslint-comment.js +53 -0
- package/dist/rules/class-literal-property-style.d.ts +7 -0
- package/dist/rules/class-literal-property-style.js +160 -0
- package/dist/rules/class-methods-use-this.d.ts +13 -0
- package/dist/rules/class-methods-use-this.js +219 -0
- package/dist/rules/consistent-generic-constructors.d.ts +6 -0
- package/dist/rules/consistent-generic-constructors.js +126 -0
- package/dist/rules/consistent-indexed-object-style.d.ts +7 -0
- package/dist/rules/consistent-indexed-object-style.js +256 -0
- package/dist/rules/consistent-return.d.ts +18 -0
- package/dist/rules/consistent-return.js +135 -0
- package/dist/rules/consistent-type-assertions.d.ts +14 -0
- package/dist/rules/consistent-type-assertions.js +256 -0
- package/dist/rules/consistent-type-definitions.d.ts +5 -0
- package/dist/rules/consistent-type-definitions.js +100 -0
- package/dist/rules/consistent-type-exports.d.ts +11 -0
- package/dist/rules/consistent-type-exports.js +335 -0
- package/dist/rules/consistent-type-imports.d.ts +15 -0
- package/dist/rules/consistent-type-imports.js +608 -0
- package/dist/rules/default-param-last.d.ts +4 -0
- package/dist/rules/default-param-last.js +68 -0
- package/dist/rules/dot-notation.d.ts +23 -0
- package/dist/rules/dot-notation.js +139 -0
- package/dist/rules/enum-utils/shared.d.ts +36 -0
- package/dist/rules/enum-utils/shared.js +121 -0
- package/dist/rules/explicit-function-return-type.d.ts +17 -0
- package/dist/rules/explicit-function-return-type.js +179 -0
- package/dist/rules/explicit-member-accessibility.d.ts +19 -0
- package/dist/rules/explicit-member-accessibility.js +299 -0
- package/dist/rules/explicit-module-boundary-types.d.ts +15 -0
- package/dist/rules/explicit-module-boundary-types.js +386 -0
- package/dist/rules/index.d.ts +448 -0
- package/dist/rules/index.js +275 -0
- package/dist/rules/init-declarations.d.ts +15 -0
- package/dist/rules/init-declarations.js +105 -0
- package/dist/rules/max-params.d.ts +25 -0
- package/dist/rules/max-params.js +72 -0
- package/dist/rules/member-ordering.d.ts +33 -0
- package/dist/rules/member-ordering.js +833 -0
- package/dist/rules/method-signature-style.d.ts +6 -0
- package/dist/rules/method-signature-style.js +186 -0
- package/dist/rules/naming-convention-utils/enums.d.ts +79 -0
- package/dist/rules/naming-convention-utils/enums.js +102 -0
- package/dist/rules/naming-convention-utils/format.d.ts +2 -0
- package/dist/rules/naming-convention-utils/format.js +89 -0
- package/dist/rules/naming-convention-utils/index.d.ts +6 -0
- package/dist/rules/naming-convention-utils/index.js +11 -0
- package/dist/rules/naming-convention-utils/parse-options.d.ts +2 -0
- package/dist/rules/naming-convention-utils/parse-options.js +69 -0
- package/dist/rules/naming-convention-utils/schema.d.ts +2 -0
- package/dist/rules/naming-convention-utils/schema.js +305 -0
- package/dist/rules/naming-convention-utils/shared.d.ts +5 -0
- package/dist/rules/naming-convention-utils/shared.js +16 -0
- package/dist/rules/naming-convention-utils/types.d.ts +39 -0
- package/dist/rules/naming-convention-utils/types.js +2 -0
- package/dist/rules/naming-convention-utils/validator.d.ts +3 -0
- package/dist/rules/naming-convention-utils/validator.js +349 -0
- package/dist/rules/naming-convention.d.ts +8 -0
- package/dist/rules/naming-convention.js +505 -0
- package/dist/rules/no-array-constructor.d.ts +4 -0
- package/dist/rules/no-array-constructor.js +62 -0
- package/dist/rules/no-array-delete.d.ts +6 -0
- package/dist/rules/no-array-delete.js +80 -0
- package/dist/rules/no-base-to-string.d.ts +11 -0
- package/dist/rules/no-base-to-string.js +324 -0
- package/dist/rules/no-confusing-non-null-assertion.d.ts +6 -0
- package/dist/rules/no-confusing-non-null-assertion.js +142 -0
- package/dist/rules/no-confusing-void-expression.d.ts +13 -0
- package/dist/rules/no-confusing-void-expression.js +357 -0
- package/dist/rules/no-deprecated.d.ts +11 -0
- package/dist/rules/no-deprecated.js +402 -0
- package/dist/rules/no-dupe-class-members.d.ts +14 -0
- package/dist/rules/no-dupe-class-members.js +39 -0
- package/dist/rules/no-duplicate-enum-values.d.ts +4 -0
- package/dist/rules/no-duplicate-enum-values.js +83 -0
- package/dist/rules/no-duplicate-type-constituents.d.ts +11 -0
- package/dist/rules/no-duplicate-type-constituents.js +219 -0
- package/dist/rules/no-dynamic-delete.d.ts +4 -0
- package/dist/rules/no-dynamic-delete.js +42 -0
- package/dist/rules/no-empty-function.d.ts +16 -0
- package/dist/rules/no-empty-function.js +134 -0
- package/dist/rules/no-empty-interface.d.ts +11 -0
- package/dist/rules/no-empty-interface.js +102 -0
- package/dist/rules/no-empty-object-type.d.ts +15 -0
- package/dist/rules/no-empty-object-type.js +143 -0
- package/dist/rules/no-explicit-any.d.ts +12 -0
- package/dist/rules/no-explicit-any.js +197 -0
- package/dist/rules/no-extra-non-null-assertion.d.ts +4 -0
- package/dist/rules/no-extra-non-null-assertion.js +35 -0
- package/dist/rules/no-extraneous-class.d.ts +13 -0
- package/dist/rules/no-extraneous-class.js +120 -0
- package/dist/rules/no-floating-promises.d.ts +16 -0
- package/dist/rules/no-floating-promises.js +365 -0
- package/dist/rules/no-for-in-array.d.ts +4 -0
- package/dist/rules/no-for-in-array.js +86 -0
- package/dist/rules/no-implied-eval.d.ts +4 -0
- package/dist/rules/no-implied-eval.js +152 -0
- package/dist/rules/no-import-type-side-effects.d.ts +7 -0
- package/dist/rules/no-import-type-side-effects.js +53 -0
- package/dist/rules/no-inferrable-types.d.ts +11 -0
- package/dist/rules/no-inferrable-types.js +182 -0
- package/dist/rules/no-invalid-this.d.ts +15 -0
- package/dist/rules/no-invalid-this.js +75 -0
- package/dist/rules/no-invalid-void-type.d.ts +9 -0
- package/dist/rules/no-invalid-void-type.js +210 -0
- package/dist/rules/no-loop-func.d.ts +13 -0
- package/dist/rules/no-loop-func.js +187 -0
- package/dist/rules/no-loss-of-precision.d.ts +9 -0
- package/dist/rules/no-loss-of-precision.js +35 -0
- package/dist/rules/no-magic-numbers.d.ts +29 -0
- package/dist/rules/no-magic-numbers.js +248 -0
- package/dist/rules/no-meaningless-void-operator.d.ts +10 -0
- package/dist/rules/no-meaningless-void-operator.js +102 -0
- package/dist/rules/no-misused-new.d.ts +4 -0
- package/dist/rules/no-misused-new.js +81 -0
- package/dist/rules/no-misused-promises.d.ts +21 -0
- package/dist/rules/no-misused-promises.js +765 -0
- package/dist/rules/no-misused-spread.d.ts +12 -0
- package/dist/rules/no-misused-spread.js +260 -0
- package/dist/rules/no-mixed-enums.d.ts +4 -0
- package/dist/rules/no-mixed-enums.js +200 -0
- package/dist/rules/no-namespace.d.ts +11 -0
- package/dist/rules/no-namespace.js +60 -0
- package/dist/rules/no-non-null-asserted-nullish-coalescing.d.ts +5 -0
- package/dist/rules/no-non-null-asserted-nullish-coalescing.js +73 -0
- package/dist/rules/no-non-null-asserted-optional-chain.d.ts +5 -0
- package/dist/rules/no-non-null-asserted-optional-chain.js +65 -0
- package/dist/rules/no-non-null-assertion.d.ts +6 -0
- package/dist/rules/no-non-null-assertion.js +93 -0
- package/dist/rules/no-redeclare.d.ts +12 -0
- package/dist/rules/no-redeclare.js +199 -0
- package/dist/rules/no-redundant-type-constituents.d.ts +4 -0
- package/dist/rules/no-redundant-type-constituents.js +431 -0
- package/dist/rules/no-require-imports.d.ts +11 -0
- package/dist/rules/no-require-imports.js +115 -0
- package/dist/rules/no-restricted-imports.d.ts +9 -0
- package/dist/rules/no-restricted-imports.js +243 -0
- package/dist/rules/no-restricted-types.d.ts +16 -0
- package/dist/rules/no-restricted-types.js +165 -0
- package/dist/rules/no-shadow.d.ts +16 -0
- package/dist/rules/no-shadow.js +521 -0
- package/dist/rules/no-this-alias.d.ts +11 -0
- package/dist/rules/no-this-alias.js +66 -0
- package/dist/rules/no-type-alias.d.ts +18 -0
- package/dist/rules/no-type-alias.js +268 -0
- package/dist/rules/no-unnecessary-boolean-literal-compare.d.ts +12 -0
- package/dist/rules/no-unnecessary-boolean-literal-compare.js +263 -0
- package/dist/rules/no-unnecessary-condition.d.ts +14 -0
- package/dist/rules/no-unnecessary-condition.js +675 -0
- package/dist/rules/no-unnecessary-parameter-property-assignment.d.ts +4 -0
- package/dist/rules/no-unnecessary-parameter-property-assignment.js +148 -0
- package/dist/rules/no-unnecessary-qualifier.d.ts +4 -0
- package/dist/rules/no-unnecessary-qualifier.js +156 -0
- package/dist/rules/no-unnecessary-template-expression.d.ts +6 -0
- package/dist/rules/no-unnecessary-template-expression.js +361 -0
- package/dist/rules/no-unnecessary-type-arguments.d.ts +5 -0
- package/dist/rules/no-unnecessary-type-arguments.js +197 -0
- package/dist/rules/no-unnecessary-type-assertion.d.ts +11 -0
- package/dist/rules/no-unnecessary-type-assertion.js +353 -0
- package/dist/rules/no-unnecessary-type-constraint.d.ts +5 -0
- package/dist/rules/no-unnecessary-type-constraint.js +119 -0
- package/dist/rules/no-unnecessary-type-conversion.d.ts +5 -0
- package/dist/rules/no-unnecessary-type-conversion.js +356 -0
- package/dist/rules/no-unnecessary-type-parameters.d.ts +5 -0
- package/dist/rules/no-unnecessary-type-parameters.js +422 -0
- package/dist/rules/no-unsafe-argument.d.ts +5 -0
- package/dist/rules/no-unsafe-argument.js +272 -0
- package/dist/rules/no-unsafe-assignment.d.ts +4 -0
- package/dist/rules/no-unsafe-assignment.js +322 -0
- package/dist/rules/no-unsafe-call.d.ts +5 -0
- package/dist/rules/no-unsafe-call.js +136 -0
- package/dist/rules/no-unsafe-declaration-merging.d.ts +4 -0
- package/dist/rules/no-unsafe-declaration-merging.js +54 -0
- package/dist/rules/no-unsafe-enum-comparison.d.ts +5 -0
- package/dist/rules/no-unsafe-enum-comparison.js +192 -0
- package/dist/rules/no-unsafe-function-type.d.ts +4 -0
- package/dist/rules/no-unsafe-function-type.js +45 -0
- package/dist/rules/no-unsafe-member-access.d.ts +10 -0
- package/dist/rules/no-unsafe-member-access.js +183 -0
- package/dist/rules/no-unsafe-return.d.ts +4 -0
- package/dist/rules/no-unsafe-return.js +183 -0
- package/dist/rules/no-unsafe-type-assertion.d.ts +4 -0
- package/dist/rules/no-unsafe-type-assertion.js +158 -0
- package/dist/rules/no-unsafe-unary-minus.d.ts +6 -0
- package/dist/rules/no-unsafe-unary-minus.js +78 -0
- package/dist/rules/no-unused-expressions.d.ts +19 -0
- package/dist/rules/no-unused-expressions.js +64 -0
- package/dist/rules/no-unused-private-class-members.d.ts +6 -0
- package/dist/rules/no-unused-private-class-members.js +44 -0
- package/dist/rules/no-unused-vars.d.ts +24 -0
- package/dist/rules/no-unused-vars.js +1033 -0
- package/dist/rules/no-use-before-define.d.ts +16 -0
- package/dist/rules/no-use-before-define.js +303 -0
- package/dist/rules/no-useless-constructor.d.ts +11 -0
- package/dist/rules/no-useless-constructor.js +57 -0
- package/dist/rules/no-useless-default-assignment.d.ts +11 -0
- package/dist/rules/no-useless-default-assignment.js +318 -0
- package/dist/rules/no-useless-empty-export.d.ts +4 -0
- package/dist/rules/no-useless-empty-export.js +70 -0
- package/dist/rules/no-var-requires.d.ts +10 -0
- package/dist/rules/no-var-requires.js +83 -0
- package/dist/rules/no-wrapper-object-types.d.ts +5 -0
- package/dist/rules/no-wrapper-object-types.js +60 -0
- package/dist/rules/non-nullable-type-assertion-style.d.ts +4 -0
- package/dist/rules/non-nullable-type-assertion-style.js +132 -0
- package/dist/rules/only-throw-error.d.ts +14 -0
- package/dist/rules/only-throw-error.js +158 -0
- package/dist/rules/parameter-properties.d.ts +13 -0
- package/dist/rules/parameter-properties.js +164 -0
- package/dist/rules/prefer-as-const.d.ts +5 -0
- package/dist/rules/prefer-as-const.js +72 -0
- package/dist/rules/prefer-destructuring.d.ts +19 -0
- package/dist/rules/prefer-destructuring.js +216 -0
- package/dist/rules/prefer-enum-initializers.d.ts +6 -0
- package/dist/rules/prefer-enum-initializers.js +62 -0
- package/dist/rules/prefer-find.d.ts +5 -0
- package/dist/rules/prefer-find.js +247 -0
- package/dist/rules/prefer-for-of.d.ts +5 -0
- package/dist/rules/prefer-for-of.js +115 -0
- package/dist/rules/prefer-function-type.d.ts +9 -0
- package/dist/rules/prefer-function-type.js +186 -0
- package/dist/rules/prefer-includes.d.ts +5 -0
- package/dist/rules/prefer-includes.js +242 -0
- package/dist/rules/prefer-literal-enum-member.d.ts +6 -0
- package/dist/rules/prefer-literal-enum-member.js +116 -0
- package/dist/rules/prefer-namespace-keyword.d.ts +4 -0
- package/dist/rules/prefer-namespace-keyword.js +42 -0
- package/dist/rules/prefer-nullish-coalescing.d.ts +22 -0
- package/dist/rules/prefer-nullish-coalescing.js +647 -0
- package/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.d.ts +11 -0
- package/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +2 -0
- package/dist/rules/prefer-optional-chain-utils/analyzeChain.d.ts +7 -0
- package/dist/rules/prefer-optional-chain-utils/analyzeChain.js +569 -0
- package/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.d.ts +6 -0
- package/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js +45 -0
- package/dist/rules/prefer-optional-chain-utils/compareNodes.d.ts +15 -0
- package/dist/rules/prefer-optional-chain-utils/compareNodes.js +326 -0
- package/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.d.ts +61 -0
- package/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +411 -0
- package/dist/rules/prefer-optional-chain.d.ts +5 -0
- package/dist/rules/prefer-optional-chain.js +150 -0
- package/dist/rules/prefer-promise-reject-errors.d.ts +14 -0
- package/dist/rules/prefer-promise-reject-errors.js +124 -0
- package/dist/rules/prefer-readonly-parameter-types.d.ts +14 -0
- package/dist/rules/prefer-readonly-parameter-types.js +89 -0
- package/dist/rules/prefer-readonly.d.ts +10 -0
- package/dist/rules/prefer-readonly.js +439 -0
- package/dist/rules/prefer-reduce-type-parameter.d.ts +4 -0
- package/dist/rules/prefer-reduce-type-parameter.js +114 -0
- package/dist/rules/prefer-regexp-exec.d.ts +4 -0
- package/dist/rules/prefer-regexp-exec.js +178 -0
- package/dist/rules/prefer-return-this-type.d.ts +4 -0
- package/dist/rules/prefer-return-this-type.js +154 -0
- package/dist/rules/prefer-string-starts-ends-with.d.ts +12 -0
- package/dist/rules/prefer-string-starts-ends-with.js +512 -0
- package/dist/rules/prefer-ts-expect-error.d.ts +5 -0
- package/dist/rules/prefer-ts-expect-error.js +71 -0
- package/dist/rules/promise-function-async.d.ts +15 -0
- package/dist/rules/promise-function-async.js +204 -0
- package/dist/rules/related-getter-setter-pairs.d.ts +4 -0
- package/dist/rules/related-getter-setter-pairs.js +71 -0
- package/dist/rules/require-array-sort-compare.d.ts +10 -0
- package/dist/rules/require-array-sort-compare.js +63 -0
- package/dist/rules/require-await.d.ts +4 -0
- package/dist/rules/require-await.js +263 -0
- package/dist/rules/restrict-plus-operands.d.ts +15 -0
- package/dist/rules/restrict-plus-operands.js +231 -0
- package/dist/rules/restrict-template-expressions.d.ts +19 -0
- package/dist/rules/restrict-template-expressions.js +119 -0
- package/dist/rules/return-await.d.ts +5 -0
- package/dist/rules/return-await.js +363 -0
- package/dist/rules/sort-type-constituents.d.ts +14 -0
- package/dist/rules/sort-type-constituents.js +272 -0
- package/dist/rules/strict-boolean-expressions.d.ts +19 -0
- package/dist/rules/strict-boolean-expressions.js +882 -0
- package/dist/rules/strict-void-return.d.ts +10 -0
- package/dist/rules/strict-void-return.js +374 -0
- package/dist/rules/switch-exhaustiveness-check.d.ts +33 -0
- package/dist/rules/switch-exhaustiveness-check.js +291 -0
- package/dist/rules/triple-slash-reference.d.ts +12 -0
- package/dist/rules/triple-slash-reference.js +110 -0
- package/dist/rules/typedef.d.ts +16 -0
- package/dist/rules/typedef.js +239 -0
- package/dist/rules/unbound-method.d.ts +9 -0
- package/dist/rules/unbound-method.js +334 -0
- package/dist/rules/unified-signatures.d.ts +11 -0
- package/dist/rules/unified-signatures.js +465 -0
- package/dist/rules/use-unknown-in-catch-callback-variable.d.ts +6 -0
- package/dist/rules/use-unknown-in-catch-callback-variable.js +261 -0
- package/dist/util/assertionFunctionUtils.d.ts +16 -0
- package/dist/util/assertionFunctionUtils.js +116 -0
- package/dist/util/astUtils.d.ts +17 -0
- package/dist/util/astUtils.js +143 -0
- package/dist/util/baseTypeUtils.d.ts +13 -0
- package/dist/util/baseTypeUtils.js +75 -0
- package/dist/util/class-scope-analyzer/classScopeAnalyzer.d.ts +52 -0
- package/dist/util/class-scope-analyzer/classScopeAnalyzer.js +566 -0
- package/dist/util/class-scope-analyzer/extractComputedName.d.ts +17 -0
- package/dist/util/class-scope-analyzer/extractComputedName.js +70 -0
- package/dist/util/class-scope-analyzer/types.d.ts +12 -0
- package/dist/util/class-scope-analyzer/types.js +10 -0
- package/dist/util/collectUnusedVariables.d.ts +15 -0
- package/dist/util/collectUnusedVariables.js +598 -0
- package/dist/util/createRule.d.ts +5 -0
- package/dist/util/createRule.js +5 -0
- package/dist/util/escapeRegExp.d.ts +1 -0
- package/dist/util/escapeRegExp.js +14 -0
- package/dist/util/explicitReturnTypeUtils.d.ts +47 -0
- package/dist/util/explicitReturnTypeUtils.js +238 -0
- package/dist/util/getBaseTypesOfClassMember.d.ts +11 -0
- package/dist/util/getBaseTypesOfClassMember.js +31 -0
- package/dist/util/getConstraintInfo.d.ts +35 -0
- package/dist/util/getConstraintInfo.js +70 -0
- package/dist/util/getESLintCoreRule.d.ts +27 -0
- package/dist/util/getESLintCoreRule.js +16 -0
- package/dist/util/getFixOrSuggest.d.ts +9 -0
- package/dist/util/getFixOrSuggest.js +13 -0
- package/dist/util/getForStatementHeadLoc.d.ts +17 -0
- package/dist/util/getForStatementHeadLoc.js +26 -0
- package/dist/util/getFunctionHeadLoc.d.ts +101 -0
- package/dist/util/getFunctionHeadLoc.js +161 -0
- package/dist/util/getMemberHeadLoc.d.ts +36 -0
- package/dist/util/getMemberHeadLoc.js +79 -0
- package/dist/util/getOperatorPrecedence.d.ts +39 -0
- package/dist/util/getOperatorPrecedence.js +421 -0
- package/dist/util/getParentFunctionNode.d.ts +2 -0
- package/dist/util/getParentFunctionNode.js +18 -0
- package/dist/util/getStaticStringValue.d.ts +11 -0
- package/dist/util/getStaticStringValue.js +44 -0
- package/dist/util/getStringLength.d.ts +1 -0
- package/dist/util/getStringLength.js +14 -0
- package/dist/util/getTextWithParentheses.d.ts +3 -0
- package/dist/util/getTextWithParentheses.js +16 -0
- package/dist/util/getThisExpression.d.ts +2 -0
- package/dist/util/getThisExpression.js +24 -0
- package/dist/util/getValueOfLiteralType.d.ts +2 -0
- package/dist/util/getValueOfLiteralType.js +16 -0
- package/dist/util/getWrappedCode.d.ts +2 -0
- package/dist/util/getWrappedCode.js +6 -0
- package/dist/util/getWrappingFixer.d.ts +42 -0
- package/dist/util/getWrappingFixer.js +184 -0
- package/dist/util/hasOverloadSignatures.d.ts +6 -0
- package/dist/util/hasOverloadSignatures.js +47 -0
- package/dist/util/index.d.ts +40 -0
- package/dist/util/index.js +53 -0
- package/dist/util/isArrayMethodCallWithPredicate.d.ts +3 -0
- package/dist/util/isArrayMethodCallWithPredicate.js +64 -0
- package/dist/util/isAssignee.d.ts +2 -0
- package/dist/util/isAssignee.js +50 -0
- package/dist/util/isHigherPrecedenceThanAwait.d.ts +2 -0
- package/dist/util/isHigherPrecedenceThanAwait.js +46 -0
- package/dist/util/isNodeEqual.d.ts +2 -0
- package/dist/util/isNodeEqual.js +25 -0
- package/dist/util/isNullLiteral.d.ts +2 -0
- package/dist/util/isNullLiteral.js +7 -0
- package/dist/util/isPromiseAggregatorMethod.d.ts +3 -0
- package/dist/util/isPromiseAggregatorMethod.js +22 -0
- package/dist/util/isStartOfExpressionStatement.d.ts +7 -0
- package/dist/util/isStartOfExpressionStatement.js +22 -0
- package/dist/util/isTypeImport.d.ts +12 -0
- package/dist/util/isTypeImport.js +21 -0
- package/dist/util/isUndefinedIdentifier.d.ts +2 -0
- package/dist/util/isUndefinedIdentifier.js +7 -0
- package/dist/util/misc.d.ts +115 -0
- package/dist/util/misc.js +270 -0
- package/dist/util/needsPrecedingSemiColon.d.ts +11 -0
- package/dist/util/needsPrecedingSemiColon.js +97 -0
- package/dist/util/needsToBeAwaited.d.ts +7 -0
- package/dist/util/needsToBeAwaited.js +63 -0
- package/dist/util/objectIterators.d.ts +3 -0
- package/dist/util/objectIterators.js +25 -0
- package/dist/util/promiseUtils.d.ts +27 -0
- package/dist/util/promiseUtils.js +98 -0
- package/dist/util/rangeToLoc.d.ts +2 -0
- package/dist/util/rangeToLoc.js +9 -0
- package/dist/util/referenceContainsTypeQuery.d.ts +5 -0
- package/dist/util/referenceContainsTypeQuery.js +19 -0
- package/dist/util/scopeUtils.d.ts +3 -0
- package/dist/util/scopeUtils.js +10 -0
- package/dist/util/skipChainExpression.d.ts +2 -0
- package/dist/util/skipChainExpression.js +7 -0
- package/dist/util/truthinessUtils.d.ts +3 -0
- package/dist/util/truthinessUtils.js +60 -0
- package/dist/util/types.d.ts +2 -0
- package/dist/util/types.js +2 -0
- package/dist/util/walkStatements.d.ts +7 -0
- package/dist/util/walkStatements.js +56 -0
- package/index.d.ts +13 -0
- package/package.json +137 -0
- package/raw-plugin.d.ts +25 -0
- package/rules.d.ts +87 -0
|
@@ -0,0 +1,1152 @@
|
|
|
1
|
+
import type { TSESLint } from '@typescript-eslint/utils';
|
|
2
|
+
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
flatConfigs: {
|
|
5
|
+
'flat/all': FlatConfig.ConfigArray;
|
|
6
|
+
'flat/base': FlatConfig.Config;
|
|
7
|
+
'flat/disable-type-checked': FlatConfig.Config;
|
|
8
|
+
'flat/eslint-recommended': FlatConfig.Config;
|
|
9
|
+
'flat/recommended': FlatConfig.ConfigArray;
|
|
10
|
+
'flat/recommended-type-checked': FlatConfig.ConfigArray;
|
|
11
|
+
'flat/recommended-type-checked-only': FlatConfig.ConfigArray;
|
|
12
|
+
'flat/strict': FlatConfig.ConfigArray;
|
|
13
|
+
'flat/strict-type-checked': FlatConfig.ConfigArray;
|
|
14
|
+
'flat/strict-type-checked-only': FlatConfig.ConfigArray;
|
|
15
|
+
'flat/stylistic': FlatConfig.ConfigArray;
|
|
16
|
+
'flat/stylistic-type-checked': FlatConfig.ConfigArray;
|
|
17
|
+
'flat/stylistic-type-checked-only': FlatConfig.ConfigArray;
|
|
18
|
+
};
|
|
19
|
+
parser: {
|
|
20
|
+
meta?: { [K in keyof TSESLint.Parser.ParserMeta]?: TSESLint.Parser.ParserMeta[K] | undefined; };
|
|
21
|
+
parseForESLint(text: string, options?: unknown): { [k in keyof TSESLint.Parser.ParseResult]: unknown; };
|
|
22
|
+
};
|
|
23
|
+
plugin: {
|
|
24
|
+
configs: {
|
|
25
|
+
all: {
|
|
26
|
+
extends: string[];
|
|
27
|
+
rules: {
|
|
28
|
+
'@typescript-eslint/adjacent-overload-signatures': "error";
|
|
29
|
+
'@typescript-eslint/array-type': "error";
|
|
30
|
+
'@typescript-eslint/await-thenable': "error";
|
|
31
|
+
'@typescript-eslint/ban-ts-comment': "error";
|
|
32
|
+
'@typescript-eslint/ban-tslint-comment': "error";
|
|
33
|
+
'@typescript-eslint/class-literal-property-style': "error";
|
|
34
|
+
'class-methods-use-this': "off";
|
|
35
|
+
'@typescript-eslint/class-methods-use-this': "error";
|
|
36
|
+
'@typescript-eslint/consistent-generic-constructors': "error";
|
|
37
|
+
'@typescript-eslint/consistent-indexed-object-style': "error";
|
|
38
|
+
'consistent-return': "off";
|
|
39
|
+
'@typescript-eslint/consistent-return': "error";
|
|
40
|
+
'@typescript-eslint/consistent-type-assertions': "error";
|
|
41
|
+
'@typescript-eslint/consistent-type-definitions': "error";
|
|
42
|
+
'@typescript-eslint/consistent-type-exports': "error";
|
|
43
|
+
'@typescript-eslint/consistent-type-imports': "error";
|
|
44
|
+
'default-param-last': "off";
|
|
45
|
+
'@typescript-eslint/default-param-last': "error";
|
|
46
|
+
'dot-notation': "off";
|
|
47
|
+
'@typescript-eslint/dot-notation': "error";
|
|
48
|
+
'@typescript-eslint/explicit-function-return-type': "error";
|
|
49
|
+
'@typescript-eslint/explicit-member-accessibility': "error";
|
|
50
|
+
'@typescript-eslint/explicit-module-boundary-types': "error";
|
|
51
|
+
'init-declarations': "off";
|
|
52
|
+
'@typescript-eslint/init-declarations': "error";
|
|
53
|
+
'max-params': "off";
|
|
54
|
+
'@typescript-eslint/max-params': "error";
|
|
55
|
+
'@typescript-eslint/member-ordering': "error";
|
|
56
|
+
'@typescript-eslint/method-signature-style': "error";
|
|
57
|
+
'@typescript-eslint/naming-convention': "error";
|
|
58
|
+
'no-array-constructor': "off";
|
|
59
|
+
'@typescript-eslint/no-array-constructor': "error";
|
|
60
|
+
'@typescript-eslint/no-array-delete': "error";
|
|
61
|
+
'@typescript-eslint/no-base-to-string': "error";
|
|
62
|
+
'@typescript-eslint/no-confusing-non-null-assertion': "error";
|
|
63
|
+
'@typescript-eslint/no-confusing-void-expression': "error";
|
|
64
|
+
'@typescript-eslint/no-deprecated': "error";
|
|
65
|
+
'no-dupe-class-members': "off";
|
|
66
|
+
'@typescript-eslint/no-dupe-class-members': "error";
|
|
67
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
|
68
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
|
69
|
+
'@typescript-eslint/no-dynamic-delete': "error";
|
|
70
|
+
'no-empty-function': "off";
|
|
71
|
+
'@typescript-eslint/no-empty-function': "error";
|
|
72
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
|
73
|
+
'@typescript-eslint/no-explicit-any': "error";
|
|
74
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
|
75
|
+
'@typescript-eslint/no-extraneous-class': "error";
|
|
76
|
+
'@typescript-eslint/no-floating-promises': "error";
|
|
77
|
+
'@typescript-eslint/no-for-in-array': "error";
|
|
78
|
+
'no-implied-eval': "off";
|
|
79
|
+
'@typescript-eslint/no-implied-eval': "error";
|
|
80
|
+
'@typescript-eslint/no-import-type-side-effects': "error";
|
|
81
|
+
'@typescript-eslint/no-inferrable-types': "error";
|
|
82
|
+
'no-invalid-this': "off";
|
|
83
|
+
'@typescript-eslint/no-invalid-this': "error";
|
|
84
|
+
'@typescript-eslint/no-invalid-void-type': "error";
|
|
85
|
+
'no-loop-func': "off";
|
|
86
|
+
'@typescript-eslint/no-loop-func': "error";
|
|
87
|
+
'no-magic-numbers': "off";
|
|
88
|
+
'@typescript-eslint/no-magic-numbers': "error";
|
|
89
|
+
'@typescript-eslint/no-meaningless-void-operator': "error";
|
|
90
|
+
'@typescript-eslint/no-misused-new': "error";
|
|
91
|
+
'@typescript-eslint/no-misused-promises': "error";
|
|
92
|
+
'@typescript-eslint/no-misused-spread': "error";
|
|
93
|
+
'@typescript-eslint/no-mixed-enums': "error";
|
|
94
|
+
'@typescript-eslint/no-namespace': "error";
|
|
95
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': "error";
|
|
96
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
|
97
|
+
'@typescript-eslint/no-non-null-assertion': "error";
|
|
98
|
+
'no-redeclare': "off";
|
|
99
|
+
'@typescript-eslint/no-redeclare': "error";
|
|
100
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
|
101
|
+
'@typescript-eslint/no-require-imports': "error";
|
|
102
|
+
'no-restricted-imports': "off";
|
|
103
|
+
'@typescript-eslint/no-restricted-imports': "error";
|
|
104
|
+
'@typescript-eslint/no-restricted-types': "error";
|
|
105
|
+
'no-shadow': "off";
|
|
106
|
+
'@typescript-eslint/no-shadow': "error";
|
|
107
|
+
'@typescript-eslint/no-this-alias': "error";
|
|
108
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': "error";
|
|
109
|
+
'@typescript-eslint/no-unnecessary-condition': "error";
|
|
110
|
+
'@typescript-eslint/no-unnecessary-parameter-property-assignment': "error";
|
|
111
|
+
'@typescript-eslint/no-unnecessary-qualifier': "error";
|
|
112
|
+
'@typescript-eslint/no-unnecessary-template-expression': "error";
|
|
113
|
+
'@typescript-eslint/no-unnecessary-type-arguments': "error";
|
|
114
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
|
115
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
|
116
|
+
'@typescript-eslint/no-unnecessary-type-conversion': "error";
|
|
117
|
+
'@typescript-eslint/no-unnecessary-type-parameters': "error";
|
|
118
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
|
119
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
|
120
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
|
121
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
|
122
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
|
123
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
|
124
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
|
125
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
|
126
|
+
'@typescript-eslint/no-unsafe-type-assertion': "error";
|
|
127
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
|
128
|
+
'no-unused-expressions': "off";
|
|
129
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
|
130
|
+
'no-unused-private-class-members': "off";
|
|
131
|
+
'@typescript-eslint/no-unused-private-class-members': "error";
|
|
132
|
+
'no-unused-vars': "off";
|
|
133
|
+
'@typescript-eslint/no-unused-vars': "error";
|
|
134
|
+
'no-use-before-define': "off";
|
|
135
|
+
'@typescript-eslint/no-use-before-define': "error";
|
|
136
|
+
'no-useless-constructor': "off";
|
|
137
|
+
'@typescript-eslint/no-useless-constructor': "error";
|
|
138
|
+
'@typescript-eslint/no-useless-default-assignment': "error";
|
|
139
|
+
'@typescript-eslint/no-useless-empty-export': "error";
|
|
140
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
|
141
|
+
'@typescript-eslint/non-nullable-type-assertion-style': "error";
|
|
142
|
+
'no-throw-literal': "off";
|
|
143
|
+
'@typescript-eslint/only-throw-error': "error";
|
|
144
|
+
'@typescript-eslint/parameter-properties': "error";
|
|
145
|
+
'@typescript-eslint/prefer-as-const': "error";
|
|
146
|
+
'prefer-destructuring': "off";
|
|
147
|
+
'@typescript-eslint/prefer-destructuring': "error";
|
|
148
|
+
'@typescript-eslint/prefer-enum-initializers': "error";
|
|
149
|
+
'@typescript-eslint/prefer-find': "error";
|
|
150
|
+
'@typescript-eslint/prefer-for-of': "error";
|
|
151
|
+
'@typescript-eslint/prefer-function-type': "error";
|
|
152
|
+
'@typescript-eslint/prefer-includes': "error";
|
|
153
|
+
'@typescript-eslint/prefer-literal-enum-member': "error";
|
|
154
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
|
155
|
+
'@typescript-eslint/prefer-nullish-coalescing': "error";
|
|
156
|
+
'@typescript-eslint/prefer-optional-chain': "error";
|
|
157
|
+
'prefer-promise-reject-errors': "off";
|
|
158
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
|
159
|
+
'@typescript-eslint/prefer-readonly': "error";
|
|
160
|
+
'@typescript-eslint/prefer-readonly-parameter-types': "error";
|
|
161
|
+
'@typescript-eslint/prefer-reduce-type-parameter': "error";
|
|
162
|
+
'@typescript-eslint/prefer-regexp-exec': "error";
|
|
163
|
+
'@typescript-eslint/prefer-return-this-type': "error";
|
|
164
|
+
'@typescript-eslint/prefer-string-starts-ends-with': "error";
|
|
165
|
+
'@typescript-eslint/promise-function-async': "error";
|
|
166
|
+
'@typescript-eslint/related-getter-setter-pairs': "error";
|
|
167
|
+
'@typescript-eslint/require-array-sort-compare': "error";
|
|
168
|
+
'require-await': "off";
|
|
169
|
+
'@typescript-eslint/require-await': "error";
|
|
170
|
+
'@typescript-eslint/restrict-plus-operands': "error";
|
|
171
|
+
'@typescript-eslint/restrict-template-expressions': "error";
|
|
172
|
+
'no-return-await': "off";
|
|
173
|
+
'@typescript-eslint/return-await': "error";
|
|
174
|
+
'@typescript-eslint/strict-boolean-expressions': "error";
|
|
175
|
+
'@typescript-eslint/strict-void-return': "error";
|
|
176
|
+
'@typescript-eslint/switch-exhaustiveness-check': "error";
|
|
177
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
|
178
|
+
'@typescript-eslint/unbound-method': "error";
|
|
179
|
+
'@typescript-eslint/unified-signatures': "error";
|
|
180
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': "error";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
base: {
|
|
184
|
+
parser: string;
|
|
185
|
+
parserOptions: {
|
|
186
|
+
sourceType: "module";
|
|
187
|
+
};
|
|
188
|
+
plugins: string[];
|
|
189
|
+
};
|
|
190
|
+
'disable-type-checked': {
|
|
191
|
+
parserOptions: {
|
|
192
|
+
program: null;
|
|
193
|
+
project: false;
|
|
194
|
+
projectService: false;
|
|
195
|
+
};
|
|
196
|
+
rules: {
|
|
197
|
+
'@typescript-eslint/await-thenable': "off";
|
|
198
|
+
'@typescript-eslint/consistent-return': "off";
|
|
199
|
+
'@typescript-eslint/consistent-type-exports': "off";
|
|
200
|
+
'@typescript-eslint/dot-notation': "off";
|
|
201
|
+
'@typescript-eslint/naming-convention': "off";
|
|
202
|
+
'@typescript-eslint/no-array-delete': "off";
|
|
203
|
+
'@typescript-eslint/no-base-to-string': "off";
|
|
204
|
+
'@typescript-eslint/no-confusing-void-expression': "off";
|
|
205
|
+
'@typescript-eslint/no-deprecated': "off";
|
|
206
|
+
'@typescript-eslint/no-duplicate-type-constituents': "off";
|
|
207
|
+
'@typescript-eslint/no-floating-promises': "off";
|
|
208
|
+
'@typescript-eslint/no-for-in-array': "off";
|
|
209
|
+
'@typescript-eslint/no-implied-eval': "off";
|
|
210
|
+
'@typescript-eslint/no-meaningless-void-operator': "off";
|
|
211
|
+
'@typescript-eslint/no-misused-promises': "off";
|
|
212
|
+
'@typescript-eslint/no-misused-spread': "off";
|
|
213
|
+
'@typescript-eslint/no-mixed-enums': "off";
|
|
214
|
+
'@typescript-eslint/no-redundant-type-constituents': "off";
|
|
215
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': "off";
|
|
216
|
+
'@typescript-eslint/no-unnecessary-condition': "off";
|
|
217
|
+
'@typescript-eslint/no-unnecessary-qualifier': "off";
|
|
218
|
+
'@typescript-eslint/no-unnecessary-template-expression': "off";
|
|
219
|
+
'@typescript-eslint/no-unnecessary-type-arguments': "off";
|
|
220
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "off";
|
|
221
|
+
'@typescript-eslint/no-unnecessary-type-conversion': "off";
|
|
222
|
+
'@typescript-eslint/no-unnecessary-type-parameters': "off";
|
|
223
|
+
'@typescript-eslint/no-unsafe-argument': "off";
|
|
224
|
+
'@typescript-eslint/no-unsafe-assignment': "off";
|
|
225
|
+
'@typescript-eslint/no-unsafe-call': "off";
|
|
226
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "off";
|
|
227
|
+
'@typescript-eslint/no-unsafe-member-access': "off";
|
|
228
|
+
'@typescript-eslint/no-unsafe-return': "off";
|
|
229
|
+
'@typescript-eslint/no-unsafe-type-assertion': "off";
|
|
230
|
+
'@typescript-eslint/no-unsafe-unary-minus': "off";
|
|
231
|
+
'@typescript-eslint/no-useless-default-assignment': "off";
|
|
232
|
+
'@typescript-eslint/non-nullable-type-assertion-style': "off";
|
|
233
|
+
'@typescript-eslint/only-throw-error': "off";
|
|
234
|
+
'@typescript-eslint/prefer-destructuring': "off";
|
|
235
|
+
'@typescript-eslint/prefer-find': "off";
|
|
236
|
+
'@typescript-eslint/prefer-includes': "off";
|
|
237
|
+
'@typescript-eslint/prefer-nullish-coalescing': "off";
|
|
238
|
+
'@typescript-eslint/prefer-optional-chain': "off";
|
|
239
|
+
'@typescript-eslint/prefer-promise-reject-errors': "off";
|
|
240
|
+
'@typescript-eslint/prefer-readonly': "off";
|
|
241
|
+
'@typescript-eslint/prefer-readonly-parameter-types': "off";
|
|
242
|
+
'@typescript-eslint/prefer-reduce-type-parameter': "off";
|
|
243
|
+
'@typescript-eslint/prefer-regexp-exec': "off";
|
|
244
|
+
'@typescript-eslint/prefer-return-this-type': "off";
|
|
245
|
+
'@typescript-eslint/prefer-string-starts-ends-with': "off";
|
|
246
|
+
'@typescript-eslint/promise-function-async': "off";
|
|
247
|
+
'@typescript-eslint/related-getter-setter-pairs': "off";
|
|
248
|
+
'@typescript-eslint/require-array-sort-compare': "off";
|
|
249
|
+
'@typescript-eslint/require-await': "off";
|
|
250
|
+
'@typescript-eslint/restrict-plus-operands': "off";
|
|
251
|
+
'@typescript-eslint/restrict-template-expressions': "off";
|
|
252
|
+
'@typescript-eslint/return-await': "off";
|
|
253
|
+
'@typescript-eslint/strict-boolean-expressions': "off";
|
|
254
|
+
'@typescript-eslint/strict-void-return': "off";
|
|
255
|
+
'@typescript-eslint/switch-exhaustiveness-check': "off";
|
|
256
|
+
'@typescript-eslint/unbound-method': "off";
|
|
257
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': "off";
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
'eslint-recommended': {
|
|
261
|
+
overrides: {
|
|
262
|
+
files: string[];
|
|
263
|
+
rules: Record<string, "error" | "off" | "warn">;
|
|
264
|
+
}[];
|
|
265
|
+
};
|
|
266
|
+
recommended: {
|
|
267
|
+
extends: string[];
|
|
268
|
+
rules: {
|
|
269
|
+
'@typescript-eslint/ban-ts-comment': "error";
|
|
270
|
+
'no-array-constructor': "off";
|
|
271
|
+
'@typescript-eslint/no-array-constructor': "error";
|
|
272
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
|
273
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
|
274
|
+
'@typescript-eslint/no-explicit-any': "error";
|
|
275
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
|
276
|
+
'@typescript-eslint/no-misused-new': "error";
|
|
277
|
+
'@typescript-eslint/no-namespace': "error";
|
|
278
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
|
279
|
+
'@typescript-eslint/no-require-imports': "error";
|
|
280
|
+
'@typescript-eslint/no-this-alias': "error";
|
|
281
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
|
282
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
|
283
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
|
284
|
+
'no-unused-expressions': "off";
|
|
285
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
|
286
|
+
'no-unused-vars': "off";
|
|
287
|
+
'@typescript-eslint/no-unused-vars': "error";
|
|
288
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
|
289
|
+
'@typescript-eslint/prefer-as-const': "error";
|
|
290
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
|
291
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
/** @deprecated - please use "recommended-type-checked" instead. */
|
|
295
|
+
'recommended-requiring-type-checking': {
|
|
296
|
+
extends: string[];
|
|
297
|
+
rules: {
|
|
298
|
+
'@typescript-eslint/await-thenable': "error";
|
|
299
|
+
'@typescript-eslint/ban-ts-comment': "error";
|
|
300
|
+
'no-array-constructor': "off";
|
|
301
|
+
'@typescript-eslint/no-array-constructor': "error";
|
|
302
|
+
'@typescript-eslint/no-array-delete': "error";
|
|
303
|
+
'@typescript-eslint/no-base-to-string': "error";
|
|
304
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
|
305
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
|
306
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
|
307
|
+
'@typescript-eslint/no-explicit-any': "error";
|
|
308
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
|
309
|
+
'@typescript-eslint/no-floating-promises': "error";
|
|
310
|
+
'@typescript-eslint/no-for-in-array': "error";
|
|
311
|
+
'no-implied-eval': "off";
|
|
312
|
+
'@typescript-eslint/no-implied-eval': "error";
|
|
313
|
+
'@typescript-eslint/no-misused-new': "error";
|
|
314
|
+
'@typescript-eslint/no-misused-promises': "error";
|
|
315
|
+
'@typescript-eslint/no-namespace': "error";
|
|
316
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
|
317
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
|
318
|
+
'@typescript-eslint/no-require-imports': "error";
|
|
319
|
+
'@typescript-eslint/no-this-alias': "error";
|
|
320
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
|
321
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
|
322
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
|
323
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
|
324
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
|
325
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
|
326
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
|
327
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
|
328
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
|
329
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
|
330
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
|
331
|
+
'no-unused-expressions': "off";
|
|
332
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
|
333
|
+
'no-unused-vars': "off";
|
|
334
|
+
'@typescript-eslint/no-unused-vars': "error";
|
|
335
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
|
336
|
+
'no-throw-literal': "off";
|
|
337
|
+
'@typescript-eslint/only-throw-error': "error";
|
|
338
|
+
'@typescript-eslint/prefer-as-const': "error";
|
|
339
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
|
340
|
+
'prefer-promise-reject-errors': "off";
|
|
341
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
|
342
|
+
'require-await': "off";
|
|
343
|
+
'@typescript-eslint/require-await': "error";
|
|
344
|
+
'@typescript-eslint/restrict-plus-operands': "error";
|
|
345
|
+
'@typescript-eslint/restrict-template-expressions': "error";
|
|
346
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
|
347
|
+
'@typescript-eslint/unbound-method': "error";
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
'recommended-type-checked': {
|
|
351
|
+
extends: string[];
|
|
352
|
+
rules: {
|
|
353
|
+
'@typescript-eslint/await-thenable': "error";
|
|
354
|
+
'@typescript-eslint/ban-ts-comment': "error";
|
|
355
|
+
'no-array-constructor': "off";
|
|
356
|
+
'@typescript-eslint/no-array-constructor': "error";
|
|
357
|
+
'@typescript-eslint/no-array-delete': "error";
|
|
358
|
+
'@typescript-eslint/no-base-to-string': "error";
|
|
359
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
|
360
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
|
361
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
|
362
|
+
'@typescript-eslint/no-explicit-any': "error";
|
|
363
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
|
364
|
+
'@typescript-eslint/no-floating-promises': "error";
|
|
365
|
+
'@typescript-eslint/no-for-in-array': "error";
|
|
366
|
+
'no-implied-eval': "off";
|
|
367
|
+
'@typescript-eslint/no-implied-eval': "error";
|
|
368
|
+
'@typescript-eslint/no-misused-new': "error";
|
|
369
|
+
'@typescript-eslint/no-misused-promises': "error";
|
|
370
|
+
'@typescript-eslint/no-namespace': "error";
|
|
371
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
|
372
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
|
373
|
+
'@typescript-eslint/no-require-imports': "error";
|
|
374
|
+
'@typescript-eslint/no-this-alias': "error";
|
|
375
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
|
376
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
|
377
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
|
378
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
|
379
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
|
380
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
|
381
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
|
382
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
|
383
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
|
384
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
|
385
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
|
386
|
+
'no-unused-expressions': "off";
|
|
387
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
|
388
|
+
'no-unused-vars': "off";
|
|
389
|
+
'@typescript-eslint/no-unused-vars': "error";
|
|
390
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
|
391
|
+
'no-throw-literal': "off";
|
|
392
|
+
'@typescript-eslint/only-throw-error': "error";
|
|
393
|
+
'@typescript-eslint/prefer-as-const': "error";
|
|
394
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
|
395
|
+
'prefer-promise-reject-errors': "off";
|
|
396
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
|
397
|
+
'require-await': "off";
|
|
398
|
+
'@typescript-eslint/require-await': "error";
|
|
399
|
+
'@typescript-eslint/restrict-plus-operands': "error";
|
|
400
|
+
'@typescript-eslint/restrict-template-expressions': "error";
|
|
401
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
|
402
|
+
'@typescript-eslint/unbound-method': "error";
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
'recommended-type-checked-only': {
|
|
406
|
+
extends: string[];
|
|
407
|
+
rules: {
|
|
408
|
+
'@typescript-eslint/await-thenable': "error";
|
|
409
|
+
'@typescript-eslint/no-array-delete': "error";
|
|
410
|
+
'@typescript-eslint/no-base-to-string': "error";
|
|
411
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
|
412
|
+
'@typescript-eslint/no-floating-promises': "error";
|
|
413
|
+
'@typescript-eslint/no-for-in-array': "error";
|
|
414
|
+
'no-implied-eval': "off";
|
|
415
|
+
'@typescript-eslint/no-implied-eval': "error";
|
|
416
|
+
'@typescript-eslint/no-misused-promises': "error";
|
|
417
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
|
418
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
|
419
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
|
420
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
|
421
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
|
422
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
|
423
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
|
424
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
|
425
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
|
426
|
+
'no-throw-literal': "off";
|
|
427
|
+
'@typescript-eslint/only-throw-error': "error";
|
|
428
|
+
'prefer-promise-reject-errors': "off";
|
|
429
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
|
430
|
+
'require-await': "off";
|
|
431
|
+
'@typescript-eslint/require-await': "error";
|
|
432
|
+
'@typescript-eslint/restrict-plus-operands': "error";
|
|
433
|
+
'@typescript-eslint/restrict-template-expressions': "error";
|
|
434
|
+
'@typescript-eslint/unbound-method': "error";
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
strict: {
|
|
438
|
+
extends: string[];
|
|
439
|
+
rules: {
|
|
440
|
+
'@typescript-eslint/ban-ts-comment': ["error", {
|
|
441
|
+
minimumDescriptionLength: number;
|
|
442
|
+
}];
|
|
443
|
+
'no-array-constructor': "off";
|
|
444
|
+
'@typescript-eslint/no-array-constructor': "error";
|
|
445
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
|
446
|
+
'@typescript-eslint/no-dynamic-delete': "error";
|
|
447
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
|
448
|
+
'@typescript-eslint/no-explicit-any': "error";
|
|
449
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
|
450
|
+
'@typescript-eslint/no-extraneous-class': "error";
|
|
451
|
+
'@typescript-eslint/no-invalid-void-type': "error";
|
|
452
|
+
'@typescript-eslint/no-misused-new': "error";
|
|
453
|
+
'@typescript-eslint/no-namespace': "error";
|
|
454
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': "error";
|
|
455
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
|
456
|
+
'@typescript-eslint/no-non-null-assertion': "error";
|
|
457
|
+
'@typescript-eslint/no-require-imports': "error";
|
|
458
|
+
'@typescript-eslint/no-this-alias': "error";
|
|
459
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
|
460
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
|
461
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
|
462
|
+
'no-unused-expressions': "off";
|
|
463
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
|
464
|
+
'no-unused-vars': "off";
|
|
465
|
+
'@typescript-eslint/no-unused-vars': "error";
|
|
466
|
+
'no-useless-constructor': "off";
|
|
467
|
+
'@typescript-eslint/no-useless-constructor': "error";
|
|
468
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
|
469
|
+
'@typescript-eslint/prefer-as-const': "error";
|
|
470
|
+
'@typescript-eslint/prefer-literal-enum-member': "error";
|
|
471
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
|
472
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
|
473
|
+
'@typescript-eslint/unified-signatures': "error";
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
'strict-type-checked': {
|
|
477
|
+
extends: string[];
|
|
478
|
+
rules: {
|
|
479
|
+
'@typescript-eslint/await-thenable': "error";
|
|
480
|
+
'@typescript-eslint/ban-ts-comment': ["error", {
|
|
481
|
+
minimumDescriptionLength: number;
|
|
482
|
+
}];
|
|
483
|
+
'no-array-constructor': "off";
|
|
484
|
+
'@typescript-eslint/no-array-constructor': "error";
|
|
485
|
+
'@typescript-eslint/no-array-delete': "error";
|
|
486
|
+
'@typescript-eslint/no-base-to-string': "error";
|
|
487
|
+
'@typescript-eslint/no-confusing-void-expression': "error";
|
|
488
|
+
'@typescript-eslint/no-deprecated': "error";
|
|
489
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
|
490
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
|
491
|
+
'@typescript-eslint/no-dynamic-delete': "error";
|
|
492
|
+
'@typescript-eslint/no-empty-object-type': "error";
|
|
493
|
+
'@typescript-eslint/no-explicit-any': "error";
|
|
494
|
+
'@typescript-eslint/no-extra-non-null-assertion': "error";
|
|
495
|
+
'@typescript-eslint/no-extraneous-class': "error";
|
|
496
|
+
'@typescript-eslint/no-floating-promises': "error";
|
|
497
|
+
'@typescript-eslint/no-for-in-array': "error";
|
|
498
|
+
'no-implied-eval': "off";
|
|
499
|
+
'@typescript-eslint/no-implied-eval': "error";
|
|
500
|
+
'@typescript-eslint/no-invalid-void-type': "error";
|
|
501
|
+
'@typescript-eslint/no-meaningless-void-operator': "error";
|
|
502
|
+
'@typescript-eslint/no-misused-new': "error";
|
|
503
|
+
'@typescript-eslint/no-misused-promises': "error";
|
|
504
|
+
'@typescript-eslint/no-misused-spread': "error";
|
|
505
|
+
'@typescript-eslint/no-mixed-enums': "error";
|
|
506
|
+
'@typescript-eslint/no-namespace': "error";
|
|
507
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': "error";
|
|
508
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': "error";
|
|
509
|
+
'@typescript-eslint/no-non-null-assertion': "error";
|
|
510
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
|
511
|
+
'@typescript-eslint/no-require-imports': "error";
|
|
512
|
+
'@typescript-eslint/no-this-alias': "error";
|
|
513
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': "error";
|
|
514
|
+
'@typescript-eslint/no-unnecessary-condition': "error";
|
|
515
|
+
'@typescript-eslint/no-unnecessary-template-expression': "error";
|
|
516
|
+
'@typescript-eslint/no-unnecessary-type-arguments': "error";
|
|
517
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
|
518
|
+
'@typescript-eslint/no-unnecessary-type-constraint': "error";
|
|
519
|
+
'@typescript-eslint/no-unnecessary-type-conversion': "error";
|
|
520
|
+
'@typescript-eslint/no-unnecessary-type-parameters': "error";
|
|
521
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
|
522
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
|
523
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
|
524
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
|
525
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
|
526
|
+
'@typescript-eslint/no-unsafe-function-type': "error";
|
|
527
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
|
528
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
|
529
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
|
530
|
+
'no-unused-expressions': "off";
|
|
531
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
|
532
|
+
'no-unused-vars': "off";
|
|
533
|
+
'@typescript-eslint/no-unused-vars': "error";
|
|
534
|
+
'no-useless-constructor': "off";
|
|
535
|
+
'@typescript-eslint/no-useless-constructor': "error";
|
|
536
|
+
'@typescript-eslint/no-useless-default-assignment': "error";
|
|
537
|
+
'@typescript-eslint/no-wrapper-object-types': "error";
|
|
538
|
+
'no-throw-literal': "off";
|
|
539
|
+
'@typescript-eslint/only-throw-error': "error";
|
|
540
|
+
'@typescript-eslint/prefer-as-const': "error";
|
|
541
|
+
'@typescript-eslint/prefer-literal-enum-member': "error";
|
|
542
|
+
'@typescript-eslint/prefer-namespace-keyword': "error";
|
|
543
|
+
'prefer-promise-reject-errors': "off";
|
|
544
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
|
545
|
+
'@typescript-eslint/prefer-reduce-type-parameter': "error";
|
|
546
|
+
'@typescript-eslint/prefer-return-this-type': "error";
|
|
547
|
+
'@typescript-eslint/related-getter-setter-pairs': "error";
|
|
548
|
+
'require-await': "off";
|
|
549
|
+
'@typescript-eslint/require-await': "error";
|
|
550
|
+
'@typescript-eslint/restrict-plus-operands': ["error", {
|
|
551
|
+
allowAny: boolean;
|
|
552
|
+
allowBoolean: boolean;
|
|
553
|
+
allowNullish: boolean;
|
|
554
|
+
allowNumberAndString: boolean;
|
|
555
|
+
allowRegExp: boolean;
|
|
556
|
+
}];
|
|
557
|
+
'@typescript-eslint/restrict-template-expressions': ["error", {
|
|
558
|
+
allowAny: boolean;
|
|
559
|
+
allowBoolean: boolean;
|
|
560
|
+
allowNever: boolean;
|
|
561
|
+
allowNullish: boolean;
|
|
562
|
+
allowNumber: boolean;
|
|
563
|
+
allowRegExp: boolean;
|
|
564
|
+
}];
|
|
565
|
+
'no-return-await': "off";
|
|
566
|
+
'@typescript-eslint/return-await': ["error", string];
|
|
567
|
+
'@typescript-eslint/triple-slash-reference': "error";
|
|
568
|
+
'@typescript-eslint/unbound-method': "error";
|
|
569
|
+
'@typescript-eslint/unified-signatures': "error";
|
|
570
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': "error";
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
'strict-type-checked-only': {
|
|
574
|
+
extends: string[];
|
|
575
|
+
rules: {
|
|
576
|
+
'@typescript-eslint/await-thenable': "error";
|
|
577
|
+
'@typescript-eslint/no-array-delete': "error";
|
|
578
|
+
'@typescript-eslint/no-base-to-string': "error";
|
|
579
|
+
'@typescript-eslint/no-confusing-void-expression': "error";
|
|
580
|
+
'@typescript-eslint/no-deprecated': "error";
|
|
581
|
+
'@typescript-eslint/no-duplicate-type-constituents': "error";
|
|
582
|
+
'@typescript-eslint/no-floating-promises': "error";
|
|
583
|
+
'@typescript-eslint/no-for-in-array': "error";
|
|
584
|
+
'no-implied-eval': "off";
|
|
585
|
+
'@typescript-eslint/no-implied-eval': "error";
|
|
586
|
+
'@typescript-eslint/no-meaningless-void-operator': "error";
|
|
587
|
+
'@typescript-eslint/no-misused-promises': "error";
|
|
588
|
+
'@typescript-eslint/no-misused-spread': "error";
|
|
589
|
+
'@typescript-eslint/no-mixed-enums': "error";
|
|
590
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
|
591
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': "error";
|
|
592
|
+
'@typescript-eslint/no-unnecessary-condition': "error";
|
|
593
|
+
'@typescript-eslint/no-unnecessary-template-expression': "error";
|
|
594
|
+
'@typescript-eslint/no-unnecessary-type-arguments': "error";
|
|
595
|
+
'@typescript-eslint/no-unnecessary-type-assertion': "error";
|
|
596
|
+
'@typescript-eslint/no-unnecessary-type-conversion': "error";
|
|
597
|
+
'@typescript-eslint/no-unnecessary-type-parameters': "error";
|
|
598
|
+
'@typescript-eslint/no-unsafe-argument': "error";
|
|
599
|
+
'@typescript-eslint/no-unsafe-assignment': "error";
|
|
600
|
+
'@typescript-eslint/no-unsafe-call': "error";
|
|
601
|
+
'@typescript-eslint/no-unsafe-enum-comparison': "error";
|
|
602
|
+
'@typescript-eslint/no-unsafe-member-access': "error";
|
|
603
|
+
'@typescript-eslint/no-unsafe-return': "error";
|
|
604
|
+
'@typescript-eslint/no-unsafe-unary-minus': "error";
|
|
605
|
+
'@typescript-eslint/no-useless-default-assignment': "error";
|
|
606
|
+
'no-throw-literal': "off";
|
|
607
|
+
'@typescript-eslint/only-throw-error': "error";
|
|
608
|
+
'prefer-promise-reject-errors': "off";
|
|
609
|
+
'@typescript-eslint/prefer-promise-reject-errors': "error";
|
|
610
|
+
'@typescript-eslint/prefer-reduce-type-parameter': "error";
|
|
611
|
+
'@typescript-eslint/prefer-return-this-type': "error";
|
|
612
|
+
'@typescript-eslint/related-getter-setter-pairs': "error";
|
|
613
|
+
'require-await': "off";
|
|
614
|
+
'@typescript-eslint/require-await': "error";
|
|
615
|
+
'@typescript-eslint/restrict-plus-operands': ["error", {
|
|
616
|
+
allowAny: boolean;
|
|
617
|
+
allowBoolean: boolean;
|
|
618
|
+
allowNullish: boolean;
|
|
619
|
+
allowNumberAndString: boolean;
|
|
620
|
+
allowRegExp: boolean;
|
|
621
|
+
}];
|
|
622
|
+
'@typescript-eslint/restrict-template-expressions': ["error", {
|
|
623
|
+
allowAny: boolean;
|
|
624
|
+
allowBoolean: boolean;
|
|
625
|
+
allowNever: boolean;
|
|
626
|
+
allowNullish: boolean;
|
|
627
|
+
allowNumber: boolean;
|
|
628
|
+
allowRegExp: boolean;
|
|
629
|
+
}];
|
|
630
|
+
'no-return-await': "off";
|
|
631
|
+
'@typescript-eslint/return-await': ["error", string];
|
|
632
|
+
'@typescript-eslint/unbound-method': "error";
|
|
633
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': "error";
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
stylistic: {
|
|
637
|
+
extends: string[];
|
|
638
|
+
rules: {
|
|
639
|
+
'@typescript-eslint/adjacent-overload-signatures': "error";
|
|
640
|
+
'@typescript-eslint/array-type': "error";
|
|
641
|
+
'@typescript-eslint/ban-tslint-comment': "error";
|
|
642
|
+
'@typescript-eslint/class-literal-property-style': "error";
|
|
643
|
+
'@typescript-eslint/consistent-generic-constructors': "error";
|
|
644
|
+
'@typescript-eslint/consistent-indexed-object-style': "error";
|
|
645
|
+
'@typescript-eslint/consistent-type-assertions': "error";
|
|
646
|
+
'@typescript-eslint/consistent-type-definitions': "error";
|
|
647
|
+
'@typescript-eslint/no-confusing-non-null-assertion': "error";
|
|
648
|
+
'no-empty-function': "off";
|
|
649
|
+
'@typescript-eslint/no-empty-function': "error";
|
|
650
|
+
'@typescript-eslint/no-inferrable-types': "error";
|
|
651
|
+
'@typescript-eslint/prefer-for-of': "error";
|
|
652
|
+
'@typescript-eslint/prefer-function-type': "error";
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
'stylistic-type-checked': {
|
|
656
|
+
extends: string[];
|
|
657
|
+
rules: {
|
|
658
|
+
'@typescript-eslint/adjacent-overload-signatures': "error";
|
|
659
|
+
'@typescript-eslint/array-type': "error";
|
|
660
|
+
'@typescript-eslint/ban-tslint-comment': "error";
|
|
661
|
+
'@typescript-eslint/class-literal-property-style': "error";
|
|
662
|
+
'@typescript-eslint/consistent-generic-constructors': "error";
|
|
663
|
+
'@typescript-eslint/consistent-indexed-object-style': "error";
|
|
664
|
+
'@typescript-eslint/consistent-type-assertions': "error";
|
|
665
|
+
'@typescript-eslint/consistent-type-definitions': "error";
|
|
666
|
+
'dot-notation': "off";
|
|
667
|
+
'@typescript-eslint/dot-notation': "error";
|
|
668
|
+
'@typescript-eslint/no-confusing-non-null-assertion': "error";
|
|
669
|
+
'no-empty-function': "off";
|
|
670
|
+
'@typescript-eslint/no-empty-function': "error";
|
|
671
|
+
'@typescript-eslint/no-inferrable-types': "error";
|
|
672
|
+
'@typescript-eslint/non-nullable-type-assertion-style': "error";
|
|
673
|
+
'@typescript-eslint/prefer-find': "error";
|
|
674
|
+
'@typescript-eslint/prefer-for-of': "error";
|
|
675
|
+
'@typescript-eslint/prefer-function-type': "error";
|
|
676
|
+
'@typescript-eslint/prefer-includes': "error";
|
|
677
|
+
'@typescript-eslint/prefer-nullish-coalescing': "error";
|
|
678
|
+
'@typescript-eslint/prefer-optional-chain': "error";
|
|
679
|
+
'@typescript-eslint/prefer-regexp-exec': "error";
|
|
680
|
+
'@typescript-eslint/prefer-string-starts-ends-with': "error";
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
'stylistic-type-checked-only': {
|
|
684
|
+
extends: string[];
|
|
685
|
+
rules: {
|
|
686
|
+
'dot-notation': "off";
|
|
687
|
+
'@typescript-eslint/dot-notation': "error";
|
|
688
|
+
'@typescript-eslint/non-nullable-type-assertion-style': "error";
|
|
689
|
+
'@typescript-eslint/prefer-find': "error";
|
|
690
|
+
'@typescript-eslint/prefer-includes': "error";
|
|
691
|
+
'@typescript-eslint/prefer-nullish-coalescing': "error";
|
|
692
|
+
'@typescript-eslint/prefer-optional-chain': "error";
|
|
693
|
+
'@typescript-eslint/prefer-regexp-exec': "error";
|
|
694
|
+
'@typescript-eslint/prefer-string-starts-ends-with': "error";
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
meta: {
|
|
699
|
+
name: string;
|
|
700
|
+
namespace: string;
|
|
701
|
+
version: string;
|
|
702
|
+
};
|
|
703
|
+
rules: {
|
|
704
|
+
'adjacent-overload-signatures': TSESLint.RuleModule<"adjacentSignature", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
705
|
+
name: string;
|
|
706
|
+
};
|
|
707
|
+
'array-type': TSESLint.RuleModule<import("./rules/array-type").MessageIds, import("./rules/array-type").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
708
|
+
name: string;
|
|
709
|
+
};
|
|
710
|
+
'await-thenable': TSESLint.RuleModule<import("./rules/await-thenable").MessageId, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
711
|
+
name: string;
|
|
712
|
+
};
|
|
713
|
+
'ban-ts-comment': TSESLint.RuleModule<import("./rules/ban-ts-comment").MessageIds, import("./rules/ban-ts-comment").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
714
|
+
name: string;
|
|
715
|
+
};
|
|
716
|
+
'ban-tslint-comment': TSESLint.RuleModule<"commentDetected", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
717
|
+
name: string;
|
|
718
|
+
};
|
|
719
|
+
'class-literal-property-style': TSESLint.RuleModule<import("./rules/class-literal-property-style").MessageIds, import("./rules/class-literal-property-style").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
720
|
+
name: string;
|
|
721
|
+
};
|
|
722
|
+
'class-methods-use-this': TSESLint.RuleModule<"missingThis", import("./rules/class-methods-use-this").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
723
|
+
name: string;
|
|
724
|
+
};
|
|
725
|
+
'consistent-generic-constructors': TSESLint.RuleModule<import("./rules/consistent-generic-constructors").MessageIds, import("./rules/consistent-generic-constructors").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
726
|
+
name: string;
|
|
727
|
+
};
|
|
728
|
+
'consistent-indexed-object-style': TSESLint.RuleModule<import("./rules/consistent-indexed-object-style").MessageIds, import("./rules/consistent-indexed-object-style").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
729
|
+
name: string;
|
|
730
|
+
};
|
|
731
|
+
'consistent-return': TSESLint.RuleModule<"missingReturn" | "missingReturnValue" | "unexpectedReturnValue", [({
|
|
732
|
+
treatUndefinedAsUnspecified?: boolean;
|
|
733
|
+
} | undefined)?], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
734
|
+
name: string;
|
|
735
|
+
};
|
|
736
|
+
'consistent-type-assertions': TSESLint.RuleModule<import("./rules/consistent-type-assertions").MessageIds, import("./rules/consistent-type-assertions").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
737
|
+
name: string;
|
|
738
|
+
};
|
|
739
|
+
'consistent-type-definitions': TSESLint.RuleModule<"interfaceOverType" | "typeOverInterface", [string], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
740
|
+
name: string;
|
|
741
|
+
};
|
|
742
|
+
'consistent-type-exports': TSESLint.RuleModule<import("./rules/consistent-type-exports").MessageIds, import("./rules/consistent-type-exports").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
743
|
+
name: string;
|
|
744
|
+
};
|
|
745
|
+
'consistent-type-imports': TSESLint.RuleModule<import("./rules/consistent-type-imports").MessageIds, import("./rules/consistent-type-imports").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
746
|
+
name: string;
|
|
747
|
+
};
|
|
748
|
+
'default-param-last': TSESLint.RuleModule<"shouldBeLast", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
749
|
+
name: string;
|
|
750
|
+
};
|
|
751
|
+
'dot-notation': TSESLint.RuleModule<"useBrackets" | "useDot", [{
|
|
752
|
+
allowIndexSignaturePropertyAccess?: boolean;
|
|
753
|
+
allowKeywords?: boolean;
|
|
754
|
+
allowPattern?: string;
|
|
755
|
+
allowPrivateClassPropertyAccess?: boolean;
|
|
756
|
+
allowProtectedClassPropertyAccess?: boolean;
|
|
757
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
758
|
+
name: string;
|
|
759
|
+
};
|
|
760
|
+
'explicit-function-return-type': TSESLint.RuleModule<"missingReturnType", import("./rules/explicit-function-return-type").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
761
|
+
name: string;
|
|
762
|
+
};
|
|
763
|
+
'explicit-member-accessibility': TSESLint.RuleModule<import("./rules/explicit-member-accessibility").MessageIds, import("./rules/explicit-member-accessibility").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
764
|
+
name: string;
|
|
765
|
+
};
|
|
766
|
+
'explicit-module-boundary-types': TSESLint.RuleModule<import("./rules/explicit-module-boundary-types").MessageIds, import("./rules/explicit-module-boundary-types").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
767
|
+
name: string;
|
|
768
|
+
};
|
|
769
|
+
'init-declarations': TSESLint.RuleModule<"initialized" | "notInitialized", ["always" | "never", ({
|
|
770
|
+
ignoreForLoopInit?: boolean;
|
|
771
|
+
} | undefined)?], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
772
|
+
name: string;
|
|
773
|
+
};
|
|
774
|
+
'max-params': TSESLint.RuleModule<"exceed", ({
|
|
775
|
+
countVoidThis?: boolean;
|
|
776
|
+
max: number;
|
|
777
|
+
} | {
|
|
778
|
+
countVoidThis?: boolean;
|
|
779
|
+
maximum: number;
|
|
780
|
+
})[], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
781
|
+
name: string;
|
|
782
|
+
};
|
|
783
|
+
'member-ordering': TSESLint.RuleModule<import("./rules/member-ordering").MessageIds, import("./rules/member-ordering").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
784
|
+
name: string;
|
|
785
|
+
};
|
|
786
|
+
'method-signature-style': TSESLint.RuleModule<import("./rules/method-signature-style").MessageIds, import("./rules/method-signature-style").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
787
|
+
name: string;
|
|
788
|
+
};
|
|
789
|
+
'naming-convention': TSESLint.RuleModule<import("./rules/naming-convention").MessageIds, import("./rules/naming-convention").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
790
|
+
name: string;
|
|
791
|
+
};
|
|
792
|
+
'no-array-constructor': TSESLint.RuleModule<"useLiteral", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
793
|
+
name: string;
|
|
794
|
+
};
|
|
795
|
+
'no-array-delete': TSESLint.RuleModule<import("./rules/no-array-delete").MessageId, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
796
|
+
name: string;
|
|
797
|
+
};
|
|
798
|
+
'no-base-to-string': TSESLint.RuleModule<import("./rules/no-base-to-string").MessageIds, import("./rules/no-base-to-string").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
799
|
+
name: string;
|
|
800
|
+
};
|
|
801
|
+
'no-confusing-non-null-assertion': TSESLint.RuleModule<import("./rules/no-confusing-non-null-assertion").MessageId, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
802
|
+
name: string;
|
|
803
|
+
};
|
|
804
|
+
'no-confusing-void-expression': TSESLint.RuleModule<import("./rules/no-confusing-void-expression").MessageId, import("./rules/no-confusing-void-expression").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
805
|
+
name: string;
|
|
806
|
+
};
|
|
807
|
+
'no-deprecated': TSESLint.RuleModule<"deprecated" | "deprecatedWithReason", [{
|
|
808
|
+
allow?: import("@typescript-eslint/type-utils").TypeOrValueSpecifier[];
|
|
809
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
810
|
+
name: string;
|
|
811
|
+
};
|
|
812
|
+
'no-dupe-class-members': TSESLint.RuleModule<"unexpected", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
813
|
+
name: string;
|
|
814
|
+
};
|
|
815
|
+
'no-duplicate-enum-values': TSESLint.RuleModule<"duplicateValue", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
816
|
+
name: string;
|
|
817
|
+
};
|
|
818
|
+
'no-duplicate-type-constituents': TSESLint.RuleModule<import("./rules/no-duplicate-type-constituents").MessageIds, import("./rules/no-duplicate-type-constituents").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
819
|
+
name: string;
|
|
820
|
+
};
|
|
821
|
+
'no-dynamic-delete': TSESLint.RuleModule<"dynamicDelete", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
822
|
+
name: string;
|
|
823
|
+
};
|
|
824
|
+
'no-empty-function': TSESLint.RuleModule<"unexpected" | "suggestComment", [{
|
|
825
|
+
allow?: string[];
|
|
826
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
827
|
+
name: string;
|
|
828
|
+
};
|
|
829
|
+
'no-empty-interface': TSESLint.RuleModule<import("./rules/no-empty-interface").MessageIds, import("./rules/no-empty-interface").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
830
|
+
name: string;
|
|
831
|
+
};
|
|
832
|
+
'no-empty-object-type': TSESLint.RuleModule<import("./rules/no-empty-object-type").MessageIds, import("./rules/no-empty-object-type").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
833
|
+
name: string;
|
|
834
|
+
};
|
|
835
|
+
'no-explicit-any': TSESLint.RuleModule<import("./rules/no-explicit-any").MessageIds, import("./rules/no-explicit-any").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
836
|
+
name: string;
|
|
837
|
+
};
|
|
838
|
+
'no-extra-non-null-assertion': TSESLint.RuleModule<"noExtraNonNullAssertion", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
839
|
+
name: string;
|
|
840
|
+
};
|
|
841
|
+
'no-extraneous-class': TSESLint.RuleModule<import("./rules/no-extraneous-class").MessageIds, import("./rules/no-extraneous-class").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
842
|
+
name: string;
|
|
843
|
+
};
|
|
844
|
+
'no-floating-promises': TSESLint.RuleModule<import("./rules/no-floating-promises").MessageId, import("./rules/no-floating-promises").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
845
|
+
name: string;
|
|
846
|
+
};
|
|
847
|
+
'no-for-in-array': TSESLint.RuleModule<"forInViolation", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
848
|
+
name: string;
|
|
849
|
+
};
|
|
850
|
+
'no-implied-eval': TSESLint.RuleModule<"noFunctionConstructor" | "noImpliedEvalError", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
851
|
+
name: string;
|
|
852
|
+
};
|
|
853
|
+
'no-import-type-side-effects': TSESLint.RuleModule<"useTopLevelQualifier", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
854
|
+
name: string;
|
|
855
|
+
};
|
|
856
|
+
'no-inferrable-types': TSESLint.RuleModule<"noInferrableType", import("./rules/no-inferrable-types").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
857
|
+
name: string;
|
|
858
|
+
};
|
|
859
|
+
'no-invalid-this': TSESLint.RuleModule<"unexpectedThis", [({
|
|
860
|
+
capIsConstructor?: boolean;
|
|
861
|
+
} | undefined)?], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
862
|
+
name: string;
|
|
863
|
+
};
|
|
864
|
+
'no-invalid-void-type': TSESLint.RuleModule<import("./rules/no-invalid-void-type").MessageIds, [import("./rules/no-invalid-void-type").Options], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
865
|
+
name: string;
|
|
866
|
+
};
|
|
867
|
+
'no-loop-func': TSESLint.RuleModule<"unsafeRefs", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
868
|
+
name: string;
|
|
869
|
+
};
|
|
870
|
+
'no-loss-of-precision': TSESLint.RuleModule<"noLossOfPrecision", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
871
|
+
name: string;
|
|
872
|
+
};
|
|
873
|
+
'no-magic-numbers': TSESLint.RuleModule<"noMagic", [{
|
|
874
|
+
detectObjects?: boolean;
|
|
875
|
+
enforceConst?: boolean;
|
|
876
|
+
ignore?: (number | string)[];
|
|
877
|
+
ignoreArrayIndexes?: boolean;
|
|
878
|
+
ignoreEnums?: boolean;
|
|
879
|
+
ignoreNumericLiteralTypes?: boolean;
|
|
880
|
+
ignoreReadonlyClassProperties?: boolean;
|
|
881
|
+
ignoreTypeIndexes?: boolean;
|
|
882
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
883
|
+
name: string;
|
|
884
|
+
};
|
|
885
|
+
'no-meaningless-void-operator': TSESLint.RuleModule<"meaninglessVoidOperator" | "removeVoid", import("./rules/no-meaningless-void-operator").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
886
|
+
name: string;
|
|
887
|
+
};
|
|
888
|
+
'no-misused-new': TSESLint.RuleModule<"errorMessageClass" | "errorMessageInterface", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
889
|
+
name: string;
|
|
890
|
+
};
|
|
891
|
+
'no-misused-promises': TSESLint.RuleModule<import("./rules/no-misused-promises").MessageId, import("./rules/no-misused-promises").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
892
|
+
name: string;
|
|
893
|
+
};
|
|
894
|
+
'no-misused-spread': TSESLint.RuleModule<"addAwait" | "noArraySpreadInObject" | "noClassDeclarationSpreadInObject" | "noClassInstanceSpreadInObject" | "noFunctionSpreadInObject" | "noIterableSpreadInObject" | "noMapSpreadInObject" | "noPromiseSpreadInObject" | "noStringSpread" | "replaceMapSpreadInObject", [{
|
|
895
|
+
allow?: import("@typescript-eslint/type-utils").TypeOrValueSpecifier[];
|
|
896
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
897
|
+
name: string;
|
|
898
|
+
};
|
|
899
|
+
'no-mixed-enums': TSESLint.RuleModule<"mixed", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
900
|
+
name: string;
|
|
901
|
+
};
|
|
902
|
+
'no-namespace': TSESLint.RuleModule<"moduleSyntaxIsPreferred", import("./rules/no-namespace").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
903
|
+
name: string;
|
|
904
|
+
};
|
|
905
|
+
'no-non-null-asserted-nullish-coalescing': TSESLint.RuleModule<"noNonNullAssertedNullishCoalescing" | "suggestRemovingNonNull", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
906
|
+
name: string;
|
|
907
|
+
};
|
|
908
|
+
'no-non-null-asserted-optional-chain': TSESLint.RuleModule<"suggestRemovingNonNull" | "noNonNullOptionalChain", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
909
|
+
name: string;
|
|
910
|
+
};
|
|
911
|
+
'no-non-null-assertion': TSESLint.RuleModule<import("./rules/no-non-null-assertion").MessageIds, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
912
|
+
name: string;
|
|
913
|
+
};
|
|
914
|
+
'no-redeclare': TSESLint.RuleModule<import("./rules/no-redeclare").MessageIds, import("./rules/no-redeclare").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
915
|
+
name: string;
|
|
916
|
+
};
|
|
917
|
+
'no-redundant-type-constituents': TSESLint.RuleModule<"overrides" | "errorTypeOverrides" | "literalOverridden" | "overridden" | "primitiveOverridden", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
918
|
+
name: string;
|
|
919
|
+
};
|
|
920
|
+
'no-require-imports': TSESLint.RuleModule<"noRequireImports", import("./rules/no-require-imports").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
921
|
+
name: string;
|
|
922
|
+
};
|
|
923
|
+
'no-restricted-imports': TSESLint.RuleModule<"everything" | "everythingWithCustomMessage" | "importName" | "importNameWithCustomMessage" | "path" | "pathWithCustomMessage" | "patterns" | "patternWithCustomMessage", [import("eslint/lib/rules/no-restricted-imports").ObjectOfPathsAndPatterns] | import("eslint/lib/rules/no-restricted-imports").ArrayOfStringOrObject, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
924
|
+
name: string;
|
|
925
|
+
};
|
|
926
|
+
'no-restricted-types': TSESLint.RuleModule<import("./rules/no-restricted-types").MessageIds, import("./rules/no-restricted-types").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
927
|
+
name: string;
|
|
928
|
+
};
|
|
929
|
+
'no-shadow': TSESLint.RuleModule<import("./rules/no-shadow").MessageIds, import("./rules/no-shadow").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
930
|
+
name: string;
|
|
931
|
+
};
|
|
932
|
+
'no-this-alias': TSESLint.RuleModule<import("./rules/no-this-alias").MessageIds, import("./rules/no-this-alias").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
933
|
+
name: string;
|
|
934
|
+
};
|
|
935
|
+
'no-type-alias': TSESLint.RuleModule<import("./rules/no-type-alias").MessageIds, import("./rules/no-type-alias").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
936
|
+
name: string;
|
|
937
|
+
};
|
|
938
|
+
'no-unnecessary-boolean-literal-compare': TSESLint.RuleModule<import("./rules/no-unnecessary-boolean-literal-compare").MessageIds, import("./rules/no-unnecessary-boolean-literal-compare").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
939
|
+
name: string;
|
|
940
|
+
};
|
|
941
|
+
'no-unnecessary-condition': TSESLint.RuleModule<import("./rules/no-unnecessary-condition").MessageId, import("./rules/no-unnecessary-condition").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
942
|
+
name: string;
|
|
943
|
+
};
|
|
944
|
+
'no-unnecessary-parameter-property-assignment': TSESLint.RuleModule<"unnecessaryAssign", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
945
|
+
name: string;
|
|
946
|
+
};
|
|
947
|
+
'no-unnecessary-qualifier': TSESLint.RuleModule<"unnecessaryQualifier", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
948
|
+
name: string;
|
|
949
|
+
};
|
|
950
|
+
'no-unnecessary-template-expression': TSESLint.RuleModule<"noUnnecessaryTemplateExpression", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
951
|
+
name: string;
|
|
952
|
+
};
|
|
953
|
+
'no-unnecessary-type-arguments': TSESLint.RuleModule<"unnecessaryTypeParameter", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
954
|
+
name: string;
|
|
955
|
+
};
|
|
956
|
+
'no-unnecessary-type-assertion': TSESLint.RuleModule<import("./rules/no-unnecessary-type-assertion").MessageIds, import("./rules/no-unnecessary-type-assertion").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
957
|
+
name: string;
|
|
958
|
+
};
|
|
959
|
+
'no-unnecessary-type-constraint': TSESLint.RuleModule<"removeUnnecessaryConstraint" | "unnecessaryConstraint", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
960
|
+
name: string;
|
|
961
|
+
};
|
|
962
|
+
'no-unnecessary-type-conversion': TSESLint.RuleModule<"suggestRemove" | "suggestSatisfies" | "unnecessaryTypeConversion", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
963
|
+
name: string;
|
|
964
|
+
};
|
|
965
|
+
'no-unnecessary-type-parameters': TSESLint.RuleModule<"replaceUsagesWithConstraint" | "sole", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
966
|
+
name: string;
|
|
967
|
+
};
|
|
968
|
+
'no-unsafe-argument': TSESLint.RuleModule<import("./rules/no-unsafe-argument").MessageIds, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
969
|
+
name: string;
|
|
970
|
+
};
|
|
971
|
+
'no-unsafe-assignment': TSESLint.RuleModule<"unsafeArraySpread" | "anyAssignment" | "anyAssignmentThis" | "unsafeArrayPattern" | "unsafeArrayPatternFromTuple" | "unsafeAssignment" | "unsafeObjectPattern", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
972
|
+
name: string;
|
|
973
|
+
};
|
|
974
|
+
'no-unsafe-call': TSESLint.RuleModule<import("./rules/no-unsafe-call").MessageIds, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
975
|
+
name: string;
|
|
976
|
+
};
|
|
977
|
+
'no-unsafe-declaration-merging': TSESLint.RuleModule<"unsafeMerging", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
978
|
+
name: string;
|
|
979
|
+
};
|
|
980
|
+
'no-unsafe-enum-comparison': TSESLint.RuleModule<"mismatchedCase" | "mismatchedCondition" | "replaceValueWithEnum", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
981
|
+
name: string;
|
|
982
|
+
};
|
|
983
|
+
'no-unsafe-function-type': TSESLint.RuleModule<"bannedFunctionType", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
984
|
+
name: string;
|
|
985
|
+
};
|
|
986
|
+
'no-unsafe-member-access': TSESLint.RuleModule<import("./rules/no-unsafe-member-access").MessageIds, import("./rules/no-unsafe-member-access").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
987
|
+
name: string;
|
|
988
|
+
};
|
|
989
|
+
'no-unsafe-return': TSESLint.RuleModule<"unsafeReturn" | "unsafeReturnAssignment" | "unsafeReturnThis", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
990
|
+
name: string;
|
|
991
|
+
};
|
|
992
|
+
'no-unsafe-type-assertion': TSESLint.RuleModule<"unsafeOfAnyTypeAssertion" | "unsafeToAnyTypeAssertion" | "unsafeToUnconstrainedTypeAssertion" | "unsafeTypeAssertion" | "unsafeTypeAssertionAssignableToConstraint", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
993
|
+
name: string;
|
|
994
|
+
};
|
|
995
|
+
'no-unsafe-unary-minus': TSESLint.RuleModule<"unaryMinus", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
996
|
+
name: string;
|
|
997
|
+
};
|
|
998
|
+
'no-unused-expressions': TSESLint.RuleModule<"unusedExpression", [{
|
|
999
|
+
allowShortCircuit?: boolean;
|
|
1000
|
+
allowTaggedTemplates?: boolean;
|
|
1001
|
+
allowTernary?: boolean;
|
|
1002
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1003
|
+
name: string;
|
|
1004
|
+
};
|
|
1005
|
+
'no-unused-private-class-members': TSESLint.RuleModule<"unusedPrivateClassMember", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1006
|
+
name: string;
|
|
1007
|
+
};
|
|
1008
|
+
'no-unused-vars': TSESLint.RuleModule<import("./rules/no-unused-vars").MessageIds, import("./rules/no-unused-vars").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1009
|
+
name: string;
|
|
1010
|
+
};
|
|
1011
|
+
'no-use-before-define': TSESLint.RuleModule<"noUseBeforeDefine", import("./rules/no-use-before-define").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1012
|
+
name: string;
|
|
1013
|
+
};
|
|
1014
|
+
'no-useless-constructor': TSESLint.RuleModule<"noUselessConstructor" | "removeConstructor", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1015
|
+
name: string;
|
|
1016
|
+
};
|
|
1017
|
+
'no-useless-default-assignment': TSESLint.RuleModule<"noStrictNullCheck" | "preferOptionalSyntax" | "uselessDefaultAssignment" | "uselessUndefined", [{
|
|
1018
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
1019
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1020
|
+
name: string;
|
|
1021
|
+
};
|
|
1022
|
+
'no-useless-empty-export': TSESLint.RuleModule<"uselessExport", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1023
|
+
name: string;
|
|
1024
|
+
};
|
|
1025
|
+
'no-var-requires': TSESLint.RuleModule<"noVarReqs", import("./rules/no-var-requires").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1026
|
+
name: string;
|
|
1027
|
+
};
|
|
1028
|
+
'no-wrapper-object-types': TSESLint.RuleModule<"bannedClassType", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1029
|
+
name: string;
|
|
1030
|
+
};
|
|
1031
|
+
'non-nullable-type-assertion-style': TSESLint.RuleModule<"preferNonNullAssertion", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1032
|
+
name: string;
|
|
1033
|
+
};
|
|
1034
|
+
'only-throw-error': TSESLint.RuleModule<import("./rules/only-throw-error").MessageIds, import("./rules/only-throw-error").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1035
|
+
name: string;
|
|
1036
|
+
};
|
|
1037
|
+
'parameter-properties': TSESLint.RuleModule<import("./rules/parameter-properties").MessageIds, import("./rules/parameter-properties").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1038
|
+
name: string;
|
|
1039
|
+
};
|
|
1040
|
+
'prefer-as-const': TSESLint.RuleModule<"preferConstAssertion" | "variableConstAssertion" | "variableSuggest", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1041
|
+
name: string;
|
|
1042
|
+
};
|
|
1043
|
+
'prefer-destructuring': TSESLint.RuleModule<"preferDestructuring", import("./rules/prefer-destructuring").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1044
|
+
name: string;
|
|
1045
|
+
};
|
|
1046
|
+
'prefer-enum-initializers': TSESLint.RuleModule<import("./rules/prefer-enum-initializers").MessageIds, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1047
|
+
name: string;
|
|
1048
|
+
};
|
|
1049
|
+
'prefer-find': TSESLint.RuleModule<"preferFind" | "preferFindSuggestion", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1050
|
+
name: string;
|
|
1051
|
+
};
|
|
1052
|
+
'prefer-for-of': TSESLint.RuleModule<"preferForOf", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1053
|
+
name: string;
|
|
1054
|
+
};
|
|
1055
|
+
'prefer-function-type': TSESLint.RuleModule<"functionTypeOverCallableType" | "unexpectedThisOnFunctionOnlyInterface", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1056
|
+
name: string;
|
|
1057
|
+
};
|
|
1058
|
+
'prefer-includes': TSESLint.RuleModule<"preferIncludes" | "preferStringIncludes", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1059
|
+
name: string;
|
|
1060
|
+
};
|
|
1061
|
+
'prefer-literal-enum-member': TSESLint.RuleModule<"notLiteral" | "notLiteralOrBitwiseExpression", [{
|
|
1062
|
+
allowBitwiseExpressions: boolean;
|
|
1063
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1064
|
+
name: string;
|
|
1065
|
+
};
|
|
1066
|
+
'prefer-namespace-keyword': TSESLint.RuleModule<"useNamespace", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1067
|
+
name: string;
|
|
1068
|
+
};
|
|
1069
|
+
'prefer-nullish-coalescing': TSESLint.RuleModule<import("./rules/prefer-nullish-coalescing").MessageIds, import("./rules/prefer-nullish-coalescing").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1070
|
+
name: string;
|
|
1071
|
+
};
|
|
1072
|
+
'prefer-optional-chain': TSESLint.RuleModule<import("./rules/prefer-optional-chain-utils/PreferOptionalChainOptions").PreferOptionalChainMessageIds, [import("./rules/prefer-optional-chain-utils/PreferOptionalChainOptions").PreferOptionalChainOptions], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1073
|
+
name: string;
|
|
1074
|
+
};
|
|
1075
|
+
'prefer-promise-reject-errors': TSESLint.RuleModule<"rejectAnError", import("./rules/prefer-promise-reject-errors").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1076
|
+
name: string;
|
|
1077
|
+
};
|
|
1078
|
+
'prefer-readonly': TSESLint.RuleModule<"preferReadonly", import("./rules/prefer-readonly").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1079
|
+
name: string;
|
|
1080
|
+
};
|
|
1081
|
+
'prefer-readonly-parameter-types': TSESLint.RuleModule<"shouldBeReadonly", import("./rules/prefer-readonly-parameter-types").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1082
|
+
name: string;
|
|
1083
|
+
};
|
|
1084
|
+
'prefer-reduce-type-parameter': TSESLint.RuleModule<"preferTypeParameter", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1085
|
+
name: string;
|
|
1086
|
+
};
|
|
1087
|
+
'prefer-regexp-exec': TSESLint.RuleModule<"regExpExecOverStringMatch", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1088
|
+
name: string;
|
|
1089
|
+
};
|
|
1090
|
+
'prefer-return-this-type': TSESLint.RuleModule<"useThisType", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1091
|
+
name: string;
|
|
1092
|
+
};
|
|
1093
|
+
'prefer-string-starts-ends-with': TSESLint.RuleModule<import("./rules/prefer-string-starts-ends-with").MessageIds, import("./rules/prefer-string-starts-ends-with").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1094
|
+
name: string;
|
|
1095
|
+
};
|
|
1096
|
+
'prefer-ts-expect-error': TSESLint.RuleModule<"preferExpectErrorComment", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1097
|
+
name: string;
|
|
1098
|
+
};
|
|
1099
|
+
'promise-function-async': TSESLint.RuleModule<import("./rules/promise-function-async").MessageIds, import("./rules/promise-function-async").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1100
|
+
name: string;
|
|
1101
|
+
};
|
|
1102
|
+
'related-getter-setter-pairs': TSESLint.RuleModule<"mismatch", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1103
|
+
name: string;
|
|
1104
|
+
};
|
|
1105
|
+
'require-array-sort-compare': TSESLint.RuleModule<"requireCompare", import("./rules/require-array-sort-compare").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1106
|
+
name: string;
|
|
1107
|
+
};
|
|
1108
|
+
'require-await': TSESLint.RuleModule<"missingAwait" | "removeAsync", [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1109
|
+
name: string;
|
|
1110
|
+
};
|
|
1111
|
+
'restrict-plus-operands': TSESLint.RuleModule<import("./rules/restrict-plus-operands").MessageIds, import("./rules/restrict-plus-operands").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1112
|
+
name: string;
|
|
1113
|
+
};
|
|
1114
|
+
'restrict-template-expressions': TSESLint.RuleModule<"invalidType", import("./rules/restrict-template-expressions").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1115
|
+
name: string;
|
|
1116
|
+
};
|
|
1117
|
+
'return-await': TSESLint.RuleModule<"disallowedPromiseAwait" | "disallowedPromiseAwaitSuggestion" | "nonPromiseAwait" | "requiredPromiseAwait" | "requiredPromiseAwaitSuggestion", [string], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1118
|
+
name: string;
|
|
1119
|
+
};
|
|
1120
|
+
'sort-type-constituents': TSESLint.RuleModule<import("./rules/sort-type-constituents").MessageIds, import("./rules/sort-type-constituents").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1121
|
+
name: string;
|
|
1122
|
+
};
|
|
1123
|
+
'strict-boolean-expressions': TSESLint.RuleModule<import("./rules/strict-boolean-expressions").MessageId, import("./rules/strict-boolean-expressions").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1124
|
+
name: string;
|
|
1125
|
+
};
|
|
1126
|
+
'strict-void-return': TSESLint.RuleModule<"asyncFunc" | "nonVoidFunc" | "nonVoidReturn", [{
|
|
1127
|
+
allowReturnAny?: boolean;
|
|
1128
|
+
}], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1129
|
+
name: string;
|
|
1130
|
+
};
|
|
1131
|
+
'switch-exhaustiveness-check': TSESLint.RuleModule<import("./rules/switch-exhaustiveness-check").MessageIds, import("./rules/switch-exhaustiveness-check").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1132
|
+
name: string;
|
|
1133
|
+
};
|
|
1134
|
+
'triple-slash-reference': TSESLint.RuleModule<"tripleSlashReference", import("./rules/triple-slash-reference").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1135
|
+
name: string;
|
|
1136
|
+
};
|
|
1137
|
+
typedef: TSESLint.RuleModule<import("./rules/typedef").MessageIds, import("./rules/typedef").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1138
|
+
name: string;
|
|
1139
|
+
};
|
|
1140
|
+
'unbound-method': TSESLint.RuleModule<import("./rules/unbound-method").MessageIds, import("./rules/unbound-method").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1141
|
+
name: string;
|
|
1142
|
+
};
|
|
1143
|
+
'unified-signatures': TSESLint.RuleModule<import("./rules/unified-signatures").MessageIds, import("./rules/unified-signatures").Options, import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1144
|
+
name: string;
|
|
1145
|
+
};
|
|
1146
|
+
'use-unknown-in-catch-callback-variable': TSESLint.RuleModule<import("./rules/use-unknown-in-catch-callback-variable").MessageIds, [], import("../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
1147
|
+
name: string;
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1152
|
+
export = _default;
|