xo 0.46.4 → 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 +5 -7
- package/index.js +7 -1
- 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 +136 -132
- 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 +19 -15
- 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 +46 -35
- 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 +8 -4
- 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 +8 -4
- 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 +22 -14
- 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 +11 -7
- 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 +9 -5
- 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 +3 -3
- 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 +30 -9
- 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 +22 -18
- 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 +33 -30
- 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 +92 -43
- 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 +66 -42
- 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/default-param-last.js +5 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.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 +73 -5
- 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 +14 -7
- 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 +51 -86
- 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-new-do-not-use/index.js +161 -161
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/index.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +83 -79
- 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 +13 -5
- 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 +7 -3
- 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 +9 -5
- 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 +8 -4
- 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 +94 -60
- 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 +16 -9
- 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 +16 -10
- 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 +21 -17
- 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 +7 -3
- 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 +11 -6
- 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 +9 -5
- 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 +19 -15
- 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 +7 -3
- 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 +9 -10
- 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 +11 -7
- 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 +12 -6
- 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 +20 -16
- 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 +18 -14
- 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 +11 -3
- 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 +8 -4
- 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 +29 -21
- 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 +7 -3
- 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 +31 -18
- 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 +36 -32
- 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 +11 -7
- 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 +25 -21
- 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 +15 -11
- 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 +80 -35
- 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 +8 -4
- 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 +11 -7
- 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 +240 -30
- 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 +12 -7
- 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 +10 -6
- 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 +8 -4
- 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 +8 -4
- 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 +11 -5
- 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 +19 -15
- 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 +7 -3
- 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 +8 -5
- 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 +128 -22
- 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 +11 -7
- 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 +37 -11
- 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 +28 -24
- 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 +36 -6
- 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 +25 -21
- 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 +8 -4
- 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 +13 -9
- 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 +30 -9
- 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 +9 -7
- 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 +22 -19
- 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 +9 -5
- 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 +13 -9
- 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 +11 -7
- 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 +79 -48
- 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 +14 -10
- 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 +10 -6
- 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 +20 -13
- 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 +30 -9
- 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/object-curly-spacing.js +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +79 -61
- 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 +8 -4
- 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 +25 -20
- 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 +79 -74
- 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 +13 -9
- 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 +9 -9
- 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 +8 -4
- 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 +17 -13
- 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 +89 -39
- 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 +17 -13
- 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 +12 -8
- 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 +8 -4
- 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 +11 -7
- 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 +13 -9
- 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 +21 -21
- 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 +8 -4
- 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 +14 -10
- 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 +15 -11
- 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 +25 -12
- 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 +53 -13
- 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 +7 -3
- 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 +28 -12
- 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 +14 -10
- 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 +46 -41
- 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 +10 -6
- 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 +11 -4
- 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 +25 -7
- 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 +8 -4
- 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 +40 -23
- 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 +32 -28
- 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 +63 -34
- 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 +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +43 -63
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +2 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +59 -22
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +7 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +5 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.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/getThisExpression.js +5 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +30 -50
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +12 -9
- 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 +23 -8
- 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 +160 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +61 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +24 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +20 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +23 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +24 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +47 -31
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +13 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +28 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +32 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +22 -8
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +90 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +16 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +60 -14
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +7 -3
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +37 -17
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +15 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +41 -30
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +585 -444
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +21 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +13 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +16 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +10 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +23 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +11 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +12 -4
- 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 +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +33 -14
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +12 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +13 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +11 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +20 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +14 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +30 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +14 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +18 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +56 -46
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +16 -8
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +36 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +13 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +20 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +123 -47
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +35 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +25 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +25 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +25 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +55 -19
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +12 -4
- 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 +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +23 -15
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +8 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +33 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +8 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +25 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +14 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +14 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +30 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +28 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +28 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +18 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +17 -4
- 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 +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +25 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +13 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +15 -5
- 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 +27 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +25 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +25 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +22 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +20 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +20 -3
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +32 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +35 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +23 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +22 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +19 -8
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +27 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +19 -8
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +25 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +23 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +64 -14
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +21 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +25 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +12 -4
- 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 +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +13 -6
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +28 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +7 -3
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +37 -13
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +55 -19
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +13 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +61 -11
- package/node_modules/@typescript-eslint/eslint-plugin/index.d.ts +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/package.json +13 -9
- package/node_modules/@typescript-eslint/parser/README.md +12 -4
- 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 -7
- package/node_modules/@typescript-eslint/scope-manager/README.md +2 -2
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +8 -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 +7 -4
- 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 +197 -251
- 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 +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +4 -2
- 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 +5 -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 +7 -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 +16 -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 +6 -2
- 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 +101 -81
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +12 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +2 -2
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +1 -0
- 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 +14 -2
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.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 +3 -6
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.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/LICENSE +21 -0
- package/node_modules/@typescript-eslint/type-utils/README.md +15 -0
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts +8 -0
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +55 -0
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts +6 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +13 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts +8 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +70 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts +6 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +17 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts +6 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +38 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.d.ts +3 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +51 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts +3 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.js +13 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts +8 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +74 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/index.d.ts +15 -0
- package/node_modules/@typescript-eslint/type-utils/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/index.js +31 -0
- package/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts +20 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{eslint-plugin/dist/util → type-utils/dist}/isTypeReadonly.js +62 -15
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts +17 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +71 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +52 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +181 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts +4 -0
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{eslint-plugin/dist/util → type-utils/dist}/propertyTypes.js +15 -1
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts +4 -0
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{eslint-plugin/dist/util → type-utils/dist}/requiresQuoting.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts +11 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +52 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -0
- package/node_modules/@typescript-eslint/type-utils/package.json +70 -0
- package/node_modules/@typescript-eslint/types/README.md +1 -1
- package/node_modules/@typescript-eslint/types/dist/{ast-spec.d.ts → generated/ast-spec.d.ts} +24 -9
- 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} +1 -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/README.md +3 -3
- 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 +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +29 -5
- 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-options.d.ts +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +7 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.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/ts-estree/ts-nodes.d.ts +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.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/node_modules/globby/package.json +4 -4
- package/node_modules/@typescript-eslint/typescript-estree/package.json +8 -9
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/LICENSE +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/README.md +2 -12
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/PatternMatcher.js +5 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → 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 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/astUtilities.d.ts +2 -2
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → 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 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/index.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/index.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/index.js +5 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/index.js.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/predicates.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/predicates.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → 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 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → 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 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +47 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/helpers.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/helpers.js +3 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/helpers.js.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/index.d.ts +2 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/index.js +7 -2
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/misc.d.ts +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/misc.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/misc.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/misc.js.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/predicates.d.ts +14 -18
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/predicates.js +2 -6
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/InferTypesFromRule.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/InferTypesFromRule.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/InferTypesFromRule.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/InferTypesFromRule.js.map +0 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +35 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +47 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/RuleTester.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/RuleTester.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/RuleTester.js +18 -12
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/applyDefault.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/applyDefault.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/applyDefault.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/applyDefault.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/batchedSingleLineTests.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/batchedSingleLineTests.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/batchedSingleLineTests.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/batchedSingleLineTests.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/deepMerge.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/deepMerge.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/deepMerge.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/deepMerge.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/getParserServices.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/getParserServices.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/getParserServices.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/getParserServices.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/index.d.ts +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/index.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/index.js +6 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +14 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{eslint-plugin/dist/util → utils/dist/eslint-utils}/nullThrows.js +0 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/index.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/index.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/json-schema.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/json-schema.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/json-schema.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/json-schema.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/AST.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/AST.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/AST.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/AST.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/CLIEngine.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/CLIEngine.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/CLIEngine.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/CLIEngine.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ESLint.d.ts +42 -7
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ESLint.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ESLint.js.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Linter.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Linter.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Linter.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Linter.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ParserOptions.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ParserOptions.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ParserOptions.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ParserOptions.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Rule.d.ts +13 -14
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Rule.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Rule.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/RuleTester.d.ts +4 -2
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/RuleTester.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/RuleTester.js.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Scope.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Scope.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Scope.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/SourceCode.d.ts +0 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/SourceCode.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/SourceCode.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/SourceCode.js.map +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/index.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/index.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Definition.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Definition.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Definition.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Definition.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Options.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Options.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Options.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Options.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/PatternVisitor.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/PatternVisitor.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/PatternVisitor.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/PatternVisitor.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Reference.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Reference.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Reference.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Reference.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Referencer.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Referencer.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Referencer.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Referencer.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Scope.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Scope.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Scope.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Scope.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/ScopeManager.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/ScopeManager.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/ScopeManager.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/ScopeManager.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Variable.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Variable.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Variable.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Variable.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/analyze.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/analyze.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/analyze.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/analyze.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/index.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/index.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-estree.d.ts +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-estree.d.ts.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-estree.js +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-estree.js.map +0 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/package.json +9 -9
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +13 -5
- 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/{@typescript-eslint/typescript-estree/node_modules/array-union → array-union}/index.d.ts +0 -0
- package/node_modules/{@typescript-eslint/typescript-estree/node_modules/array-union → array-union}/index.js +0 -0
- package/node_modules/{@typescript-eslint/typescript-estree/node_modules/array-union → array-union}/license +0 -0
- package/node_modules/{@typescript-eslint/typescript-estree/node_modules/array-union → array-union}/package.json +0 -0
- package/node_modules/{@typescript-eslint/typescript-estree/node_modules/array-union → array-union}/readme.md +0 -0
- package/node_modules/debug/LICENSE +10 -9
- package/node_modules/debug/README.md +27 -1
- package/node_modules/debug/package.json +6 -6
- package/node_modules/debug/src/common.js +2 -2
- package/node_modules/eslint-config-xo-typescript/index.js +151 -97
- package/node_modules/eslint-config-xo-typescript/package.json +4 -5
- package/node_modules/eslint-config-xo-typescript/readme.md +3 -3
- package/node_modules/eslint-visitor-keys/README.md +5 -4
- package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +23 -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 +12 -0
- package/node_modules/eslint-visitor-keys/package.json +12 -5
- package/node_modules/fast-glob/README.md +1 -1
- package/node_modules/fast-glob/out/index.js +3 -2
- package/node_modules/fast-glob/out/managers/patterns.d.ts +6 -0
- package/node_modules/fast-glob/out/managers/patterns.js +21 -0
- package/node_modules/fast-glob/out/providers/filters/entry.d.ts +4 -0
- package/node_modules/fast-glob/out/providers/filters/entry.js +5 -1
- package/node_modules/fast-glob/out/utils/pattern.js +17 -5
- package/node_modules/fast-glob/package.json +2 -2
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/LICENSE-MIT +0 -0
- package/node_modules/{@typescript-eslint/typescript-estree/node_modules/ignore → ignore}/README.md +26 -6
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.d.ts +7 -9
- package/node_modules/{@typescript-eslint/typescript-estree/node_modules/ignore → ignore}/index.js +20 -11
- package/node_modules/{@typescript-eslint/typescript-estree/node_modules/ignore → ignore}/legacy.js +20 -14
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/package.json +1 -1
- 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/picomatch/CHANGELOG.md +10 -0
- package/node_modules/picomatch/README.md +4 -3
- package/node_modules/picomatch/lib/parse.js +8 -1
- package/node_modules/picomatch/package.json +1 -1
- 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 +29 -28
- package/readme.md +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/CHANGELOG.md +0 -2294
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeReadonly.js.map +0 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/nullThrows.js.map +0 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/propertyTypes.js.map +0 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/requiresQuoting.js.map +0 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js +0 -428
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js.map +0 -1
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/README.md +0 -392
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/index.js +0 -594
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/legacy.js +0 -492
- package/node_modules/@typescript-eslint/experimental-utils/CHANGELOG.md +0 -1269
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/eslint-utils/astUtilities.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/eslint-utils/predicates.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/helpers.d.ts +0 -18
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/index.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/predicates.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/predicates.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.d.ts +0 -13
- package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.js +0 -19
- package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleTester.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/index.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/ESLint.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/Rule.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/RuleTester.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/Scope.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/index.js.map +0 -1
- package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint-scope/index.js.map +0 -1
- package/node_modules/@typescript-eslint/parser/CHANGELOG.md +0 -1291
- package/node_modules/@typescript-eslint/scope-manager/CHANGELOG.md +0 -681
- package/node_modules/@typescript-eslint/types/CHANGELOG.md +0 -661
- 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/CHANGELOG.md +0 -1492
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/LICENSE-MIT +0 -21
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.d.ts +0 -63
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/package.json +0 -71
- package/node_modules/@typescript-eslint/visitor-keys/CHANGELOG.md +0 -630
- package/node_modules/eslint-visitor-keys/CHANGELOG.md +0 -42
- package/node_modules/micromatch/CHANGELOG.md +0 -109
- package/node_modules/semver/CHANGELOG.md +0 -111
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `space-infix-ops`
|
|
2
|
+
|
|
3
|
+
This rule is aimed at ensuring there are spaces around infix operators..
|
|
2
4
|
|
|
3
5
|
This rule extends the base [`eslint/space-infix-ops`](https://eslint.org/docs/rules/space-infix-ops) rule.
|
|
4
6
|
|
|
@@ -10,7 +12,7 @@ enum MyEnum {
|
|
|
10
12
|
}
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
## How to
|
|
15
|
+
## How to Use
|
|
14
16
|
|
|
15
17
|
```jsonc
|
|
16
18
|
{
|
|
@@ -23,10 +25,16 @@ enum MyEnum {
|
|
|
23
25
|
|
|
24
26
|
See [`eslint/space-infix-ops` options](https://eslint.org/docs/rules/space-infix-ops#options).
|
|
25
27
|
|
|
26
|
-
<sup>
|
|
28
|
+
<sup>
|
|
29
|
+
|
|
30
|
+
Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/space-infix-ops.md)
|
|
31
|
+
|
|
32
|
+
</sup>
|
|
27
33
|
|
|
28
34
|
## Attributes
|
|
29
35
|
|
|
30
|
-
-
|
|
36
|
+
- Configs:
|
|
37
|
+
- [ ] ✅ Recommended
|
|
38
|
+
- [ ] 🔒 Strict
|
|
31
39
|
- [x] 🔧 Fixable
|
|
32
40
|
- [ ] 💭 Requires type information
|
package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `strict-boolean-expressions`
|
|
2
|
+
|
|
3
|
+
Restricts the types allowed in boolean expressions.
|
|
2
4
|
|
|
3
5
|
Forbids usage of non-boolean types in expressions where a boolean is expected.
|
|
4
6
|
`boolean` and `never` types are always allowed.
|
|
@@ -15,7 +17,11 @@ The following nodes are considered boolean expressions and their type is checked
|
|
|
15
17
|
|
|
16
18
|
## Examples
|
|
17
19
|
|
|
18
|
-
Examples of
|
|
20
|
+
Examples of code for this rule:
|
|
21
|
+
|
|
22
|
+
<!--tabs-->
|
|
23
|
+
|
|
24
|
+
### ❌ Incorrect
|
|
19
25
|
|
|
20
26
|
```ts
|
|
21
27
|
// nullable numbers are considered unsafe by default
|
|
@@ -47,7 +53,7 @@ while (obj) {
|
|
|
47
53
|
}
|
|
48
54
|
```
|
|
49
55
|
|
|
50
|
-
|
|
56
|
+
### ✅ Correct
|
|
51
57
|
|
|
52
58
|
```tsx
|
|
53
59
|
// Using logical operator short-circuiting is allowed
|
|
@@ -155,7 +161,7 @@ You should be using `strictNullChecks` to ensure complete type-safety in your co
|
|
|
155
161
|
|
|
156
162
|
If for some reason you cannot turn on `strictNullChecks`, but still want to use this rule - you can use this option to allow it - but know that the behavior of this rule is _undefined_ with the compiler option turned off. We will not accept bug reports if you are using this option.
|
|
157
163
|
|
|
158
|
-
## Fixes and
|
|
164
|
+
## Fixes and Suggestions
|
|
159
165
|
|
|
160
166
|
This rule provides following fixes and suggestions for particular types in boolean context:
|
|
161
167
|
|
|
@@ -190,11 +196,12 @@ This rule provides following fixes and suggestions for particular types in boole
|
|
|
190
196
|
## Related To
|
|
191
197
|
|
|
192
198
|
- TSLint: [strict-boolean-expressions](https://palantir.github.io/tslint/rules/strict-boolean-expressions)
|
|
193
|
-
|
|
194
199
|
- [no-unnecessary-condition](./no-unnecessary-condition.md) - Similar rule which reports always-truthy and always-falsy values in conditions
|
|
195
200
|
|
|
196
201
|
## Attributes
|
|
197
202
|
|
|
198
|
-
-
|
|
203
|
+
- Configs:
|
|
204
|
+
- [ ] ✅ Recommended
|
|
205
|
+
- [ ] 🔒 Strict
|
|
199
206
|
- [x] 🔧 Fixable
|
|
200
207
|
- [x] 💭 Requires type information
|
package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `switch-exhaustiveness-check`
|
|
2
|
+
|
|
3
|
+
Exhaustiveness checking in switch with union type.
|
|
2
4
|
|
|
3
5
|
Union type may have a lot of parts. It's easy to forget to consider all cases in switch. This rule reminds which parts are missing. If domain of the problem requires to have only a partial switch, developer may _explicitly_ add a default clause.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
## Rule Details
|
|
8
|
+
|
|
9
|
+
Examples of code for this rule:
|
|
10
|
+
|
|
11
|
+
<!--tabs-->
|
|
12
|
+
|
|
13
|
+
### ❌ Incorrect
|
|
6
14
|
|
|
7
15
|
```ts
|
|
8
16
|
type Day =
|
|
@@ -25,7 +33,7 @@ switch (day) {
|
|
|
25
33
|
}
|
|
26
34
|
```
|
|
27
35
|
|
|
28
|
-
|
|
36
|
+
### ✅ Correct
|
|
29
37
|
|
|
30
38
|
```ts
|
|
31
39
|
type Day =
|
|
@@ -72,7 +80,7 @@ switch (day) {
|
|
|
72
80
|
}
|
|
73
81
|
```
|
|
74
82
|
|
|
75
|
-
|
|
83
|
+
### ✅ Correct
|
|
76
84
|
|
|
77
85
|
```ts
|
|
78
86
|
type Day =
|
|
@@ -98,12 +106,27 @@ switch (day) {
|
|
|
98
106
|
}
|
|
99
107
|
```
|
|
100
108
|
|
|
109
|
+
## Options
|
|
110
|
+
|
|
111
|
+
```jsonc
|
|
112
|
+
// .eslintrc.json
|
|
113
|
+
{
|
|
114
|
+
"rules": {
|
|
115
|
+
"@typescript-eslint/switch-exhaustiveness-check": "warn"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
This rule is not configurable.
|
|
121
|
+
|
|
101
122
|
## When Not To Use It
|
|
102
123
|
|
|
103
124
|
If program doesn't have union types with many parts. Downside of this rule is the need for type information, so it's slower than regular rules.
|
|
104
125
|
|
|
105
126
|
## Attributes
|
|
106
127
|
|
|
107
|
-
-
|
|
128
|
+
- Configs:
|
|
129
|
+
- [ ] ✅ Recommended
|
|
130
|
+
- [ ] 🔒 Strict
|
|
108
131
|
- [ ] 🔧 Fixable
|
|
109
132
|
- [x] 💭 Requires type information
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `triple-slash-reference`
|
|
2
|
+
|
|
3
|
+
Sets preference level for triple slash directives versus ES6-style import declarations.
|
|
2
4
|
|
|
3
5
|
Use of triple-slash reference type directives is discouraged in favor of the newer `import` style. This rule allows you to ban use of `/// <reference path="" />`, `/// <reference types="" />`, or `/// <reference lib="" />` directives.
|
|
4
6
|
|
|
@@ -50,13 +52,15 @@ If you want to ban use of one or all of the triple slash reference directives, o
|
|
|
50
52
|
|
|
51
53
|
If you want to use all flavors of triple slash reference directives.
|
|
52
54
|
|
|
53
|
-
##
|
|
55
|
+
## Related To
|
|
54
56
|
|
|
55
57
|
- TSLint: [no-reference](http://palantir.github.io/tslint/rules/no-reference/)
|
|
56
58
|
- TSLint: [no-reference-import](https://palantir.github.io/tslint/rules/no-reference-import/)
|
|
57
59
|
|
|
58
60
|
## Attributes
|
|
59
61
|
|
|
60
|
-
-
|
|
62
|
+
- Configs:
|
|
63
|
+
- [x] ✅ Recommended
|
|
64
|
+
- [x] 🔒 Strict
|
|
61
65
|
- [ ] 🔧 Fixable
|
|
62
66
|
- [ ] 💭 Requires type information
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `type-annotation-spacing`
|
|
2
|
+
|
|
3
|
+
Require consistent spacing around type annotations.
|
|
2
4
|
|
|
3
5
|
Spacing around type annotations improves readability of the code. Although the most commonly used style guideline for type annotations in TypeScript prescribes adding a space after the colon, but not before it, it is subjective to the preferences of a project. For example:
|
|
4
6
|
|
|
@@ -45,7 +47,11 @@ This rule has an object option:
|
|
|
45
47
|
|
|
46
48
|
### defaults
|
|
47
49
|
|
|
48
|
-
Examples of
|
|
50
|
+
Examples of code for this rule with no options at all:
|
|
51
|
+
|
|
52
|
+
<!--tabs-->
|
|
53
|
+
|
|
54
|
+
#### ❌ Incorrect
|
|
49
55
|
|
|
50
56
|
<!-- prettier-ignore -->
|
|
51
57
|
```ts
|
|
@@ -74,7 +80,7 @@ type Foo = () =>{};
|
|
|
74
80
|
type Foo = ()=> {};
|
|
75
81
|
```
|
|
76
82
|
|
|
77
|
-
|
|
83
|
+
#### ✅ Correct
|
|
78
84
|
|
|
79
85
|
<!-- prettier-ignore -->
|
|
80
86
|
```ts
|
|
@@ -91,7 +97,11 @@ type Foo = () => {};
|
|
|
91
97
|
|
|
92
98
|
### after
|
|
93
99
|
|
|
94
|
-
Examples of
|
|
100
|
+
Examples of code for this rule with `{ "before": false, "after": true }`:
|
|
101
|
+
|
|
102
|
+
<!--tabs-->
|
|
103
|
+
|
|
104
|
+
#### ❌ Incorrect
|
|
95
105
|
|
|
96
106
|
<!-- prettier-ignore -->
|
|
97
107
|
```ts
|
|
@@ -120,7 +130,7 @@ type Foo = () =>{};
|
|
|
120
130
|
type Foo = () => {};
|
|
121
131
|
```
|
|
122
132
|
|
|
123
|
-
|
|
133
|
+
#### ✅ Correct
|
|
124
134
|
|
|
125
135
|
<!-- prettier-ignore -->
|
|
126
136
|
```ts
|
|
@@ -137,7 +147,11 @@ type Foo = ()=> {};
|
|
|
137
147
|
|
|
138
148
|
### before
|
|
139
149
|
|
|
140
|
-
Examples of
|
|
150
|
+
Examples of code for this rule with `{ "before": true, "after": true }` options:
|
|
151
|
+
|
|
152
|
+
<!--tabs-->
|
|
153
|
+
|
|
154
|
+
#### ❌ Incorrect
|
|
141
155
|
|
|
142
156
|
<!-- prettier-ignore -->
|
|
143
157
|
```ts
|
|
@@ -166,7 +180,7 @@ type Foo = () =>{};
|
|
|
166
180
|
type Foo = ()=> {};
|
|
167
181
|
```
|
|
168
182
|
|
|
169
|
-
|
|
183
|
+
#### ✅ Correct
|
|
170
184
|
|
|
171
185
|
<!-- prettier-ignore -->
|
|
172
186
|
```ts
|
|
@@ -183,7 +197,11 @@ type Foo = () => {};
|
|
|
183
197
|
|
|
184
198
|
### overrides - colon
|
|
185
199
|
|
|
186
|
-
Examples of
|
|
200
|
+
Examples of code for this rule with `{ "before": false, "after": false, overrides: { colon: { before: true, after: true }} }` options:
|
|
201
|
+
|
|
202
|
+
<!--tabs-->
|
|
203
|
+
|
|
204
|
+
#### ❌ Incorrect
|
|
187
205
|
|
|
188
206
|
<!-- prettier-ignore -->
|
|
189
207
|
```ts
|
|
@@ -212,7 +230,7 @@ type Foo = ()=> {};
|
|
|
212
230
|
type Foo = () => {};
|
|
213
231
|
```
|
|
214
232
|
|
|
215
|
-
|
|
233
|
+
#### ✅ Correct
|
|
216
234
|
|
|
217
235
|
<!-- prettier-ignore -->
|
|
218
236
|
```ts
|
|
@@ -233,7 +251,11 @@ type Foo = ()=>{};
|
|
|
233
251
|
|
|
234
252
|
### overrides - arrow
|
|
235
253
|
|
|
236
|
-
Examples of
|
|
254
|
+
Examples of code for this rule with `{ "before": false, "after": false, overrides: { arrow: { before: true, after: true }} }` options:
|
|
255
|
+
|
|
256
|
+
<!--tabs-->
|
|
257
|
+
|
|
258
|
+
#### ❌ Incorrect
|
|
237
259
|
|
|
238
260
|
<!-- prettier-ignore -->
|
|
239
261
|
```ts
|
|
@@ -262,7 +284,7 @@ type Foo = () =>{};
|
|
|
262
284
|
type Foo = ()=> {};
|
|
263
285
|
```
|
|
264
286
|
|
|
265
|
-
|
|
287
|
+
#### ✅ Correct
|
|
266
288
|
|
|
267
289
|
<!-- prettier-ignore -->
|
|
268
290
|
```ts
|
|
@@ -286,12 +308,14 @@ If you don't want to enforce spacing for your type annotations, you can safely t
|
|
|
286
308
|
- [TypeScript Type System](https://basarat.gitbooks.io/typescript/docs/types/type-system.html)
|
|
287
309
|
- [Type Inference](https://www.typescriptlang.org/docs/handbook/type-inference.html)
|
|
288
310
|
|
|
289
|
-
##
|
|
311
|
+
## Related To
|
|
290
312
|
|
|
291
313
|
- TSLint: [`typedef-whitespace`](https://palantir.github.io/tslint/rules/typedef-whitespace/)
|
|
292
314
|
|
|
293
315
|
## Attributes
|
|
294
316
|
|
|
295
|
-
-
|
|
317
|
+
- Configs:
|
|
318
|
+
- [ ] ✅ Recommended
|
|
319
|
+
- [ ] 🔒 Strict
|
|
296
320
|
- [x] 🔧 Fixable
|
|
297
321
|
- [ ] 💭 Requires type information
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `typedef`
|
|
2
|
+
|
|
3
|
+
Requires type annotations to exist.
|
|
2
4
|
|
|
3
5
|
TypeScript cannot always infer types for all places in code.
|
|
4
6
|
Some locations require type annotations for their types to be inferred.
|
|
@@ -77,14 +79,18 @@ For example, with the following configuration:
|
|
|
77
79
|
|
|
78
80
|
Whether to enforce type annotations on variables declared using array destructuring.
|
|
79
81
|
|
|
80
|
-
Examples of
|
|
82
|
+
Examples of code with `{ "arrayDestructuring": true }`:
|
|
83
|
+
|
|
84
|
+
<!--tabs-->
|
|
85
|
+
|
|
86
|
+
#### ❌ Incorrect
|
|
81
87
|
|
|
82
88
|
```ts
|
|
83
89
|
const [a] = [1];
|
|
84
90
|
const [b, c] = [1, 2];
|
|
85
91
|
```
|
|
86
92
|
|
|
87
|
-
|
|
93
|
+
#### ✅ Correct
|
|
88
94
|
|
|
89
95
|
```ts
|
|
90
96
|
const [a]: number[] = [1];
|
|
@@ -99,7 +105,11 @@ for (const [key, val] of new Map([['key', 1]])) {
|
|
|
99
105
|
|
|
100
106
|
Whether to enforce type annotations for parameters of arrow functions.
|
|
101
107
|
|
|
102
|
-
Examples of
|
|
108
|
+
Examples of code with `{ "arrowParameter": true }`:
|
|
109
|
+
|
|
110
|
+
<!--tabs-->
|
|
111
|
+
|
|
112
|
+
#### ❌ Incorrect
|
|
103
113
|
|
|
104
114
|
```ts
|
|
105
115
|
const logsSize = size => console.log(size);
|
|
@@ -111,7 +121,7 @@ const mapper = {
|
|
|
111
121
|
};
|
|
112
122
|
```
|
|
113
123
|
|
|
114
|
-
|
|
124
|
+
#### ✅ Correct
|
|
115
125
|
|
|
116
126
|
```ts
|
|
117
127
|
const logsSize = (size: number) => console.log(size);
|
|
@@ -127,7 +137,11 @@ const mapper = {
|
|
|
127
137
|
|
|
128
138
|
Whether to enforce type annotations on member variables of classes.
|
|
129
139
|
|
|
130
|
-
Examples of
|
|
140
|
+
Examples of code with `{ "memberVariableDeclaration": true }`:
|
|
141
|
+
|
|
142
|
+
<!--tabs-->
|
|
143
|
+
|
|
144
|
+
#### ❌ Incorrect
|
|
131
145
|
|
|
132
146
|
```ts
|
|
133
147
|
class ContainsText {
|
|
@@ -136,7 +150,7 @@ class ContainsText {
|
|
|
136
150
|
}
|
|
137
151
|
```
|
|
138
152
|
|
|
139
|
-
|
|
153
|
+
#### ✅ Correct
|
|
140
154
|
|
|
141
155
|
```ts
|
|
142
156
|
class ContainsText {
|
|
@@ -149,14 +163,18 @@ class ContainsText {
|
|
|
149
163
|
|
|
150
164
|
Whether to enforce type annotations on variables declared using object destructuring.
|
|
151
165
|
|
|
152
|
-
Examples of
|
|
166
|
+
Examples of code with `{ "objectDestructuring": true }`:
|
|
167
|
+
|
|
168
|
+
<!--tabs-->
|
|
169
|
+
|
|
170
|
+
#### ❌ Incorrect
|
|
153
171
|
|
|
154
172
|
```ts
|
|
155
173
|
const { length } = 'text';
|
|
156
174
|
const [b, c] = Math.random() ? [1, 2] : [3, 4];
|
|
157
175
|
```
|
|
158
176
|
|
|
159
|
-
|
|
177
|
+
#### ✅ Correct
|
|
160
178
|
|
|
161
179
|
```ts
|
|
162
180
|
const { length }: { length: number } = 'text';
|
|
@@ -170,7 +188,11 @@ for (const { key, val } of [{ key: 'key', val: 1 }]) {
|
|
|
170
188
|
|
|
171
189
|
Whether to enforce type annotations for parameters of functions and methods.
|
|
172
190
|
|
|
173
|
-
Examples of
|
|
191
|
+
Examples of code with `{ "parameter": true }`:
|
|
192
|
+
|
|
193
|
+
<!--tabs-->
|
|
194
|
+
|
|
195
|
+
#### ❌ Incorrect
|
|
174
196
|
|
|
175
197
|
```ts
|
|
176
198
|
function logsSize(size): void {
|
|
@@ -198,7 +220,7 @@ class Logger {
|
|
|
198
220
|
}
|
|
199
221
|
```
|
|
200
222
|
|
|
201
|
-
|
|
223
|
+
#### ✅ Correct
|
|
202
224
|
|
|
203
225
|
```ts
|
|
204
226
|
function logsSize(size: number): void {
|
|
@@ -230,7 +252,11 @@ class Logger {
|
|
|
230
252
|
|
|
231
253
|
Whether to enforce type annotations for properties of interfaces and types.
|
|
232
254
|
|
|
233
|
-
Examples of
|
|
255
|
+
Examples of code with `{ "propertyDeclaration": true }`:
|
|
256
|
+
|
|
257
|
+
<!--tabs-->
|
|
258
|
+
|
|
259
|
+
#### ❌ Incorrect
|
|
234
260
|
|
|
235
261
|
```ts
|
|
236
262
|
type Members = {
|
|
@@ -239,7 +265,7 @@ type Members = {
|
|
|
239
265
|
};
|
|
240
266
|
```
|
|
241
267
|
|
|
242
|
-
|
|
268
|
+
#### ✅ Correct
|
|
243
269
|
|
|
244
270
|
```ts
|
|
245
271
|
type Members = {
|
|
@@ -252,7 +278,11 @@ type Members = {
|
|
|
252
278
|
|
|
253
279
|
Whether to enforce type annotations for variable declarations, excluding array and object destructuring.
|
|
254
280
|
|
|
255
|
-
Examples of
|
|
281
|
+
Examples of code with `{ "variableDeclaration": true }`:
|
|
282
|
+
|
|
283
|
+
<!--tabs-->
|
|
284
|
+
|
|
285
|
+
#### ❌ Incorrect
|
|
256
286
|
|
|
257
287
|
```ts
|
|
258
288
|
const text = 'text';
|
|
@@ -260,7 +290,7 @@ let initialText = 'text';
|
|
|
260
290
|
let delayedText;
|
|
261
291
|
```
|
|
262
292
|
|
|
263
|
-
|
|
293
|
+
#### ✅ Correct
|
|
264
294
|
|
|
265
295
|
```ts
|
|
266
296
|
const text: string = 'text';
|
|
@@ -272,13 +302,17 @@ let delayedText: string;
|
|
|
272
302
|
|
|
273
303
|
Ignore variable declarations for non-arrow and arrow functions.
|
|
274
304
|
|
|
275
|
-
Examples of
|
|
305
|
+
Examples of code with `{ "variableDeclaration": true, "variableDeclarationIgnoreFunction": true }`:
|
|
306
|
+
|
|
307
|
+
<!--tabs-->
|
|
308
|
+
|
|
309
|
+
#### ❌ Incorrect
|
|
276
310
|
|
|
277
311
|
```ts
|
|
278
312
|
const text = 'text';
|
|
279
313
|
```
|
|
280
314
|
|
|
281
|
-
|
|
315
|
+
#### ✅ Correct
|
|
282
316
|
|
|
283
317
|
```ts
|
|
284
318
|
const a = (): void => {};
|
|
@@ -303,12 +337,14 @@ In general, if you do not consider the cost of writing unnecessary type annotati
|
|
|
303
337
|
- [TypeScript Type System](https://basarat.gitbooks.io/typescript/docs/types/type-system.html)
|
|
304
338
|
- [Type Inference](https://www.typescriptlang.org/docs/handbook/type-inference.html)
|
|
305
339
|
|
|
306
|
-
##
|
|
340
|
+
## Related To
|
|
307
341
|
|
|
308
342
|
- TSLint: [`typedef`](https://palantir.github.io/tslint/rules/typedef)
|
|
309
343
|
|
|
310
344
|
## Attributes
|
|
311
345
|
|
|
312
|
-
-
|
|
346
|
+
- Configs:
|
|
347
|
+
- [ ] ✅ Recommended
|
|
348
|
+
- [ ] 🔒 Strict
|
|
313
349
|
- [ ] 🔧 Fixable
|
|
314
350
|
- [ ] 💭 Requires type information
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `unbound-method`
|
|
2
|
+
|
|
3
|
+
Enforces unbound methods are called with their expected scope.
|
|
2
4
|
|
|
3
5
|
Warns when a method is used outside of a method call.
|
|
4
6
|
|
|
@@ -10,7 +12,11 @@ If you're working with `jest`, you can use [`eslint-plugin-jest`'s version of th
|
|
|
10
12
|
|
|
11
13
|
## Rule Details
|
|
12
14
|
|
|
13
|
-
Examples of
|
|
15
|
+
Examples of code for this rule
|
|
16
|
+
|
|
17
|
+
<!--tabs-->
|
|
18
|
+
|
|
19
|
+
### ❌ Incorrect
|
|
14
20
|
|
|
15
21
|
```ts
|
|
16
22
|
class MyClass {
|
|
@@ -37,7 +43,7 @@ const arith = {
|
|
|
37
43
|
const { double } = arith;
|
|
38
44
|
```
|
|
39
45
|
|
|
40
|
-
|
|
46
|
+
### ✅ Correct
|
|
41
47
|
|
|
42
48
|
```ts
|
|
43
49
|
class MyClass {
|
|
@@ -90,7 +96,7 @@ const { log } = OtherClass;
|
|
|
90
96
|
log();
|
|
91
97
|
```
|
|
92
98
|
|
|
93
|
-
|
|
99
|
+
## Example
|
|
94
100
|
|
|
95
101
|
```json
|
|
96
102
|
{
|
|
@@ -115,6 +121,8 @@ If you're wanting to use `toBeCalled` and similar matches in `jest` tests, you c
|
|
|
115
121
|
|
|
116
122
|
## Attributes
|
|
117
123
|
|
|
118
|
-
-
|
|
124
|
+
- Configs:
|
|
125
|
+
- [x] ✅ Recommended
|
|
126
|
+
- [x] 🔒 Strict
|
|
119
127
|
- [ ] 🔧 Fixable
|
|
120
128
|
- [x] 💭 Requires type information
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `unified-signatures`
|
|
2
2
|
|
|
3
3
|
Warns for any two overloads that could be unified into one by using a union or an optional/rest parameter.
|
|
4
4
|
|
|
@@ -6,34 +6,84 @@ Warns for any two overloads that could be unified into one by using a union or a
|
|
|
6
6
|
|
|
7
7
|
This rule aims to keep the source code as maintainable as possible by reducing the amount of overloads.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## Options
|
|
10
10
|
|
|
11
11
|
```ts
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
type Options = {
|
|
13
|
+
ignoreDifferentlyNamedParameters?: boolean;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const defaultOptions: Options = {
|
|
17
|
+
ignoreDifferentlyNamedParameters: false,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
The rule accepts an options object with the following property:
|
|
22
|
+
|
|
23
|
+
- `ignoreDifferentlyNamedParameters`: whether two parameters with different names at the same index should be considered different even if their types are the same.
|
|
24
|
+
|
|
25
|
+
Examples of code for this rule with the default options:
|
|
26
|
+
|
|
27
|
+
<!--tabs-->
|
|
28
|
+
|
|
29
|
+
### ❌ Incorrect
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
function x(x: number): void;
|
|
33
|
+
function x(x: string): void;
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
function y(): void;
|
|
38
|
+
function y(...x: number[]): void;
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### ✅ Correct
|
|
42
|
+
|
|
43
|
+
```ts
|
|
44
|
+
function x(x: number | string): void;
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
function y(...x: number[]): void;
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Examples of code for this rule with `ignoreDifferentlyNamedParameters`:
|
|
52
|
+
|
|
53
|
+
<!--tabs-->
|
|
54
|
+
|
|
55
|
+
### ❌ Incorrect
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
function f(a: number): void;
|
|
59
|
+
function f(a: string): void;
|
|
14
60
|
```
|
|
15
61
|
|
|
16
62
|
```ts
|
|
17
|
-
f(): void;
|
|
18
|
-
f(...
|
|
63
|
+
function f(...a: number[]): void;
|
|
64
|
+
function f(...b: string[]): void;
|
|
19
65
|
```
|
|
20
66
|
|
|
21
|
-
|
|
67
|
+
### ✅ Correct
|
|
22
68
|
|
|
23
69
|
```ts
|
|
24
|
-
function f(
|
|
70
|
+
function f(a: number): void;
|
|
71
|
+
function f(b: string): void;
|
|
25
72
|
```
|
|
26
73
|
|
|
27
74
|
```ts
|
|
28
|
-
function f(
|
|
75
|
+
function f(...a: number[]): void;
|
|
76
|
+
function f(...a: string[]): void;
|
|
29
77
|
```
|
|
30
78
|
|
|
31
|
-
## Related
|
|
79
|
+
## Related To
|
|
32
80
|
|
|
33
81
|
- TSLint: [`unified-signatures`](https://palantir.github.io/tslint/rules/unified-signatures/)
|
|
34
82
|
|
|
35
83
|
## Attributes
|
|
36
84
|
|
|
37
|
-
-
|
|
85
|
+
- Configs:
|
|
86
|
+
- [ ] ✅ Recommended
|
|
87
|
+
- [x] 🔒 Strict
|
|
38
88
|
- [ ] 🔧 Fixable
|
|
39
89
|
- [ ] 💭 Requires type information
|