xo 0.47.0 → 0.50.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 +27 -24
- package/lib/constants.js +6 -6
- package/lib/options-manager.js +5 -5
- 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 +134 -133
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +7 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +45 -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 +47 -36
- 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 +6 -2
- 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 +61 -56
- 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 +9 -5
- 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 +23 -15
- 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 +12 -8
- 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 +10 -6
- 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 +4 -4
- 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 +31 -10
- 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 +23 -19
- 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 +34 -31
- 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 +93 -44
- 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 +67 -43
- 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 +7 -3
- 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 +12 -8
- 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 +14 -6
- 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 +26 -7
- 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 +22 -18
- 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 -7
- 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 +20 -16
- 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 +11 -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 +12 -8
- 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 +23 -7
- 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 +21 -17
- 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 +9 -5
- 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 +25 -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 +21 -17
- 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 +37 -33
- 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 +26 -22
- 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 +266 -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 +13 -8
- 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 +11 -7
- 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 +9 -5
- 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 +9 -5
- 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 +8 -4
- 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 +30 -25
- 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 +37 -7
- 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 +26 -22
- 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 +9 -5
- 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 +41 -7
- 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 +14 -10
- 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 +31 -10
- 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 +16 -14
- 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 +30 -27
- 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 +6 -2
- 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 +13 -9
- 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 +14 -10
- 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 +21 -14
- 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 +31 -10
- 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 +80 -62
- 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 +9 -5
- 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 +6 -2
- 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 +26 -21
- 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 +80 -75
- 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 +10 -10
- 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 +9 -5
- 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 +18 -14
- 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 +90 -40
- 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 +18 -14
- 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 +20 -11
- 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 +9 -5
- 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 +12 -8
- 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 +22 -22
- 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 +9 -5
- 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 +15 -11
- 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 +6 -2
- 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 +54 -14
- 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 +8 -4
- 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 +29 -13
- 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 +47 -42
- 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 +11 -7
- 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 +27 -10
- 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 +26 -8
- 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 +6 -2
- 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 +9 -5
- 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 +61 -42
- 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 +33 -29
- 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 +64 -35
- 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 -44
- 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 +59 -9
- 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 +132 -133
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +53 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +21 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +17 -15
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +23 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +20 -14
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +23 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +48 -29
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +44 -36
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +20 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +29 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +19 -13
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +87 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +3 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +11 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +59 -21
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +6 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +36 -22
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +10 -8
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +9 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +582 -449
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +18 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +10 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +11 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +7 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +20 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +8 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +56 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +11 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +30 -19
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +26 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +10 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +8 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +16 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +265 -33
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +27 -16
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +23 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +13 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +13 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +51 -49
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +13 -13
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +31 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +11 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +17 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +164 -43
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +32 -16
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +22 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +22 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +22 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +52 -24
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +92 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +23 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +18 -18
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +5 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +28 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +21 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +22 -14
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +11 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +23 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +22 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +11 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +22 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +27 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +25 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +23 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +23 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +25 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +13 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +12 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +52 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +23 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +22 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +488 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +24 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +22 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +23 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +22 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +19 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +17 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +17 -8
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +3 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +29 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +34 -18
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +20 -16
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +19 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +16 -13
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +24 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +16 -13
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +22 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +8 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +15 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +61 -19
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +18 -16
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +22 -14
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +9 -9
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +54 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +7 -7
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +10 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +25 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +20 -8
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +34 -18
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +52 -24
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +10 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +58 -16
- package/node_modules/@typescript-eslint/eslint-plugin/index.d.ts +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/package.json +15 -11
- package/node_modules/@typescript-eslint/parser/README.md +25 -13
- package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/parser/dist/parser.js +6 -10
- package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
- package/node_modules/@typescript-eslint/parser/package.json +8 -9
- 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 +9 -9
- 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 +11 -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 +226 -240
- 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 +4 -12
- 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.date.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
- 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 +5 -2
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
- 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 +4 -12
- 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 +9 -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 +20 -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 +111 -79
- 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/Referencer.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +11 -2
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/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 +13 -14
- 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/_ts3.4/dist/containsAllTypesByName.d.ts +8 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getConstrainedTypeAtLocation.d.ts +6 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getContextualType.d.ts +8 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getDeclaration.d.ts +6 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getSourceFileOfNode.d.ts +6 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTokenAtPosition.d.ts +3 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeArguments.d.ts +3 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeName.d.ts +8 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/index.d.ts +15 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isTypeReadonly.d.ts +20 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isUnsafeAssignment.d.ts +17 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/predicates.d.ts +52 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/propertyTypes.d.ts +4 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/requiresQuoting.d.ts +4 -0
- package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/typeFlagUtils.d.ts +11 -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 +80 -34
- 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} +391 -48
- 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 -1
- 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 +31 -4
- package/node_modules/@typescript-eslint/typescript-estree/README.md +4 -4
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +6 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +31 -14
- 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.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +7 -2
- 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/createProjectProgram.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +34 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +7 -3
- 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/getScriptKind.d.ts +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +72 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +1 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +14 -25
- 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.d.ts +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +6 -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 +2 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +12 -5
- 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 +2 -1
- 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 +4 -0
- 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 +10 -11
- 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/utils/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +48 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +76 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils/_ts3.4}/dist/ast-utils/eslint-utils/astUtilities.d.ts +76 -76
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/index.d.ts +6 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/predicates.d.ts +32 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +18 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/helpers.d.ts +47 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/index.d.ts +5 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/misc.d.ts +8 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/predicates.d.ts +180 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/InferTypesFromRule.d.ts +11 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +35 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleTester.d.ts +18 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/applyDefault.d.ts +10 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/batchedSingleLineTests.d.ts +24 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/deepMerge.d.ts +17 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/getParserServices.d.ts +8 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/index.d.ts +9 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/nullThrows.d.ts +14 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/index.d.ts +8 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/json-schema.d.ts +2 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/AST.d.ts +9 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/CLIEngine.d.ts +137 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ESLint.d.ts +376 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Linter.d.ts +326 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ParserOptions.d.ts +2 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Rule.d.ts +389 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +154 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Scope.d.ts +44 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/SourceCode.d.ts +342 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/index.d.ts +10 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils/_ts3.4}/dist/ts-eslint-scope/Definition.d.ts +19 -19
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Options.d.ts +15 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/PatternVisitor.d.ts +25 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils/_ts3.4}/dist/ts-eslint-scope/Reference.d.ts +28 -28
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Referencer.d.ts +55 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Scope.d.ts +103 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/ScopeManager.d.ts +50 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Variable.d.ts +17 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/analyze.d.ts +16 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/index.d.ts +11 -0
- package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-estree.d.ts +3 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +2 -2
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +1 -1
- 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/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +76 -0
- 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/utils/dist/ast-utils/helpers.js.map +1 -0
- 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 +8 -8
- 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/{experimental-utils → utils}/dist/eslint-utils/RuleCreator.d.ts +8 -8
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/RuleCreator.js +0 -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 +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/applyDefault.js +2 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +1 -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 +3 -3
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/CLIEngine.d.ts.map +1 -1
- 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 +2 -2
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Linter.d.ts.map +1 -1
- 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 +11 -12
- 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/utils/dist/ts-eslint-scope/Definition.d.ts +19 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Definition.d.ts.map +1 -1
- 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/utils/dist/ts-eslint-scope/Reference.d.ts +28 -0
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Reference.d.ts.map +1 -1
- 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 +1 -1
- package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/analyze.d.ts.map +1 -1
- 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 +11 -11
- 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 +12 -5
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
- package/node_modules/@typescript-eslint/visitor-keys/package.json +6 -6
- 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 +2 -2
- package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +20 -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 +9 -0
- package/node_modules/eslint-visitor-keys/package.json +11 -4
- 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 +28 -27
- package/readme.md +17 -1
- 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/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/helpers.js.map +0 -1
- 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.map +0 -1
- 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/eslint-utils/applyDefault.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/types/dist/ast-spec.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/ast-spec.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/LICENSE-MIT +0 -21
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.d.ts +0 -63
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/package.json +0 -71
- package/node_modules/micromatch/CHANGELOG.md +0 -109
- package/node_modules/semver/CHANGELOG.md +0 -111
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `method-signature-style`
|
|
2
|
+
|
|
3
|
+
Enforces using a particular method signature syntax.
|
|
2
4
|
|
|
3
5
|
There are two ways to define an object/interface function property.
|
|
4
6
|
|
|
@@ -32,9 +34,13 @@ This rule accepts one string option:
|
|
|
32
34
|
|
|
33
35
|
The default is `"property"`.
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
### `property`
|
|
38
|
+
|
|
39
|
+
Examples of code with `property` option.
|
|
36
40
|
|
|
37
|
-
|
|
41
|
+
<!--tabs-->
|
|
42
|
+
|
|
43
|
+
#### ❌ Incorrect
|
|
38
44
|
|
|
39
45
|
```ts
|
|
40
46
|
interface T1 {
|
|
@@ -50,7 +56,7 @@ interface T3 {
|
|
|
50
56
|
}
|
|
51
57
|
```
|
|
52
58
|
|
|
53
|
-
|
|
59
|
+
#### ✅ Correct
|
|
54
60
|
|
|
55
61
|
```ts
|
|
56
62
|
interface T1 {
|
|
@@ -67,7 +73,13 @@ interface T3 {
|
|
|
67
73
|
}
|
|
68
74
|
```
|
|
69
75
|
|
|
70
|
-
|
|
76
|
+
### `method`
|
|
77
|
+
|
|
78
|
+
Examples of code with `method` option.
|
|
79
|
+
|
|
80
|
+
<!--tabs-->
|
|
81
|
+
|
|
82
|
+
#### ❌ Incorrect
|
|
71
83
|
|
|
72
84
|
```ts
|
|
73
85
|
interface T1 {
|
|
@@ -78,7 +90,7 @@ type T2 = {
|
|
|
78
90
|
};
|
|
79
91
|
```
|
|
80
92
|
|
|
81
|
-
|
|
93
|
+
#### ✅ Correct
|
|
82
94
|
|
|
83
95
|
```ts
|
|
84
96
|
interface T1 {
|
|
@@ -92,9 +104,3 @@ type T2 = {
|
|
|
92
104
|
## When Not To Use It
|
|
93
105
|
|
|
94
106
|
If you don't want to enforce a particular style for object/interface function types, and/or if you don't use `strictFunctionTypes`, then you don't need this rule.
|
|
95
|
-
|
|
96
|
-
## Attributes
|
|
97
|
-
|
|
98
|
-
- [ ] ✅ Recommended
|
|
99
|
-
- [x] 🔧 Fixable
|
|
100
|
-
- [ ] 💭 Requires type information
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `naming-convention`
|
|
2
|
+
|
|
3
|
+
Enforces naming conventions for everything across a codebase.
|
|
2
4
|
|
|
3
5
|
Enforcing naming conventions helps keep the codebase consistent, and reduces overhead when thinking about how to name a variable.
|
|
4
6
|
Additionally, a well-designed style guide can help communicate intent, such as by enforcing all private properties begin with an `_`, and all global-level constants are written in `UPPER_CASE`.
|
|
@@ -9,7 +11,11 @@ There are many different rules that have existed over time, but they have had th
|
|
|
9
11
|
|
|
10
12
|
This rule allows you to enforce conventions for any identifier, using granular selectors to create a fine-grained style guide.
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
:::note
|
|
15
|
+
|
|
16
|
+
This rule only needs type information in specific cases, detailed below.
|
|
17
|
+
|
|
18
|
+
:::
|
|
13
19
|
|
|
14
20
|
## Options
|
|
15
21
|
|
|
@@ -105,7 +111,7 @@ The `format` option defines the allowed formats for the identifier. This option
|
|
|
105
111
|
Instead of an array, you may also pass `null`. This signifies "this selector shall not have its format checked".
|
|
106
112
|
This can be useful if you want to enforce no particular format for a specific selector, after applying a group selector.
|
|
107
113
|
|
|
108
|
-
|
|
114
|
+
#### `custom`
|
|
109
115
|
|
|
110
116
|
The `custom` option defines a custom regex that the identifier must (or must not) match. This option allows you to have a bit more finer-grained control over identifiers, letting you ban (or force) certain patterns and substrings.
|
|
111
117
|
Accepts an object with the following properties:
|
|
@@ -113,7 +119,7 @@ Accepts an object with the following properties:
|
|
|
113
119
|
- `regex` - a string that is then passed into RegExp to create a new regular expression: `new RegExp(regex)`
|
|
114
120
|
- `match` - true if the identifier _must_ match the `regex`, false if the identifier _must not_ match the `regex`.
|
|
115
121
|
|
|
116
|
-
|
|
122
|
+
#### `filter`
|
|
117
123
|
|
|
118
124
|
The `filter` option operates similar to `custom`, accepting the same shaped object, except that it controls if the rest of the configuration should or should not be applied to an identifier.
|
|
119
125
|
|
|
@@ -694,9 +700,3 @@ You can use the `destructured` modifier to match these names, and explicitly set
|
|
|
694
700
|
## When Not To Use It
|
|
695
701
|
|
|
696
702
|
If you do not want to enforce naming conventions for anything.
|
|
697
|
-
|
|
698
|
-
## Attributes
|
|
699
|
-
|
|
700
|
-
- [ ] ✅ Recommended
|
|
701
|
-
- [ ] 🔧 Fixable
|
|
702
|
-
- [x] 💭 Requires type information
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `no-array-constructor`
|
|
2
|
+
|
|
3
|
+
Disallows generic `Array` constructors.
|
|
2
4
|
|
|
3
5
|
## Rule Details
|
|
4
6
|
|
|
5
7
|
This rule extends the base [`eslint/no-array-constructor`](https://eslint.org/docs/rules/no-array-constructor) rule.
|
|
6
8
|
It adds support for the generically typed `Array` constructor (`new Array<Foo>()`).
|
|
7
9
|
|
|
8
|
-
|
|
10
|
+
<!--tabs-->
|
|
11
|
+
|
|
12
|
+
### ❌ Incorrect
|
|
9
13
|
|
|
10
14
|
```ts
|
|
11
15
|
/*eslint no-array-constructor: "error"*/
|
|
@@ -14,7 +18,7 @@ Array(0, 1, 2);
|
|
|
14
18
|
new Array(0, 1, 2);
|
|
15
19
|
```
|
|
16
20
|
|
|
17
|
-
|
|
21
|
+
### ✅ Correct
|
|
18
22
|
|
|
19
23
|
```ts
|
|
20
24
|
/*eslint no-array-constructor: "error"*/
|
|
@@ -26,7 +30,7 @@ Array(500);
|
|
|
26
30
|
new Array(someOtherArray.length);
|
|
27
31
|
```
|
|
28
32
|
|
|
29
|
-
## How to
|
|
33
|
+
## How to Use
|
|
30
34
|
|
|
31
35
|
```jsonc
|
|
32
36
|
{
|
|
@@ -40,10 +44,8 @@ new Array(someOtherArray.length);
|
|
|
40
44
|
|
|
41
45
|
See [`eslint/no-array-constructor` options](https://eslint.org/docs/rules/no-array-constructor#options).
|
|
42
46
|
|
|
43
|
-
<sup>
|
|
47
|
+
<sup>
|
|
44
48
|
|
|
45
|
-
|
|
49
|
+
Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-array-constructor.md)
|
|
46
50
|
|
|
47
|
-
|
|
48
|
-
- [x] 🔧 Fixable
|
|
49
|
-
- [ ] 💭 Requires type information
|
|
51
|
+
</sup>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `no-base-to-string`
|
|
2
|
+
|
|
3
|
+
Requires `.toString()` to only be called on objects which provide useful information when stringified.
|
|
2
4
|
|
|
3
5
|
JavaScript will call `toString()` on an object when it is converted to a string, such as when `+` adding to a string or in `${}` template literals.
|
|
4
6
|
|
|
@@ -13,7 +15,9 @@ This rule has some overlap with [`restrict-plus-operands`](./restrict-plus-opera
|
|
|
13
15
|
|
|
14
16
|
This rule prevents accidentally defaulting to the base Object `.toString()` method.
|
|
15
17
|
|
|
16
|
-
|
|
18
|
+
<!--tabs-->
|
|
19
|
+
|
|
20
|
+
### ❌ Incorrect
|
|
17
21
|
|
|
18
22
|
```ts
|
|
19
23
|
// Passing an object or class instance to string concatenation:
|
|
@@ -28,7 +32,7 @@ value + '';
|
|
|
28
32
|
({}.toString());
|
|
29
33
|
```
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
### ✅ Correct
|
|
32
36
|
|
|
33
37
|
```ts
|
|
34
38
|
// These types all have useful .toString()s
|
|
@@ -85,9 +89,3 @@ let text = `${value}`;
|
|
|
85
89
|
If you don't mind `"[object Object]"` in your strings, then you will not need this rule.
|
|
86
90
|
|
|
87
91
|
- [`Object.prototype.toString()` MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toString)
|
|
88
|
-
|
|
89
|
-
## Attributes
|
|
90
|
-
|
|
91
|
-
- [ ] ✅ Recommended
|
|
92
|
-
- [ ] 🔧 Fixable
|
|
93
|
-
- [x] 💭 Requires type information
|
package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `no-confusing-non-null-assertion`
|
|
2
|
+
|
|
3
|
+
Disallows non-null assertion in locations that may be confusing.
|
|
2
4
|
|
|
3
5
|
## Rule Details
|
|
4
6
|
|
|
@@ -10,7 +12,9 @@ a !== b; // not equals test(`!==`)
|
|
|
10
12
|
a! === b; // a non-null assertions(`!`) and an triple equals test(`===`)
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
<!--tabs-->
|
|
16
|
+
|
|
17
|
+
### ❌ Incorrect
|
|
14
18
|
|
|
15
19
|
```ts
|
|
16
20
|
interface Foo {
|
|
@@ -23,7 +27,7 @@ const isEqualsBar = foo.bar! == 'hello';
|
|
|
23
27
|
const isEqualsNum = 1 + foo.num! == 2;
|
|
24
28
|
```
|
|
25
29
|
|
|
26
|
-
|
|
30
|
+
### ✅ Correct
|
|
27
31
|
|
|
28
32
|
<!-- prettier-ignore -->
|
|
29
33
|
```ts
|
|
@@ -37,6 +41,19 @@ const isEqualsBar = foo.bar == 'hello';
|
|
|
37
41
|
const isEqualsNum = (1 + foo.num!) == 2;
|
|
38
42
|
```
|
|
39
43
|
|
|
44
|
+
## Options
|
|
45
|
+
|
|
46
|
+
```jsonc
|
|
47
|
+
// .eslintrc.json
|
|
48
|
+
{
|
|
49
|
+
"rules": {
|
|
50
|
+
"@typescript-eslint/no-confusing-non-null-assertion": "warn"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
This rule is not configurable.
|
|
56
|
+
|
|
40
57
|
## When Not To Use It
|
|
41
58
|
|
|
42
59
|
If you don't care about this confusion, then you will not need this rule.
|
|
@@ -44,9 +61,3 @@ If you don't care about this confusion, then you will not need this rule.
|
|
|
44
61
|
## Further Reading
|
|
45
62
|
|
|
46
63
|
- [`Issue: Easy misunderstanding: "! ==="`](https://github.com/microsoft/TypeScript/issues/37837) in [TypeScript repo](https://github.com/microsoft/TypeScript)
|
|
47
|
-
|
|
48
|
-
## Attributes
|
|
49
|
-
|
|
50
|
-
- [ ] ✅ Recommended
|
|
51
|
-
- [x] 🔧 Fixable
|
|
52
|
-
- [ ] 💭 Requires type information
|
package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `no-confusing-void-expression`
|
|
2
|
+
|
|
3
|
+
Requires expressions of type void to appear in statement position.
|
|
2
4
|
|
|
3
5
|
Returning the results of an expression whose type is void can be misleading.
|
|
4
6
|
Attempting to do so is likely a symptom of expecting a different return type from a function.
|
|
@@ -9,7 +11,9 @@ This rule provides automatic fixes for most common cases.
|
|
|
9
11
|
|
|
10
12
|
## Examples
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
<!--tabs-->
|
|
15
|
+
|
|
16
|
+
### ❌ Incorrect
|
|
13
17
|
|
|
14
18
|
```ts
|
|
15
19
|
// somebody forgot that `alert` doesn't return anything
|
|
@@ -29,7 +33,7 @@ function doSomething() {
|
|
|
29
33
|
}
|
|
30
34
|
```
|
|
31
35
|
|
|
32
|
-
|
|
36
|
+
### ✅ Correct
|
|
33
37
|
|
|
34
38
|
```ts
|
|
35
39
|
// just a regular void function in a statement position
|
|
@@ -144,12 +148,6 @@ The return type of a function can be inspected by going to its definition or hov
|
|
|
144
148
|
If you don't care about being explicit about the void type in actual code then don't use this rule.
|
|
145
149
|
Also, if you prefer concise coding style then also don't use it.
|
|
146
150
|
|
|
147
|
-
## Related
|
|
151
|
+
## Related To
|
|
148
152
|
|
|
149
153
|
- TSLint: ['no-void-expression'](https://palantir.github.io/tslint/rules/no-void-expression/)
|
|
150
|
-
|
|
151
|
-
## Attributes
|
|
152
|
-
|
|
153
|
-
- [ ] ✅ Recommended
|
|
154
|
-
- [x] 🔧 Fixable
|
|
155
|
-
- [x] 💭 Requires type information
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `no-dupe-class-members`
|
|
2
|
+
|
|
3
|
+
Disallows duplicate class members.
|
|
2
4
|
|
|
3
5
|
## Rule Details
|
|
4
6
|
|
|
5
7
|
This rule extends the base [`eslint/no-dupe-class-members`](https://eslint.org/docs/rules/no-dupe-class-members) rule.
|
|
6
8
|
It adds support for TypeScript's method overload definitions.
|
|
7
9
|
|
|
8
|
-
## How to
|
|
10
|
+
## How to Use
|
|
9
11
|
|
|
10
12
|
```jsonc
|
|
11
13
|
{
|
|
@@ -19,10 +21,8 @@ It adds support for TypeScript's method overload definitions.
|
|
|
19
21
|
|
|
20
22
|
See [`eslint/no-dupe-class-members` options](https://eslint.org/docs/rules/no-dupe-class-members#options).
|
|
21
23
|
|
|
22
|
-
<sup>
|
|
24
|
+
<sup>
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-dupe-class-members.md)
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
- [ ] 🔧 Fixable
|
|
28
|
-
- [ ] 💭 Requires type information
|
|
28
|
+
</sup>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# `no-duplicate-enum-values`
|
|
2
|
+
|
|
3
|
+
Disallows duplicate enum member values.
|
|
4
|
+
|
|
5
|
+
Although TypeScript supports duplicate enum member values, people usually expect members to have unique values within the same enum. Duplicate values can lead to bugs that are hard to track down.
|
|
6
|
+
|
|
7
|
+
## Rule Details
|
|
8
|
+
|
|
9
|
+
This rule disallows defining an enum with multiple members initialized to the same value. Now it only enforces on enum members initialized with String or Number literals. Members without initializer or initialized with an expression are not checked by this rule.
|
|
10
|
+
|
|
11
|
+
<!--tabs-->
|
|
12
|
+
|
|
13
|
+
### ❌ Incorrect
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
enum E {
|
|
17
|
+
A = 0,
|
|
18
|
+
B = 0,
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
enum E {
|
|
24
|
+
A = 'A'
|
|
25
|
+
B = 'A'
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### ✅ Correct
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
enum E {
|
|
33
|
+
A = 0,
|
|
34
|
+
B = 1,
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
```ts
|
|
39
|
+
enum E {
|
|
40
|
+
A = 'A'
|
|
41
|
+
B = 'B'
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Options
|
|
46
|
+
|
|
47
|
+
```jsonc
|
|
48
|
+
// .eslintrc.json
|
|
49
|
+
{
|
|
50
|
+
"rules": {
|
|
51
|
+
"@typescript-eslint/no-duplicate-enum-values": "warn"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
This rule is not configurable.
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `no-duplicate-imports`
|
|
2
|
+
|
|
3
|
+
Disallows duplicate imports.
|
|
4
|
+
|
|
5
|
+
## DEPRECATED
|
|
6
|
+
|
|
7
|
+
This rule has been deprecated in favour of the [`import/no-duplicates`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-duplicates.md) rule.
|
|
2
8
|
|
|
3
9
|
## Rule Details
|
|
4
10
|
|
|
5
11
|
This rule extends the base [`eslint/no-duplicate-imports`](https://eslint.org/docs/rules/no-duplicate-imports) rule.
|
|
6
12
|
This version adds support for type-only import and export.
|
|
7
13
|
|
|
8
|
-
## How to
|
|
14
|
+
## How to Use
|
|
9
15
|
|
|
10
16
|
```jsonc
|
|
11
17
|
{
|
|
@@ -19,10 +25,8 @@ This version adds support for type-only import and export.
|
|
|
19
25
|
|
|
20
26
|
See [`eslint/no-duplicate-imports` options](https://eslint.org/docs/rules/no-duplicate-imports#options).
|
|
21
27
|
|
|
22
|
-
<sup>
|
|
28
|
+
<sup>
|
|
23
29
|
|
|
24
|
-
|
|
30
|
+
Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-duplicate-imports.md)
|
|
25
31
|
|
|
26
|
-
|
|
27
|
-
- [ ] 🔧 Fixable
|
|
28
|
-
- [ ] 💭 Requires type information
|
|
32
|
+
</sup>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `no-dynamic-delete`
|
|
2
|
+
|
|
3
|
+
Disallows using the `delete` operator on computed key expressions.
|
|
2
4
|
|
|
3
5
|
Deleting dynamically computed keys can be dangerous and in some cases not well optimized.
|
|
4
6
|
|
|
@@ -8,7 +10,22 @@ Using the `delete` operator on keys that aren't runtime constants could be a sig
|
|
|
8
10
|
Using `Object`s with added and removed keys can cause occasional edge case bugs, such as if a key is named `"hasOwnProperty"`.
|
|
9
11
|
Consider using a `Map` or `Set` if you’re storing collections of objects.
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
<!--tabs-->
|
|
14
|
+
|
|
15
|
+
### ❌ Incorrect
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
// Can be replaced with the constant equivalents, such as container.aaa
|
|
19
|
+
delete container['aaa'];
|
|
20
|
+
delete container['Infinity'];
|
|
21
|
+
|
|
22
|
+
// Dynamic, difficult-to-reason-about lookups
|
|
23
|
+
const name = 'name';
|
|
24
|
+
delete container[name];
|
|
25
|
+
delete container[name.toUpperCase()];
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### ✅ Correct
|
|
12
29
|
|
|
13
30
|
```ts
|
|
14
31
|
const container: { [i: string]: number } = {
|
|
@@ -23,19 +40,19 @@ delete container[7];
|
|
|
23
40
|
delete container['-Infinity'];
|
|
24
41
|
```
|
|
25
42
|
|
|
26
|
-
|
|
43
|
+
## Options
|
|
27
44
|
|
|
28
|
-
```
|
|
29
|
-
//
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
delete container[name];
|
|
36
|
-
delete container[name.toUpperCase()];
|
|
45
|
+
```jsonc
|
|
46
|
+
// .eslintrc.json
|
|
47
|
+
{
|
|
48
|
+
"rules": {
|
|
49
|
+
"@typescript-eslint/no-dynamic-delete": "warn"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
37
52
|
```
|
|
38
53
|
|
|
54
|
+
This rule is not configurable.
|
|
55
|
+
|
|
39
56
|
## When Not To Use It
|
|
40
57
|
|
|
41
58
|
When you know your keys are safe to delete, this rule can be unnecessary.
|
|
@@ -44,12 +61,6 @@ Some environments such as older browsers might not support `Map` and `Set`.
|
|
|
44
61
|
Do not consider this rule as performance advice before profiling your code's bottlenecks.
|
|
45
62
|
Even repeated minor performance slowdowns likely do not significantly affect your application's general perceived speed.
|
|
46
63
|
|
|
47
|
-
## Related
|
|
64
|
+
## Related To
|
|
48
65
|
|
|
49
66
|
- TSLint: [no-dynamic-delete](https://palantir.github.io/tslint/rules/no-dynamic-delete)
|
|
50
|
-
|
|
51
|
-
## Attributes
|
|
52
|
-
|
|
53
|
-
- [ ] ✅ Recommended
|
|
54
|
-
- [x] 🔧 Fixable
|
|
55
|
-
- [ ] 💭 Requires type information
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `no-empty-function`
|
|
2
|
+
|
|
3
|
+
Disallows empty functions.
|
|
2
4
|
|
|
3
5
|
## Rule Details
|
|
4
6
|
|
|
@@ -7,7 +9,7 @@ It adds support for handling TypeScript specific code that would otherwise trigg
|
|
|
7
9
|
|
|
8
10
|
One example of valid TypeScript specific code that would otherwise trigger the `no-empty-function` rule is the use of [parameter properties](https://www.typescriptlang.org/docs/handbook/classes.html#parameter-properties) in constructor functions.
|
|
9
11
|
|
|
10
|
-
## How to
|
|
12
|
+
## How to Use
|
|
11
13
|
|
|
12
14
|
```jsonc
|
|
13
15
|
{
|
|
@@ -26,7 +28,8 @@ This rule adds the following options:
|
|
|
26
28
|
type AdditionalAllowOptionEntries =
|
|
27
29
|
| 'private-constructors'
|
|
28
30
|
| 'protected-constructors'
|
|
29
|
-
| 'decoratedFunctions'
|
|
31
|
+
| 'decoratedFunctions'
|
|
32
|
+
| 'overrideMethods';
|
|
30
33
|
|
|
31
34
|
type AllowOptionEntries =
|
|
32
35
|
| BaseNoEmptyFunctionAllowOptionEntries
|
|
@@ -75,7 +78,23 @@ class Foo {
|
|
|
75
78
|
}
|
|
76
79
|
```
|
|
77
80
|
|
|
78
|
-
|
|
81
|
+
### allow: `overrideMethods`
|
|
82
|
+
|
|
83
|
+
Examples of correct code for the `{ "allow": ["overrideMethods"] }` option:
|
|
84
|
+
|
|
85
|
+
```ts
|
|
86
|
+
abstract class Base {
|
|
87
|
+
protected greet(): void {
|
|
88
|
+
console.log('Hello!');
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
class Foo extends Base {
|
|
93
|
+
protected override greet(): void {}
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## How to Use
|
|
79
98
|
|
|
80
99
|
```jsonc
|
|
81
100
|
{
|
|
@@ -85,12 +104,8 @@ class Foo {
|
|
|
85
104
|
}
|
|
86
105
|
```
|
|
87
106
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-empty-function.md)</sup>
|
|
107
|
+
<sup>
|
|
91
108
|
|
|
92
|
-
|
|
109
|
+
Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-empty-function.md)
|
|
93
110
|
|
|
94
|
-
|
|
95
|
-
- [ ] 🔧 Fixable
|
|
96
|
-
- [ ] 💭 Requires type information
|
|
111
|
+
</sup>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `no-empty-interface`
|
|
2
|
+
|
|
3
|
+
Disallows the declaration of empty interfaces.
|
|
2
4
|
|
|
3
5
|
An empty interface is equivalent to its supertype. If the interface does not implement a supertype, then
|
|
4
6
|
the interface is equivalent to an empty object (`{}`). In both cases it can be omitted.
|
|
@@ -7,7 +9,9 @@ the interface is equivalent to an empty object (`{}`). In both cases it can be o
|
|
|
7
9
|
|
|
8
10
|
This rule aims to ensure that only meaningful interfaces are declared in the code.
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
<!--tabs-->
|
|
13
|
+
|
|
14
|
+
### ❌ Incorrect
|
|
11
15
|
|
|
12
16
|
```ts
|
|
13
17
|
// an empty interface
|
|
@@ -20,7 +24,7 @@ interface Bar extends Foo {}
|
|
|
20
24
|
interface Baz {}
|
|
21
25
|
```
|
|
22
26
|
|
|
23
|
-
|
|
27
|
+
### ✅ Correct
|
|
24
28
|
|
|
25
29
|
```ts
|
|
26
30
|
// an interface with any number of members
|
|
@@ -38,6 +42,8 @@ interface Bar {
|
|
|
38
42
|
interface Baz extends Foo, Bar {}
|
|
39
43
|
```
|
|
40
44
|
|
|
45
|
+
<!--/tabs-->
|
|
46
|
+
|
|
41
47
|
### Options
|
|
42
48
|
|
|
43
49
|
This rule accepts a single object option with the following default configuration:
|
|
@@ -59,12 +65,6 @@ This rule accepts a single object option with the following default configuratio
|
|
|
59
65
|
|
|
60
66
|
If you don't care about having empty/meaningless interfaces, then you will not need this rule.
|
|
61
67
|
|
|
62
|
-
##
|
|
68
|
+
## Related To
|
|
63
69
|
|
|
64
70
|
- TSLint: [no-empty-interface](https://palantir.github.io/tslint/rules/no-empty-interface/)
|
|
65
|
-
|
|
66
|
-
## Attributes
|
|
67
|
-
|
|
68
|
-
- [x] ✅ Recommended
|
|
69
|
-
- [x] 🔧 Fixable
|
|
70
|
-
- [ ] 💭 Requires type information
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `no-explicit-any`
|
|
2
|
+
|
|
3
|
+
Disallows the `any` type.
|
|
2
4
|
|
|
3
5
|
Using the `any` type defeats the purpose of using TypeScript.
|
|
4
6
|
When `any` is used, all compiler type checks around that value are ignored.
|
|
@@ -11,7 +13,9 @@ TypeScript has a compiler flag for `--noImplicitAny` that will prevent
|
|
|
11
13
|
an `any` type from being implied by the compiler, but doesn't prevent
|
|
12
14
|
`any` from being explicitly used.
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
<!--tabs-->
|
|
17
|
+
|
|
18
|
+
### ❌ Incorrect
|
|
15
19
|
|
|
16
20
|
```ts
|
|
17
21
|
const age: any = 'seventeen';
|
|
@@ -49,7 +53,7 @@ function greet(param: Array<any>): string {}
|
|
|
49
53
|
function greet(param: Array<any>): Array<any> {}
|
|
50
54
|
```
|
|
51
55
|
|
|
52
|
-
|
|
56
|
+
### ✅ Correct
|
|
53
57
|
|
|
54
58
|
```ts
|
|
55
59
|
const age: number = 17;
|
|
@@ -176,12 +180,6 @@ and you want to be able to specify `any`.
|
|
|
176
180
|
|
|
177
181
|
- TypeScript [any type](https://www.typescriptlang.org/docs/handbook/basic-types.html#any)
|
|
178
182
|
|
|
179
|
-
##
|
|
183
|
+
## Related To
|
|
180
184
|
|
|
181
185
|
- TSLint: [no-any](https://palantir.github.io/tslint/rules/no-any/)
|
|
182
|
-
|
|
183
|
-
## Attributes
|
|
184
|
-
|
|
185
|
-
- [x] ✅ Recommended
|
|
186
|
-
- [x] 🔧 Fixable
|
|
187
|
-
- [ ] 💭 Requires type information
|