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
@@ -1,6 +1,6 @@
1
1
  # `method-signature-style`
2
2
 
3
- Enforces using a particular method signature syntax..
3
+ Enforces using a particular method signature syntax.
4
4
 
5
5
  There are two ways to define an object/interface function property.
6
6
 
@@ -107,6 +107,8 @@ If you don't want to enforce a particular style for object/interface function ty
107
107
 
108
108
  ## Attributes
109
109
 
110
- - [ ] ✅ Recommended
110
+ - Configs:
111
+ - [ ] ✅ Recommended
112
+ - [ ] 🔒 Strict
111
113
  - [x] 🔧 Fixable
112
114
  - [ ] 💭 Requires type information
@@ -703,6 +703,8 @@ If you do not want to enforce naming conventions for anything.
703
703
 
704
704
  ## Attributes
705
705
 
706
- - [ ] ✅ Recommended
706
+ - Configs:
707
+ - [ ] ✅ Recommended
708
+ - [ ] 🔒 Strict
707
709
  - [ ] 🔧 Fixable
708
710
  - [x] 💭 Requires type information
@@ -52,6 +52,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
52
52
 
53
53
  ## Attributes
54
54
 
55
- - [x] ✅ Recommended
55
+ - Configs:
56
+ - [x] ✅ Recommended
57
+ - [x] 🔒 Strict
56
58
  - [x] 🔧 Fixable
57
59
  - [ ] 💭 Requires type information
@@ -92,6 +92,8 @@ If you don't mind `"[object Object]"` in your strings, then you will not need th
92
92
 
93
93
  ## Attributes
94
94
 
95
- - [ ] ✅ Recommended
95
+ - Configs:
96
+ - [ ] ✅ Recommended
97
+ - [x] 🔒 Strict
96
98
  - [ ] 🔧 Fixable
97
99
  - [x] 💭 Requires type information
@@ -41,6 +41,19 @@ const isEqualsBar = foo.bar == 'hello';
41
41
  const isEqualsNum = (1 + foo.num!) == 2;
42
42
  ```
43
43
 
44
+ ## Options
45
+
46
+ ```jsonc
47
+ // .eslintrc.json
48
+ {
49
+ "rules": {
50
+ "@typescript-eslint/no-confusing-non-null-assertion": "warn"
51
+ }
52
+ }
53
+ ```
54
+
55
+ This rule is not configurable.
56
+
44
57
  ## When Not To Use It
45
58
 
46
59
  If you don't care about this confusion, then you will not need this rule.
@@ -51,6 +64,8 @@ If you don't care about this confusion, then you will not need this rule.
51
64
 
52
65
  ## Attributes
53
66
 
54
- - [ ] ✅ Recommended
67
+ - Configs:
68
+ - [ ] ✅ Recommended
69
+ - [x] 🔒 Strict
55
70
  - [x] 🔧 Fixable
56
71
  - [ ] 💭 Requires type information
@@ -154,6 +154,8 @@ Also, if you prefer concise coding style then also don't use it.
154
154
 
155
155
  ## Attributes
156
156
 
157
- - [ ] ✅ Recommended
157
+ - Configs:
158
+ - [ ] ✅ Recommended
159
+ - [ ] 🔒 Strict
158
160
  - [x] 🔧 Fixable
159
161
  - [x] 💭 Requires type information
@@ -29,6 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
29
29
 
30
30
  ## Attributes
31
31
 
32
- - [ ] ✅ Recommended
32
+ - Configs:
33
+ - [ ] ✅ Recommended
34
+ - [ ] 🔒 Strict
33
35
  - [ ] 🔧 Fixable
34
36
  - [ ] 💭 Requires type information
@@ -0,0 +1,64 @@
1
+ # `no-duplicate-enum-values`
2
+
3
+ Disallow duplicate enum member values.
4
+
5
+ Although TypeScript supports duplicate enum member values, people usually expect members to have unique values within the same enum. Duplicate values can lead to bugs that are hard to track down.
6
+
7
+ ## Rule Details
8
+
9
+ This rule disallows defining an enum with multiple members initialized to the same value. Now it only enforces on enum members initialized with String or Number literals. Members without initializer or initialized with an expression are not checked by this rule.
10
+
11
+ <!--tabs-->
12
+
13
+ ### ❌ Incorrect
14
+
15
+ ```ts
16
+ enum E {
17
+ A = 0,
18
+ B = 0,
19
+ }
20
+ ```
21
+
22
+ ```ts
23
+ enum E {
24
+ A = 'A'
25
+ B = 'A'
26
+ }
27
+ ```
28
+
29
+ ### ✅ Correct
30
+
31
+ ```ts
32
+ enum E {
33
+ A = 0,
34
+ B = 1,
35
+ }
36
+ ```
37
+
38
+ ```ts
39
+ enum E {
40
+ A = 'A'
41
+ B = 'B'
42
+ }
43
+ ```
44
+
45
+ ## Options
46
+
47
+ ```jsonc
48
+ // .eslintrc.json
49
+ {
50
+ "rules": {
51
+ "@typescript-eslint/no-duplicate-enum-values": "warn"
52
+ }
53
+ }
54
+ ```
55
+
56
+ This rule is not configurable.
57
+
58
+ ## Attributes
59
+
60
+ - Configs:
61
+ - [ ] ✅ Recommended
62
+ - [x] 🔒 Strict
63
+ - [ ] 🔧 Fixable
64
+ - [ ] 💭 Requires type information
@@ -29,6 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
29
29
 
30
30
  ## Attributes
31
31
 
32
- - [ ] ✅ Recommended
32
+ - Configs:
33
+ - [ ] ✅ Recommended
34
+ - [ ] 🔒 Strict
33
35
  - [ ] 🔧 Fixable
34
36
  - [ ] 💭 Requires type information
@@ -40,6 +40,19 @@ delete container[7];
40
40
  delete container['-Infinity'];
41
41
  ```
42
42
 
43
+ ## Options
44
+
45
+ ```jsonc
46
+ // .eslintrc.json
47
+ {
48
+ "rules": {
49
+ "@typescript-eslint/no-dynamic-delete": "warn"
50
+ }
51
+ }
52
+ ```
53
+
54
+ This rule is not configurable.
55
+
43
56
  ## When Not To Use It
44
57
 
45
58
  When you know your keys are safe to delete, this rule can be unnecessary.
@@ -54,6 +67,8 @@ Even repeated minor performance slowdowns likely do not significantly affect you
54
67
 
55
68
  ## Attributes
56
69
 
57
- - [ ] ✅ Recommended
70
+ - Configs:
71
+ - [ ] ✅ Recommended
72
+ - [x] 🔒 Strict
58
73
  - [x] 🔧 Fixable
59
74
  - [ ] 💭 Requires type information
@@ -95,6 +95,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
95
95
 
96
96
  ## Attributes
97
97
 
98
- - [x] ✅ Recommended
98
+ - Configs:
99
+ - [x] ✅ Recommended
100
+ - [x] 🔒 Strict
99
101
  - [ ] 🔧 Fixable
100
102
  - [ ] 💭 Requires type information
@@ -71,6 +71,8 @@ If you don't care about having empty/meaningless interfaces, then you will not n
71
71
 
72
72
  ## Attributes
73
73
 
74
- - [x] ✅ Recommended
74
+ - Configs:
75
+ - [x] ✅ Recommended
76
+ - [x] 🔒 Strict
75
77
  - [x] 🔧 Fixable
76
78
  - [ ] 💭 Requires type information
@@ -186,6 +186,8 @@ and you want to be able to specify `any`.
186
186
 
187
187
  ## Attributes
188
188
 
189
- - [x] ✅ Recommended
189
+ - Configs:
190
+ - [x] ✅ Recommended
191
+ - [x] 🔒 Strict
190
192
  - [x] 🔧 Fixable
191
193
  - [ ] 💭 Requires type information
@@ -61,6 +61,8 @@ This rule is not configurable.
61
61
 
62
62
  ## Attributes
63
63
 
64
- - [x] ✅ Recommended
64
+ - Configs:
65
+ - [x] ✅ Recommended
66
+ - [x] 🔒 Strict
65
67
  - [x] 🔧 Fixable
66
68
  - [ ] 💭 Requires type information
@@ -29,6 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
29
29
 
30
30
  ## Attributes
31
31
 
32
- - [ ] ✅ Recommended
32
+ - Configs:
33
+ - [ ] ✅ Recommended
34
+ - [ ] 🔒 Strict
33
35
  - [x] 🔧 Fixable
34
36
  - [ ] 💭 Requires type information
@@ -29,6 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
29
29
 
30
30
  ## Attributes
31
31
 
32
- - [x] ✅ Recommended
32
+ - Configs:
33
+ - [x] ✅ Recommended
34
+ - [x] 🔒 Strict
33
35
  - [x] 🔧 Fixable
34
36
  - [ ] 💭 Requires type information
@@ -87,6 +87,8 @@ team or if you use classes as namespaces.
87
87
 
88
88
  ## Attributes
89
89
 
90
- - [ ] ✅ Recommended
90
+ - Configs:
91
+ - [ ] ✅ Recommended
92
+ - [x] 🔒 Strict
91
93
  - [ ] 🔧 Fixable
92
94
  - [ ] 💭 Requires type information
@@ -1,12 +1,22 @@
1
1
  # `no-floating-promises`
2
2
 
3
- Requires Promise-like values to be handled appropriately.
3
+ Requires Promise-like statements to be handled appropriately.
4
4
 
5
- This rule forbids usage of Promise-like values in statements without handling
6
- their errors appropriately. Unhandled promises can cause several issues, such
7
- as improperly sequenced operations, ignored Promise rejections and more. Valid
8
- ways of handling a Promise-valued statement include `await`ing, returning, and
9
- either calling `.then()` with two arguments or `.catch()` with one argument.
5
+ A "floating" Promise is one that is created without any code set up to handle any errors it might throw.
6
+
7
+ Floating Promises can cause several issues, such as improperly sequenced operations, ignored Promise rejections, and more.
8
+
9
+ Valid ways of handling a Promise-valued statement include:
10
+
11
+ - `await`ing it
12
+ - `return`ing it
13
+ - Calling its `.then()` with two arguments
14
+ - Calling its `.catch()` with one argument
15
+
16
+ :::tip
17
+ `no-floating-promises` only detects unhandled Promise _statements_.
18
+ See [`no-misused-promises`](./no-misused-promises.md) for detecting code that provides Promises to _logical_ locations such as if statements.
19
+ :::
10
20
 
11
21
  ## Rule Details
12
22
 
@@ -87,7 +97,7 @@ With this option set to `true`, and if you are using `no-void`, you should turn
87
97
 
88
98
  ### `ignoreIIFE`
89
99
 
90
- This allows you to skip checking of async iife
100
+ This allows you to skip checking of async IIFEs (Immediately Invocated function Expressions).
91
101
 
92
102
  Examples of **correct** code for this rule with `{ ignoreIIFE: true }`:
93
103
 
@@ -107,10 +117,13 @@ If you do not use Promise-like values in your codebase, or want to allow them to
107
117
 
108
118
  ## Related To
109
119
 
120
+ - [`no-misused-promises`](./no-misused-promises.md)
110
121
  - TSLint: ['no-floating-promises'](https://palantir.github.io/tslint/rules/no-floating-promises/)
111
122
 
112
123
  ## Attributes
113
124
 
114
- - [x] ✅ Recommended
125
+ - Configs:
126
+ - [x] ✅ Recommended
127
+ - [x] 🔒 Strict
115
128
  - [ ] 🔧 Fixable
116
129
  - [x] 💭 Requires type information
@@ -64,6 +64,8 @@ If you want to iterate through a loop using the indices in an array as strings,
64
64
 
65
65
  ## Attributes
66
66
 
67
- - [x] ✅ Recommended
67
+ - Configs:
68
+ - [x] ✅ Recommended
69
+ - [x] 🔒 Strict
68
70
  - [ ] 🔧 Fixable
69
71
  - [x] 💭 Requires type information
@@ -83,6 +83,8 @@ If you are not using TypeScript 4.0 (or greater), then you will not be able to u
83
83
 
84
84
  ## Attributes
85
85
 
86
- - [ ] ✅ Recommended
86
+ - Configs:
87
+ - [ ] ✅ Recommended
88
+ - [ ] 🔒 Strict
87
89
  - [x] 🔧 Fixable
88
90
  - [ ] 💭 Requires type information
@@ -116,6 +116,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
116
116
 
117
117
  ## Attributes
118
118
 
119
- - [x] ✅ Recommended
119
+ - Configs:
120
+ - [x] ✅ Recommended
121
+ - [x] 🔒 Strict
120
122
  - [ ] 🔧 Fixable
121
123
  - [x] 💭 Requires type information
@@ -155,6 +155,8 @@ TSLint: [no-inferrable-types](https://palantir.github.io/tslint/rules/no-inferra
155
155
 
156
156
  ## Attributes
157
157
 
158
- - [x] ✅ Recommended
158
+ - Configs:
159
+ - [x] ✅ Recommended
160
+ - [x] 🔒 Strict
159
161
  - [x] 🔧 Fixable
160
162
  - [ ] 💭 Requires type information
@@ -33,6 +33,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
33
33
 
34
34
  ## Attributes
35
35
 
36
- - [ ] ✅ Recommended
36
+ - Configs:
37
+ - [ ] ✅ Recommended
38
+ - [ ] 🔒 Strict
37
39
  - [ ] 🔧 Fixable
38
40
  - [ ] 💭 Requires type information
@@ -133,6 +133,8 @@ or in invalid places, then you don't need this rule.
133
133
 
134
134
  ## Attributes
135
135
 
136
- - [ ] ✅ Recommended
136
+ - Configs:
137
+ - [ ] ✅ Recommended
138
+ - [x] 🔒 Strict
137
139
  - [ ] 🔧 Fixable
138
140
  - [ ] 💭 Requires type information
@@ -29,6 +29,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
29
29
 
30
30
  ## Attributes
31
31
 
32
- - [ ] ✅ Recommended
32
+ - Configs:
33
+ - [ ] ✅ Recommended
34
+ - [ ] 🔒 Strict
33
35
  - [ ] 🔧 Fixable
34
36
  - [ ] 💭 Requires type information
@@ -26,6 +26,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
26
26
 
27
27
  ## Attributes
28
28
 
29
- - [x] ✅ Recommended
29
+ - Configs:
30
+ - [x] ✅ Recommended
31
+ - [x] 🔒 Strict
30
32
  - [ ] 🔧 Fixable
31
33
  - [ ] 💭 Requires type information
@@ -36,6 +36,7 @@ interface Options extends BaseNoMagicNumbersOptions {
36
36
  ignoreEnums?: boolean;
37
37
  ignoreNumericLiteralTypes?: boolean;
38
38
  ignoreReadonlyClassProperties?: boolean;
39
+ ignoreTypeIndexes?: boolean;
39
40
  }
40
41
 
41
42
  const defaultOptions: Options = {
@@ -43,6 +44,7 @@ const defaultOptions: Options = {
43
44
  ignoreEnums: false,
44
45
  ignoreNumericLiteralTypes: false,
45
46
  ignoreReadonlyClassProperties: false,
47
+ ignoreTypeIndexes: false,
46
48
  };
47
49
  ```
48
50
 
@@ -118,6 +120,28 @@ class Foo {
118
120
  }
119
121
  ```
120
122
 
123
+ ### `ignoreTypeIndexes`
124
+
125
+ A boolean to specify if numbers used to index types are okay. `false` by default.
126
+
127
+ Examples of **incorrect** code for the `{ "ignoreTypeIndexes": false }` option:
128
+
129
+ ```ts
130
+ /*eslint @typescript-eslint/no-magic-numbers: ["error", { "ignoreTypeIndexes": false }]*/
131
+
132
+ type Foo = Bar[0];
133
+ type Baz = Parameters<Foo>[2];
134
+ ```
135
+
136
+ Examples of **correct** code for the `{ "ignoreTypeIndexes": true }` option:
137
+
138
+ ```ts
139
+ /*eslint @typescript-eslint/no-magic-numbers: ["error", { "ignoreTypeIndexes": true }]*/
140
+
141
+ type Foo = Bar[0];
142
+ type Baz = Parameters<Foo>[2];
143
+ ```
144
+
121
145
  <sup>
122
146
 
123
147
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-magic-numbers.md)
@@ -126,6 +150,8 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
126
150
 
127
151
  ## Attributes
128
152
 
129
- - [ ] ✅ Recommended
153
+ - Configs:
154
+ - [ ] ✅ Recommended
155
+ - [ ] 🔒 Strict
130
156
  - [ ] 🔧 Fixable
131
157
  - [ ] 💭 Requires type information
@@ -57,6 +57,8 @@ This rule accepts a single object option with the following default configuratio
57
57
 
58
58
  ## Attributes
59
59
 
60
- - [ ] ✅ Recommended
60
+ - Configs:
61
+ - [ ] ✅ Recommended
62
+ - [x] 🔒 Strict
61
63
  - [x] 🔧 Fixable
62
64
  - [x] 💭 Requires type information
@@ -53,6 +53,8 @@ This rule is not configurable.
53
53
 
54
54
  ## Attributes
55
55
 
56
- - [x] ✅ Recommended
56
+ - Configs:
57
+ - [x] ✅ Recommended
58
+ - [x] 🔒 Strict
57
59
  - [ ] 🔧 Fixable
58
60
  - [ ] 💭 Requires type information
@@ -1,17 +1,21 @@
1
1
  # `no-misused-promises`
2
2
 
3
- Avoid using promises in places not designed to handle them.
3
+ Avoid using Promises in places not designed to handle them.
4
4
 
5
- This rule forbids using promises in places where the TypeScript compiler
6
- allows them but they are not handled properly. These situations can often arise
7
- due to a missing `await` keyword or just a misunderstanding of the way async
5
+ This rule forbids providing Promises to logical locations such as if statements in places where the TypeScript compiler allows them but they are not handled properly.
6
+ These situations can often arise due to a missing `await` keyword or just a misunderstanding of the way async
8
7
  functions are handled/awaited.
9
8
 
9
+ :::tip
10
+ `no-misused-promises` only detects code that provides Promises to incorrect _logical_ locations.
11
+ See [`no-floating-promises`](./no-floating-promises.md) for detecting unhandled Promise _statements_.
12
+ :::
13
+
10
14
  ## Rule Details
11
15
 
12
16
  This rule accepts a single option which is an object with `checksConditionals`
13
17
  and `checksVoidReturn` properties indicating which types of misuse to flag.
14
- Both are enabled by default
18
+ Both are enabled by default.
15
19
 
16
20
  ## Options
17
21
 
@@ -19,10 +23,18 @@ Both are enabled by default
19
23
  type Options = [
20
24
  {
21
25
  checksConditionals?: boolean;
22
- checksVoidReturn?: boolean;
26
+ checksVoidReturn?: boolean | ChecksVoidReturnOptions;
23
27
  },
24
28
  ];
25
29
 
30
+ interface ChecksVoidReturnOptions {
31
+ arguments?: boolean;
32
+ attributes?: boolean;
33
+ properties?: boolean;
34
+ returns?: boolean;
35
+ variables?: boolean;
36
+ }
37
+
26
38
  const defaultOptions: Options = [
27
39
  {
28
40
  checksConditionals: true,
@@ -31,7 +43,26 @@ const defaultOptions: Options = [
31
43
  ];
32
44
  ```
33
45
 
34
- If you don't want functions that return promises where a void return is
46
+ ### `"checksConditionals"`
47
+
48
+ If you don't want to check conditionals, you can configure the rule with `"checksConditionals": false`:
49
+
50
+ ```json
51
+ {
52
+ "@typescript-eslint/no-misused-promises": [
53
+ "error",
54
+ {
55
+ "checksConditionals": false
56
+ }
57
+ ]
58
+ }
59
+ ```
60
+
61
+ Doing so prevents the rule from looking at code like `if (somePromise)`.
62
+
63
+ ### `"checksVoidReturn"`
64
+
65
+ Likewise, if you don't want functions that return promises where a void return is
35
66
  expected to be checked, your configuration will look like this:
36
67
 
37
68
  ```json
@@ -45,15 +76,26 @@ expected to be checked, your configuration will look like this:
45
76
  }
46
77
  ```
47
78
 
48
- Likewise, if you don't want to check conditionals, you can configure the rule
49
- like this:
79
+ You can disable selective parts of the `checksVoidReturn` option by providing an object that disables specific checks.
80
+ The following options are supported:
81
+
82
+ - `arguments`: Disables checking an asynchronous function passed as argument where the parameter type expects a function that returns `void`
83
+ - `attributes`: Disables checking an asynchronous function passed as a JSX attribute expected to be a function that returns `void`
84
+ - `properties`: Disables checking an asynchronous function passed as an object property expected to be a function that returns `void`
85
+ - `returns`: Disables checking an asynchronous function returned in a function whose return type is a function that returns `void`
86
+ - `variables`: Disables checking an asynchronous function used as a variable whose return type is a function that returns `void`
87
+
88
+ For example, if you don't mind that passing a `() => Promise<void>` to a `() => void` parameter or JSX attribute can lead to a floating unhandled Promise:
50
89
 
51
90
  ```json
52
91
  {
53
92
  "@typescript-eslint/no-misused-promises": [
54
93
  "error",
55
94
  {
56
- "checksConditionals": false
95
+ "checksVoidReturn": {
96
+ "arguments": false,
97
+ "attributes": false
98
+ }
57
99
  }
58
100
  ]
59
101
  }
@@ -185,6 +227,8 @@ misuses of them outside of what the TypeScript compiler will check.
185
227
 
186
228
  ## Attributes
187
229
 
188
- - [x] ✅ Recommended
230
+ - Configs:
231
+ - [x] ✅ Recommended
232
+ - [x] 🔒 Strict
189
233
  - [ ] 🔧 Fixable
190
234
  - [x] 💭 Requires type information
@@ -138,6 +138,8 @@ If you are using the ES2015 module syntax, then you will not need this rule.
138
138
 
139
139
  ## Attributes
140
140
 
141
- - [x] ✅ Recommended
141
+ - Configs:
142
+ - [x] ✅ Recommended
143
+ - [x] 🔒 Strict
142
144
  - [ ] 🔧 Fixable
143
145
  - [ ] 💭 Requires type information
@@ -45,6 +45,19 @@ let x: string;
45
45
  x! ?? '';
46
46
  ```
47
47
 
48
+ ## Options
49
+
50
+ ```jsonc
51
+ // .eslintrc.json
52
+ {
53
+ "rules": {
54
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "warn"
55
+ }
56
+ }
57
+ ```
58
+
59
+ This rule is not configurable.
60
+
48
61
  ## When Not To Use It
49
62
 
50
63
  If you are not using TypeScript 3.7 (or greater), then you will not need to use this rule, as the nullish coalescing operator is not supported.
@@ -56,6 +69,8 @@ If you are not using TypeScript 3.7 (or greater), then you will not need to use
56
69
 
57
70
  ## Attributes
58
71
 
59
- - [ ] ✅ Recommended
72
+ - Configs:
73
+ - [ ] ✅ Recommended
74
+ - [x] 🔒 Strict
60
75
  - [ ] 🔧 Fixable
61
76
  - [ ] 💭 Requires type information
@@ -68,6 +68,8 @@ If you are not using TypeScript 3.7 (or greater), then you will not need to use
68
68
 
69
69
  ## Attributes
70
70
 
71
- - [x] ✅ Recommended
71
+ - Configs:
72
+ - [x] ✅ Recommended
73
+ - [x] 🔒 Strict
72
74
  - [ ] 🔧 Fixable
73
75
  - [ ] 💭 Requires type information