xo 0.49.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/config/plugins.cjs +24 -24
  2. package/lib/constants.js +6 -6
  3. package/lib/options-manager.js +3 -3
  4. package/node_modules/@typescript-eslint/eslint-plugin/README.md +97 -100
  5. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +0 -1
  6. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
  7. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js +1 -1
  8. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js.map +1 -1
  9. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +1 -6
  10. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -1
  11. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +1 -1
  12. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
  13. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +1 -1
  14. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +1 -1
  15. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +55 -54
  16. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
  17. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +1 -1
  18. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -1
  19. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +1 -1
  20. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -1
  21. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +1 -1
  22. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +1 -1
  23. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -1
  24. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +1 -1
  25. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
  26. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +1 -1
  27. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -1
  28. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +1 -1
  29. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
  30. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +1 -1
  31. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -1
  32. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +1 -1
  33. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -1
  34. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +1 -1
  35. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
  36. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +1 -1
  37. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +1 -1
  38. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +18 -3
  39. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -1
  40. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +1 -1
  41. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -1
  42. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +1 -1
  43. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
  44. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +1 -1
  45. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -1
  46. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +1 -1
  47. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
  48. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +2 -0
  49. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js.map +1 -1
  50. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +1 -1
  51. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -1
  52. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +11 -1
  53. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -1
  54. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +1 -1
  55. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
  56. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +1 -1
  57. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -1
  58. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +1 -1
  59. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
  60. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +1 -1
  61. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
  62. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +1 -1
  63. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -1
  64. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +29 -3
  65. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
  66. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +1 -1
  67. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -1
  68. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +1 -1
  69. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
  70. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +1 -1
  71. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -1
  72. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +1 -1
  73. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -1
  74. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +1 -1
  75. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -1
  76. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +2 -1
  77. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -1
  78. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +1 -1
  79. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
  80. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +1 -1
  81. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +1 -1
  82. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
  83. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +1 -1
  84. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -1
  85. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +1 -1
  86. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -1
  87. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +1 -1
  88. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -1
  89. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +7 -7
  90. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
  91. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +8 -8
  92. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -1
  93. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +1 -1
  94. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -1
  95. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +4 -4
  96. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -1
  97. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +1 -1
  98. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -1
  99. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +1 -1
  100. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -1
  101. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +1 -1
  102. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -1
  103. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +1 -1
  104. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +1 -1
  105. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +1 -1
  106. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +1 -1
  107. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +1 -1
  108. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +1 -1
  109. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +1 -1
  110. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +1 -1
  111. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
  112. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +1 -1
  113. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -1
  114. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +1 -1
  115. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +1 -1
  116. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +1 -1
  117. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +1 -1
  118. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +1 -1
  119. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -1
  120. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +1 -1
  121. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
  122. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +1 -1
  123. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +1 -1
  124. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +8 -3
  125. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -1
  126. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +1 -1
  127. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +1 -1
  128. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +1 -1
  129. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -1
  130. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +1 -1
  131. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
  132. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +1 -1
  133. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +1 -1
  134. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +1 -1
  135. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -1
  136. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +1 -1
  137. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -1
  138. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +1 -1
  139. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -1
  140. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +1 -1
  141. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -1
  142. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +1 -1
  143. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +1 -1
  144. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +1 -1
  145. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
  146. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +1 -1
  147. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -1
  148. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +1 -1
  149. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
  150. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +17 -7
  151. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +1 -1
  152. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +1 -1
  153. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -1
  154. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +1 -1
  155. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -1
  156. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +1 -1
  157. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -1
  158. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +21 -19
  159. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +1 -1
  160. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +1 -1
  161. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
  162. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +1 -1
  163. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +1 -1
  164. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +36 -1
  165. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
  166. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +98 -100
  167. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +0 -8
  168. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +1 -9
  169. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +0 -8
  170. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +0 -8
  171. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +1 -9
  172. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +1 -9
  173. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +28 -27
  174. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +1 -9
  175. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +1 -9
  176. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +1 -9
  177. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +0 -8
  178. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +1 -9
  179. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +0 -8
  180. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +1 -9
  181. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +0 -8
  182. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +0 -8
  183. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +1 -9
  184. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +1 -9
  185. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +3 -11
  186. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +3 -11
  187. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +3 -11
  188. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +1 -9
  189. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +1 -9
  190. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +1 -9
  191. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +1 -9
  192. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +1 -9
  193. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +1 -9
  194. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +1 -9
  195. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +0 -8
  196. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +0 -8
  197. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +1 -9
  198. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +1 -9
  199. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +1 -9
  200. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +0 -8
  201. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +1 -9
  202. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +1 -9
  203. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +5 -9
  204. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +1 -9
  205. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +19 -10
  206. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +1 -9
  207. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +1 -9
  208. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +1 -9
  209. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +1 -9
  210. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +1 -9
  211. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +255 -31
  212. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +0 -8
  213. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +1 -9
  214. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +3 -9
  215. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +1 -9
  216. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +0 -8
  217. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +1 -9
  218. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +1 -9
  219. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +1 -9
  220. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +1 -9
  221. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +1 -9
  222. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +2 -10
  223. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +1 -9
  224. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +57 -12
  225. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +1 -9
  226. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +1 -9
  227. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +1 -9
  228. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +0 -8
  229. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +1 -9
  230. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +1 -9
  231. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +1 -9
  232. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +0 -8
  233. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +1 -9
  234. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +1 -9
  235. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +1 -9
  236. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +1 -9
  237. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +17 -9
  238. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +1 -9
  239. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +1 -9
  240. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +1 -9
  241. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +1 -9
  242. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +1 -9
  243. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +0 -8
  244. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +1 -9
  245. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +1 -9
  246. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +1 -9
  247. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +1 -9
  248. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +1 -9
  249. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +1 -9
  250. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +1 -9
  251. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +1 -9
  252. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +1 -9
  253. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +1 -9
  254. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +1 -9
  255. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +1 -9
  256. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +1 -9
  257. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +1 -9
  258. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +1 -9
  259. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +1 -9
  260. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +1 -9
  261. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +1 -9
  262. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +1 -9
  263. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +1 -9
  264. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +1 -9
  265. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +1 -9
  266. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +1 -9
  267. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +1 -9
  268. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +3 -11
  269. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +1 -9
  270. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +1 -9
  271. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +1 -9
  272. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +1 -9
  273. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +1 -9
  274. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +1 -9
  275. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +0 -9
  276. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +1 -9
  277. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +0 -8
  278. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +1 -9
  279. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +1 -9
  280. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +1 -9
  281. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +0 -8
  282. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +1 -9
  283. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +1 -9
  284. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +0 -8
  285. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +0 -8
  286. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +1 -9
  287. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +1 -9
  288. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +1 -9
  289. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +17 -9
  290. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +1 -9
  291. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +1 -9
  292. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +0 -8
  293. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +1 -9
  294. package/node_modules/@typescript-eslint/eslint-plugin/package.json +7 -7
  295. package/node_modules/@typescript-eslint/parser/README.md +14 -10
  296. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
  297. package/node_modules/@typescript-eslint/parser/dist/parser.js +1 -8
  298. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
  299. package/node_modules/@typescript-eslint/parser/package.json +7 -7
  300. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +9 -9
  301. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
  302. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
  303. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +4 -0
  304. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
  305. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +44 -4
  306. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
  307. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -1
  308. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +2 -11
  309. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -1
  310. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -1
  311. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +3 -0
  312. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
  313. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +11 -0
  314. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
  315. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +3 -1
  316. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -1
  317. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
  318. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
  319. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +11 -0
  320. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
  321. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +1 -1
  322. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -1
  323. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -1
  324. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +2 -11
  325. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -1
  326. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +2 -0
  327. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
  328. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +4 -0
  329. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
  330. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
  331. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +13 -1
  332. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
  333. package/node_modules/@typescript-eslint/scope-manager/package.json +6 -6
  334. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/containsAllTypesByName.d.ts +8 -0
  335. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getConstrainedTypeAtLocation.d.ts +6 -0
  336. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getContextualType.d.ts +8 -0
  337. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getDeclaration.d.ts +6 -0
  338. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getSourceFileOfNode.d.ts +6 -0
  339. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTokenAtPosition.d.ts +3 -0
  340. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeArguments.d.ts +3 -0
  341. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeName.d.ts +8 -0
  342. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/index.d.ts +15 -0
  343. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isTypeReadonly.d.ts +20 -0
  344. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isUnsafeAssignment.d.ts +17 -0
  345. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/predicates.d.ts +52 -0
  346. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/propertyTypes.d.ts +4 -0
  347. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/requiresQuoting.d.ts +4 -0
  348. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/typeFlagUtils.d.ts +11 -0
  349. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +27 -27
  350. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -1
  351. package/node_modules/@typescript-eslint/type-utils/package.json +6 -6
  352. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +390 -48
  353. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -1
  354. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +1 -0
  355. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -1
  356. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
  357. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
  358. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +0 -1
  359. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
  360. package/node_modules/@typescript-eslint/types/package.json +4 -4
  361. package/node_modules/@typescript-eslint/typescript-estree/README.md +1 -1
  362. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
  363. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +25 -11
  364. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
  365. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +1 -1
  366. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +2 -1
  367. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -1
  368. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -1
  369. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +34 -1
  370. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -1
  371. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +2 -2
  372. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -1
  373. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +5 -0
  374. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +1 -0
  375. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +72 -0
  376. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +1 -0
  377. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +1 -2
  378. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -1
  379. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +8 -23
  380. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
  381. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +1 -0
  382. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -1
  383. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +1 -0
  384. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
  385. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +1 -1
  386. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -1
  387. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +6 -3
  388. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
  389. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +2 -1
  390. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -1
  391. package/node_modules/@typescript-eslint/typescript-estree/package.json +7 -7
  392. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +48 -0
  393. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +76 -0
  394. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/astUtilities.d.ts +76 -0
  395. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/index.d.ts +6 -0
  396. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/predicates.d.ts +32 -0
  397. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +18 -0
  398. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/helpers.d.ts +47 -0
  399. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/index.d.ts +5 -0
  400. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/misc.d.ts +8 -0
  401. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/predicates.d.ts +180 -0
  402. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/InferTypesFromRule.d.ts +11 -0
  403. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +35 -0
  404. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleTester.d.ts +18 -0
  405. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/applyDefault.d.ts +10 -0
  406. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/batchedSingleLineTests.d.ts +24 -0
  407. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/deepMerge.d.ts +17 -0
  408. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/getParserServices.d.ts +8 -0
  409. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/index.d.ts +9 -0
  410. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/nullThrows.d.ts +14 -0
  411. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/index.d.ts +8 -0
  412. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/json-schema.d.ts +2 -0
  413. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/AST.d.ts +9 -0
  414. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/CLIEngine.d.ts +137 -0
  415. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ESLint.d.ts +376 -0
  416. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Linter.d.ts +326 -0
  417. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ParserOptions.d.ts +2 -0
  418. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Rule.d.ts +389 -0
  419. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +154 -0
  420. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Scope.d.ts +44 -0
  421. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/SourceCode.d.ts +342 -0
  422. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/index.d.ts +10 -0
  423. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Definition.d.ts +19 -0
  424. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Options.d.ts +15 -0
  425. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/PatternVisitor.d.ts +25 -0
  426. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Reference.d.ts +28 -0
  427. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Referencer.d.ts +55 -0
  428. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Scope.d.ts +103 -0
  429. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/ScopeManager.d.ts +50 -0
  430. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Variable.d.ts +17 -0
  431. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/analyze.d.ts +16 -0
  432. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/index.d.ts +11 -0
  433. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-estree.d.ts +3 -0
  434. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +2 -2
  435. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +1 -1
  436. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +7 -7
  437. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +1 -1
  438. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
  439. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +1 -1
  440. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +6 -2
  441. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
  442. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map +1 -1
  443. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +2 -0
  444. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +1 -1
  445. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts +3 -3
  446. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts.map +1 -1
  447. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts +2 -2
  448. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map +1 -1
  449. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.d.ts +1 -1
  450. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.d.ts.map +1 -1
  451. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts +1 -1
  452. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts.map +1 -1
  453. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.d.ts +1 -1
  454. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.d.ts.map +1 -1
  455. package/node_modules/@typescript-eslint/utils/package.json +7 -7
  456. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -1
  457. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +1 -0
  458. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
  459. package/node_modules/@typescript-eslint/visitor-keys/package.json +5 -5
  460. package/package.json +10 -10
  461. package/readme.md +1 -1
@@ -1,6 +1,6 @@
1
1
  # `no-misused-promises`
2
2
 
3
- Avoid using Promises in places not designed to handle them.
3
+ Disallows Promises in places not designed to handle them.
4
4
 
5
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
6
  These situations can often arise due to a missing `await` keyword or just a misunderstanding of the way async
@@ -13,9 +13,9 @@ See [`no-floating-promises`](./no-floating-promises.md) for detecting unhandled
13
13
 
14
14
  ## Rule Details
15
15
 
16
- This rule accepts a single option which is an object with `checksConditionals`
17
- and `checksVoidReturn` properties indicating which types of misuse to flag.
18
- Both are enabled by default.
16
+ This rule accepts a single option which is an object with `checksConditionals`,
17
+ `checksVoidReturn`, and `checksSpreads` properties indicating which types of
18
+ misuse to flag. All are enabled by default.
19
19
 
20
20
  ## Options
21
21
 
@@ -24,6 +24,7 @@ type Options = [
24
24
  {
25
25
  checksConditionals?: boolean;
26
26
  checksVoidReturn?: boolean | ChecksVoidReturnOptions;
27
+ checksSpreads?: boolean;
27
28
  },
28
29
  ];
29
30
 
@@ -39,6 +40,7 @@ const defaultOptions: Options = [
39
40
  {
40
41
  checksConditionals: true,
41
42
  checksVoidReturn: true,
43
+ checksSpreads: true,
42
44
  },
43
45
  ];
44
46
  ```
@@ -101,6 +103,21 @@ For example, if you don't mind that passing a `() => Promise<void>` to a `() =>
101
103
  }
102
104
  ```
103
105
 
106
+ ### `"checksSpreads"`
107
+
108
+ If you don't want to check object spreads, you can add this configuration:
109
+
110
+ ```json
111
+ {
112
+ "@typescript-eslint/no-misused-promises": [
113
+ "error",
114
+ {
115
+ "checksSpreads": false
116
+ }
117
+ ]
118
+ }
119
+ ```
120
+
104
121
  ### `checksConditionals: true`
105
122
 
106
123
  Examples of code for this rule with `checksConditionals: true`:
@@ -212,6 +229,42 @@ eventEmitter.on('some-event', () => {
212
229
 
213
230
  <!--/tabs-->
214
231
 
232
+ ### `checksSpreads: true`
233
+
234
+ Examples of code for this rule with `checksSpreads: true`:
235
+
236
+ <!--tabs-->
237
+
238
+ #### ❌ Incorrect
239
+
240
+ ```ts
241
+ const getData = () => someAsyncOperation({ myArg: 'foo' });
242
+
243
+ return { foo: 42, ...getData() };
244
+
245
+ const getData2 = async () => {
246
+ await someAsyncOperation({ myArg: 'foo' });
247
+ };
248
+
249
+ return { foo: 42, ...getData2() };
250
+ ```
251
+
252
+ #### ✅ Correct
253
+
254
+ ```ts
255
+ const getData = () => someAsyncOperation({ myArg: 'foo' });
256
+
257
+ return { foo: 42, ...(await getData()) };
258
+
259
+ const getData2 = async () => {
260
+ await someAsyncOperation({ myArg: 'foo' });
261
+ };
262
+
263
+ return { foo: 42, ...(await getData2()) };
264
+ ```
265
+
266
+ <!--tabs-->
267
+
215
268
  ## When Not To Use It
216
269
 
217
270
  If you do not use Promises in your codebase or are not concerned with possible
@@ -224,11 +277,3 @@ misuses of them outside of what the TypeScript compiler will check.
224
277
  ## Related To
225
278
 
226
279
  - [`no-floating-promises`](./no-floating-promises.md)
227
-
228
- ## Attributes
229
-
230
- - Configs:
231
- - [x] ✅ Recommended
232
- - [x] 🔒 Strict
233
- - [ ] 🔧 Fixable
234
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-namespace`
2
2
 
3
- Disallow the use of custom TypeScript modules and namespaces.
3
+ Disallows custom TypeScript modules and namespaces.
4
4
 
5
5
  Custom TypeScript modules (`module foo {}`) and namespaces (`namespace foo {}`) are considered outdated
6
6
  ways to organize TypeScript code. ES2015 module syntax is now preferred (`import`/`export`).
@@ -135,11 +135,3 @@ If you are using the ES2015 module syntax, then you will not need this rule.
135
135
  ## Related To
136
136
 
137
137
  - TSLint: [no-namespace](https://palantir.github.io/tslint/rules/no-namespace/)
138
-
139
- ## Attributes
140
-
141
- - Configs:
142
- - [x] ✅ Recommended
143
- - [x] 🔒 Strict
144
- - [ ] 🔧 Fixable
145
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-non-null-asserted-nullish-coalescing`
2
2
 
3
- Disallows using a non-null assertion in the left operand of the nullish coalescing operator.
3
+ Disallows non-null assertions in the left operand of a nullish coalescing operator.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -66,11 +66,3 @@ If you are not using TypeScript 3.7 (or greater), then you will not need to use
66
66
 
67
67
  - [TypeScript 3.7 Release Notes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html)
68
68
  - [Nullish Coalescing Proposal](https://github.com/tc39/proposal-nullish-coalescing)
69
-
70
- ## Attributes
71
-
72
- - Configs:
73
- - [ ] ✅ Recommended
74
- - [x] 🔒 Strict
75
- - [ ] 🔧 Fixable
76
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-non-null-asserted-optional-chain`
2
2
 
3
- Disallows using a non-null assertion after an optional chain expression.
3
+ Disallows non-null assertions after an optional chain expression.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -65,11 +65,3 @@ If you are not using TypeScript 3.7 (or greater), then you will not need to use
65
65
 
66
66
  - [TypeScript 3.7 Release Notes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html)
67
67
  - [Optional Chaining Proposal](https://github.com/tc39/proposal-optional-chaining/)
68
-
69
- ## Attributes
70
-
71
- - Configs:
72
- - [x] ✅ Recommended
73
- - [x] 🔒 Strict
74
- - [ ] 🔧 Fixable
75
- - [ ] 💭 Requires type information
@@ -52,11 +52,3 @@ If you don't care about strict null-checking, then you will not need this rule.
52
52
  ## Further Reading
53
53
 
54
54
  - [`no-non-null-assertion`](https://palantir.github.io/tslint/rules/no-non-null-assertion/) in [TSLint](https://palantir.github.io/tslint/)
55
-
56
- ## Attributes
57
-
58
- - Configs:
59
- - [x] ✅ Recommended
60
- - [x] 🔒 Strict
61
- - [ ] 🔧 Fixable
62
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-parameter-properties`
2
2
 
3
- Disallow the use of parameter properties in class constructors.
3
+ Disallows the use of parameter properties in class constructors.
4
4
 
5
5
  Parameter properties can be confusing to those new to TypeScript as they are less explicit than other ways
6
6
  of declaring and initializing class members.
@@ -399,11 +399,3 @@ If you don't care about the using parameter properties in constructors, then you
399
399
  ## Related To
400
400
 
401
401
  - TSLint: [no-parameter-properties](https://palantir.github.io/tslint/rules/no-parameter-properties/)
402
-
403
- ## Attributes
404
-
405
- - Configs:
406
- - [ ] ✅ Recommended
407
- - [ ] 🔒 Strict
408
- - [ ] 🔧 Fixable
409
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-redeclare`
2
2
 
3
- Disallow variable redeclaration.
3
+ Disallows variable redeclaration.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -84,11 +84,3 @@ const something = 2;
84
84
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-redeclare.md)
85
85
 
86
86
  </sup>
87
-
88
- ## Attributes
89
-
90
- - Configs:
91
- - [ ] ✅ Recommended
92
- - [ ] 🔒 Strict
93
- - [ ] 🔧 Fixable
94
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-redundant-type-constituents`
2
2
 
3
- Disallow members of unions and intersections that do nothing or override type information.
3
+ Disallows members of unions and intersections that do nothing or override type information.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -90,11 +90,3 @@ It also does not provide an auto-fixer just yet.
90
90
  - [Intersection Types](https://www.typescriptlang.org/docs/handbook/2/objects.html#intersection-types)
91
91
  - [Bottom Types](https://en.wikipedia.org/wiki/Bottom_type)
92
92
  - [Top Types](https://en.wikipedia.org/wiki/Top_type)
93
-
94
- ## Attributes
95
-
96
- - Configs:
97
- - [ ] ✅ Recommended
98
- - [ ] 🔒 Strict
99
- - [ ] 🔧 Fixable
100
- - [x] 💭 Requires type information
@@ -51,11 +51,3 @@ If you don't care about TypeScript module syntax, then you will not need this ru
51
51
  ## Related To
52
52
 
53
53
  - TSLint: [no-require-imports](https://palantir.github.io/tslint/rules/no-require-imports/)
54
-
55
- ## Attributes
56
-
57
- - Configs:
58
- - [ ] ✅ Recommended
59
- - [ ] 🔒 Strict
60
- - [ ] 🔧 Fixable
61
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-restricted-imports`
2
2
 
3
- Disallow specified modules when loaded by `import`.
3
+ Disallows specified modules when loaded by `import`.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -68,11 +68,3 @@ export type { Foo } from 'import-foo';
68
68
  import type baz from 'import-baz';
69
69
  export type { Baz } from 'import-baz';
70
70
  ```
71
-
72
- ## Attributes
73
-
74
- - Configs:
75
- - [ ] ✅ Recommended
76
- - [ ] 🔒 Strict
77
- - [ ] 🔧 Fixable
78
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-shadow`
2
2
 
3
- Disallow variable declarations from shadowing variables declared in the outer scope.
3
+ Disallows variable declarations from shadowing variables declared in the outer scope.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -91,11 +91,3 @@ type Func = (test: string) => typeof test;
91
91
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-shadow.md)
92
92
 
93
93
  </sup>
94
-
95
- ## Attributes
96
-
97
- - Configs:
98
- - [ ] ✅ Recommended
99
- - [ ] 🔒 Strict
100
- - [ ] 🔧 Fixable
101
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-this-alias`
2
2
 
3
- Disallow aliasing `this`.
3
+ Disallows aliasing `this`.
4
4
 
5
5
  This rule prohibits assigning variables to `this`.
6
6
 
@@ -60,11 +60,3 @@ If you need to assign `this` to variables, you shouldn’t use this rule.
60
60
  ## Related To
61
61
 
62
62
  - TSLint: [`no-this-assignment`](https://palantir.github.io/tslint/rules/no-this-assignment/)
63
-
64
- ## Attributes
65
-
66
- - Configs:
67
- - [x] ✅ Recommended
68
- - [x] 🔒 Strict
69
- - [ ] 🔧 Fixable
70
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-throw-literal`
2
2
 
3
- Disallow throwing literals as exceptions.
3
+ Disallows throwing literals as exceptions.
4
4
 
5
5
  It is considered good practice to only `throw` the `Error` object itself or an object using the `Error` object as base objects for user-defined exceptions.
6
6
  The fundamental benefit of `Error` objects is that they automatically keep track of where they were built and originated.
@@ -116,11 +116,3 @@ throw new CustomError();
116
116
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-throw-literal.md)
117
117
 
118
118
  </sup>
119
-
120
- ## Attributes
121
-
122
- - Configs:
123
- - [ ] ✅ Recommended
124
- - [x] 🔒 Strict
125
- - [ ] 🔧 Fixable
126
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-type-alias`
2
2
 
3
- Disallow the use of type aliases.
3
+ Disallows type aliases.
4
4
 
5
5
  In TypeScript, type aliases serve three purposes:
6
6
 
@@ -118,6 +118,8 @@ type Foo = string | string[];
118
118
 
119
119
  type Foo = string & string[];
120
120
 
121
+ type Foo = `foo-${number}`;
122
+
121
123
  // reference types
122
124
  interface Bar {}
123
125
  class Baz implements Bar {}
@@ -139,6 +141,8 @@ type Foo = string;
139
141
 
140
142
  type Foo = string & string[];
141
143
 
144
+ type Foo = `foo-${number}`;
145
+
142
146
  // reference types
143
147
  interface Bar {}
144
148
  class Baz implements Bar {}
@@ -156,6 +160,8 @@ type Foo = 'a' | 'b';
156
160
 
157
161
  type Foo = string | string[];
158
162
 
163
+ type Foo = `a-${number}` | `b-${number}`;
164
+
159
165
  // reference types
160
166
  interface Bar {}
161
167
  class Baz implements Bar {}
@@ -175,6 +181,8 @@ type Foo = string;
175
181
 
176
182
  type Foo = string | string[];
177
183
 
184
+ type Foo = `a-${number}` | `b-${number}`;
185
+
178
186
  // reference types
179
187
  interface Bar {}
180
188
  class Baz implements Bar {}
@@ -190,6 +198,8 @@ Examples of **correct** code for the `{ "allowAliases": "in-intersections" }` op
190
198
  // primitives
191
199
  type Foo = string & string[];
192
200
 
201
+ type Foo = `a-${number}` & `b-${number}`;
202
+
193
203
  // reference types
194
204
  interface Bar {}
195
205
  class Baz implements Bar {}
@@ -205,6 +215,8 @@ type Foo = 'a';
205
215
 
206
216
  type Foo = string;
207
217
 
218
+ type Foo = `foo-${number}`;
219
+
208
220
  // reference types
209
221
  interface Bar {}
210
222
  class Baz implements Bar {}
@@ -222,6 +234,10 @@ type Foo = string | string[];
222
234
 
223
235
  type Foo = string & string[];
224
236
 
237
+ type Foo = `a-${number}` & `b-${number}`;
238
+
239
+ type Foo = `a-${number}` | `b-${number}`;
240
+
225
241
  // reference types
226
242
  interface Bar {}
227
243
  class Baz implements Bar {}
@@ -596,11 +612,3 @@ callback, etc. that would cause the code to be unreadable or impractical.
596
612
  ## Related To
597
613
 
598
614
  - TSLint: [interface-over-type-literal](https://palantir.github.io/tslint/rules/interface-over-type-literal/)
599
-
600
- ## Attributes
601
-
602
- - Configs:
603
- - [ ] ✅ Recommended
604
- - [ ] 🔒 Strict
605
- - [ ] 🔧 Fixable
606
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unnecessary-boolean-literal-compare`
2
2
 
3
- Flags unnecessary equality comparisons against boolean literals.
3
+ Disallows unnecessary equality comparisons against boolean literals.
4
4
 
5
5
  Comparing boolean values to boolean literals is unnecessary, those comparisons result in the same booleans. Using the boolean values directly, or via a unary negation (`!value`), is more concise and clearer.
6
6
 
@@ -150,11 +150,3 @@ if (!(someNullCondition ?? true)) {
150
150
  ## Related To
151
151
 
152
152
  - TSLint: [no-boolean-literal-compare](https://palantir.github.io/tslint/rules/no-boolean-literal-compare)
153
-
154
- ## Attributes
155
-
156
- - Configs:
157
- - [ ] ✅ Recommended
158
- - [x] 🔒 Strict
159
- - [x] 🔧 Fixable
160
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unnecessary-condition`
2
2
 
3
- Prevents conditionals where the type is always truthy or always falsy.
3
+ Disallows conditionals where the type is always truthy or always falsy.
4
4
 
5
5
  Any expression being used as a condition must be able to evaluate as truthy or falsy in order to be considered "necessary". Conversely, any expression that always evaluates to truthy or always evaluates to falsy, as determined by the type of the expression, is considered unnecessary and will be flagged by this rule.
6
6
 
@@ -112,11 +112,3 @@ The main downside to using this rule is the need for type information.
112
112
 
113
113
  - ESLint: [no-constant-condition](https://eslint.org/docs/rules/no-constant-condition) - `no-unnecessary-condition` is essentially a stronger version of `no-constant-condition`, but requires type information.
114
114
  - [strict-boolean-expressions](./strict-boolean-expressions.md) - a more opinionated version of `no-unnecessary-condition`. `strict-boolean-expressions` enforces a specific code style, while `no-unnecessary-condition` is about correctness.
115
-
116
- ## Attributes
117
-
118
- - Configs:
119
- - [ ] ✅ Recommended
120
- - [x] 🔒 Strict
121
- - [x] 🔧 Fixable
122
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unnecessary-qualifier`
2
2
 
3
- Warns when a namespace qualifier is unnecessary.
3
+ Disallows unnecessary namespace qualifiers.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -96,11 +96,3 @@ If you don't care about having unneeded namespace or enum qualifiers, then you d
96
96
  ## Related To
97
97
 
98
98
  - TSLint: [no-unnecessary-qualifier](https://palantir.github.io/tslint/rules/no-unnecessary-qualifier/)
99
-
100
- ## Attributes
101
-
102
- - Configs:
103
- - [ ] ✅ Recommended
104
- - [ ] 🔒 Strict
105
- - [x] 🔧 Fixable
106
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unnecessary-type-arguments`
2
2
 
3
- Enforces that type arguments will not be used if not required.
3
+ Disallows type arguments that are equal to the default.
4
4
 
5
5
  Warns if an explicitly specified type argument is the default for that type parameter.
6
6
 
@@ -70,11 +70,3 @@ This rule is not configurable.
70
70
  ## Related To
71
71
 
72
72
  - TSLint: [use-default-type-parameter](https://palantir.github.io/tslint/rules/use-default-type-parameter)
73
-
74
- ## Attributes
75
-
76
- - Configs:
77
- - [ ] ✅ Recommended
78
- - [x] 🔒 Strict
79
- - [x] 🔧 Fixable
80
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unnecessary-type-assertion`
2
2
 
3
- Warns if a type assertion does not change the type of an expression.
3
+ Disallows type assertions that do not change the type of an expression.
4
4
 
5
5
  This rule prohibits using a type assertion that does not change the type of an expression.
6
6
 
@@ -77,11 +77,3 @@ If you don't care about having no-op type assertions in your code, then you can
77
77
  ## Related To
78
78
 
79
79
  - TSLint: [`no-unnecessary-type-assertion`](https://palantir.github.io/tslint/rules/no-unnecessary-type-assertion/)
80
-
81
- ## Attributes
82
-
83
- - Configs:
84
- - [x] ✅ Recommended
85
- - [x] 🔒 Strict
86
- - [x] 🔧 Fixable
87
- - [x] 💭 Requires type information
@@ -72,11 +72,3 @@ This rule is not configurable.
72
72
  ## When Not To Use It
73
73
 
74
74
  If you don't care about the specific styles of your type constraints, or never use them in the first place, then you will not need this rule.
75
-
76
- ## Attributes
77
-
78
- - Configs:
79
- - [x] ✅ Recommended
80
- - [x] 🔒 Strict
81
- - [ ] 🔧 Fixable
82
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unsafe-argument`
2
2
 
3
- Disallows calling a function with an any type value.
3
+ Disallows calling a function with a value with type `any`.
4
4
 
5
5
  Despite your best intentions, the `any` type can sometimes leak into your codebase.
6
6
  Call a function with `any` typed argument are not checked at all by TypeScript, so it creates a potential safety hole, and source of bugs in your codebase.
@@ -88,11 +88,3 @@ This rule is not configurable.
88
88
 
89
89
  - [`no-explicit-any`](./no-explicit-any.md)
90
90
  - TSLint: [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/)
91
-
92
- ## Attributes
93
-
94
- - Configs:
95
- - [x] ✅ Recommended
96
- - [x] 🔒 Strict
97
- - [ ] 🔧 Fixable
98
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unsafe-assignment`
2
2
 
3
- Disallows assigning any to variables and properties.
3
+ Disallows assigning a value with type `any` to variables and properties.
4
4
 
5
5
  Despite your best intentions, the `any` type can sometimes leak into your codebase.
6
6
  Assigning an `any` typed value to a variable can be hard to pick up on, particularly if it leaks in from an external library. Operations on the variable will not be checked at all by TypeScript, so it creates a potential safety hole, and source of bugs in your codebase.
@@ -91,11 +91,3 @@ This rule is not configurable.
91
91
 
92
92
  - [`no-explicit-any`](./no-explicit-any.md)
93
93
  - TSLint: [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/)
94
-
95
- ## Attributes
96
-
97
- - Configs:
98
- - [x] ✅ Recommended
99
- - [x] 🔒 Strict
100
- - [ ] 🔧 Fixable
101
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unsafe-call`
2
2
 
3
- Disallows calling an any type value.
3
+ Disallows calling a value with type `any`.
4
4
 
5
5
  Despite your best intentions, the `any` type can sometimes leak into your codebase.
6
6
  The arguments to, and return value of calling an `any` typed variable are not checked at all by TypeScript, so it creates a potential safety hole, and source of bugs in your codebase.
@@ -65,11 +65,3 @@ This rule is not configurable.
65
65
 
66
66
  - [`no-explicit-any`](./no-explicit-any.md)
67
67
  - TSLint: [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/)
68
-
69
- ## Attributes
70
-
71
- - Configs:
72
- - [x] ✅ Recommended
73
- - [x] 🔒 Strict
74
- - [ ] 🔧 Fixable
75
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unsafe-member-access`
2
2
 
3
- Disallows member access on any typed variables.
3
+ Disallows member access on a value with type `any`.
4
4
 
5
5
  Despite your best intentions, the `any` type can sometimes leak into your codebase.
6
6
  Member access on `any` typed variables is not checked at all by TypeScript, so it creates a potential safety hole, and source of bugs in your codebase.
@@ -71,11 +71,3 @@ This rule is not configurable.
71
71
 
72
72
  - [`no-explicit-any`](./no-explicit-any.md)
73
73
  - TSLint: [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/)
74
-
75
- ## Attributes
76
-
77
- - Configs:
78
- - [x] ✅ Recommended
79
- - [x] 🔒 Strict
80
- - [ ] 🔧 Fixable
81
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unsafe-return`
2
2
 
3
- Disallows returning any from a function.
3
+ Disallows returning a value with type `any` from a function.
4
4
 
5
5
  Despite your best intentions, the `any` type can sometimes leak into your codebase.
6
6
  Returned `any` typed values are not checked at all by TypeScript, so it creates a potential safety hole, and source of bugs in your codebase.
@@ -108,11 +108,3 @@ This rule is not configurable.
108
108
 
109
109
  - [`no-explicit-any`](./no-explicit-any.md)
110
110
  - TSLint: [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/)
111
-
112
- ## Attributes
113
-
114
- - Configs:
115
- - [x] ✅ Recommended
116
- - [x] 🔒 Strict
117
- - [ ] 🔧 Fixable
118
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unused-expressions`
2
2
 
3
- Disallow unused expressions.
3
+ Disallows unused expressions.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -26,11 +26,3 @@ See [`eslint/no-unused-expressions` options](https://eslint.org/docs/rules/no-un
26
26
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-unused-expressions.md)
27
27
 
28
28
  </sup>
29
-
30
- ## Attributes
31
-
32
- - Configs:
33
- - [ ] ✅ Recommended
34
- - [ ] 🔒 Strict
35
- - [ ] 🔧 Fixable
36
- - [ ] 💭 Requires type information