xo 0.48.0 → 0.49.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/config/plugins.cjs +3 -0
- package/lib/options-manager.js +2 -2
- package/node_modules/@types/json-schema/README.md +2 -2
- package/node_modules/@types/json-schema/index.d.ts +8 -1
- package/node_modules/@types/json-schema/package.json +3 -8
- package/node_modules/@typescript-eslint/eslint-plugin/README.md +132 -128
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +7 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +50 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +7 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +9 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +1 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +8 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +29 -26
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +7 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +46 -30
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +9 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +13 -7
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +85 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +52 -12
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +238 -28
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +10 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js +7 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +373 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +3 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +105 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +7 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +40 -6
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +9 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +7 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +6 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +49 -18
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +91 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +189 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +68 -63
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +53 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +15 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +25 -9
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +7 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +95 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +9 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +19 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +49 -20
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +307 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +6 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +133 -132
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +9 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +4 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +35 -3
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +549 -477
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +4 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +64 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +21 -8
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +27 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +55 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +100 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +4 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +4 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +60 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +496 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +13 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +23 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +4 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +13 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +10 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +10 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +62 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +48 -2
- package/node_modules/@typescript-eslint/eslint-plugin/package.json +10 -10
- package/node_modules/@typescript-eslint/parser/README.md +9 -1
- package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/parser/dist/parser.js +5 -2
- package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
- package/node_modules/@typescript-eslint/parser/package.json +6 -6
- package/node_modules/@typescript-eslint/scope-manager/README.md +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +3 -9
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +5 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js +5 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +4 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +24 -4
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +14 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +4 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +6 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +14 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +3 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +20 -4
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +11 -2
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +2 -6
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -4
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +5 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/package.json +12 -13
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/index.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +9 -1
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +7 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +38 -2
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +15 -1
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/package.json +5 -5
- package/node_modules/@typescript-eslint/types/dist/{ast-spec.d.ts → generated/ast-spec.d.ts} +3 -2
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/{ast-spec.js → generated/ast-spec.js} +0 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/index.d.ts +1 -2
- package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/index.js +7 -4
- package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/lib.js +2 -1
- package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +1 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +3 -3
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js +6 -2
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -1
- package/node_modules/@typescript-eslint/types/package.json +29 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +6 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +6 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +6 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +6 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +6 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/package.json +8 -9
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +29 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +3 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts +2 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +7 -2
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +2 -6
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +2 -6
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js +18 -12
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +42 -7
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +3 -4
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +2 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +0 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/package.json +5 -5
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +7 -3
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
- package/node_modules/@typescript-eslint/visitor-keys/package.json +4 -4
- package/node_modules/debug/README.md +3 -0
- package/node_modules/debug/package.json +1 -1
- package/node_modules/debug/src/common.js +1 -1
- package/node_modules/eslint-config-xo-typescript/index.js +107 -82
- package/node_modules/eslint-config-xo-typescript/package.json +4 -4
- package/node_modules/eslint-config-xo-typescript/readme.md +3 -3
- package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +18 -5
- package/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
- package/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
- package/node_modules/eslint-visitor-keys/lib/index.js +11 -5
- package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +7 -0
- package/node_modules/eslint-visitor-keys/package.json +11 -4
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/LICENSE-MIT +0 -0
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/README.md +0 -0
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.d.ts +0 -0
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.js +0 -0
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/legacy.js +0 -0
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/package.json +0 -0
- package/node_modules/micromatch/README.md +12 -9
- package/node_modules/micromatch/index.js +3 -3
- package/node_modules/micromatch/package.json +5 -5
- package/node_modules/semver/README.md +3 -1
- package/node_modules/semver/bin/semver.js +19 -9
- package/node_modules/semver/classes/comparator.js +3 -2
- package/node_modules/semver/classes/index.js +1 -1
- package/node_modules/semver/classes/range.js +31 -22
- package/node_modules/semver/classes/semver.js +1 -1
- package/node_modules/semver/functions/cmp.js +8 -4
- package/node_modules/semver/functions/coerce.js +3 -2
- package/node_modules/semver/functions/inc.js +4 -1
- package/node_modules/semver/functions/parse.js +1 -1
- package/node_modules/semver/internal/constants.js +2 -2
- package/node_modules/semver/internal/identifiers.js +1 -1
- package/node_modules/semver/internal/parse-options.js +3 -3
- package/node_modules/semver/internal/re.js +3 -3
- package/node_modules/semver/package.json +45 -11
- package/node_modules/semver/ranges/min-version.js +2 -1
- package/node_modules/semver/ranges/outside.js +1 -1
- package/node_modules/semver/ranges/simplify.js +15 -12
- package/node_modules/semver/ranges/subset.js +53 -31
- package/package.json +22 -22
- package/readme.md +16 -0
- package/node_modules/@typescript-eslint/types/dist/ast-spec.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/ast-spec.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/LICENSE-MIT +0 -21
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/README.md +0 -412
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.d.ts +0 -61
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.js +0 -603
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/legacy.js +0 -498
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/package.json +0 -71
- package/node_modules/micromatch/CHANGELOG.md +0 -109
- package/node_modules/semver/CHANGELOG.md +0 -111
|
@@ -6,104 +6,104 @@ pagination_prev: null
|
|
|
6
6
|
slug: /
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
`@typescript-eslint/eslint-plugin`
|
|
10
|
-
|
|
11
|
-
- `'plugin:@typescript-eslint/recommended'`: recommended rules for code correctness that you can drop in without additional configuration.
|
|
12
|
-
See [Linting](https://typescript-eslint.io/docs/linting/linting) for more details.
|
|
13
|
-
- `'plugin:@typescript-eslint/recommended-requiring-type-checking'` additional recommended rules that require type information.
|
|
14
|
-
See [Linting](https://typescript-eslint.io/docs/linting/type-linting) for more details.
|
|
9
|
+
`@typescript-eslint/eslint-plugin` includes over 100 rules that detect best practice violations, bugs, and/or stylistic issues specifically for TypeScript code.
|
|
10
|
+
See [Presets](/docs/linting/presets) for how to enable recommended rules using presets.
|
|
15
11
|
|
|
16
12
|
## Supported Rules
|
|
17
13
|
|
|
18
14
|
<!-- begin base rule list -->
|
|
19
15
|
|
|
20
|
-
**Key**: :white_check_mark: = recommended, :wrench: = fixable, :thought_balloon: = requires type information
|
|
16
|
+
**Key**: :white_check_mark: = recommended, :lock: = strict, :wrench: = fixable, :thought_balloon: = requires type information
|
|
21
17
|
|
|
22
|
-
| Name | Description | :white_check_mark: | :wrench: | :thought_balloon: |
|
|
23
|
-
| ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
|
|
24
|
-
| [`@typescript-eslint/adjacent-overload-signatures`](./adjacent-overload-signatures.md) | Require that member overloads be consecutive | :white_check_mark:
|
|
25
|
-
| [`@typescript-eslint/array-type`](./array-type.md) | Requires using either `T[]` or `Array<T>` for arrays |
|
|
26
|
-
| [`@typescript-eslint/await-thenable`](./await-thenable.md) | Disallows awaiting a value that is not a Thenable | :white_check_mark:
|
|
27
|
-
| [`@typescript-eslint/ban-ts-comment`](./ban-ts-comment.md) | Bans `@ts-<directive>` comments from being used or requires descriptions after directive | :white_check_mark:
|
|
28
|
-
| [`@typescript-eslint/ban-tslint-comment`](./ban-tslint-comment.md) | Bans `// tslint:<rule-flag>` comments from being used |
|
|
29
|
-
| [`@typescript-eslint/ban-types`](./ban-types.md) | Bans specific types from being used | :white_check_mark:
|
|
30
|
-
| [`@typescript-eslint/class-literal-property-style`](./class-literal-property-style.md) | Ensures that literals on classes are exposed in a consistent style |
|
|
31
|
-
| [`@typescript-eslint/consistent-indexed-object-style`](./consistent-indexed-object-style.md) | Enforce or disallow the use of the record type |
|
|
32
|
-
| [`@typescript-eslint/consistent-type-assertions`](./consistent-type-assertions.md) | Enforces consistent usage of type assertions |
|
|
33
|
-
| [`@typescript-eslint/consistent-type-definitions`](./consistent-type-definitions.md) | Consistent with type definition either `interface` or `type` |
|
|
34
|
-
| [`@typescript-eslint/consistent-type-exports`](./consistent-type-exports.md) | Enforces consistent usage of type exports |
|
|
35
|
-
| [`@typescript-eslint/consistent-type-imports`](./consistent-type-imports.md) | Enforces consistent usage of type imports |
|
|
36
|
-
| [`@typescript-eslint/explicit-function-return-type`](./explicit-function-return-type.md) | Require explicit return types on functions and class methods |
|
|
37
|
-
| [`@typescript-eslint/explicit-member-accessibility`](./explicit-member-accessibility.md) | Require explicit accessibility modifiers on class properties and methods |
|
|
38
|
-
| [`@typescript-eslint/explicit-module-boundary-types`](./explicit-module-boundary-types.md) | Require explicit return and argument types on exported functions' and classes' public class methods |
|
|
39
|
-
| [`@typescript-eslint/member-delimiter-style`](./member-delimiter-style.md) | Require a specific member delimiter style for interfaces and type literals |
|
|
40
|
-
| [`@typescript-eslint/member-ordering`](./member-ordering.md) | Require a consistent member declaration order |
|
|
41
|
-
| [`@typescript-eslint/method-signature-style`](./method-signature-style.md) | Enforces using a particular method signature syntax
|
|
42
|
-
| [`@typescript-eslint/naming-convention`](./naming-convention.md) | Enforces naming conventions for everything across a codebase |
|
|
43
|
-
| [`@typescript-eslint/no-base-to-string`](./no-base-to-string.md) | Requires that `.toString()` is only called on objects which provide useful information when stringified |
|
|
44
|
-
| [`@typescript-eslint/no-confusing-non-null-assertion`](./no-confusing-non-null-assertion.md) | Disallow non-null assertion in locations that may be confusing |
|
|
45
|
-
| [`@typescript-eslint/no-confusing-void-expression`](./no-confusing-void-expression.md) | Requires expressions of type void to appear in statement position |
|
|
46
|
-
| [`@typescript-eslint/no-
|
|
47
|
-
| [`@typescript-eslint/no-
|
|
48
|
-
| [`@typescript-eslint/no-
|
|
49
|
-
| [`@typescript-eslint/no-
|
|
50
|
-
| [`@typescript-eslint/no-
|
|
51
|
-
| [`@typescript-eslint/no-
|
|
52
|
-
| [`@typescript-eslint/no-
|
|
53
|
-
| [`@typescript-eslint/no-
|
|
54
|
-
| [`@typescript-eslint/no-
|
|
55
|
-
| [`@typescript-eslint/no-
|
|
56
|
-
| [`@typescript-eslint/no-
|
|
57
|
-
| [`@typescript-eslint/no-misused-
|
|
58
|
-
| [`@typescript-eslint/no-
|
|
59
|
-
| [`@typescript-eslint/no-
|
|
60
|
-
| [`@typescript-eslint/no-non-null-asserted-
|
|
61
|
-
| [`@typescript-eslint/no-non-null-
|
|
62
|
-
| [`@typescript-eslint/no-
|
|
63
|
-
| [`@typescript-eslint/no-
|
|
64
|
-
| [`@typescript-eslint/no-
|
|
65
|
-
| [`@typescript-eslint/no-
|
|
66
|
-
| [`@typescript-eslint/no-
|
|
67
|
-
| [`@typescript-eslint/no-
|
|
68
|
-
| [`@typescript-eslint/no-unnecessary-
|
|
69
|
-
| [`@typescript-eslint/no-unnecessary-
|
|
70
|
-
| [`@typescript-eslint/no-unnecessary-
|
|
71
|
-
| [`@typescript-eslint/no-unnecessary-type-
|
|
72
|
-
| [`@typescript-eslint/no-
|
|
73
|
-
| [`@typescript-eslint/no-
|
|
74
|
-
| [`@typescript-eslint/no-unsafe-
|
|
75
|
-
| [`@typescript-eslint/no-unsafe-
|
|
76
|
-
| [`@typescript-eslint/no-unsafe-
|
|
77
|
-
| [`@typescript-eslint/no-
|
|
78
|
-
| [`@typescript-eslint/
|
|
79
|
-
| [`@typescript-eslint/
|
|
80
|
-
| [`@typescript-eslint/
|
|
81
|
-
| [`@typescript-eslint/
|
|
82
|
-
| [`@typescript-eslint/
|
|
83
|
-
| [`@typescript-eslint/prefer-
|
|
84
|
-
| [`@typescript-eslint/prefer-
|
|
85
|
-
| [`@typescript-eslint/prefer-
|
|
86
|
-
| [`@typescript-eslint/prefer-
|
|
87
|
-
| [`@typescript-eslint/prefer-
|
|
88
|
-
| [`@typescript-eslint/prefer-
|
|
89
|
-
| [`@typescript-eslint/prefer-
|
|
90
|
-
| [`@typescript-eslint/prefer-
|
|
91
|
-
| [`@typescript-eslint/prefer-
|
|
92
|
-
| [`@typescript-eslint/prefer-
|
|
93
|
-
| [`@typescript-eslint/prefer-
|
|
94
|
-
| [`@typescript-eslint/prefer-
|
|
95
|
-
| [`@typescript-eslint/
|
|
96
|
-
| [`@typescript-eslint/
|
|
97
|
-
| [`@typescript-eslint/
|
|
98
|
-
| [`@typescript-eslint/
|
|
99
|
-
| [`@typescript-eslint/
|
|
100
|
-
| [`@typescript-eslint/
|
|
101
|
-
| [`@typescript-eslint/
|
|
102
|
-
| [`@typescript-eslint/
|
|
103
|
-
| [`@typescript-eslint/type-
|
|
104
|
-
| [`@typescript-eslint/
|
|
105
|
-
| [`@typescript-eslint/
|
|
106
|
-
| [`@typescript-eslint/
|
|
18
|
+
| Name | Description | :white_check_mark::lock: | :wrench: | :thought_balloon: |
|
|
19
|
+
| ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------------- |
|
|
20
|
+
| [`@typescript-eslint/adjacent-overload-signatures`](./adjacent-overload-signatures.md) | Require that member overloads be consecutive | :white_check_mark: | | |
|
|
21
|
+
| [`@typescript-eslint/array-type`](./array-type.md) | Requires using either `T[]` or `Array<T>` for arrays | :lock: | :wrench: | |
|
|
22
|
+
| [`@typescript-eslint/await-thenable`](./await-thenable.md) | Disallows awaiting a value that is not a Thenable | :white_check_mark: | | :thought_balloon: |
|
|
23
|
+
| [`@typescript-eslint/ban-ts-comment`](./ban-ts-comment.md) | Bans `@ts-<directive>` comments from being used or requires descriptions after directive | :white_check_mark: | | |
|
|
24
|
+
| [`@typescript-eslint/ban-tslint-comment`](./ban-tslint-comment.md) | Bans `// tslint:<rule-flag>` comments from being used | :lock: | :wrench: | |
|
|
25
|
+
| [`@typescript-eslint/ban-types`](./ban-types.md) | Bans specific types from being used | :white_check_mark: | :wrench: | |
|
|
26
|
+
| [`@typescript-eslint/class-literal-property-style`](./class-literal-property-style.md) | Ensures that literals on classes are exposed in a consistent style | :lock: | :wrench: | |
|
|
27
|
+
| [`@typescript-eslint/consistent-indexed-object-style`](./consistent-indexed-object-style.md) | Enforce or disallow the use of the record type | :lock: | :wrench: | |
|
|
28
|
+
| [`@typescript-eslint/consistent-type-assertions`](./consistent-type-assertions.md) | Enforces consistent usage of type assertions | :lock: | | |
|
|
29
|
+
| [`@typescript-eslint/consistent-type-definitions`](./consistent-type-definitions.md) | Consistent with type definition either `interface` or `type` | :lock: | :wrench: | |
|
|
30
|
+
| [`@typescript-eslint/consistent-type-exports`](./consistent-type-exports.md) | Enforces consistent usage of type exports | | :wrench: | :thought_balloon: |
|
|
31
|
+
| [`@typescript-eslint/consistent-type-imports`](./consistent-type-imports.md) | Enforces consistent usage of type imports | | :wrench: | |
|
|
32
|
+
| [`@typescript-eslint/explicit-function-return-type`](./explicit-function-return-type.md) | Require explicit return types on functions and class methods | | | |
|
|
33
|
+
| [`@typescript-eslint/explicit-member-accessibility`](./explicit-member-accessibility.md) | Require explicit accessibility modifiers on class properties and methods | | :wrench: | |
|
|
34
|
+
| [`@typescript-eslint/explicit-module-boundary-types`](./explicit-module-boundary-types.md) | Require explicit return and argument types on exported functions' and classes' public class methods | | | |
|
|
35
|
+
| [`@typescript-eslint/member-delimiter-style`](./member-delimiter-style.md) | Require a specific member delimiter style for interfaces and type literals | | :wrench: | |
|
|
36
|
+
| [`@typescript-eslint/member-ordering`](./member-ordering.md) | Require a consistent member declaration order | | | |
|
|
37
|
+
| [`@typescript-eslint/method-signature-style`](./method-signature-style.md) | Enforces using a particular method signature syntax | | :wrench: | |
|
|
38
|
+
| [`@typescript-eslint/naming-convention`](./naming-convention.md) | Enforces naming conventions for everything across a codebase | | | :thought_balloon: |
|
|
39
|
+
| [`@typescript-eslint/no-base-to-string`](./no-base-to-string.md) | Requires that `.toString()` is only called on objects which provide useful information when stringified | :lock: | | :thought_balloon: |
|
|
40
|
+
| [`@typescript-eslint/no-confusing-non-null-assertion`](./no-confusing-non-null-assertion.md) | Disallow non-null assertion in locations that may be confusing | :lock: | :wrench: | |
|
|
41
|
+
| [`@typescript-eslint/no-confusing-void-expression`](./no-confusing-void-expression.md) | Requires expressions of type void to appear in statement position | | :wrench: | :thought_balloon: |
|
|
42
|
+
| [`@typescript-eslint/no-duplicate-enum-values`](./docs/rules/no-duplicate-enum-values.md) | Disallow duplicate enum member values | :lock: | | |
|
|
43
|
+
| [`@typescript-eslint/no-dynamic-delete`](./no-dynamic-delete.md) | Disallow the delete operator with computed key expressions | :lock: | :wrench: | |
|
|
44
|
+
| [`@typescript-eslint/no-empty-interface`](./no-empty-interface.md) | Disallow the declaration of empty interfaces | :white_check_mark: | :wrench: | |
|
|
45
|
+
| [`@typescript-eslint/no-explicit-any`](./no-explicit-any.md) | Disallow usage of the `any` type | :white_check_mark: | :wrench: | |
|
|
46
|
+
| [`@typescript-eslint/no-extra-non-null-assertion`](./no-extra-non-null-assertion.md) | Disallow extra non-null assertion | :white_check_mark: | :wrench: | |
|
|
47
|
+
| [`@typescript-eslint/no-extraneous-class`](./no-extraneous-class.md) | Forbids the use of classes as namespaces | :lock: | | |
|
|
48
|
+
| [`@typescript-eslint/no-floating-promises`](./no-floating-promises.md) | Requires Promise-like statements to be handled appropriately | :white_check_mark: | | :thought_balloon: |
|
|
49
|
+
| [`@typescript-eslint/no-for-in-array`](./no-for-in-array.md) | Disallow iterating over an array with a for-in loop | :white_check_mark: | | :thought_balloon: |
|
|
50
|
+
| [`@typescript-eslint/no-inferrable-types`](./no-inferrable-types.md) | Disallows explicit type declarations for variables or parameters initialized to a number, string, or boolean | :white_check_mark: | :wrench: | |
|
|
51
|
+
| [`@typescript-eslint/no-invalid-void-type`](./no-invalid-void-type.md) | Disallows usage of `void` type outside of generic or return types | :lock: | | |
|
|
52
|
+
| [`@typescript-eslint/no-meaningless-void-operator`](./no-meaningless-void-operator.md) | Disallow the `void` operator except when used to discard a value | :lock: | :wrench: | :thought_balloon: |
|
|
53
|
+
| [`@typescript-eslint/no-misused-new`](./no-misused-new.md) | Enforce valid definition of `new` and `constructor` | :white_check_mark: | | |
|
|
54
|
+
| [`@typescript-eslint/no-misused-promises`](./no-misused-promises.md) | Avoid using Promises in places not designed to handle them | :white_check_mark: | | :thought_balloon: |
|
|
55
|
+
| [`@typescript-eslint/no-namespace`](./no-namespace.md) | Disallow the use of custom TypeScript modules and namespaces | :white_check_mark: | | |
|
|
56
|
+
| [`@typescript-eslint/no-non-null-asserted-nullish-coalescing`](./no-non-null-asserted-nullish-coalescing.md) | Disallows using a non-null assertion in the left operand of the nullish coalescing operator | :lock: | | |
|
|
57
|
+
| [`@typescript-eslint/no-non-null-asserted-optional-chain`](./no-non-null-asserted-optional-chain.md) | Disallows using a non-null assertion after an optional chain expression | :white_check_mark: | | |
|
|
58
|
+
| [`@typescript-eslint/no-non-null-assertion`](./no-non-null-assertion.md) | Disallows non-null assertions using the `!` postfix operator | :white_check_mark: | | |
|
|
59
|
+
| [`@typescript-eslint/no-parameter-properties`](./no-parameter-properties.md) | Disallow the use of parameter properties in class constructors | | | |
|
|
60
|
+
| [`@typescript-eslint/no-redundant-type-constituents`](./no-redundant-type-constituents.md) | Disallow members of unions and intersections that do nothing or override type information | | | :thought_balloon: |
|
|
61
|
+
| [`@typescript-eslint/no-require-imports`](./no-require-imports.md) | Disallows invocation of `require()` | | | |
|
|
62
|
+
| [`@typescript-eslint/no-this-alias`](./no-this-alias.md) | Disallow aliasing `this` | :white_check_mark: | | |
|
|
63
|
+
| [`@typescript-eslint/no-type-alias`](./no-type-alias.md) | Disallow the use of type aliases | | | |
|
|
64
|
+
| [`@typescript-eslint/no-unnecessary-boolean-literal-compare`](./no-unnecessary-boolean-literal-compare.md) | Flags unnecessary equality comparisons against boolean literals | :lock: | :wrench: | :thought_balloon: |
|
|
65
|
+
| [`@typescript-eslint/no-unnecessary-condition`](./no-unnecessary-condition.md) | Prevents conditionals where the type is always truthy or always falsy | :lock: | :wrench: | :thought_balloon: |
|
|
66
|
+
| [`@typescript-eslint/no-unnecessary-qualifier`](./no-unnecessary-qualifier.md) | Warns when a namespace qualifier is unnecessary | | :wrench: | :thought_balloon: |
|
|
67
|
+
| [`@typescript-eslint/no-unnecessary-type-arguments`](./no-unnecessary-type-arguments.md) | Enforces that type arguments will not be used if not required | :lock: | :wrench: | :thought_balloon: |
|
|
68
|
+
| [`@typescript-eslint/no-unnecessary-type-assertion`](./no-unnecessary-type-assertion.md) | Warns if a type assertion does not change the type of an expression | :white_check_mark: | :wrench: | :thought_balloon: |
|
|
69
|
+
| [`@typescript-eslint/no-unnecessary-type-constraint`](./no-unnecessary-type-constraint.md) | Disallows unnecessary constraints on generic types | :white_check_mark: | | |
|
|
70
|
+
| [`@typescript-eslint/no-unsafe-argument`](./no-unsafe-argument.md) | Disallows calling a function with an any type value | :white_check_mark: | | :thought_balloon: |
|
|
71
|
+
| [`@typescript-eslint/no-unsafe-assignment`](./no-unsafe-assignment.md) | Disallows assigning any to variables and properties | :white_check_mark: | | :thought_balloon: |
|
|
72
|
+
| [`@typescript-eslint/no-unsafe-call`](./no-unsafe-call.md) | Disallows calling an any type value | :white_check_mark: | | :thought_balloon: |
|
|
73
|
+
| [`@typescript-eslint/no-unsafe-member-access`](./no-unsafe-member-access.md) | Disallows member access on any typed variables | :white_check_mark: | | :thought_balloon: |
|
|
74
|
+
| [`@typescript-eslint/no-unsafe-return`](./no-unsafe-return.md) | Disallows returning any from a function | :white_check_mark: | | :thought_balloon: |
|
|
75
|
+
| [`@typescript-eslint/no-useless-empty-export`](./no-useless-empty-export.md) | Disallow empty exports that don't change anything in a module file | | :wrench: | |
|
|
76
|
+
| [`@typescript-eslint/no-var-requires`](./no-var-requires.md) | Disallows the use of require statements except in import statements | :white_check_mark: | | |
|
|
77
|
+
| [`@typescript-eslint/non-nullable-type-assertion-style`](./non-nullable-type-assertion-style.md) | Prefers a non-null assertion over explicit type cast when possible | :lock: | :wrench: | :thought_balloon: |
|
|
78
|
+
| [`@typescript-eslint/parameter-properties`](./parameter-properties.md) | Require or disallow the use of parameter properties in class constructors | | | |
|
|
79
|
+
| [`@typescript-eslint/prefer-as-const`](./prefer-as-const.md) | Prefer usage of `as const` over literal type | :white_check_mark: | :wrench: | |
|
|
80
|
+
| [`@typescript-eslint/prefer-enum-initializers`](./prefer-enum-initializers.md) | Prefer initializing each enums member value | | | |
|
|
81
|
+
| [`@typescript-eslint/prefer-for-of`](./prefer-for-of.md) | Prefer a ‘for-of’ loop over a standard ‘for’ loop if the index is only used to access the array being iterated | :lock: | | |
|
|
82
|
+
| [`@typescript-eslint/prefer-function-type`](./prefer-function-type.md) | Use function types instead of interfaces with call signatures | :lock: | :wrench: | |
|
|
83
|
+
| [`@typescript-eslint/prefer-includes`](./prefer-includes.md) | Enforce `includes` method over `indexOf` method | :lock: | :wrench: | :thought_balloon: |
|
|
84
|
+
| [`@typescript-eslint/prefer-literal-enum-member`](./prefer-literal-enum-member.md) | Require that all enum members be literal values to prevent unintended enum member name shadow issues | :lock: | | |
|
|
85
|
+
| [`@typescript-eslint/prefer-namespace-keyword`](./prefer-namespace-keyword.md) | Require the use of the `namespace` keyword instead of the `module` keyword to declare custom TypeScript modules | :white_check_mark: | :wrench: | |
|
|
86
|
+
| [`@typescript-eslint/prefer-nullish-coalescing`](./prefer-nullish-coalescing.md) | Enforce the usage of the nullish coalescing operator instead of logical chaining | :lock: | | :thought_balloon: |
|
|
87
|
+
| [`@typescript-eslint/prefer-optional-chain`](./prefer-optional-chain.md) | Prefer using concise optional chain expressions instead of chained logical ands | :lock: | | |
|
|
88
|
+
| [`@typescript-eslint/prefer-readonly`](./prefer-readonly.md) | Requires that private members are marked as `readonly` if they're never modified outside of the constructor | | :wrench: | :thought_balloon: |
|
|
89
|
+
| [`@typescript-eslint/prefer-readonly-parameter-types`](./prefer-readonly-parameter-types.md) | Requires that function parameters are typed as readonly to prevent accidental mutation of inputs | | | :thought_balloon: |
|
|
90
|
+
| [`@typescript-eslint/prefer-reduce-type-parameter`](./prefer-reduce-type-parameter.md) | Prefer using type parameter when calling `Array#reduce` instead of casting | :lock: | :wrench: | :thought_balloon: |
|
|
91
|
+
| [`@typescript-eslint/prefer-regexp-exec`](./prefer-regexp-exec.md) | Enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided | | :wrench: | :thought_balloon: |
|
|
92
|
+
| [`@typescript-eslint/prefer-return-this-type`](./prefer-return-this-type.md) | Enforce that `this` is used when only `this` type is returned | :lock: | :wrench: | :thought_balloon: |
|
|
93
|
+
| [`@typescript-eslint/prefer-string-starts-ends-with`](./prefer-string-starts-ends-with.md) | Enforce the use of `String#startsWith` and `String#endsWith` instead of other equivalent methods of checking substrings | :lock: | :wrench: | :thought_balloon: |
|
|
94
|
+
| [`@typescript-eslint/prefer-ts-expect-error`](./prefer-ts-expect-error.md) | Recommends using `@ts-expect-error` over `@ts-ignore` | :lock: | :wrench: | |
|
|
95
|
+
| [`@typescript-eslint/promise-function-async`](./promise-function-async.md) | Requires any function or method that returns a Promise to be marked async | | :wrench: | :thought_balloon: |
|
|
96
|
+
| [`@typescript-eslint/require-array-sort-compare`](./require-array-sort-compare.md) | Requires `Array#sort` calls to always provide a `compareFunction` | | | :thought_balloon: |
|
|
97
|
+
| [`@typescript-eslint/restrict-plus-operands`](./restrict-plus-operands.md) | When adding two variables, operands must both be of type number or of type string | :white_check_mark: | | :thought_balloon: |
|
|
98
|
+
| [`@typescript-eslint/restrict-template-expressions`](./restrict-template-expressions.md) | Enforce template literal expressions to be of string type | :white_check_mark: | | :thought_balloon: |
|
|
99
|
+
| [`@typescript-eslint/sort-type-union-intersection-members`](./sort-type-union-intersection-members.md) | Enforces that members of a type union/intersection are sorted alphabetically | | :wrench: | |
|
|
100
|
+
| [`@typescript-eslint/strict-boolean-expressions`](./strict-boolean-expressions.md) | Restricts the types allowed in boolean expressions | | :wrench: | :thought_balloon: |
|
|
101
|
+
| [`@typescript-eslint/switch-exhaustiveness-check`](./switch-exhaustiveness-check.md) | Exhaustiveness checking in switch with union type | | | :thought_balloon: |
|
|
102
|
+
| [`@typescript-eslint/triple-slash-reference`](./triple-slash-reference.md) | Sets preference level for triple slash directives versus ES6-style import declarations | :white_check_mark: | | |
|
|
103
|
+
| [`@typescript-eslint/type-annotation-spacing`](./type-annotation-spacing.md) | Require consistent spacing around type annotations | | :wrench: | |
|
|
104
|
+
| [`@typescript-eslint/typedef`](./typedef.md) | Requires type annotations to exist | | | |
|
|
105
|
+
| [`@typescript-eslint/unbound-method`](./unbound-method.md) | Enforces unbound methods are called with their expected scope | :white_check_mark: | | :thought_balloon: |
|
|
106
|
+
| [`@typescript-eslint/unified-signatures`](./unified-signatures.md) | Warns for any two overloads that could be unified into one by using a union or an optional/rest parameter | :lock: | | |
|
|
107
107
|
|
|
108
108
|
<!-- end base rule list -->
|
|
109
109
|
|
|
@@ -114,46 +114,47 @@ In these cases, we create what we call an extension rule; a rule within our plug
|
|
|
114
114
|
|
|
115
115
|
<!-- begin extension rule list -->
|
|
116
116
|
|
|
117
|
-
**Key**: :white_check_mark: = recommended, :wrench: = fixable, :thought_balloon: = requires type information
|
|
117
|
+
**Key**: :white_check_mark: = recommended, :lock: = strict, :wrench: = fixable, :thought_balloon: = requires type information
|
|
118
118
|
|
|
119
|
-
| Name | Description | :white_check_mark: | :wrench: | :thought_balloon: |
|
|
120
|
-
| -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
|
|
121
|
-
| [`@typescript-eslint/brace-style`](./brace-style.md) | Enforce consistent brace style for blocks |
|
|
122
|
-
| [`@typescript-eslint/comma-dangle`](./comma-dangle.md) | Require or disallow trailing comma |
|
|
123
|
-
| [`@typescript-eslint/comma-spacing`](./comma-spacing.md) | Enforces consistent spacing before and after commas |
|
|
124
|
-
| [`@typescript-eslint/default-param-last`](./default-param-last.md) | Enforce default parameters to be last |
|
|
125
|
-
| [`@typescript-eslint/dot-notation`](./dot-notation.md) | enforce dot notation whenever possible |
|
|
126
|
-
| [`@typescript-eslint/func-call-spacing`](./func-call-spacing.md) | Require or disallow spacing between function identifiers and their invocations |
|
|
127
|
-
| [`@typescript-eslint/indent`](./indent.md) | Enforce consistent indentation |
|
|
128
|
-
| [`@typescript-eslint/init-declarations`](./init-declarations.md) | require or disallow initialization in variable declarations |
|
|
129
|
-
| [`@typescript-eslint/keyword-spacing`](./keyword-spacing.md) | Enforce consistent spacing before and after keywords |
|
|
130
|
-
| [`@typescript-eslint/lines-between-class-members`](./lines-between-class-members.md) | Require or disallow an empty line between class members |
|
|
131
|
-
| [`@typescript-eslint/no-array-constructor`](./no-array-constructor.md) | Disallow generic `Array` constructors | :white_check_mark:
|
|
132
|
-
| [`@typescript-eslint/no-dupe-class-members`](./no-dupe-class-members.md) | Disallow duplicate class members |
|
|
133
|
-
| [`@typescript-eslint/no-duplicate-imports`](./no-duplicate-imports.md) | Disallow duplicate imports |
|
|
134
|
-
| [`@typescript-eslint/no-empty-function`](./no-empty-function.md) | Disallow empty functions | :white_check_mark:
|
|
135
|
-
| [`@typescript-eslint/no-extra-parens`](./no-extra-parens.md) | Disallow unnecessary parentheses |
|
|
136
|
-
| [`@typescript-eslint/no-extra-semi`](./no-extra-semi.md) | Disallow unnecessary semicolons | :white_check_mark:
|
|
137
|
-
| [`@typescript-eslint/no-implied-eval`](./no-implied-eval.md) | Disallow the use of `eval()`-like methods | :white_check_mark:
|
|
138
|
-
| [`@typescript-eslint/no-invalid-this`](./no-invalid-this.md) | Disallow `this` keywords outside of classes or class-like objects |
|
|
139
|
-
| [`@typescript-eslint/no-loop-func`](./no-loop-func.md) | Disallow function declarations that contain unsafe references inside loop statements |
|
|
140
|
-
| [`@typescript-eslint/no-loss-of-precision`](./no-loss-of-precision.md) | Disallow literal numbers that lose precision | :white_check_mark:
|
|
141
|
-
| [`@typescript-eslint/no-magic-numbers`](./no-magic-numbers.md) | Disallow magic numbers |
|
|
142
|
-
| [`@typescript-eslint/no-redeclare`](./no-redeclare.md) | Disallow variable redeclaration |
|
|
143
|
-
| [`@typescript-eslint/no-restricted-imports`](./no-restricted-imports.md) | Disallow specified modules when loaded by `import` |
|
|
144
|
-
| [`@typescript-eslint/no-shadow`](./no-shadow.md) | Disallow variable declarations from shadowing variables declared in the outer scope |
|
|
145
|
-
| [`@typescript-eslint/no-throw-literal`](./no-throw-literal.md) | Disallow throwing literals as exceptions |
|
|
146
|
-
| [`@typescript-eslint/no-unused-expressions`](./no-unused-expressions.md) | Disallow unused expressions |
|
|
147
|
-
| [`@typescript-eslint/no-unused-vars`](./no-unused-vars.md) | Disallow unused variables | :white_check_mark:
|
|
148
|
-
| [`@typescript-eslint/no-use-before-define`](./no-use-before-define.md) | Disallow the use of variables before they are defined |
|
|
149
|
-
| [`@typescript-eslint/no-useless-constructor`](./no-useless-constructor.md) | Disallow unnecessary constructors |
|
|
150
|
-
| [`@typescript-eslint/object-curly-spacing`](./object-curly-spacing.md) | Enforce consistent spacing inside braces |
|
|
151
|
-
| [`@typescript-eslint/padding-line-between-statements`](./padding-line-between-statements.md) | require or disallow padding lines between statements |
|
|
152
|
-
| [`@typescript-eslint/quotes`](./quotes.md) | Enforce the consistent use of either backticks, double, or single quotes |
|
|
153
|
-
| [`@typescript-eslint/require-await`](./require-await.md) | Disallow async functions which have no `await` expression | :white_check_mark:
|
|
154
|
-
| [`@typescript-eslint/return-await`](./return-await.md) | Enforces consistent returning of awaited values |
|
|
155
|
-
| [`@typescript-eslint/semi`](./semi.md) | Require or disallow semicolons instead of ASI |
|
|
156
|
-
| [`@typescript-eslint/space-before-
|
|
157
|
-
| [`@typescript-eslint/space-
|
|
119
|
+
| Name | Description | :white_check_mark::lock: | :wrench: | :thought_balloon: |
|
|
120
|
+
| -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ------------------------ | -------- | ----------------- |
|
|
121
|
+
| [`@typescript-eslint/brace-style`](./brace-style.md) | Enforce consistent brace style for blocks | | :wrench: | |
|
|
122
|
+
| [`@typescript-eslint/comma-dangle`](./comma-dangle.md) | Require or disallow trailing comma | | :wrench: | |
|
|
123
|
+
| [`@typescript-eslint/comma-spacing`](./comma-spacing.md) | Enforces consistent spacing before and after commas | | :wrench: | |
|
|
124
|
+
| [`@typescript-eslint/default-param-last`](./default-param-last.md) | Enforce default parameters to be last | | | |
|
|
125
|
+
| [`@typescript-eslint/dot-notation`](./dot-notation.md) | enforce dot notation whenever possible | :lock: | :wrench: | :thought_balloon: |
|
|
126
|
+
| [`@typescript-eslint/func-call-spacing`](./func-call-spacing.md) | Require or disallow spacing between function identifiers and their invocations | | :wrench: | |
|
|
127
|
+
| [`@typescript-eslint/indent`](./indent.md) | Enforce consistent indentation | | :wrench: | |
|
|
128
|
+
| [`@typescript-eslint/init-declarations`](./init-declarations.md) | require or disallow initialization in variable declarations | | | |
|
|
129
|
+
| [`@typescript-eslint/keyword-spacing`](./keyword-spacing.md) | Enforce consistent spacing before and after keywords | | :wrench: | |
|
|
130
|
+
| [`@typescript-eslint/lines-between-class-members`](./lines-between-class-members.md) | Require or disallow an empty line between class members | | :wrench: | |
|
|
131
|
+
| [`@typescript-eslint/no-array-constructor`](./no-array-constructor.md) | Disallow generic `Array` constructors | :white_check_mark: | :wrench: | |
|
|
132
|
+
| [`@typescript-eslint/no-dupe-class-members`](./no-dupe-class-members.md) | Disallow duplicate class members | | | |
|
|
133
|
+
| [`@typescript-eslint/no-duplicate-imports`](./no-duplicate-imports.md) | Disallow duplicate imports | | | |
|
|
134
|
+
| [`@typescript-eslint/no-empty-function`](./no-empty-function.md) | Disallow empty functions | :white_check_mark: | | |
|
|
135
|
+
| [`@typescript-eslint/no-extra-parens`](./no-extra-parens.md) | Disallow unnecessary parentheses | | :wrench: | |
|
|
136
|
+
| [`@typescript-eslint/no-extra-semi`](./no-extra-semi.md) | Disallow unnecessary semicolons | :white_check_mark: | :wrench: | |
|
|
137
|
+
| [`@typescript-eslint/no-implied-eval`](./no-implied-eval.md) | Disallow the use of `eval()`-like methods | :white_check_mark: | | :thought_balloon: |
|
|
138
|
+
| [`@typescript-eslint/no-invalid-this`](./no-invalid-this.md) | Disallow `this` keywords outside of classes or class-like objects | | | |
|
|
139
|
+
| [`@typescript-eslint/no-loop-func`](./no-loop-func.md) | Disallow function declarations that contain unsafe references inside loop statements | | | |
|
|
140
|
+
| [`@typescript-eslint/no-loss-of-precision`](./no-loss-of-precision.md) | Disallow literal numbers that lose precision | :white_check_mark: | | |
|
|
141
|
+
| [`@typescript-eslint/no-magic-numbers`](./no-magic-numbers.md) | Disallow magic numbers | | | |
|
|
142
|
+
| [`@typescript-eslint/no-redeclare`](./no-redeclare.md) | Disallow variable redeclaration | | | |
|
|
143
|
+
| [`@typescript-eslint/no-restricted-imports`](./no-restricted-imports.md) | Disallow specified modules when loaded by `import` | | | |
|
|
144
|
+
| [`@typescript-eslint/no-shadow`](./no-shadow.md) | Disallow variable declarations from shadowing variables declared in the outer scope | | | |
|
|
145
|
+
| [`@typescript-eslint/no-throw-literal`](./no-throw-literal.md) | Disallow throwing literals as exceptions | :lock: | | :thought_balloon: |
|
|
146
|
+
| [`@typescript-eslint/no-unused-expressions`](./no-unused-expressions.md) | Disallow unused expressions | | | |
|
|
147
|
+
| [`@typescript-eslint/no-unused-vars`](./no-unused-vars.md) | Disallow unused variables | :white_check_mark: | | |
|
|
148
|
+
| [`@typescript-eslint/no-use-before-define`](./no-use-before-define.md) | Disallow the use of variables before they are defined | | | |
|
|
149
|
+
| [`@typescript-eslint/no-useless-constructor`](./no-useless-constructor.md) | Disallow unnecessary constructors | :lock: | | |
|
|
150
|
+
| [`@typescript-eslint/object-curly-spacing`](./object-curly-spacing.md) | Enforce consistent spacing inside braces | | :wrench: | |
|
|
151
|
+
| [`@typescript-eslint/padding-line-between-statements`](./padding-line-between-statements.md) | require or disallow padding lines between statements | | :wrench: | |
|
|
152
|
+
| [`@typescript-eslint/quotes`](./quotes.md) | Enforce the consistent use of either backticks, double, or single quotes | | :wrench: | |
|
|
153
|
+
| [`@typescript-eslint/require-await`](./require-await.md) | Disallow async functions which have no `await` expression | :white_check_mark: | | :thought_balloon: |
|
|
154
|
+
| [`@typescript-eslint/return-await`](./return-await.md) | Enforces consistent returning of awaited values | | :wrench: | :thought_balloon: |
|
|
155
|
+
| [`@typescript-eslint/semi`](./semi.md) | Require or disallow semicolons instead of ASI | | :wrench: | |
|
|
156
|
+
| [`@typescript-eslint/space-before-blocks`](./space-before-blocks.md) | Enforces consistent spacing before blocks | | :wrench: | |
|
|
157
|
+
| [`@typescript-eslint/space-before-function-paren`](./space-before-function-paren.md) | Enforces consistent spacing before function parenthesis | | :wrench: | |
|
|
158
|
+
| [`@typescript-eslint/space-infix-ops`](./space-infix-ops.md) | This rule is aimed at ensuring there are spaces around infix operators. | | :wrench: | |
|
|
158
159
|
|
|
159
160
|
<!-- end extension rule list -->
|
|
@@ -22,6 +22,8 @@ To fill out: tell us more about this rule.
|
|
|
22
22
|
|
|
23
23
|
## Options
|
|
24
24
|
|
|
25
|
+
This rule is not configurable.
|
|
26
|
+
|
|
25
27
|
```jsonc
|
|
26
28
|
// .eslintrc.json
|
|
27
29
|
{
|
|
@@ -52,6 +54,8 @@ For example if this rule requires a feature released in a certain TS version.
|
|
|
52
54
|
|
|
53
55
|
## Attributes
|
|
54
56
|
|
|
55
|
-
-
|
|
57
|
+
- Configs:
|
|
58
|
+
- [ ] ✅ Recommended
|
|
59
|
+
- [ ] 🔒 Strict
|
|
56
60
|
- [ ] 🔧 Fixable
|
|
57
61
|
- [ ] 💭 Requires type information
|
|
@@ -30,12 +30,27 @@ someCode(); // tslint:disable-line
|
|
|
30
30
|
someCode(); // This is a comment that just happens to mention tslint
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
+
## Options
|
|
34
|
+
|
|
35
|
+
```jsonc
|
|
36
|
+
// .eslintrc.json
|
|
37
|
+
{
|
|
38
|
+
"rules": {
|
|
39
|
+
"@typescript-eslint/ban-tslint-comment": "warn"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
This rule is not configurable.
|
|
45
|
+
|
|
33
46
|
## When Not To Use It
|
|
34
47
|
|
|
35
48
|
If you are still using TSLint.
|
|
36
49
|
|
|
37
50
|
## Attributes
|
|
38
51
|
|
|
39
|
-
-
|
|
52
|
+
- Configs:
|
|
53
|
+
- [ ] ✅ Recommended
|
|
54
|
+
- [x] 🔒 Strict
|
|
40
55
|
- [x] 🔧 Fixable
|
|
41
56
|
- [ ] 💭 Requires type information
|
|
@@ -105,6 +105,10 @@ const defaultTypes = {
|
|
|
105
105
|
message: 'Use symbol instead',
|
|
106
106
|
fixWith: 'symbol',
|
|
107
107
|
},
|
|
108
|
+
BigInt: {
|
|
109
|
+
message: 'Use bigint instead',
|
|
110
|
+
fixWith: 'bigint',
|
|
111
|
+
},
|
|
108
112
|
|
|
109
113
|
Function: {
|
|
110
114
|
message: [
|
|
@@ -149,6 +153,7 @@ const str: String = 'foo';
|
|
|
149
153
|
const bool: Boolean = true;
|
|
150
154
|
const num: Number = 1;
|
|
151
155
|
const symb: Symbol = Symbol('foo');
|
|
156
|
+
const bigInt: BigInt = 1n;
|
|
152
157
|
|
|
153
158
|
// use a proper function type
|
|
154
159
|
const func: Function = () => 1;
|
|
@@ -169,6 +174,7 @@ const str: string = 'foo';
|
|
|
169
174
|
const bool: boolean = true;
|
|
170
175
|
const num: number = 1;
|
|
171
176
|
const symb: symbol = Symbol('foo');
|
|
177
|
+
const bigInt: bigint = 1n;
|
|
172
178
|
|
|
173
179
|
// use a proper function type
|
|
174
180
|
const func: () => number = () => 1;
|
|
@@ -189,6 +195,8 @@ const curly2: Record<'a', string> = { a: 'string' };
|
|
|
189
195
|
|
|
190
196
|
## Attributes
|
|
191
197
|
|
|
192
|
-
-
|
|
198
|
+
- Configs:
|
|
199
|
+
- [x] ✅ Recommended
|
|
200
|
+
- [x] 🔒 Strict
|
|
193
201
|
- [x] 🔧 Fixable
|
|
194
202
|
- [ ] 💭 Requires type information
|
|
@@ -31,7 +31,7 @@ This rule has a string option and an object option.
|
|
|
31
31
|
- `"generics"` is for trailing comma in generic. (e.g. `function foo<T,>() {}`)
|
|
32
32
|
- `"tuples"` is for trailing comma in tuple. (e.g. `type Foo = [string,]`)
|
|
33
33
|
|
|
34
|
-
- [See the other options allowed](https://
|
|
34
|
+
- [See the other options allowed](https://eslint.org/docs/rules/comma-dangle#options)
|
|
35
35
|
|
|
36
36
|
<sup>
|
|
37
37
|
|
|
@@ -41,6 +41,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
|
|
|
41
41
|
|
|
42
42
|
## Attributes
|
|
43
43
|
|
|
44
|
-
-
|
|
44
|
+
- Configs:
|
|
45
|
+
- [ ] ✅ Recommended
|
|
46
|
+
- [ ] 🔒 Strict
|
|
45
47
|
- [x] 🔧 Fixable
|
|
46
48
|
- [ ] 💭 Requires type information
|