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,298 +1,59 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `member-ordering`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Requires a consistent member declaration order.
|
|
4
|
+
|
|
5
|
+
A consistent ordering of fields, methods and constructors can make interfaces, type literals, classes and class expressions easier to read, navigate, and edit.
|
|
4
6
|
|
|
5
7
|
## Rule Details
|
|
6
8
|
|
|
7
9
|
This rule aims to standardize the way class declarations, class expressions, interfaces and type literals are structured and ordered.
|
|
8
10
|
|
|
9
|
-
### Grouping and sorting member groups
|
|
10
|
-
|
|
11
|
-
It allows to group members by their type (e.g. `public-static-field`, `protected-static-field`, `private-static-field`, `public-instance-field`, ...) and enforce a certain order for these groups. By default, their order is the same inside `classes`, `classExpressions`, `interfaces` and `typeLiterals` (note: not all member types apply to `interfaces` and `typeLiterals`). It is possible to define the order for any of those individually or to change the default order for all of them by setting the `default` option.
|
|
12
|
-
|
|
13
|
-
### Sorting members
|
|
14
|
-
|
|
15
|
-
Besides grouping the members and sorting their groups, this rule also allows to sort the members themselves (e.g. `a`, `b`, `c`, ...). You have 2 options: Sort all of them while ignoring their type or sort them while respecting their types (e.g. sort all fields in an interface alphabetically).
|
|
16
|
-
|
|
17
11
|
## Options
|
|
18
12
|
|
|
19
|
-
These options allow to specify how to group the members and sort their groups.
|
|
20
|
-
|
|
21
|
-
- Sort groups, don't enforce member order: Use `memberTypes`
|
|
22
|
-
- Sort members, don't enforce group order: Use `order`
|
|
23
|
-
- Sort members within groups: Use `memberTypes` and `order`
|
|
24
|
-
|
|
25
13
|
```ts
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
order: 'alphabetically',
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
{
|
|
36
|
-
default?: TypeOptions<MemberTypes>,
|
|
37
|
-
|
|
38
|
-
classes?: TypeOptions<MemberTypes>,
|
|
39
|
-
classExpressions?: TypeOptions<MemberTypes>,
|
|
40
|
-
|
|
41
|
-
interfaces?: TypeOptions<'signature' | 'field' | 'method' | 'constructor'>,
|
|
42
|
-
typeLiterals?: TypeOptions<'signature' | 'field' | 'method' | 'constructor'>,
|
|
14
|
+
interface Options {
|
|
15
|
+
default?: OrderConfig;
|
|
16
|
+
classes?: OrderConfig;
|
|
17
|
+
classExpressions?: OrderConfig;
|
|
18
|
+
interfaces?: OrderConfig;
|
|
19
|
+
typeLiterals?: OrderConfig;
|
|
43
20
|
}
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
See below for the possible definitions of `MemberType`.
|
|
47
|
-
|
|
48
|
-
### Deprecated syntax
|
|
49
|
-
|
|
50
|
-
Note: There is a deprecated syntax to specify the member types as an array.
|
|
51
|
-
|
|
52
|
-
### Member types (granular form)
|
|
53
|
-
|
|
54
|
-
There are multiple ways to specify the member types. The most explicit and granular form is the following:
|
|
55
|
-
|
|
56
|
-
```jsonc
|
|
57
|
-
[
|
|
58
|
-
// Index signature
|
|
59
|
-
"signature",
|
|
60
|
-
|
|
61
|
-
// Fields
|
|
62
|
-
"public-static-field",
|
|
63
|
-
"protected-static-field",
|
|
64
|
-
"private-static-field",
|
|
65
|
-
"public-decorated-field",
|
|
66
|
-
"protected-decorated-field",
|
|
67
|
-
"private-decorated-field",
|
|
68
|
-
"public-instance-field",
|
|
69
|
-
"protected-instance-field",
|
|
70
|
-
"private-instance-field",
|
|
71
|
-
"public-abstract-field",
|
|
72
|
-
"protected-abstract-field",
|
|
73
|
-
"private-abstract-field",
|
|
74
|
-
|
|
75
|
-
// Constructors
|
|
76
|
-
"public-constructor",
|
|
77
|
-
"protected-constructor",
|
|
78
|
-
"private-constructor",
|
|
79
|
-
|
|
80
|
-
// Getters
|
|
81
|
-
"public-static-get",
|
|
82
|
-
"protected-static-get",
|
|
83
|
-
"private-static-get",
|
|
84
|
-
|
|
85
|
-
"public-decorated-get",
|
|
86
|
-
"protected-decorated-get",
|
|
87
|
-
"private-decorated-get",
|
|
88
|
-
|
|
89
|
-
"public-instance-get",
|
|
90
|
-
"protected-instance-get",
|
|
91
|
-
"private-instance-get",
|
|
92
|
-
|
|
93
|
-
"public-abstract-get",
|
|
94
|
-
"protected-abstract-get",
|
|
95
|
-
"private-abstract-get",
|
|
96
|
-
|
|
97
|
-
"public-get",
|
|
98
|
-
"protected-get",
|
|
99
|
-
"private-get",
|
|
100
|
-
|
|
101
|
-
"static-get",
|
|
102
|
-
"instance-get",
|
|
103
|
-
"abstract-get",
|
|
104
|
-
|
|
105
|
-
"decorated-get",
|
|
106
|
-
|
|
107
|
-
"get",
|
|
108
|
-
|
|
109
|
-
// Setters
|
|
110
|
-
"public-static-set",
|
|
111
|
-
"protected-static-set",
|
|
112
|
-
"private-static-set",
|
|
113
|
-
|
|
114
|
-
"public-decorated-set",
|
|
115
|
-
"protected-decorated-set",
|
|
116
|
-
"private-decorated-set",
|
|
117
|
-
|
|
118
|
-
"public-instance-set",
|
|
119
|
-
"protected-instance-set",
|
|
120
|
-
"private-instance-set",
|
|
121
|
-
|
|
122
|
-
"public-abstract-set",
|
|
123
|
-
"protected-abstract-set",
|
|
124
|
-
"private-abstract-set",
|
|
125
|
-
|
|
126
|
-
"public-set",
|
|
127
|
-
"protected-set",
|
|
128
|
-
"private-set",
|
|
129
|
-
|
|
130
|
-
"static-set",
|
|
131
|
-
"instance-set",
|
|
132
|
-
"abstract-set",
|
|
133
|
-
|
|
134
|
-
"decorated-set",
|
|
135
|
-
|
|
136
|
-
"set",
|
|
137
|
-
|
|
138
|
-
// Methods
|
|
139
|
-
"public-static-method",
|
|
140
|
-
"protected-static-method",
|
|
141
|
-
"private-static-method",
|
|
142
|
-
"public-decorated-method",
|
|
143
|
-
"protected-decorated-method",
|
|
144
|
-
"private-decorated-method",
|
|
145
|
-
"public-instance-method",
|
|
146
|
-
"protected-instance-method",
|
|
147
|
-
"private-instance-method",
|
|
148
|
-
"public-abstract-method",
|
|
149
|
-
"protected-abstract-method",
|
|
150
|
-
"private-abstract-method"
|
|
151
|
-
]
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
Note: If you only specify some of the possible types, the non-specified ones can have any particular order. This means that they can be placed before, within or after the specified types and the linter won't complain about it.
|
|
155
|
-
|
|
156
|
-
### Member group types (with accessibility, ignoring scope)
|
|
157
|
-
|
|
158
|
-
It is also possible to group member types by their accessibility (`static`, `instance`, `abstract`), ignoring their scope.
|
|
159
|
-
|
|
160
|
-
```jsonc
|
|
161
|
-
[
|
|
162
|
-
// Index signature
|
|
163
|
-
// No accessibility for index signature. See above.
|
|
164
|
-
|
|
165
|
-
// Fields
|
|
166
|
-
"public-field", // = ["public-static-field", "public-instance-field"]
|
|
167
|
-
"protected-field", // = ["protected-static-field", "protected-instance-field"]
|
|
168
|
-
"private-field", // = ["private-static-field", "private-instance-field"]
|
|
169
|
-
|
|
170
|
-
// Constructors
|
|
171
|
-
// Only the accessibility of constructors is configurable. See below.
|
|
172
|
-
|
|
173
|
-
// Getters
|
|
174
|
-
"public-get", // = ["public-static-get", "public-instance-get"]
|
|
175
|
-
"protected-get", // = ["protected-static-get", "protected-instance-get"]
|
|
176
|
-
"private-get", // = ["private-static-get", "private-instance-get"]
|
|
177
|
-
|
|
178
|
-
// Setters
|
|
179
|
-
"public-set", // = ["public-static-set", "public-instance-set"]
|
|
180
|
-
"protected-set", // = ["protected-static-set", "protected-instance-set"]
|
|
181
|
-
"private-set", // = ["private-static-set", "private-instance-set"]
|
|
182
|
-
|
|
183
|
-
// Methods
|
|
184
|
-
"public-method", // = ["public-static-method", "public-instance-method"]
|
|
185
|
-
"protected-method", // = ["protected-static-method", "protected-instance-method"]
|
|
186
|
-
"private-method" // = ["private-static-method", "private-instance-method"]
|
|
187
|
-
]
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
### Member group types (with accessibility and a decorator)
|
|
191
|
-
|
|
192
|
-
It is also possible to group methods or fields with a decorator separately, optionally specifying
|
|
193
|
-
their accessibility.
|
|
194
|
-
|
|
195
|
-
```jsonc
|
|
196
|
-
[
|
|
197
|
-
// Index signature
|
|
198
|
-
// No decorators for index signature.
|
|
199
|
-
|
|
200
|
-
// Fields
|
|
201
|
-
"public-decorated-field",
|
|
202
|
-
"protected-decorated-field",
|
|
203
|
-
"private-decorated-field",
|
|
204
|
-
|
|
205
|
-
"decorated-field", // = ["public-decorated-field", "protected-decorated-field", "private-decorated-field"]
|
|
206
|
-
|
|
207
|
-
// Constructors
|
|
208
|
-
// There are no decorators for constructors.
|
|
209
|
-
|
|
210
|
-
// Getters
|
|
211
|
-
"public-decorated-get",
|
|
212
|
-
"protected-decorated-get",
|
|
213
|
-
"private-decorated-get",
|
|
214
|
-
|
|
215
|
-
"decorated-get" // = ["public-decorated-get", "protected-decorated-get", "private-decorated-get"]
|
|
216
|
-
|
|
217
|
-
// Setters
|
|
218
|
-
"public-decorated-set",
|
|
219
|
-
"protected-decorated-set",
|
|
220
|
-
"private-decorated-set",
|
|
221
|
-
|
|
222
|
-
"decorated-set" // = ["public-decorated-set", "protected-decorated-set", "private-decorated-set"]
|
|
223
|
-
|
|
224
|
-
// Methods
|
|
225
|
-
"public-decorated-method",
|
|
226
|
-
"protected-decorated-method",
|
|
227
|
-
"private-decorated-method",
|
|
228
|
-
|
|
229
|
-
"decorated-method" // = ["public-decorated-method", "protected-decorated-method", "private-decorated-method"]
|
|
230
|
-
]
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
### Member group types (with scope, ignoring accessibility)
|
|
234
21
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
```jsonc
|
|
238
|
-
[
|
|
239
|
-
// Index signature
|
|
240
|
-
// No scope for index signature. See above.
|
|
241
|
-
|
|
242
|
-
// Fields
|
|
243
|
-
"static-field", // = ["public-static-field", "protected-static-field", "private-static-field"]
|
|
244
|
-
"instance-field", // = ["public-instance-field", "protected-instance-field", "private-instance-field"]
|
|
245
|
-
"abstract-field", // = ["public-abstract-field", "protected-abstract-field", "private-abstract-field"]
|
|
246
|
-
|
|
247
|
-
// Constructors
|
|
248
|
-
"constructor", // = ["public-constructor", "protected-constructor", "private-constructor"]
|
|
249
|
-
|
|
250
|
-
// Getters
|
|
251
|
-
"static-get", // = ["public-static-get", "protected-static-get", "private-static-get"]
|
|
252
|
-
"instance-get", // = ["public-instance-get", "protected-instance-get", "private-instance-get"]
|
|
253
|
-
"abstract-get" // = ["public-abstract-get", "protected-abstract-get", "private-abstract-get"]
|
|
22
|
+
type OrderConfig = MemberType[] | SortedOrderConfig | 'never';
|
|
254
23
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
24
|
+
interface SortedOrderConfig {
|
|
25
|
+
memberTypes?: MemberType[] | 'never';
|
|
26
|
+
order: 'alphabetically' | 'alphabetically-case-insensitive' | 'as-written';
|
|
27
|
+
}
|
|
259
28
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
"instance-method", // = ["public-instance-method", "protected-instance-method", "private-instance-method"]
|
|
263
|
-
"abstract-method" // = ["public-abstract-method", "protected-abstract-method", "private-abstract-method"]
|
|
264
|
-
]
|
|
29
|
+
// See below for the more specific MemberType strings
|
|
30
|
+
type MemberType = string | string[];
|
|
265
31
|
```
|
|
266
32
|
|
|
267
|
-
|
|
33
|
+
You can configure `OrderConfig` options for:
|
|
268
34
|
|
|
269
|
-
|
|
35
|
+
- **`default`**: all constructs (used as a fallback)
|
|
36
|
+
- **`classes`**?: override ordering specifically for classes
|
|
37
|
+
- **`classExpressions`**?: override ordering specifically for class expressions
|
|
38
|
+
- **`interfaces`**?: override ordering specifically for interfaces
|
|
39
|
+
- **`typeLiterals`**?: override ordering specifically for type literals
|
|
270
40
|
|
|
271
|
-
|
|
272
|
-
[
|
|
273
|
-
// Index signature
|
|
274
|
-
// No grouping for index signature. See above.
|
|
41
|
+
The `OrderConfig` settings for each kind of construct may configure sorting on one or both two levels:
|
|
275
42
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
// "public-abstract-field", "protected-abstract-field", private-abstract-field"]
|
|
43
|
+
- **`memberType`**: organizing on member type groups such as methods vs. properties
|
|
44
|
+
- **`order`**: organizing based on member names, such as alphabetically
|
|
279
45
|
|
|
280
|
-
|
|
281
|
-
// Only the accessibility of constructors is configurable. See above.
|
|
46
|
+
### Groups
|
|
282
47
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
// "public-abstract-get", "protected-abstract-get", "private-abstract-get"]
|
|
48
|
+
You can define many different groups based on different attributes of members.
|
|
49
|
+
The supported member attributes are, in order:
|
|
286
50
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
51
|
+
- **Accessibility** (`'public' | 'protected' | 'private'`)
|
|
52
|
+
- **Decoration** (`'decorated'`): Whether the member has an explicit accessibility decorator
|
|
53
|
+
- **Kind** (`'call-signature' | 'constructor' | 'field' | 'get' | 'method' | 'set' | 'signature'`)
|
|
290
54
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
// "public-abstract-method", "protected-abstract-method", "private-abstract-method"]
|
|
294
|
-
]
|
|
295
|
-
```
|
|
55
|
+
Member attributes may be joined with a `'-'` to combine into more specific groups.
|
|
56
|
+
For example, `'public-field'` would come before `'private-field'`.
|
|
296
57
|
|
|
297
58
|
### Default configuration
|
|
298
59
|
|
|
@@ -430,19 +191,39 @@ The default configuration looks as follows:
|
|
|
430
191
|
}
|
|
431
192
|
```
|
|
432
193
|
|
|
433
|
-
|
|
194
|
+
:::note
|
|
195
|
+
The default configuration contains member group types which contain other member types.
|
|
196
|
+
This is intentional to provide better error messages.
|
|
197
|
+
:::
|
|
434
198
|
|
|
435
|
-
|
|
199
|
+
:::tip
|
|
200
|
+
By default, the members are not sorted.
|
|
201
|
+
If you want to sort them alphabetically, you have to provide a custom configuration.
|
|
202
|
+
:::
|
|
436
203
|
|
|
437
204
|
## Examples
|
|
438
205
|
|
|
439
|
-
###
|
|
206
|
+
### General Order on All Constructs
|
|
207
|
+
|
|
208
|
+
This config specifies the order for all constructs.
|
|
209
|
+
It ignores member types other than signatures, methods, constructors, and fields.
|
|
210
|
+
It also ignores accessibility and scope.
|
|
440
211
|
|
|
441
|
-
|
|
212
|
+
```jsonc
|
|
213
|
+
// .eslintrc.json
|
|
214
|
+
{
|
|
215
|
+
"rules": {
|
|
216
|
+
"@typescript-eslint/member-ordering": [
|
|
217
|
+
"error",
|
|
218
|
+
{ "default": ["signature", "method", "constructor", "field"] }
|
|
219
|
+
]
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
```
|
|
442
223
|
|
|
443
|
-
|
|
224
|
+
<!--tabs-->
|
|
444
225
|
|
|
445
|
-
|
|
226
|
+
#### ❌ Incorrect
|
|
446
227
|
|
|
447
228
|
```ts
|
|
448
229
|
interface Foo {
|
|
@@ -456,8 +237,6 @@ interface Foo {
|
|
|
456
237
|
}
|
|
457
238
|
```
|
|
458
239
|
|
|
459
|
-
Note: Wrong order.
|
|
460
|
-
|
|
461
240
|
```ts
|
|
462
241
|
type Foo = {
|
|
463
242
|
B: string; // -> field
|
|
@@ -470,8 +249,6 @@ type Foo = {
|
|
|
470
249
|
};
|
|
471
250
|
```
|
|
472
251
|
|
|
473
|
-
Note: Not all specified member types have to exist.
|
|
474
|
-
|
|
475
252
|
```ts
|
|
476
253
|
class Foo {
|
|
477
254
|
private C: string; // -> field
|
|
@@ -487,8 +264,6 @@ class Foo {
|
|
|
487
264
|
}
|
|
488
265
|
```
|
|
489
266
|
|
|
490
|
-
Note: Accessibility or scope are ignored with this configuration.
|
|
491
|
-
|
|
492
267
|
```ts
|
|
493
268
|
const Foo = class {
|
|
494
269
|
private C: string; // -> field
|
|
@@ -505,9 +280,7 @@ const Foo = class {
|
|
|
505
280
|
};
|
|
506
281
|
```
|
|
507
282
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
##### Correct examples
|
|
283
|
+
#### ✅ Correct
|
|
511
284
|
|
|
512
285
|
```ts
|
|
513
286
|
interface Foo {
|
|
@@ -563,19 +336,37 @@ const Foo = class {
|
|
|
563
336
|
};
|
|
564
337
|
```
|
|
565
338
|
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
Note: This configuration does not apply to interfaces/type literals as accessibility and scope are not part of interfaces/type literals.
|
|
339
|
+
### Classes
|
|
569
340
|
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
```ts
|
|
573
|
-
class Foo {
|
|
574
|
-
private C: string; // (irrelevant)
|
|
341
|
+
#### Public Instance Methods Before Public Static Fields
|
|
575
342
|
|
|
576
|
-
|
|
343
|
+
This config specifies that public instance methods should come first before public static fields.
|
|
344
|
+
Everything else can be placed anywhere.
|
|
345
|
+
It doesn't apply to interfaces or type literals as accessibility and scope are not part of them.
|
|
577
346
|
|
|
578
|
-
|
|
347
|
+
```jsonc
|
|
348
|
+
// .eslintrc.json
|
|
349
|
+
{
|
|
350
|
+
"rules": {
|
|
351
|
+
"@typescript-eslint/member-ordering": [
|
|
352
|
+
"error",
|
|
353
|
+
{ "default": ["public-instance-method", "public-static-field"] }
|
|
354
|
+
]
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
<!--tabs-->
|
|
360
|
+
|
|
361
|
+
##### ❌ Incorrect
|
|
362
|
+
|
|
363
|
+
```ts
|
|
364
|
+
class Foo {
|
|
365
|
+
private C: string; // (irrelevant)
|
|
366
|
+
|
|
367
|
+
public D: string; // (irrelevant)
|
|
368
|
+
|
|
369
|
+
public static E: string; // -> public static field
|
|
579
370
|
|
|
580
371
|
constructor() {} // (irrelevant)
|
|
581
372
|
|
|
@@ -587,8 +378,6 @@ class Foo {
|
|
|
587
378
|
}
|
|
588
379
|
```
|
|
589
380
|
|
|
590
|
-
Note: Public instance methods should come first before public static fields. Everything else can be placed anywhere.
|
|
591
|
-
|
|
592
381
|
```ts
|
|
593
382
|
const Foo = class {
|
|
594
383
|
private C: string; // (irrelevant)
|
|
@@ -607,9 +396,7 @@ const Foo = class {
|
|
|
607
396
|
};
|
|
608
397
|
```
|
|
609
398
|
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
##### Correct examples
|
|
399
|
+
##### ✅ Correct
|
|
613
400
|
|
|
614
401
|
```ts
|
|
615
402
|
class Foo {
|
|
@@ -647,11 +434,25 @@ const Foo = class {
|
|
|
647
434
|
};
|
|
648
435
|
```
|
|
649
436
|
|
|
650
|
-
####
|
|
437
|
+
#### Static Fields Before Instance Fields
|
|
651
438
|
|
|
652
|
-
|
|
439
|
+
This config specifies that static fields should come before instance fields, with public static fields first.
|
|
440
|
+
It doesn't apply to interfaces or type literals as accessibility and scope are not part of them.
|
|
653
441
|
|
|
654
|
-
|
|
442
|
+
```jsonc
|
|
443
|
+
{
|
|
444
|
+
"rules": {
|
|
445
|
+
"@typescript-eslint/member-ordering": [
|
|
446
|
+
"error",
|
|
447
|
+
{ "default": ["public-static-field", "static-field", "instance-field"] }
|
|
448
|
+
]
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
<!--tabs-->
|
|
454
|
+
|
|
455
|
+
##### ❌ Incorrect
|
|
655
456
|
|
|
656
457
|
```ts
|
|
657
458
|
class Foo {
|
|
@@ -667,30 +468,26 @@ class Foo {
|
|
|
667
468
|
}
|
|
668
469
|
```
|
|
669
470
|
|
|
670
|
-
Note: Public static fields should come first, followed by static fields and instance fields.
|
|
671
|
-
|
|
672
471
|
```ts
|
|
673
472
|
const foo = class {
|
|
674
|
-
public T(): void {} // (irrelevant)
|
|
473
|
+
public T(): void {} // method (irrelevant)
|
|
675
474
|
|
|
676
475
|
private static B: string; // -> static field
|
|
677
476
|
|
|
678
|
-
constructor() {} // (irrelevant)
|
|
477
|
+
constructor() {} // constructor (irrelevant)
|
|
679
478
|
|
|
680
479
|
private E: string; // -> instance field
|
|
681
480
|
|
|
682
481
|
protected static C: string; // -> static field
|
|
683
482
|
private static D: string; // -> static field
|
|
684
483
|
|
|
685
|
-
[Z: string]: any; // (irrelevant)
|
|
484
|
+
[Z: string]: any; // signature (irrelevant)
|
|
686
485
|
|
|
687
486
|
public static A: string; // -> public static field
|
|
688
487
|
};
|
|
689
488
|
```
|
|
690
489
|
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
##### Correct examples
|
|
490
|
+
##### ✅ Correct
|
|
694
491
|
|
|
695
492
|
```ts
|
|
696
493
|
class Foo {
|
|
@@ -701,16 +498,18 @@ class Foo {
|
|
|
701
498
|
private static D: string; // -> static field
|
|
702
499
|
|
|
703
500
|
private E: string; // -> instance field
|
|
501
|
+
|
|
502
|
+
[Z: string]: any; // (irrelevant)
|
|
704
503
|
}
|
|
705
504
|
```
|
|
706
505
|
|
|
707
506
|
```ts
|
|
708
507
|
const foo = class {
|
|
709
|
-
[Z: string]: any; // -> signature
|
|
508
|
+
[Z: string]: any; // -> signature (irrelevant)
|
|
710
509
|
|
|
711
510
|
public static A: string; // -> public static field
|
|
712
511
|
|
|
713
|
-
constructor() {} // -> constructor
|
|
512
|
+
constructor() {} // -> constructor (irrelevant)
|
|
714
513
|
|
|
715
514
|
private static B: string; // -> static field
|
|
716
515
|
protected static C: string; // -> static field
|
|
@@ -718,19 +517,31 @@ const foo = class {
|
|
|
718
517
|
|
|
719
518
|
private E: string; // -> instance field
|
|
720
519
|
|
|
721
|
-
public T(): void {} // -> method
|
|
520
|
+
public T(): void {} // -> method (irrelevant)
|
|
722
521
|
};
|
|
723
522
|
```
|
|
724
523
|
|
|
725
|
-
|
|
524
|
+
#### Class Declarations
|
|
726
525
|
|
|
727
|
-
|
|
526
|
+
This config only specifies an order for classes: methods, then the constructor, then fields.
|
|
527
|
+
It does not apply to class expressions (use `classExpressions` for them).
|
|
528
|
+
Default settings will be used for class declarations and all other syntax constructs other than class declarations.
|
|
728
529
|
|
|
729
|
-
|
|
530
|
+
```jsonc
|
|
531
|
+
// .eslintrc.json
|
|
532
|
+
{
|
|
533
|
+
"rules": {
|
|
534
|
+
"@typescript-eslint/member-ordering": [
|
|
535
|
+
"error",
|
|
536
|
+
{ "classes": ["method", "constructor", "field"] }
|
|
537
|
+
]
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
```
|
|
730
541
|
|
|
731
|
-
|
|
542
|
+
<!--tabs-->
|
|
732
543
|
|
|
733
|
-
##### Incorrect
|
|
544
|
+
##### ❌ Incorrect
|
|
734
545
|
|
|
735
546
|
```ts
|
|
736
547
|
class Foo {
|
|
@@ -745,7 +556,7 @@ class Foo {
|
|
|
745
556
|
}
|
|
746
557
|
```
|
|
747
558
|
|
|
748
|
-
##### Correct
|
|
559
|
+
##### ✅ Correct
|
|
749
560
|
|
|
750
561
|
```ts
|
|
751
562
|
class Foo {
|
|
@@ -760,53 +571,27 @@ class Foo {
|
|
|
760
571
|
}
|
|
761
572
|
```
|
|
762
573
|
|
|
763
|
-
####
|
|
764
|
-
|
|
765
|
-
##### Incorrect example
|
|
766
|
-
|
|
767
|
-
```ts
|
|
768
|
-
class Foo {
|
|
769
|
-
private C: string; // (irrelevant)
|
|
770
|
-
|
|
771
|
-
public D: string; // (irrelevant)
|
|
772
|
-
|
|
773
|
-
public static E: string; // -> public static field
|
|
774
|
-
|
|
775
|
-
constructor() {} // (irrelevant)
|
|
776
|
-
|
|
777
|
-
public static A(): void {} // (irrelevant)
|
|
778
|
-
|
|
779
|
-
public B(): void {} // -> public instance method
|
|
780
|
-
}
|
|
781
|
-
```
|
|
574
|
+
#### Class Expressions
|
|
782
575
|
|
|
783
|
-
|
|
576
|
+
This config only specifies an order for classes expressions: methods, then the constructor, then fields.
|
|
577
|
+
It does not apply to class declarations (use `classes` for them).
|
|
578
|
+
Default settings will be used for class declarations and all other syntax constructs other than class expressions.
|
|
784
579
|
|
|
785
|
-
```
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
public static A(): void {} // (irrelevant)
|
|
796
|
-
|
|
797
|
-
public static E: string; // -> public static field
|
|
580
|
+
```jsonc
|
|
581
|
+
// .eslintrc.json
|
|
582
|
+
{
|
|
583
|
+
"rules": {
|
|
584
|
+
"@typescript-eslint/member-ordering": [
|
|
585
|
+
"error",
|
|
586
|
+
{ "classExpressions": ["method", "constructor", "field"] }
|
|
587
|
+
]
|
|
588
|
+
}
|
|
798
589
|
}
|
|
799
590
|
```
|
|
800
591
|
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
Note: If this is not set, the `default` will automatically be applied to classes expressions as well. If a `classExpressions` configuration is provided, only this configuration will be used for `classExpressions` (i.e. nothing will be merged with `default`).
|
|
804
|
-
|
|
805
|
-
Note: The configuration for `classExpressions` does not apply to classes (use `classes` for them).
|
|
592
|
+
<!--tabs-->
|
|
806
593
|
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
##### Incorrect example
|
|
594
|
+
##### ❌ Incorrect
|
|
810
595
|
|
|
811
596
|
```ts
|
|
812
597
|
const foo = class {
|
|
@@ -821,7 +606,7 @@ const foo = class {
|
|
|
821
606
|
};
|
|
822
607
|
```
|
|
823
608
|
|
|
824
|
-
##### Correct
|
|
609
|
+
##### ✅ Correct
|
|
825
610
|
|
|
826
611
|
```ts
|
|
827
612
|
const foo = class {
|
|
@@ -836,55 +621,31 @@ const foo = class {
|
|
|
836
621
|
};
|
|
837
622
|
```
|
|
838
623
|
|
|
839
|
-
|
|
624
|
+
### Interfaces
|
|
840
625
|
|
|
841
|
-
|
|
626
|
+
This config only specifies an order for interfaces: signatures, then methods, then constructors, then fields.
|
|
627
|
+
It does not apply to type literals (use `typeLiterals` for them).
|
|
628
|
+
Default settings will be used for type literals and all other syntax constructs other than class expressions.
|
|
842
629
|
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
public D: string; // (irrelevant)
|
|
630
|
+
:::note
|
|
631
|
+
These member types are the only ones allowed for `interfaces`.
|
|
632
|
+
:::
|
|
848
633
|
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
##### Correct example
|
|
860
|
-
|
|
861
|
-
```ts
|
|
862
|
-
const foo = class {
|
|
863
|
-
private C: string; // (irrelevant)
|
|
864
|
-
|
|
865
|
-
public D: string; // (irrelevant)
|
|
866
|
-
|
|
867
|
-
public B(): void {} // -> public instance method
|
|
868
|
-
|
|
869
|
-
public static E: string; // -> public static field
|
|
870
|
-
|
|
871
|
-
constructor() {} // (irrelevant)
|
|
872
|
-
|
|
873
|
-
public static A(): void {} // (irrelevant)
|
|
874
|
-
};
|
|
634
|
+
```jsonc
|
|
635
|
+
// .eslintrc.json
|
|
636
|
+
{
|
|
637
|
+
"rules": {
|
|
638
|
+
"@typescript-eslint/member-ordering": [
|
|
639
|
+
"error",
|
|
640
|
+
{ "interfaces": ["signature", "method", "constructor", "field"] }
|
|
641
|
+
]
|
|
642
|
+
}
|
|
643
|
+
}
|
|
875
644
|
```
|
|
876
645
|
|
|
877
|
-
|
|
646
|
+
<!--tabs-->
|
|
878
647
|
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
Note: The configuration for `interfaces` only allows a limited set of member types: `signature`, `field`, `constructor` and `method`.
|
|
882
|
-
|
|
883
|
-
Note: The configuration for `interfaces` does not apply to type literals (use `typeLiterals` for them).
|
|
884
|
-
|
|
885
|
-
#### Configuration: `{ "interfaces": ["signature", "method", "constructor", "field"] }`
|
|
886
|
-
|
|
887
|
-
##### Incorrect example
|
|
648
|
+
#### ❌ Incorrect
|
|
888
649
|
|
|
889
650
|
```ts
|
|
890
651
|
interface Foo {
|
|
@@ -898,7 +659,7 @@ interface Foo {
|
|
|
898
659
|
}
|
|
899
660
|
```
|
|
900
661
|
|
|
901
|
-
|
|
662
|
+
#### ✅ Correct
|
|
902
663
|
|
|
903
664
|
```ts
|
|
904
665
|
interface Foo {
|
|
@@ -912,17 +673,31 @@ interface Foo {
|
|
|
912
673
|
}
|
|
913
674
|
```
|
|
914
675
|
|
|
915
|
-
###
|
|
676
|
+
### Type Literals
|
|
916
677
|
|
|
917
|
-
|
|
678
|
+
This config only specifies an order for type literals: signatures, then methods, then constructors, then fields.
|
|
679
|
+
It does not apply to interfaces (use `interfaces` for them).
|
|
680
|
+
Default settings will be used for interfaces and all other syntax constructs other than class expressions.
|
|
918
681
|
|
|
919
|
-
|
|
682
|
+
:::note
|
|
683
|
+
These member types are the only ones allowed for `typeLiterals`.
|
|
684
|
+
:::
|
|
920
685
|
|
|
921
|
-
|
|
686
|
+
```jsonc
|
|
687
|
+
// .eslintrc.json
|
|
688
|
+
{
|
|
689
|
+
"rules": {
|
|
690
|
+
"@typescript-eslint/member-ordering": [
|
|
691
|
+
"error",
|
|
692
|
+
{ "typeLiterals": ["signature", "method", "constructor", "field"] }
|
|
693
|
+
]
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
```
|
|
922
697
|
|
|
923
|
-
|
|
698
|
+
<!--tabs-->
|
|
924
699
|
|
|
925
|
-
|
|
700
|
+
#### ❌ Incorrect
|
|
926
701
|
|
|
927
702
|
```ts
|
|
928
703
|
type Foo = {
|
|
@@ -936,7 +711,7 @@ type Foo = {
|
|
|
936
711
|
};
|
|
937
712
|
```
|
|
938
713
|
|
|
939
|
-
|
|
714
|
+
#### ✅ Correct
|
|
940
715
|
|
|
941
716
|
```ts
|
|
942
717
|
type Foo = {
|
|
@@ -950,64 +725,156 @@ type Foo = {
|
|
|
950
725
|
};
|
|
951
726
|
```
|
|
952
727
|
|
|
953
|
-
### Sorting
|
|
728
|
+
### Sorting Options
|
|
954
729
|
|
|
955
|
-
|
|
730
|
+
#### Sorting Alphabetically Within Member Groups
|
|
956
731
|
|
|
957
|
-
|
|
732
|
+
This config specifies that within each `memberTypes` group, members are in an alphabetic case-sensitive order.
|
|
733
|
+
You can copy and paste the default order from [Default Configuration](#default-configuration).
|
|
958
734
|
|
|
959
|
-
|
|
735
|
+
```jsonc
|
|
736
|
+
// .eslintrc.json
|
|
737
|
+
{
|
|
738
|
+
"rules": {
|
|
739
|
+
"@typescript-eslint/member-ordering": [
|
|
740
|
+
"error",
|
|
741
|
+
{
|
|
742
|
+
"default": {
|
|
743
|
+
"memberTypes": [
|
|
744
|
+
/* <Default Order> */
|
|
745
|
+
],
|
|
746
|
+
"order": "alphabetically"
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
]
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
```
|
|
960
753
|
|
|
961
|
-
|
|
754
|
+
<!--tabs-->
|
|
755
|
+
|
|
756
|
+
##### ❌ Incorrect
|
|
962
757
|
|
|
963
758
|
```ts
|
|
964
759
|
interface Foo {
|
|
965
760
|
a: x;
|
|
966
|
-
|
|
761
|
+
B: x;
|
|
967
762
|
c: x;
|
|
968
763
|
|
|
969
|
-
|
|
970
|
-
():
|
|
764
|
+
B(): void;
|
|
765
|
+
c(): void;
|
|
766
|
+
a(): void;
|
|
767
|
+
}
|
|
768
|
+
```
|
|
769
|
+
|
|
770
|
+
##### ✅ Correct
|
|
971
771
|
|
|
772
|
+
```ts
|
|
773
|
+
interface Foo {
|
|
774
|
+
B: x;
|
|
775
|
+
a: x;
|
|
776
|
+
c: x;
|
|
777
|
+
|
|
778
|
+
B(): void;
|
|
972
779
|
a(): void;
|
|
973
|
-
b(): void;
|
|
974
780
|
c(): void;
|
|
781
|
+
}
|
|
782
|
+
```
|
|
783
|
+
|
|
784
|
+
#### Sorting Alphabetically Case Insensitive Within Member Groups
|
|
975
785
|
|
|
976
|
-
|
|
977
|
-
|
|
786
|
+
This config specifies that within each `memberTypes` group, members are in an alphabetic case-sensitive order.
|
|
787
|
+
You can copy and paste the default order from [Default Configuration](#default-configuration).
|
|
788
|
+
|
|
789
|
+
```jsonc
|
|
790
|
+
// .eslintrc.json
|
|
791
|
+
{
|
|
792
|
+
"rules": {
|
|
793
|
+
"@typescript-eslint/member-ordering": [
|
|
794
|
+
"error",
|
|
795
|
+
{
|
|
796
|
+
"default": {
|
|
797
|
+
"memberTypes": [
|
|
798
|
+
/* <Default Order> */
|
|
799
|
+
],
|
|
800
|
+
"order": "alphabetically-case-insensitive"
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
|
+
}
|
|
978
805
|
}
|
|
979
806
|
```
|
|
980
807
|
|
|
808
|
+
<!--tabs-->
|
|
809
|
+
|
|
810
|
+
##### ❌ Incorrect
|
|
811
|
+
|
|
981
812
|
```ts
|
|
982
813
|
interface Foo {
|
|
983
|
-
|
|
984
|
-
|
|
814
|
+
B: x;
|
|
985
815
|
a: x;
|
|
986
|
-
b: x;
|
|
987
816
|
c: x;
|
|
988
817
|
|
|
989
|
-
|
|
990
|
-
(): Baz;
|
|
991
|
-
|
|
992
|
-
// Wrong alphabetic order within group
|
|
818
|
+
B(): void;
|
|
993
819
|
c(): void;
|
|
994
|
-
b(): void;
|
|
995
820
|
a(): void;
|
|
996
821
|
}
|
|
997
822
|
```
|
|
998
823
|
|
|
999
|
-
|
|
824
|
+
##### ✅ Correct
|
|
825
|
+
|
|
826
|
+
```ts
|
|
827
|
+
interface Foo {
|
|
828
|
+
a: x;
|
|
829
|
+
B: x;
|
|
830
|
+
c: x;
|
|
831
|
+
|
|
832
|
+
a(): void;
|
|
833
|
+
B(): void;
|
|
834
|
+
c(): void;
|
|
835
|
+
}
|
|
836
|
+
```
|
|
837
|
+
|
|
838
|
+
#### Sorting Alphabetically Ignoring Member Groups
|
|
839
|
+
|
|
840
|
+
This config specifies that members are all sorted in an alphabetic case-sensitive order.
|
|
841
|
+
It ignores any member group types completely by specifying `"never"` for `memberTypes`.
|
|
842
|
+
|
|
843
|
+
```jsonc
|
|
844
|
+
// .eslintrc.json
|
|
845
|
+
{
|
|
846
|
+
"rules": {
|
|
847
|
+
"@typescript-eslint/member-ordering": [
|
|
848
|
+
"error",
|
|
849
|
+
{ "default": { "memberTypes": "never", "order": "alphabetically" } }
|
|
850
|
+
]
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
```
|
|
854
|
+
|
|
855
|
+
<!--tabs-->
|
|
1000
856
|
|
|
1001
|
-
|
|
857
|
+
##### ❌ Incorrect
|
|
858
|
+
|
|
859
|
+
```ts
|
|
860
|
+
interface Foo {
|
|
861
|
+
static c = 0;
|
|
862
|
+
b(): void;
|
|
863
|
+
a: boolean;
|
|
1002
864
|
|
|
1003
|
-
|
|
865
|
+
[a: string]: number; // Order doesn't matter (no sortable identifier)
|
|
866
|
+
new (): Bar; // Order doesn't matter (no sortable identifier)
|
|
867
|
+
(): Baz; // Order doesn't matter (no sortable identifier)
|
|
868
|
+
}
|
|
869
|
+
```
|
|
1004
870
|
|
|
1005
|
-
#####
|
|
871
|
+
##### ✅ Correct
|
|
1006
872
|
|
|
1007
873
|
```ts
|
|
1008
874
|
interface Foo {
|
|
875
|
+
a: boolean;
|
|
1009
876
|
b(): void;
|
|
1010
|
-
|
|
877
|
+
static c = 0;
|
|
1011
878
|
|
|
1012
879
|
[a: string]: number; // Order doesn't matter (no sortable identifier)
|
|
1013
880
|
new (): Bar; // Order doesn't matter (no sortable identifier)
|
|
@@ -1015,18 +882,284 @@ interface Foo {
|
|
|
1015
882
|
}
|
|
1016
883
|
```
|
|
1017
884
|
|
|
1018
|
-
|
|
885
|
+
## All Supported Options
|
|
1019
886
|
|
|
1020
|
-
|
|
887
|
+
### Member Types (Granular Form)
|
|
1021
888
|
|
|
1022
|
-
|
|
889
|
+
There are multiple ways to specify the member types.
|
|
890
|
+
The most explicit and granular form is the following:
|
|
1023
891
|
|
|
1024
|
-
|
|
892
|
+
```jsonc
|
|
893
|
+
[
|
|
894
|
+
// Index signature
|
|
895
|
+
"signature",
|
|
1025
896
|
|
|
1026
|
-
|
|
897
|
+
// Fields
|
|
898
|
+
"public-static-field",
|
|
899
|
+
"protected-static-field",
|
|
900
|
+
"private-static-field",
|
|
901
|
+
"public-decorated-field",
|
|
902
|
+
"protected-decorated-field",
|
|
903
|
+
"private-decorated-field",
|
|
904
|
+
"public-instance-field",
|
|
905
|
+
"protected-instance-field",
|
|
906
|
+
"private-instance-field",
|
|
907
|
+
"public-abstract-field",
|
|
908
|
+
"protected-abstract-field",
|
|
909
|
+
"private-abstract-field",
|
|
910
|
+
|
|
911
|
+
// Constructors
|
|
912
|
+
"public-constructor",
|
|
913
|
+
"protected-constructor",
|
|
914
|
+
"private-constructor",
|
|
915
|
+
|
|
916
|
+
// Getters
|
|
917
|
+
"public-static-get",
|
|
918
|
+
"protected-static-get",
|
|
919
|
+
"private-static-get",
|
|
1027
920
|
|
|
1028
|
-
|
|
921
|
+
"public-decorated-get",
|
|
922
|
+
"protected-decorated-get",
|
|
923
|
+
"private-decorated-get",
|
|
924
|
+
|
|
925
|
+
"public-instance-get",
|
|
926
|
+
"protected-instance-get",
|
|
927
|
+
"private-instance-get",
|
|
928
|
+
|
|
929
|
+
"public-abstract-get",
|
|
930
|
+
"protected-abstract-get",
|
|
931
|
+
"private-abstract-get",
|
|
1029
932
|
|
|
1030
|
-
-
|
|
1031
|
-
-
|
|
1032
|
-
-
|
|
933
|
+
"public-get",
|
|
934
|
+
"protected-get",
|
|
935
|
+
"private-get",
|
|
936
|
+
|
|
937
|
+
"static-get",
|
|
938
|
+
"instance-get",
|
|
939
|
+
"abstract-get",
|
|
940
|
+
|
|
941
|
+
"decorated-get",
|
|
942
|
+
|
|
943
|
+
"get",
|
|
944
|
+
|
|
945
|
+
// Setters
|
|
946
|
+
"public-static-set",
|
|
947
|
+
"protected-static-set",
|
|
948
|
+
"private-static-set",
|
|
949
|
+
|
|
950
|
+
"public-decorated-set",
|
|
951
|
+
"protected-decorated-set",
|
|
952
|
+
"private-decorated-set",
|
|
953
|
+
|
|
954
|
+
"public-instance-set",
|
|
955
|
+
"protected-instance-set",
|
|
956
|
+
"private-instance-set",
|
|
957
|
+
|
|
958
|
+
"public-abstract-set",
|
|
959
|
+
"protected-abstract-set",
|
|
960
|
+
"private-abstract-set",
|
|
961
|
+
|
|
962
|
+
"public-set",
|
|
963
|
+
"protected-set",
|
|
964
|
+
"private-set",
|
|
965
|
+
|
|
966
|
+
"static-set",
|
|
967
|
+
"instance-set",
|
|
968
|
+
"abstract-set",
|
|
969
|
+
|
|
970
|
+
"decorated-set",
|
|
971
|
+
|
|
972
|
+
"set",
|
|
973
|
+
|
|
974
|
+
// Methods
|
|
975
|
+
"public-static-method",
|
|
976
|
+
"protected-static-method",
|
|
977
|
+
"private-static-method",
|
|
978
|
+
"public-decorated-method",
|
|
979
|
+
"protected-decorated-method",
|
|
980
|
+
"private-decorated-method",
|
|
981
|
+
"public-instance-method",
|
|
982
|
+
"protected-instance-method",
|
|
983
|
+
"private-instance-method",
|
|
984
|
+
"public-abstract-method",
|
|
985
|
+
"protected-abstract-method",
|
|
986
|
+
"private-abstract-method"
|
|
987
|
+
]
|
|
988
|
+
```
|
|
989
|
+
|
|
990
|
+
:::note
|
|
991
|
+
If you only specify some of the possible types, the non-specified ones can have any particular order.
|
|
992
|
+
This means that they can be placed before, within or after the specified types and the linter won't complain about it.
|
|
993
|
+
:::
|
|
994
|
+
|
|
995
|
+
### Member Group Types (With Accessibility, Ignoring Scope)
|
|
996
|
+
|
|
997
|
+
It is also possible to group member types by their accessibility (`static`, `instance`, `abstract`), ignoring their scope.
|
|
998
|
+
|
|
999
|
+
```jsonc
|
|
1000
|
+
[
|
|
1001
|
+
// Index signature
|
|
1002
|
+
// No accessibility for index signature.
|
|
1003
|
+
|
|
1004
|
+
// Fields
|
|
1005
|
+
"public-field", // = ["public-static-field", "public-instance-field"]
|
|
1006
|
+
"protected-field", // = ["protected-static-field", "protected-instance-field"]
|
|
1007
|
+
"private-field", // = ["private-static-field", "private-instance-field"]
|
|
1008
|
+
|
|
1009
|
+
// Constructors
|
|
1010
|
+
// Only the accessibility of constructors is configurable. See below.
|
|
1011
|
+
|
|
1012
|
+
// Getters
|
|
1013
|
+
"public-get", // = ["public-static-get", "public-instance-get"]
|
|
1014
|
+
"protected-get", // = ["protected-static-get", "protected-instance-get"]
|
|
1015
|
+
"private-get", // = ["private-static-get", "private-instance-get"]
|
|
1016
|
+
|
|
1017
|
+
// Setters
|
|
1018
|
+
"public-set", // = ["public-static-set", "public-instance-set"]
|
|
1019
|
+
"protected-set", // = ["protected-static-set", "protected-instance-set"]
|
|
1020
|
+
"private-set", // = ["private-static-set", "private-instance-set"]
|
|
1021
|
+
|
|
1022
|
+
// Methods
|
|
1023
|
+
"public-method", // = ["public-static-method", "public-instance-method"]
|
|
1024
|
+
"protected-method", // = ["protected-static-method", "protected-instance-method"]
|
|
1025
|
+
"private-method" // = ["private-static-method", "private-instance-method"]
|
|
1026
|
+
]
|
|
1027
|
+
```
|
|
1028
|
+
|
|
1029
|
+
### Member Group Types (With Accessibility and a Decorator)
|
|
1030
|
+
|
|
1031
|
+
It is also possible to group methods or fields with a decorator separately, optionally specifying
|
|
1032
|
+
their accessibility.
|
|
1033
|
+
|
|
1034
|
+
```jsonc
|
|
1035
|
+
[
|
|
1036
|
+
// Index signature
|
|
1037
|
+
// No decorators for index signature.
|
|
1038
|
+
|
|
1039
|
+
// Fields
|
|
1040
|
+
"public-decorated-field",
|
|
1041
|
+
"protected-decorated-field",
|
|
1042
|
+
"private-decorated-field",
|
|
1043
|
+
|
|
1044
|
+
"decorated-field", // = ["public-decorated-field", "protected-decorated-field", "private-decorated-field"]
|
|
1045
|
+
|
|
1046
|
+
// Constructors
|
|
1047
|
+
// There are no decorators for constructors.
|
|
1048
|
+
|
|
1049
|
+
// Getters
|
|
1050
|
+
"public-decorated-get",
|
|
1051
|
+
"protected-decorated-get",
|
|
1052
|
+
"private-decorated-get",
|
|
1053
|
+
|
|
1054
|
+
"decorated-get" // = ["public-decorated-get", "protected-decorated-get", "private-decorated-get"]
|
|
1055
|
+
|
|
1056
|
+
// Setters
|
|
1057
|
+
"public-decorated-set",
|
|
1058
|
+
"protected-decorated-set",
|
|
1059
|
+
"private-decorated-set",
|
|
1060
|
+
|
|
1061
|
+
"decorated-set" // = ["public-decorated-set", "protected-decorated-set", "private-decorated-set"]
|
|
1062
|
+
|
|
1063
|
+
// Methods
|
|
1064
|
+
"public-decorated-method",
|
|
1065
|
+
"protected-decorated-method",
|
|
1066
|
+
"private-decorated-method",
|
|
1067
|
+
|
|
1068
|
+
"decorated-method" // = ["public-decorated-method", "protected-decorated-method", "private-decorated-method"]
|
|
1069
|
+
]
|
|
1070
|
+
```
|
|
1071
|
+
|
|
1072
|
+
### Member Group Types (With Scope, Ignoring Accessibility)
|
|
1073
|
+
|
|
1074
|
+
Another option is to group the member types by their scope (`public`, `protected`, `private`), ignoring their accessibility.
|
|
1075
|
+
|
|
1076
|
+
```jsonc
|
|
1077
|
+
[
|
|
1078
|
+
// Index signature
|
|
1079
|
+
// No scope for index signature.
|
|
1080
|
+
|
|
1081
|
+
// Fields
|
|
1082
|
+
"static-field", // = ["public-static-field", "protected-static-field", "private-static-field"]
|
|
1083
|
+
"instance-field", // = ["public-instance-field", "protected-instance-field", "private-instance-field"]
|
|
1084
|
+
"abstract-field", // = ["public-abstract-field", "protected-abstract-field", "private-abstract-field"]
|
|
1085
|
+
|
|
1086
|
+
// Constructors
|
|
1087
|
+
"constructor", // = ["public-constructor", "protected-constructor", "private-constructor"]
|
|
1088
|
+
|
|
1089
|
+
// Getters
|
|
1090
|
+
"static-get", // = ["public-static-get", "protected-static-get", "private-static-get"]
|
|
1091
|
+
"instance-get", // = ["public-instance-get", "protected-instance-get", "private-instance-get"]
|
|
1092
|
+
"abstract-get" // = ["public-abstract-get", "protected-abstract-get", "private-abstract-get"]
|
|
1093
|
+
|
|
1094
|
+
// Setters
|
|
1095
|
+
"static-set", // = ["public-static-set", "protected-static-set", "private-static-set"]
|
|
1096
|
+
"instance-set", // = ["public-instance-set", "protected-instance-set", "private-instance-set"]
|
|
1097
|
+
"abstract-set" // = ["public-abstract-set", "protected-abstract-set", "private-abstract-set"]
|
|
1098
|
+
|
|
1099
|
+
// Methods
|
|
1100
|
+
"static-method", // = ["public-static-method", "protected-static-method", "private-static-method"]
|
|
1101
|
+
"instance-method", // = ["public-instance-method", "protected-instance-method", "private-instance-method"]
|
|
1102
|
+
"abstract-method" // = ["public-abstract-method", "protected-abstract-method", "private-abstract-method"]
|
|
1103
|
+
]
|
|
1104
|
+
```
|
|
1105
|
+
|
|
1106
|
+
### Member Group Types (With Scope and Accessibility)
|
|
1107
|
+
|
|
1108
|
+
The third grouping option is to ignore both scope and accessibility.
|
|
1109
|
+
|
|
1110
|
+
```jsonc
|
|
1111
|
+
[
|
|
1112
|
+
// Index signature
|
|
1113
|
+
// No grouping for index signature.
|
|
1114
|
+
|
|
1115
|
+
// Fields
|
|
1116
|
+
"field", // = ["public-static-field", "protected-static-field", "private-static-field", "public-instance-field", "protected-instance-field", "private-instance-field",
|
|
1117
|
+
// "public-abstract-field", "protected-abstract-field", private-abstract-field"]
|
|
1118
|
+
|
|
1119
|
+
// Constructors
|
|
1120
|
+
// Only the accessibility of constructors is configurable.
|
|
1121
|
+
|
|
1122
|
+
// Getters
|
|
1123
|
+
"get" // = ["public-static-get", "protected-static-get", "private-static-get", "public-instance-get", "protected-instance-get", "private-instance-get",
|
|
1124
|
+
// "public-abstract-get", "protected-abstract-get", "private-abstract-get"]
|
|
1125
|
+
|
|
1126
|
+
// Setters
|
|
1127
|
+
"set" // = ["public-static-set", "protected-static-set", "private-static-set", "public-instance-set", "protected-instance-set", "private-instance-set",
|
|
1128
|
+
// "public-abstract-set", "protected-abstract-set", "private-abstract-set"]
|
|
1129
|
+
|
|
1130
|
+
// Methods
|
|
1131
|
+
"method" // = ["public-static-method", "protected-static-method", "private-static-method", "public-instance-method", "protected-instance-method", "private-instance-method",
|
|
1132
|
+
// "public-abstract-method", "protected-abstract-method", "private-abstract-method"]
|
|
1133
|
+
]
|
|
1134
|
+
```
|
|
1135
|
+
|
|
1136
|
+
### Grouping Different Member Types at the Same Rank
|
|
1137
|
+
|
|
1138
|
+
It is also possible to group different member types at the same rank.
|
|
1139
|
+
|
|
1140
|
+
```jsonc
|
|
1141
|
+
[
|
|
1142
|
+
// Index signature
|
|
1143
|
+
"signature",
|
|
1144
|
+
|
|
1145
|
+
// Fields
|
|
1146
|
+
"field",
|
|
1147
|
+
|
|
1148
|
+
// Constructors
|
|
1149
|
+
"constructor",
|
|
1150
|
+
|
|
1151
|
+
// Getters and Setters at the same rank
|
|
1152
|
+
["get", "set"],
|
|
1153
|
+
|
|
1154
|
+
// Methods
|
|
1155
|
+
"method"
|
|
1156
|
+
]
|
|
1157
|
+
```
|
|
1158
|
+
|
|
1159
|
+
## When Not To Use It
|
|
1160
|
+
|
|
1161
|
+
If you don't care about the general order of your members, then you will not need this rule.
|
|
1162
|
+
|
|
1163
|
+
## Related To
|
|
1164
|
+
|
|
1165
|
+
- TSLint: [member-ordering](https://palantir.github.io/tslint/rules/member-ordering/)
|