xo 0.48.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (843) hide show
  1. package/config/plugins.cjs +3 -0
  2. package/lib/options-manager.js +2 -2
  3. package/node_modules/@types/json-schema/README.md +2 -2
  4. package/node_modules/@types/json-schema/index.d.ts +8 -1
  5. package/node_modules/@types/json-schema/package.json +3 -8
  6. package/node_modules/@typescript-eslint/eslint-plugin/README.md +132 -128
  7. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +7 -2
  8. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
  9. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +50 -0
  10. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -0
  11. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +3 -1
  12. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +1 -1
  13. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +5 -1
  14. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -1
  15. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +7 -3
  16. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
  17. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +5 -1
  18. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +1 -1
  19. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +5 -1
  20. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
  21. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +6 -2
  22. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -1
  23. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +9 -1
  24. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -1
  25. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +6 -2
  26. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -1
  27. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +5 -1
  28. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -1
  29. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +1 -1
  30. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
  31. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +1 -2
  32. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -1
  33. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +8 -4
  34. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
  35. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +29 -26
  36. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -1
  37. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +5 -1
  38. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -1
  39. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +5 -1
  40. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
  41. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +6 -2
  42. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -1
  43. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +5 -1
  44. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -1
  45. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +5 -1
  46. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -1
  47. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +7 -2
  48. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +1 -1
  49. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +5 -1
  50. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +1 -1
  51. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +5 -1
  52. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +1 -1
  53. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +10 -0
  54. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -1
  55. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +12 -4
  56. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +1 -1
  57. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +5 -1
  58. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -1
  59. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +5 -1
  60. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +1 -1
  61. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +5 -1
  62. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -1
  63. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +46 -30
  64. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -1
  65. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +9 -2
  66. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -1
  67. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -1
  68. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +5 -1
  69. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map +1 -1
  70. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +5 -1
  71. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -1
  72. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +13 -7
  73. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -1
  74. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +5 -1
  75. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
  76. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +5 -1
  77. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +1 -1
  78. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +6 -2
  79. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -1
  80. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +6 -2
  81. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -1
  82. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +5 -1
  83. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
  84. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +5 -1
  85. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +1 -1
  86. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +85 -0
  87. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +1 -0
  88. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +5 -1
  89. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js.map +1 -1
  90. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +6 -2
  91. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -1
  92. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +5 -1
  93. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -1
  94. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +5 -1
  95. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -1
  96. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +5 -1
  97. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
  98. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +5 -1
  99. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +1 -1
  100. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +5 -1
  101. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +1 -1
  102. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +5 -1
  103. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +1 -1
  104. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +6 -2
  105. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -1
  106. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +6 -2
  107. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
  108. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +5 -1
  109. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +1 -1
  110. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js +5 -1
  111. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js.map +1 -1
  112. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +5 -1
  113. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
  114. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +5 -1
  115. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
  116. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +1 -1
  117. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +6 -2
  118. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -1
  119. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +5 -1
  120. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +1 -1
  121. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +5 -1
  122. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -1
  123. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +52 -12
  124. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +1 -1
  125. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +6 -2
  126. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +1 -1
  127. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +5 -1
  128. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +1 -1
  129. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +238 -28
  130. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
  131. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +10 -5
  132. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -1
  133. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +6 -2
  134. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
  135. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +5 -1
  136. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -1
  137. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +5 -1
  138. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -1
  139. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js +7 -1
  140. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js.map +1 -1
  141. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +5 -1
  142. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +1 -1
  143. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +373 -0
  144. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -0
  145. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +5 -1
  146. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -1
  147. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +3 -4
  148. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +1 -1
  149. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +105 -1
  150. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -1
  151. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +7 -3
  152. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +1 -1
  153. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +6 -2
  154. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +1 -1
  155. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +5 -1
  156. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -1
  157. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +6 -2
  158. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
  159. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +6 -2
  160. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -1
  161. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +5 -1
  162. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
  163. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +40 -6
  164. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -1
  165. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +9 -5
  166. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -1
  167. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +26 -5
  168. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -1
  169. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +7 -5
  170. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
  171. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +6 -3
  172. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -1
  173. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +5 -1
  174. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -1
  175. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +5 -1
  176. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -1
  177. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +5 -1
  178. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -1
  179. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +5 -1
  180. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +1 -1
  181. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +49 -18
  182. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -1
  183. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +5 -1
  184. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -1
  185. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +6 -2
  186. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +1 -1
  187. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +91 -0
  188. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +1 -0
  189. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +5 -1
  190. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -1
  191. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +6 -2
  192. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -1
  193. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +5 -1
  194. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -1
  195. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +189 -0
  196. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +1 -0
  197. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +5 -1
  198. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +1 -1
  199. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +5 -1
  200. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +1 -1
  201. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +6 -2
  202. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
  203. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +68 -63
  204. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -1
  205. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +6 -2
  206. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -1
  207. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +1 -1
  208. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +1 -1
  209. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +5 -1
  210. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +1 -1
  211. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +6 -2
  212. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -1
  213. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +53 -3
  214. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
  215. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +5 -1
  216. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +1 -1
  217. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +5 -1
  218. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -1
  219. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +6 -2
  220. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +1 -1
  221. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +5 -1
  222. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -1
  223. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +6 -2
  224. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +1 -1
  225. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +1 -1
  226. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
  227. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +6 -2
  228. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +1 -1
  229. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +5 -1
  230. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -1
  231. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +5 -1
  232. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js.map +1 -1
  233. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +5 -1
  234. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -1
  235. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +5 -1
  236. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +1 -1
  237. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +15 -2
  238. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -1
  239. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +5 -1
  240. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -1
  241. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +25 -9
  242. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +1 -1
  243. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +5 -1
  244. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js.map +1 -1
  245. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +7 -2
  246. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
  247. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +95 -0
  248. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -0
  249. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +5 -1
  250. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
  251. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +9 -2
  252. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +1 -1
  253. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +5 -1
  254. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -1
  255. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +5 -1
  256. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -1
  257. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +5 -1
  258. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -1
  259. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +5 -1
  260. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +1 -1
  261. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +19 -2
  262. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +1 -1
  263. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +5 -1
  264. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
  265. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +49 -20
  266. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +1 -1
  267. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +5 -1
  268. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +1 -1
  269. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +5 -1
  270. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
  271. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +307 -0
  272. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js.map +1 -0
  273. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +6 -1
  274. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -1
  275. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +16 -1
  276. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
  277. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +133 -132
  278. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +5 -1
  279. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +3 -1
  280. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +3 -1
  281. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +3 -1
  282. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +3 -1
  283. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +16 -1
  284. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +9 -1
  285. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +3 -1
  286. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +3 -1
  287. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +4 -2
  288. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +3 -1
  289. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +3 -1
  290. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +3 -1
  291. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +3 -1
  292. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +35 -3
  293. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +3 -1
  294. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +3 -1
  295. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +3 -1
  296. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +3 -1
  297. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +3 -1
  298. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +3 -1
  299. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +3 -1
  300. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +3 -1
  301. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +3 -1
  302. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +3 -1
  303. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +3 -1
  304. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +3 -1
  305. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +549 -477
  306. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +4 -2
  307. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +3 -1
  308. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +3 -1
  309. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +3 -1
  310. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +16 -1
  311. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +3 -1
  312. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +3 -1
  313. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +64 -0
  314. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +3 -1
  315. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +16 -1
  316. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +3 -1
  317. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +3 -1
  318. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +3 -1
  319. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +3 -1
  320. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +3 -1
  321. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +3 -1
  322. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +3 -1
  323. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +21 -8
  324. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +3 -1
  325. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +3 -1
  326. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +3 -1
  327. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +3 -1
  328. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +3 -1
  329. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +3 -1
  330. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +3 -1
  331. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +3 -1
  332. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +27 -1
  333. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +3 -1
  334. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +3 -1
  335. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +55 -11
  336. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +3 -1
  337. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +16 -1
  338. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +3 -1
  339. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +3 -1
  340. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +3 -1
  341. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +3 -1
  342. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +100 -0
  343. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +16 -1
  344. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +3 -1
  345. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +3 -1
  346. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +3 -1
  347. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +3 -1
  348. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +4 -2
  349. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +3 -1
  350. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +3 -1
  351. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +16 -1
  352. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +16 -1
  353. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +3 -1
  354. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +4 -2
  355. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +3 -1
  356. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +3 -1
  357. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +3 -1
  358. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +3 -1
  359. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +3 -1
  360. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +3 -1
  361. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +3 -1
  362. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +3 -1
  363. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +3 -1
  364. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +60 -0
  365. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +3 -1
  366. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +16 -1
  367. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +3 -1
  368. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +3 -1
  369. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +496 -0
  370. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +3 -1
  371. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +16 -1
  372. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +16 -1
  373. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +16 -1
  374. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +13 -2
  375. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +3 -1
  376. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +3 -1
  377. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +3 -1
  378. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +23 -1
  379. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +4 -2
  380. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +3 -1
  381. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +13 -2
  382. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +10 -5
  383. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +16 -1
  384. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +10 -5
  385. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +16 -1
  386. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +3 -1
  387. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +3 -1
  388. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +3 -1
  389. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +3 -1
  390. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +3 -1
  391. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +3 -1
  392. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +3 -1
  393. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +3 -1
  394. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +3 -1
  395. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +62 -0
  396. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +3 -1
  397. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +3 -1
  398. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +3 -1
  399. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +16 -1
  400. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +3 -1
  401. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +3 -1
  402. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +3 -1
  403. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +3 -1
  404. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +48 -2
  405. package/node_modules/@typescript-eslint/eslint-plugin/package.json +10 -10
  406. package/node_modules/@typescript-eslint/parser/README.md +9 -1
  407. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
  408. package/node_modules/@typescript-eslint/parser/dist/parser.js +5 -2
  409. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
  410. package/node_modules/@typescript-eslint/parser/package.json +6 -6
  411. package/node_modules/@typescript-eslint/scope-manager/README.md +1 -1
  412. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -1
  413. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +3 -9
  414. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
  415. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +5 -1
  416. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -1
  417. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +5 -1
  418. package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -1
  419. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -1
  420. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +2 -1
  421. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -1
  422. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
  423. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
  424. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +4 -1
  425. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
  426. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +24 -4
  427. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
  428. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -1
  429. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +2 -1
  430. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -1
  431. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -1
  432. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +2 -1
  433. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -1
  434. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -1
  435. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -1
  436. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +2 -1
  437. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -1
  438. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -1
  439. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +2 -1
  440. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -1
  441. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +2 -1
  442. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -1
  443. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -1
  444. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +2 -1
  445. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -1
  446. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -1
  447. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +2 -1
  448. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -1
  449. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -1
  450. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +2 -1
  451. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -1
  452. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -1
  453. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +2 -1
  454. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -1
  455. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -1
  456. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +2 -1
  457. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -1
  458. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -1
  459. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +2 -1
  460. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -1
  461. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -1
  462. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -1
  463. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +2 -1
  464. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -1
  465. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +2 -1
  466. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -1
  467. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -1
  468. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -1
  469. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +2 -1
  470. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -1
  471. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -1
  472. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +2 -1
  473. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -1
  474. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +2 -1
  475. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -1
  476. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -1
  477. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +2 -1
  478. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -1
  479. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -1
  480. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +2 -1
  481. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -1
  482. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -1
  483. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +2 -1
  484. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -1
  485. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -1
  486. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +2 -1
  487. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -1
  488. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -1
  489. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +2 -1
  490. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -1
  491. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -1
  492. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +2 -1
  493. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -1
  494. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -1
  495. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -1
  496. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +2 -1
  497. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -1
  498. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -1
  499. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +2 -1
  500. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -1
  501. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +2 -1
  502. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -1
  503. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -1
  504. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +2 -1
  505. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -1
  506. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -1
  507. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +2 -1
  508. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -1
  509. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -1
  510. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +2 -1
  511. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -1
  512. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -1
  513. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -1
  514. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +2 -1
  515. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -1
  516. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +2 -1
  517. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -1
  518. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -1
  519. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +2 -1
  520. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -1
  521. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -1
  522. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +2 -1
  523. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -1
  524. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -1
  525. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +2 -1
  526. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -1
  527. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -1
  528. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +2 -1
  529. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -1
  530. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -1
  531. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -1
  532. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +2 -1
  533. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -1
  534. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -1
  535. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +2 -1
  536. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -1
  537. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +2 -1
  538. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -1
  539. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -1
  540. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +2 -1
  541. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -1
  542. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -1
  543. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +2 -1
  544. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -1
  545. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -1
  546. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +2 -1
  547. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -1
  548. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -1
  549. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +2 -1
  550. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -1
  551. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -1
  552. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -1
  553. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +2 -1
  554. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -1
  555. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -1
  556. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +2 -1
  557. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -1
  558. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +2 -1
  559. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -1
  560. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -1
  561. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +2 -1
  562. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -1
  563. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -1
  564. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +2 -1
  565. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -1
  566. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -1
  567. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +2 -1
  568. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -1
  569. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
  570. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
  571. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
  572. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
  573. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
  574. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
  575. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
  576. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
  577. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
  578. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
  579. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
  580. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
  581. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +14 -0
  582. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
  583. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +14 -0
  584. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
  585. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
  586. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
  587. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
  588. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
  589. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
  590. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
  591. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
  592. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
  593. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -1
  594. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +2 -1
  595. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -1
  596. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -1
  597. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +2 -1
  598. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -1
  599. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -1
  600. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +2 -1
  601. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -1
  602. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -1
  603. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +14 -3
  604. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -1
  605. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -1
  606. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +2 -1
  607. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -1
  608. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -1
  609. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +2 -1
  610. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -1
  611. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -1
  612. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -1
  613. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +2 -1
  614. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -1
  615. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -1
  616. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +2 -1
  617. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -1
  618. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +4 -3
  619. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -1
  620. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -1
  621. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +2 -1
  622. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -1
  623. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -1
  624. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +2 -1
  625. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -1
  626. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -1
  627. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +2 -1
  628. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -1
  629. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -1
  630. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +2 -1
  631. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -1
  632. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +6 -0
  633. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
  634. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +14 -1
  635. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
  636. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -1
  637. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +2 -1
  638. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -1
  639. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -1
  640. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +2 -1
  641. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -1
  642. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
  643. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -1
  644. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +2 -1
  645. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -1
  646. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -1
  647. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +3 -1
  648. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -1
  649. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +20 -4
  650. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
  651. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
  652. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +11 -2
  653. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
  654. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -1
  655. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +2 -6
  656. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
  657. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -1
  658. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -4
  659. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -1
  660. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +5 -1
  661. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -1
  662. package/node_modules/@typescript-eslint/scope-manager/package.json +12 -13
  663. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +5 -1
  664. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -1
  665. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +5 -1
  666. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +1 -1
  667. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +5 -1
  668. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +1 -1
  669. package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +5 -1
  670. package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js.map +1 -1
  671. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +5 -1
  672. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +1 -1
  673. package/node_modules/@typescript-eslint/type-utils/dist/index.js +5 -1
  674. package/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -1
  675. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -1
  676. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +9 -1
  677. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -1
  678. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +7 -0
  679. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -1
  680. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +38 -2
  681. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -1
  682. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +15 -1
  683. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js.map +1 -1
  684. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +5 -1
  685. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +1 -1
  686. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +5 -1
  687. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -1
  688. package/node_modules/@typescript-eslint/type-utils/package.json +5 -5
  689. package/node_modules/@typescript-eslint/types/dist/{ast-spec.d.ts → generated/ast-spec.d.ts} +3 -2
  690. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
  691. package/node_modules/@typescript-eslint/types/dist/{ast-spec.js → generated/ast-spec.js} +0 -0
  692. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
  693. package/node_modules/@typescript-eslint/types/dist/index.d.ts +1 -2
  694. package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -1
  695. package/node_modules/@typescript-eslint/types/dist/index.js +7 -4
  696. package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -1
  697. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
  698. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
  699. package/node_modules/@typescript-eslint/types/dist/lib.js +2 -1
  700. package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -1
  701. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +1 -0
  702. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
  703. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +3 -3
  704. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -1
  705. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +6 -2
  706. package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -1
  707. package/node_modules/@typescript-eslint/types/package.json +29 -2
  708. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +6 -2
  709. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
  710. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
  711. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +6 -3
  712. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
  713. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +5 -1
  714. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -1
  715. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +5 -1
  716. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -1
  717. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +5 -1
  718. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -1
  719. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +5 -1
  720. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -1
  721. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +6 -2
  722. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
  723. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +5 -1
  724. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -1
  725. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +5 -1
  726. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
  727. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
  728. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +6 -3
  729. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
  730. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +6 -2
  731. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
  732. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +5 -1
  733. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -1
  734. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +5 -1
  735. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -1
  736. package/node_modules/@typescript-eslint/typescript-estree/package.json +8 -9
  737. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +5 -1
  738. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -1
  739. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +5 -1
  740. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -1
  741. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +5 -1
  742. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -1
  743. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +5 -1
  744. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js.map +1 -1
  745. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +5 -1
  746. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -1
  747. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +5 -1
  748. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -1
  749. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +29 -0
  750. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
  751. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +3 -1
  752. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +1 -1
  753. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts +2 -1
  754. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts.map +1 -1
  755. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +7 -2
  756. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js.map +1 -1
  757. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +1 -1
  758. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +1 -1
  759. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map +1 -1
  760. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +2 -6
  761. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
  762. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +2 -6
  763. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -1
  764. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.d.ts.map +1 -1
  765. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js +18 -12
  766. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js.map +1 -1
  767. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +5 -1
  768. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js.map +1 -1
  769. package/node_modules/@typescript-eslint/utils/dist/index.js +5 -1
  770. package/node_modules/@typescript-eslint/utils/dist/index.js.map +1 -1
  771. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +42 -7
  772. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -1
  773. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js.map +1 -1
  774. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +3 -4
  775. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -1
  776. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +2 -0
  777. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -1
  778. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +1 -1
  779. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +5 -1
  780. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +1 -1
  781. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +0 -1
  782. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -1
  783. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -1
  784. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +5 -1
  785. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js.map +1 -1
  786. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js +5 -1
  787. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js.map +1 -1
  788. package/node_modules/@typescript-eslint/utils/package.json +5 -5
  789. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +7 -3
  790. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
  791. package/node_modules/@typescript-eslint/visitor-keys/package.json +4 -4
  792. package/node_modules/debug/README.md +3 -0
  793. package/node_modules/debug/package.json +1 -1
  794. package/node_modules/debug/src/common.js +1 -1
  795. package/node_modules/eslint-config-xo-typescript/index.js +107 -82
  796. package/node_modules/eslint-config-xo-typescript/package.json +4 -4
  797. package/node_modules/eslint-config-xo-typescript/readme.md +3 -3
  798. package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +18 -5
  799. package/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
  800. package/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
  801. package/node_modules/eslint-visitor-keys/lib/index.js +11 -5
  802. package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +7 -0
  803. package/node_modules/eslint-visitor-keys/package.json +11 -4
  804. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/LICENSE-MIT +0 -0
  805. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/README.md +0 -0
  806. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.d.ts +0 -0
  807. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.js +0 -0
  808. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/legacy.js +0 -0
  809. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/package.json +0 -0
  810. package/node_modules/micromatch/README.md +12 -9
  811. package/node_modules/micromatch/index.js +3 -3
  812. package/node_modules/micromatch/package.json +5 -5
  813. package/node_modules/semver/README.md +3 -1
  814. package/node_modules/semver/bin/semver.js +19 -9
  815. package/node_modules/semver/classes/comparator.js +3 -2
  816. package/node_modules/semver/classes/index.js +1 -1
  817. package/node_modules/semver/classes/range.js +31 -22
  818. package/node_modules/semver/classes/semver.js +1 -1
  819. package/node_modules/semver/functions/cmp.js +8 -4
  820. package/node_modules/semver/functions/coerce.js +3 -2
  821. package/node_modules/semver/functions/inc.js +4 -1
  822. package/node_modules/semver/functions/parse.js +1 -1
  823. package/node_modules/semver/internal/constants.js +2 -2
  824. package/node_modules/semver/internal/identifiers.js +1 -1
  825. package/node_modules/semver/internal/parse-options.js +3 -3
  826. package/node_modules/semver/internal/re.js +3 -3
  827. package/node_modules/semver/package.json +45 -11
  828. package/node_modules/semver/ranges/min-version.js +2 -1
  829. package/node_modules/semver/ranges/outside.js +1 -1
  830. package/node_modules/semver/ranges/simplify.js +15 -12
  831. package/node_modules/semver/ranges/subset.js +53 -31
  832. package/package.json +22 -22
  833. package/readme.md +16 -0
  834. package/node_modules/@typescript-eslint/types/dist/ast-spec.d.ts.map +0 -1
  835. package/node_modules/@typescript-eslint/types/dist/ast-spec.js.map +0 -1
  836. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/LICENSE-MIT +0 -21
  837. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/README.md +0 -412
  838. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.d.ts +0 -61
  839. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.js +0 -603
  840. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/legacy.js +0 -498
  841. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/package.json +0 -71
  842. package/node_modules/micromatch/CHANGELOG.md +0 -109
  843. package/node_modules/semver/CHANGELOG.md +0 -111
@@ -0,0 +1,496 @@
1
+ # `parameter-properties`
2
+
3
+ Require or disallow the use of parameter properties in class constructors.
4
+
5
+ Parameter properties can be confusing to those new to TypeScript as they are less explicit than other ways
6
+ of declaring and initializing class members.
7
+
8
+ ## Rule Details
9
+
10
+ This rule disallows the use of parameter properties in constructors, forcing the user to explicitly
11
+ declare all properties in the class.
12
+
13
+ ## Options
14
+
15
+ This rule, in its default state, does not require any argument and would completely disallow the use of parameter properties.
16
+ It may take an options object containing either or both of:
17
+
18
+ - `"allow"`: allowing certain kinds of properties to be ignored
19
+ - `"prefer"`: either `"class-property"` _(default)_ or `"parameter-property"`
20
+
21
+ ### `"allow"`
22
+
23
+ If you would like to ignore certain kinds of properties then you may pass an object containing `"allow"` as an array of any of the following options:
24
+
25
+ - `allow`, an array containing one or more of the allowed modifiers. Valid values are:
26
+ - `readonly`, allows **readonly** parameter properties.
27
+ - `private`, allows **private** parameter properties.
28
+ - `protected`, allows **protected** parameter properties.
29
+ - `public`, allows **public** parameter properties.
30
+ - `private readonly`, allows **private readonly** parameter properties.
31
+ - `protected readonly`, allows **protected readonly** parameter properties.
32
+ - `public readonly`, allows **public readonly** parameter properties.
33
+
34
+ For example, to ignore `public` properties:
35
+
36
+ ```json
37
+ {
38
+ "@typescript-eslint/parameter-properties": [
39
+ true,
40
+ {
41
+ "allow": ["public"]
42
+ }
43
+ ]
44
+ }
45
+ ```
46
+
47
+ ### `"prefer"`
48
+
49
+ By default, the rule prefers class property (`"class-property"`).
50
+ You can switch it to instead preferring parameter property with (`"parameter-property"`).
51
+
52
+ In `"parameter-property"` mode, the rule will issue a report when:
53
+
54
+ - A class property and constructor parameter have the same name and type
55
+ - The constructor parameter is assigned to the class property at the beginning of the constructor
56
+
57
+ ### default
58
+
59
+ Examples of code for this rule with no options at all:
60
+
61
+ <!--tabs-->
62
+
63
+ #### ❌ Incorrect
64
+
65
+ ```ts
66
+ class Foo {
67
+ constructor(readonly name: string) {}
68
+ }
69
+
70
+ class Foo {
71
+ constructor(private name: string) {}
72
+ }
73
+
74
+ class Foo {
75
+ constructor(protected name: string) {}
76
+ }
77
+
78
+ class Foo {
79
+ constructor(public name: string) {}
80
+ }
81
+
82
+ class Foo {
83
+ constructor(private readonly name: string) {}
84
+ }
85
+
86
+ class Foo {
87
+ constructor(protected readonly name: string) {}
88
+ }
89
+
90
+ class Foo {
91
+ constructor(public readonly name: string) {}
92
+ }
93
+ ```
94
+
95
+ #### ✅ Correct
96
+
97
+ ```ts
98
+ class Foo {
99
+ constructor(name: string) {}
100
+ }
101
+ ```
102
+
103
+ ### readonly
104
+
105
+ Examples of code for the `{ "allow": ["readonly"] }` options:
106
+
107
+ <!--tabs-->
108
+
109
+ #### ❌ Incorrect
110
+
111
+ ```ts
112
+ class Foo {
113
+ constructor(private name: string) {}
114
+ }
115
+
116
+ class Foo {
117
+ constructor(protected name: string) {}
118
+ }
119
+
120
+ class Foo {
121
+ constructor(public name: string) {}
122
+ }
123
+
124
+ class Foo {
125
+ constructor(private readonly name: string) {}
126
+ }
127
+
128
+ class Foo {
129
+ constructor(protected readonly name: string) {}
130
+ }
131
+
132
+ class Foo {
133
+ constructor(public readonly name: string) {}
134
+ }
135
+ ```
136
+
137
+ #### ✅ Correct
138
+
139
+ ```ts
140
+ class Foo {
141
+ constructor(name: string) {}
142
+ }
143
+
144
+ class Foo {
145
+ constructor(readonly name: string) {}
146
+ }
147
+ ```
148
+
149
+ ### private
150
+
151
+ Examples of code for the `{ "allow": ["private"] }` options:
152
+
153
+ <!--tabs-->
154
+
155
+ #### ❌ Incorrect
156
+
157
+ ```ts
158
+ class Foo {
159
+ constructor(readonly name: string) {}
160
+ }
161
+
162
+ class Foo {
163
+ constructor(protected name: string) {}
164
+ }
165
+
166
+ class Foo {
167
+ constructor(public name: string) {}
168
+ }
169
+
170
+ class Foo {
171
+ constructor(private readonly name: string) {}
172
+ }
173
+
174
+ class Foo {
175
+ constructor(protected readonly name: string) {}
176
+ }
177
+
178
+ class Foo {
179
+ constructor(public readonly name: string) {}
180
+ }
181
+ ```
182
+
183
+ #### ✅ Correct
184
+
185
+ ```ts
186
+ class Foo {
187
+ constructor(name: string) {}
188
+ }
189
+
190
+ class Foo {
191
+ constructor(private name: string) {}
192
+ }
193
+ ```
194
+
195
+ ### protected
196
+
197
+ Examples of code for the `{ "allow": ["protected"] }` options:
198
+
199
+ <!--tabs-->
200
+
201
+ #### ❌ Incorrect
202
+
203
+ ```ts
204
+ class Foo {
205
+ constructor(readonly name: string) {}
206
+ }
207
+
208
+ class Foo {
209
+ constructor(private name: string) {}
210
+ }
211
+
212
+ class Foo {
213
+ constructor(public name: string) {}
214
+ }
215
+
216
+ class Foo {
217
+ constructor(private readonly name: string) {}
218
+ }
219
+
220
+ class Foo {
221
+ constructor(protected readonly name: string) {}
222
+ }
223
+
224
+ class Foo {
225
+ constructor(public readonly name: string) {}
226
+ }
227
+ ```
228
+
229
+ #### ✅ Correct
230
+
231
+ ```ts
232
+ class Foo {
233
+ constructor(name: string) {}
234
+ }
235
+
236
+ class Foo {
237
+ constructor(protected name: string) {}
238
+ }
239
+ ```
240
+
241
+ ### public
242
+
243
+ Examples of code for the `{ "allow": ["public"] }` options:
244
+
245
+ <!--tabs-->
246
+
247
+ #### ❌ Incorrect
248
+
249
+ ```ts
250
+ class Foo {
251
+ constructor(readonly name: string) {}
252
+ }
253
+
254
+ class Foo {
255
+ constructor(private name: string) {}
256
+ }
257
+
258
+ class Foo {
259
+ constructor(protected name: string) {}
260
+ }
261
+
262
+ class Foo {
263
+ constructor(private readonly name: string) {}
264
+ }
265
+
266
+ class Foo {
267
+ constructor(protected readonly name: string) {}
268
+ }
269
+
270
+ class Foo {
271
+ constructor(public readonly name: string) {}
272
+ }
273
+ ```
274
+
275
+ #### ✅ Correct
276
+
277
+ ```ts
278
+ class Foo {
279
+ constructor(name: string) {}
280
+ }
281
+
282
+ class Foo {
283
+ constructor(public name: string) {}
284
+ }
285
+ ```
286
+
287
+ ### private readonly
288
+
289
+ Examples of code for the `{ "allow": ["private readonly"] }` options:
290
+
291
+ <!--tabs-->
292
+
293
+ #### ❌ Incorrect
294
+
295
+ ```ts
296
+ class Foo {
297
+ constructor(readonly name: string) {}
298
+ }
299
+
300
+ class Foo {
301
+ constructor(private name: string) {}
302
+ }
303
+
304
+ class Foo {
305
+ constructor(protected name: string) {}
306
+ }
307
+
308
+ class Foo {
309
+ constructor(public name: string) {}
310
+ }
311
+
312
+ class Foo {
313
+ constructor(protected readonly name: string) {}
314
+ }
315
+
316
+ class Foo {
317
+ constructor(public readonly name: string) {}
318
+ }
319
+ ```
320
+
321
+ #### ✅ Correct
322
+
323
+ ```ts
324
+ class Foo {
325
+ constructor(name: string) {}
326
+ }
327
+
328
+ class Foo {
329
+ constructor(private readonly name: string) {}
330
+ }
331
+ ```
332
+
333
+ ### protected readonly
334
+
335
+ Examples of code for the `{ "allow": ["protected readonly"] }` options:
336
+
337
+ <!--tabs-->
338
+
339
+ #### ❌ Incorrect
340
+
341
+ ```ts
342
+ class Foo {
343
+ constructor(readonly name: string) {}
344
+ }
345
+
346
+ class Foo {
347
+ constructor(private name: string) {}
348
+ }
349
+
350
+ class Foo {
351
+ constructor(protected name: string) {}
352
+ }
353
+
354
+ class Foo {
355
+ constructor(public name: string) {}
356
+ }
357
+
358
+ class Foo {
359
+ constructor(private readonly name: string) {}
360
+ }
361
+
362
+ class Foo {
363
+ constructor(public readonly name: string) {}
364
+ }
365
+ ```
366
+
367
+ #### ✅ Correct
368
+
369
+ ```ts
370
+ class Foo {
371
+ constructor(name: string) {}
372
+ }
373
+
374
+ class Foo {
375
+ constructor(protected readonly name: string) {}
376
+ }
377
+ ```
378
+
379
+ ### public readonly
380
+
381
+ Examples of code for the `{ "allow": ["public readonly"] }` options:
382
+
383
+ <!--tabs-->
384
+
385
+ #### ❌ Incorrect
386
+
387
+ ```ts
388
+ class Foo {
389
+ constructor(readonly name: string) {}
390
+ }
391
+
392
+ class Foo {
393
+ constructor(private name: string) {}
394
+ }
395
+
396
+ class Foo {
397
+ constructor(protected name: string) {}
398
+ }
399
+
400
+ class Foo {
401
+ constructor(public name: string) {}
402
+ }
403
+
404
+ class Foo {
405
+ constructor(private readonly name: string) {}
406
+ }
407
+
408
+ class Foo {
409
+ constructor(protected readonly name: string) {}
410
+ }
411
+ ```
412
+
413
+ #### ✅ Correct
414
+
415
+ ```ts
416
+ class Foo {
417
+ constructor(name: string) {}
418
+ }
419
+
420
+ class Foo {
421
+ constructor(public readonly name: string) {}
422
+ }
423
+ ```
424
+
425
+ ### `"parameter-property"`
426
+
427
+ Examples of code for the `{ "prefer": "parameter-property" }` option:
428
+
429
+ <!--tabs-->
430
+
431
+ #### ❌ Incorrect
432
+
433
+ ```ts
434
+ class Foo {
435
+ private name: string;
436
+ constructor(name: string) {
437
+ this.name = name;
438
+ }
439
+ }
440
+
441
+ class Foo {
442
+ public readonly name: string;
443
+ constructor(name: string) {
444
+ this.name = name;
445
+ }
446
+ }
447
+
448
+ class Foo {
449
+ constructor(name: string) {
450
+ this.name = name;
451
+ }
452
+ name: string;
453
+ }
454
+ ```
455
+
456
+ #### ✅ Correct
457
+
458
+ ```ts
459
+ class Foo {
460
+ private differentName: string;
461
+ constructor(name: string) {
462
+ this.differentName = name;
463
+ }
464
+ }
465
+
466
+ class Foo {
467
+ private differentType: number | undefined;
468
+ constructor(differentType: number) {
469
+ this.differentType = differentType;
470
+ }
471
+ }
472
+
473
+ class Foo {
474
+ protected logicInConstructor: string;
475
+ constructor(logicInConstructor: string) {
476
+ console.log('Hello, world!');
477
+ this.logicInConstructor = logicInConstructor;
478
+ }
479
+ }
480
+ ```
481
+
482
+ ## When Not To Use It
483
+
484
+ If you don't care about the using parameter properties in constructors, then you will not need this rule.
485
+
486
+ ## Related To
487
+
488
+ - TSLint: [no-parameter-properties](https://palantir.github.io/tslint/rules/no-parameter-properties/)
489
+
490
+ ## Attributes
491
+
492
+ - Configs:
493
+ - [ ] ✅ Recommended
494
+ - [ ] 🔒 Strict
495
+ - [ ] 🔧 Fixable
496
+ - [ ] 💭 Requires type information
@@ -50,6 +50,8 @@ If you are using TypeScript < 3.4
50
50
 
51
51
  ## Attributes
52
52
 
53
- - [x] ✅ Recommended
53
+ - Configs:
54
+ - [x] ✅ Recommended
55
+ - [x] 🔒 Strict
54
56
  - [x] 🔧 Fixable
55
57
  - [ ] 💭 Requires type information
@@ -71,12 +71,27 @@ enum Color {
71
71
  }
72
72
  ```
73
73
 
74
+ ## Options
75
+
76
+ ```jsonc
77
+ // .eslintrc.json
78
+ {
79
+ "rules": {
80
+ "@typescript-eslint/prefer-enum-initializers": "warn"
81
+ }
82
+ }
83
+ ```
84
+
85
+ This rule is not configurable.
86
+
74
87
  ## When Not To Use It
75
88
 
76
89
  If you don't care about `enum`s having implicit values you can safely disable this rule.
77
90
 
78
91
  ## Attributes
79
92
 
80
- - [ ] ✅ Recommended
93
+ - Configs:
94
+ - [ ] ✅ Recommended
95
+ - [ ] 🔒 Strict
81
96
  - [ ] 🔧 Fixable
82
97
  - [ ] 💭 Requires type information
@@ -38,6 +38,19 @@ for (let i = 0; i < arr.length; i++) {
38
38
  }
39
39
  ```
40
40
 
41
+ ## Options
42
+
43
+ ```jsonc
44
+ // .eslintrc.json
45
+ {
46
+ "rules": {
47
+ "@typescript-eslint/prefer-for-of": "warn"
48
+ }
49
+ }
50
+ ```
51
+
52
+ This rule is not configurable.
53
+
41
54
  ## When Not To Use It
42
55
 
43
56
  If you transpile for browsers that do not support for-of loops, you may wish to use traditional for loops that produce more compact code.
@@ -48,6 +61,8 @@ If you transpile for browsers that do not support for-of loops, you may wish to
48
61
 
49
62
  ## Attributes
50
63
 
51
- - [ ] ✅ Recommended
64
+ - Configs:
65
+ - [ ] ✅ Recommended
66
+ - [x] 🔒 Strict
52
67
  - [ ] 🔧 Fixable
53
68
  - [ ] 💭 Requires type information
@@ -78,6 +78,19 @@ interface Overloaded {
78
78
  type Intersection = ((data: string) => number) & ((id: number) => string);
79
79
  ```
80
80
 
81
+ ## Options
82
+
83
+ ```jsonc
84
+ // .eslintrc.json
85
+ {
86
+ "rules": {
87
+ "@typescript-eslint/prefer-function-type": "warn"
88
+ }
89
+ }
90
+ ```
91
+
92
+ This rule is not configurable.
93
+
81
94
  ## When Not To Use It
82
95
 
83
96
  If you specifically want to use an interface or type literal with a single call signature for stylistic reasons, you can disable this rule.
@@ -88,6 +101,8 @@ If you specifically want to use an interface or type literal with a single call
88
101
 
89
102
  ## Attributes
90
103
 
91
- - [ ] ✅ Recommended
104
+ - Configs:
105
+ - [ ] ✅ Recommended
106
+ - [x] 🔒 Strict
92
107
  - [x] 🔧 Fixable
93
108
  - [ ] 💭 Requires type information
@@ -72,7 +72,16 @@ mismatchExample.indexOf(value) >= 0;
72
72
 
73
73
  ## Options
74
74
 
75
- There are no options.
75
+ ```jsonc
76
+ // .eslintrc.json
77
+ {
78
+ "rules": {
79
+ "@typescript-eslint/prefer-includes": "warn"
80
+ }
81
+ }
82
+ ```
83
+
84
+ This rule is not configurable.
76
85
 
77
86
  ## When Not To Use It
78
87
 
@@ -80,6 +89,8 @@ If you don't want to suggest `includes`, you can safely turn this rule off.
80
89
 
81
90
  ## Attributes
82
91
 
83
- - [ ] ✅ Recommended
92
+ - Configs:
93
+ - [ ] ✅ Recommended
94
+ - [x] 🔒 Strict
84
95
  - [x] 🔧 Fixable
85
96
  - [x] 💭 Requires type information
@@ -99,6 +99,8 @@ If you want use anything other than simple literals as an enum value.
99
99
 
100
100
  ## Attributes
101
101
 
102
- - [ ] ✅ Recommended
102
+ - Configs:
103
+ - [ ] ✅ Recommended
104
+ - [x] 🔒 Strict
103
105
  - [ ] 🔧 Fixable
104
106
  - [ ] 💭 Requires type information
@@ -38,6 +38,8 @@ This rule is not configurable.
38
38
 
39
39
  ## Attributes
40
40
 
41
- - [x] ✅ Recommended
41
+ - Configs:
42
+ - [x] ✅ Recommended
43
+ - [x] 🔒 Strict
42
44
  - [x] 🔧 Fixable
43
45
  - [ ] 💭 Requires type information
@@ -144,6 +144,8 @@ If you are not using TypeScript 3.7 (or greater), then you will not be able to u
144
144
 
145
145
  ## Attributes
146
146
 
147
- - [ ] ✅ Recommended
147
+ - Configs:
148
+ - [ ] ✅ Recommended
149
+ - [x] 🔒 Strict
148
150
  - [ ] 🔧 Fixable
149
151
  - [x] 💭 Requires type information
@@ -22,6 +22,10 @@ function myFunc(foo: T | null) {
22
22
  function myFunc(foo: T | null) {
23
23
  return foo && foo.a && foo.a.b && foo.a.b.c;
24
24
  }
25
+ // or
26
+ function myFunc(foo: T | null) {
27
+ return (((foo || {}).a || {}).b || {}).c;
28
+ }
25
29
 
26
30
  function myFunc(foo: T | null) {
27
31
  return foo?.['a']?.b?.c;
@@ -57,6 +61,9 @@ foo && foo.a && foo.a.b && foo.a.b.c;
57
61
  foo && foo['a'] && foo['a'].b && foo['a'].b.c;
58
62
  foo && foo.a && foo.a.b && foo.a.b.method && foo.a.b.method();
59
63
 
64
+ (((foo || {}).a || {}).b {}).c;
65
+ (((foo || {})['a'] || {}).b {}).c;
66
+
60
67
  // this rule also supports converting chained strict nullish checks:
61
68
  foo &&
62
69
  foo.a != null &&
@@ -78,6 +85,19 @@ foo?.a?.b?.c?.d?.e;
78
85
 
79
86
  **Note:** there are a few edge cases where this rule will false positive. Use your best judgement when evaluating reported errors.
80
87
 
88
+ ## Options
89
+
90
+ ```jsonc
91
+ // .eslintrc.json
92
+ {
93
+ "rules": {
94
+ "@typescript-eslint/prefer-optional-chain": "warn"
95
+ }
96
+ }
97
+ ```
98
+
99
+ This rule is not configurable.
100
+
81
101
  ## When Not To Use It
82
102
 
83
103
  If you are not using TypeScript 3.7 (or greater), then you will not be able to use this rule, as the operator is not supported.
@@ -89,6 +109,8 @@ If you are not using TypeScript 3.7 (or greater), then you will not be able to u
89
109
 
90
110
  ## Attributes
91
111
 
92
- - [ ] ✅ Recommended
112
+ - Configs:
113
+ - [ ] ✅ Recommended
114
+ - [x] 🔒 Strict
93
115
  - [ ] 🔧 Fixable
94
116
  - [ ] 💭 Requires type information
@@ -234,7 +234,7 @@ export const acceptsCallback: AcceptsCallback;
234
234
 
235
235
  ### `treatMethodsAsReadonly`
236
236
 
237
- This option allows you to treat all mutable methods as though they were readonly. This may be desirable in when you are never reassigning methods.
237
+ This option allows you to treat all mutable methods as though they were readonly. This may be desirable when you are never reassigning methods.
238
238
 
239
239
  Examples of code for this rule with `{treatMethodsAsReadonly: false}`:
240
240
 
@@ -280,6 +280,8 @@ function foo(arg: MyType) {}
280
280
 
281
281
  ## Attributes
282
282
 
283
- - [ ] ✅ Recommended
283
+ - Configs:
284
+ - [ ] ✅ Recommended
285
+ - [ ] 🔒 Strict
284
286
  - [ ] 🔧 Fixable
285
287
  - [x] 💭 Requires type information