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-unused-vars`
2
2
 
3
- Disallow unused variables.
3
+ Disallows unused variables.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -26,11 +26,3 @@ See [`eslint/no-unused-vars` options](https://eslint.org/docs/rules/no-unused-va
26
26
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-unused-vars.md)
27
27
 
28
28
  </sup>
29
-
30
- ## Attributes
31
-
32
- - Configs:
33
- - [x] ✅ Recommended
34
- - [x] 🔒 Strict
35
- - [ ] 🔧 Fixable
36
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-use-before-define`
2
2
 
3
- Disallow the use of variables before they are defined.
3
+ Disallows the use of variables before they are defined.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -112,11 +112,3 @@ See [`eslint/no-use-before-define` options](https://eslint.org/docs/rules/no-use
112
112
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-use-before-define.md)
113
113
 
114
114
  </sup>
115
-
116
- ## Attributes
117
-
118
- - Configs:
119
- - [ ] ✅ Recommended
120
- - [ ] 🔒 Strict
121
- - [ ] 🔧 Fixable
122
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-useless-constructor`
2
2
 
3
- Disallow unnecessary constructors.
3
+ Disallows unnecessary constructors.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -35,11 +35,3 @@ Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/
35
35
 
36
36
  This lint rule will report on constructors whose sole purpose is to change visibility of a parent constructor.
37
37
  See [discussion on this rule's lack of type information](https://github.com/typescript-eslint/typescript-eslint/issues/3820#issuecomment-917821240) for context.
38
-
39
- ## Attributes
40
-
41
- - Configs:
42
- - [ ] ✅ Recommended
43
- - [x] 🔒 Strict
44
- - [ ] 🔧 Fixable
45
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-useless-empty-export`
2
2
 
3
- Disallow empty exports that don't change anything in a module file.
3
+ Disallows empty exports that don't change anything in a module file.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -50,11 +50,3 @@ import 'some-other-module';
50
50
  ```
51
51
 
52
52
  This rule is not configurable.
53
-
54
- ## Attributes
55
-
56
- - Configs:
57
- - [ ] ✅ Recommended
58
- - [ ] 🔒 Strict
59
- - [x] 🔧 Fixable
60
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-var-requires`
2
2
 
3
- Disallows the use of require statements except in import statements.
3
+ Disallows `require` statements except in import statements.
4
4
 
5
5
  In other words, the use of forms such as `var foo = require("foo")` are banned. Instead use ES6 style imports or `import foo = require("foo")` imports.
6
6
 
@@ -46,11 +46,3 @@ If you don't care about TypeScript module syntax, then you will not need this ru
46
46
  ## Related To
47
47
 
48
48
  - TSLint: [no-var-requires](https://palantir.github.io/tslint/rules/no-var-requires/)
49
-
50
- ## Attributes
51
-
52
- - Configs:
53
- - [x] ✅ Recommended
54
- - [x] 🔒 Strict
55
- - [ ] 🔧 Fixable
56
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `non-nullable-type-assertion-style`
2
2
 
3
- Prefers a non-null assertion over explicit type cast when possible.
3
+ Enforces non-null assertions over explicit type casts.
4
4
 
5
5
  This rule detects when an `as` cast is doing the same job as a `!` would, and suggests fixing the code to be an `!`.
6
6
 
@@ -44,11 +44,3 @@ This rule is not configurable.
44
44
  ## When Not To Use It
45
45
 
46
46
  If you don't mind having unnecessarily verbose type casts, you can avoid this rule.
47
-
48
- ## Attributes
49
-
50
- - Configs:
51
- - [ ] ✅ Recommended
52
- - [x] 🔒 Strict
53
- - [x] 🔧 Fixable
54
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `object-curly-spacing`
2
2
 
3
- Enforce consistent spacing inside braces.
3
+ Enforces consistent spacing inside braces.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -26,11 +26,3 @@ See [`eslint/object-curly-spacing` options](https://eslint.org/docs/rules/object
26
26
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/object-curly-spacing.md)
27
27
 
28
28
  </sup>
29
-
30
- ## Attributes
31
-
32
- - Configs:
33
- - [ ] ✅ Recommended
34
- - [ ] 🔒 Strict
35
- - [x] 🔧 Fixable
36
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `padding-line-between-statements`
2
2
 
3
- require or disallow padding lines between statements.
3
+ Requires or disallows padding lines between statements.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -54,11 +54,3 @@ In addition to options provided by ESLint, `interface` and `type` can be used as
54
54
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/padding-line-between-statements.md)
55
55
 
56
56
  </sup>
57
-
58
- ## Attributes
59
-
60
- - Configs:
61
- - [ ] ✅ Recommended
62
- - [ ] 🔒 Strict
63
- - [x] 🔧 Fixable
64
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `parameter-properties`
2
2
 
3
- Require or disallow the use of parameter properties in class constructors.
3
+ Requires or disallows 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.
@@ -486,11 +486,3 @@ If you don't care about the using parameter properties in constructors, then you
486
486
  ## Related To
487
487
 
488
488
  - TSLint: [no-parameter-properties](https://palantir.github.io/tslint/rules/no-parameter-properties/)
489
-
490
- ## Attributes
491
-
492
- - Configs:
493
- - [ ] ✅ Recommended
494
- - [ ] 🔒 Strict
495
- - [ ] 🔧 Fixable
496
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-as-const`
2
2
 
3
- Prefer usage of `as const` over literal type.
3
+ Enforces the use of `as const` over literal type.
4
4
 
5
5
  This rule recommends usage of `const` assertion when type primitive value is equal to type.
6
6
 
@@ -47,11 +47,3 @@ This rule is not configurable.
47
47
  ## When Not To Use It
48
48
 
49
49
  If you are using TypeScript < 3.4
50
-
51
- ## Attributes
52
-
53
- - Configs:
54
- - [x] ✅ Recommended
55
- - [x] 🔒 Strict
56
- - [x] 🔧 Fixable
57
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-enum-initializers`
2
2
 
3
- Prefer initializing each enums member value.
3
+ Requires each enum member value to be explicitly initialized.
4
4
 
5
5
  This rule recommends having each `enum`s member value explicitly initialized.
6
6
 
@@ -87,11 +87,3 @@ This rule is not configurable.
87
87
  ## When Not To Use It
88
88
 
89
89
  If you don't care about `enum`s having implicit values you can safely disable this rule.
90
-
91
- ## Attributes
92
-
93
- - Configs:
94
- - [ ] ✅ Recommended
95
- - [ ] 🔒 Strict
96
- - [ ] 🔧 Fixable
97
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-for-of`
2
2
 
3
- Prefer a for-of loop over a standard for loop if the index is only used to access the array being iterated.
3
+ Enforces the use of `for-of` loop over the standard `for` loop where possible.
4
4
 
5
5
  This rule recommends a for-of loop when the loop index is only used to read from an array that is being iterated.
6
6
 
@@ -58,11 +58,3 @@ If you transpile for browsers that do not support for-of loops, you may wish to
58
58
  ## Related To
59
59
 
60
60
  - TSLint: ['prefer-for-of'](https://palantir.github.io/tslint/rules/prefer-for-of/)
61
-
62
- ## Attributes
63
-
64
- - Configs:
65
- - [ ] ✅ Recommended
66
- - [x] 🔒 Strict
67
- - [ ] 🔧 Fixable
68
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-function-type`
2
2
 
3
- Use function types instead of interfaces with call signatures.
3
+ Enforces using function types instead of interfaces with call signatures.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -98,11 +98,3 @@ If you specifically want to use an interface or type literal with a single call
98
98
  ## Further Reading
99
99
 
100
100
  - TSLint: [`callable-types`](https://palantir.github.io/tslint/rules/callable-types/)
101
-
102
- ## Attributes
103
-
104
- - Configs:
105
- - [ ] ✅ Recommended
106
- - [x] 🔒 Strict
107
- - [x] 🔧 Fixable
108
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-includes`
2
2
 
3
- Enforce `includes` method over `indexOf` method.
3
+ Enforces `includes` method over `indexOf` method.
4
4
 
5
5
  Until ES5, we were using `String#indexOf` method to check whether a string contains an arbitrary substring or not.
6
6
  Until ES2015, we were using `Array#indexOf` method to check whether an array contains an arbitrary value or not.
@@ -86,11 +86,3 @@ This rule is not configurable.
86
86
  ## When Not To Use It
87
87
 
88
88
  If you don't want to suggest `includes`, you can safely turn this rule off.
89
-
90
- ## Attributes
91
-
92
- - Configs:
93
- - [ ] ✅ Recommended
94
- - [x] 🔒 Strict
95
- - [x] 🔧 Fixable
96
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-literal-enum-member`
2
2
 
3
- Require that all enum members be literal values to prevent unintended enum member name shadow issues.
3
+ Requires all enum members to be literal values.
4
4
 
5
5
  TypeScript allows the value of an enum member to be many different kinds of valid JavaScript expressions. However, because enums create their own scope whereby each enum member becomes a variable in that scope, unexpected values could be used at runtime. Example:
6
6
 
@@ -96,11 +96,3 @@ enum Foo {
96
96
  ## When Not To Use It
97
97
 
98
98
  If you want use anything other than simple literals as an enum value.
99
-
100
- ## Attributes
101
-
102
- - Configs:
103
- - [ ] ✅ Recommended
104
- - [x] 🔒 Strict
105
- - [ ] 🔧 Fixable
106
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-namespace-keyword`
2
2
 
3
- Require the use of the `namespace` keyword instead of the `module` keyword to declare custom TypeScript modules.
3
+ Requires using `namespace` keyword over `module` keyword to declare custom TypeScript modules.
4
4
 
5
5
  In an effort to prevent further confusion between custom TypeScript modules and the new ES2015 modules, starting
6
6
  with TypeScript `v1.5` the keyword `namespace` is now the preferred way to declare custom TypeScript modules.
@@ -35,11 +35,3 @@ This rule is not configurable.
35
35
  ## Related To
36
36
 
37
37
  - TSLint: [no-internal-module](https://palantir.github.io/tslint/rules/no-internal-module/)
38
-
39
- ## Attributes
40
-
41
- - Configs:
42
- - [x] ✅ Recommended
43
- - [x] 🔒 Strict
44
- - [x] 🔧 Fixable
45
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-nullish-coalescing`
2
2
 
3
- Enforce the usage of the nullish coalescing operator instead of logical chaining.
3
+ Enforces using the nullish coalescing operator instead of logical chaining.
4
4
 
5
5
  TypeScript 3.7 added support for the nullish coalescing operator.
6
6
  This operator allows you to safely cascade a value when dealing with `null` or `undefined`.
@@ -141,11 +141,3 @@ If you are not using TypeScript 3.7 (or greater), then you will not be able to u
141
141
 
142
142
  - [TypeScript 3.7 Release Notes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html)
143
143
  - [Nullish Coalescing Operator Proposal](https://github.com/tc39/proposal-nullish-coalescing/)
144
-
145
- ## Attributes
146
-
147
- - Configs:
148
- - [ ] ✅ Recommended
149
- - [x] 🔒 Strict
150
- - [ ] 🔧 Fixable
151
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-optional-chain`
2
2
 
3
- Prefer using concise optional chain expressions instead of chained logical ands.
3
+ Enforces using concise optional chain expressions instead of chained logical ands.
4
4
 
5
5
  TypeScript 3.7 added support for the optional chain operator.
6
6
  This operator allows you to safely access properties and methods on objects when they are potentially `null` or `undefined`.
@@ -106,11 +106,3 @@ If you are not using TypeScript 3.7 (or greater), then you will not be able to u
106
106
 
107
107
  - [TypeScript 3.7 Release Notes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html)
108
108
  - [Optional Chaining Proposal](https://github.com/tc39/proposal-optional-chaining/)
109
-
110
- ## Attributes
111
-
112
- - Configs:
113
- - [ ] ✅ Recommended
114
- - [x] 🔒 Strict
115
- - [ ] 🔧 Fixable
116
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-readonly-parameter-types`
2
2
 
3
- Requires that function parameters are typed as readonly to prevent accidental mutation of inputs.
3
+ Requires function parameters to be typed as `readonly` to prevent accidental mutation of inputs.
4
4
 
5
5
  Mutating function arguments can lead to confusing, hard to debug behavior.
6
6
  Whilst it's easy to implicitly remember to not modify function arguments, explicitly typing arguments as readonly provides clear contract to consumers.
@@ -191,7 +191,7 @@ Examples of code for this rule with `{ignoreInferredTypes: true}`:
191
191
  ```ts
192
192
  import { acceptsCallback, CallbackOptions } from 'external-dependency';
193
193
 
194
- acceceptsCallback((options: CallbackOptions) => {});
194
+ acceptsCallback((options: CallbackOptions) => {});
195
195
  ```
196
196
 
197
197
  <details>
@@ -214,7 +214,7 @@ export const acceptsCallback: AcceptsCallback;
214
214
  ```ts
215
215
  import { acceptsCallback } from 'external-dependency';
216
216
 
217
- acceceptsCallback(options => {});
217
+ acceptsCallback(options => {});
218
218
  ```
219
219
 
220
220
  <details>
@@ -277,11 +277,3 @@ type MyType = {
277
277
  };
278
278
  function foo(arg: MyType) {}
279
279
  ```
280
-
281
- ## Attributes
282
-
283
- - Configs:
284
- - [ ] ✅ Recommended
285
- - [ ] 🔒 Strict
286
- - [ ] 🔧 Fixable
287
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-readonly`
2
2
 
3
- Requires that private members are marked as `readonly` if they're never modified outside of the constructor.
3
+ Requires private members to be marked as `readonly` if they're never modified outside of the constructor.
4
4
 
5
5
  This rule enforces that private members are marked as `readonly` if they're never modified outside of the constructor.
6
6
 
@@ -89,11 +89,3 @@ class Container {
89
89
  ## Related To
90
90
 
91
91
  - TSLint: ['prefer-readonly'](https://palantir.github.io/tslint/rules/prefer-readonly)
92
-
93
- ## Attributes
94
-
95
- - Configs:
96
- - [ ] ✅ Recommended
97
- - [ ] 🔒 Strict
98
- - [x] 🔧 Fixable
99
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-reduce-type-parameter`
2
2
 
3
- Prefer using type parameter when calling `Array#reduce` instead of casting.
3
+ Enforces using type parameter when calling `Array#reduce` instead of casting.
4
4
 
5
5
  It's common to call `Array#reduce` with a generic type, such as an array or object, as the initial value.
6
6
  Since these values are empty, their types are not usable:
@@ -67,11 +67,3 @@ This rule is not configurable.
67
67
  ## When Not To Use It
68
68
 
69
69
  If you don't want to use typechecking in your linting, you can't use this rule.
70
-
71
- ## Attributes
72
-
73
- - Configs:
74
- - [ ] ✅ Recommended
75
- - [x] 🔒 Strict
76
- - [x] 🔧 Fixable
77
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-regexp-exec`
2
2
 
3
- Enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided.
3
+ Enforces `RegExp#exec` over `String#match` if no global flag is provided.
4
4
 
5
5
  As `String#match` is defined to be the same as `RegExp#exec` when the regular expression does not include the `g` flag, prefer a consistent usage.
6
6
 
@@ -58,11 +58,3 @@ This rule is not configurable.
58
58
  ## When Not To Use It
59
59
 
60
60
  If you prefer consistent use of `String#match` for both, with `g` flag and without it, you can turn this rule off.
61
-
62
- ## Attributes
63
-
64
- - Configs:
65
- - [ ] ✅ Recommended
66
- - [ ] 🔒 Strict
67
- - [x] 🔧 Fixable
68
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-return-this-type`
2
2
 
3
- Enforce that `this` is used when only `this` type is returned.
3
+ Enforces that `this` is used when only `this` type is returned.
4
4
 
5
5
  [Method chaining](https://en.wikipedia.org/wiki/Method_chaining) is a common pattern in OOP languages and TypeScript provides a special [polymorphic this type](https://www.typescriptlang.org/docs/handbook/2/classes.html#this-types).
6
6
  If any type other than `this` is specified as the return type of these chaining methods, TypeScript will fail to cast it when invoking in subclass.
@@ -109,11 +109,3 @@ This rule is not configurable.
109
109
  ## When Not To Use It
110
110
 
111
111
  If you don't use method chaining or explicit return values, you can safely turn this rule off.
112
-
113
- ## Attributes
114
-
115
- - Configs:
116
- - [ ] ✅ Recommended
117
- - [x] 🔒 Strict
118
- - [x] 🔧 Fixable
119
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-string-starts-ends-with`
2
2
 
3
- Enforce the use of `String#startsWith` and `String#endsWith` instead of other equivalent methods of checking substrings.
3
+ Enforces using `String#startsWith` and `String#endsWith` over other equivalent methods of checking substrings.
4
4
 
5
5
  There are multiple ways to verify if a string starts or ends with a specific string, such as `foo.indexOf('bar') === 0`.
6
6
 
@@ -61,11 +61,3 @@ This rule is not configurable.
61
61
  ## When Not To Use It
62
62
 
63
63
  If you don't mind that style, you can turn this rule off safely.
64
-
65
- ## Attributes
66
-
67
- - Configs:
68
- - [ ] ✅ Recommended
69
- - [x] 🔒 Strict
70
- - [x] 🔧 Fixable
71
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `prefer-ts-expect-error`
2
2
 
3
- Recommends using `@ts-expect-error` over `@ts-ignore`.
3
+ Enforces using `@ts-expect-error` over `@ts-ignore`.
4
4
 
5
5
  TypeScript allows you to suppress all errors on a line by placing a single-line comment or a comment block line starting with `@ts-ignore` immediately before the erroring line.
6
6
  While powerful, there is no way to know if a `@ts-ignore` is actually suppressing an error without manually investigating what happens when the `@ts-ignore` is removed.
@@ -82,11 +82,3 @@ If you are **NOT** using TypeScript 3.9 (or greater), then you will not be able
82
82
  ## Further Reading
83
83
 
84
84
  - [Original Implementing PR](https://github.com/microsoft/TypeScript/pull/36014)
85
-
86
- ## Attributes
87
-
88
- - Configs:
89
- - [ ] ✅ Recommended
90
- - [x] 🔒 Strict
91
- - [x] 🔧 Fixable
92
- - [ ] 💭 Requires type information
@@ -2,7 +2,6 @@
2
2
 
3
3
  Requires any function or method that returns a Promise to be marked async.
4
4
 
5
- Requires any function or method that returns a Promise to be marked async.
6
5
  Ensures that each function is only capable of:
7
6
 
8
7
  - returning a rejected promise, or
@@ -70,11 +69,3 @@ In addition, each of the following properties may be provided, and default to `t
70
69
  ## Related To
71
70
 
72
71
  - TSLint: [promise-function-async](https://palantir.github.io/tslint/rules/promise-function-async)
73
-
74
- ## Attributes
75
-
76
- - Configs:
77
- - [ ] ✅ Recommended
78
- - [ ] 🔒 Strict
79
- - [x] 🔧 Fixable
80
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `quotes`
2
2
 
3
- Enforce the consistent use of either backticks, double, or single quotes.
3
+ Enforces the consistent use of either backticks, double, or single quotes.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -26,11 +26,3 @@ See [`eslint/quotes` options](https://eslint.org/docs/rules/quotes#options).
26
26
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/quotes.md)
27
27
 
28
28
  </sup>
29
-
30
- ## Attributes
31
-
32
- - Configs:
33
- - [ ] ✅ Recommended
34
- - [ ] 🔒 Strict
35
- - [x] 🔧 Fixable
36
- - [ ] 💭 Requires type information
@@ -97,11 +97,3 @@ const three = '3';
97
97
  ## When Not To Use It
98
98
 
99
99
  If you understand the language specification enough, you can turn this rule off safely.
100
-
101
- ## Attributes
102
-
103
- - Configs:
104
- - [ ] ✅ Recommended
105
- - [ ] 🔒 Strict
106
- - [ ] 🔧 Fixable
107
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `require-await`
2
2
 
3
- Disallow async functions which have no `await` expression.
3
+ Disallows async functions which have no `await` expression.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -36,11 +36,3 @@ See [`eslint/require-await` options](https://eslint.org/docs/rules/require-await
36
36
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/require-await.md)
37
37
 
38
38
  </sup>
39
-
40
- ## Attributes
41
-
42
- - Configs:
43
- - [x] ✅ Recommended
44
- - [x] 🔒 Strict
45
- - [ ] 🔧 Fixable
46
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `restrict-plus-operands`
2
2
 
3
- When adding two variables, operands must both be of type number or of type string.
3
+ Requires both operands of addition to have type `number` or `string`.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -104,11 +104,3 @@ var fn = (a: any, b: number) => a + b;
104
104
  ## Related To
105
105
 
106
106
  - TSLint: [restrict-plus-operands](https://palantir.github.io/tslint/rules/restrict-plus-operands/)
107
-
108
- ## Attributes
109
-
110
- - Configs:
111
- - [x] ✅ Recommended
112
- - [x] 🔒 Strict
113
- - [ ] 🔧 Fixable
114
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `restrict-template-expressions`
2
2
 
3
- Enforce template literal expressions to be of string type.
3
+ Enforces template literal expressions to be of `string` type.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -108,11 +108,3 @@ const msg1 = `arg = ${arg}`;
108
108
  const arg = /foo/;
109
109
  const msg1 = `arg = ${arg}`;
110
110
  ```
111
-
112
- ## Attributes
113
-
114
- - Configs:
115
- - [x] ✅ Recommended
116
- - [x] 🔒 Strict
117
- - [ ] 🔧 Fixable
118
- - [x] 💭 Requires type information
@@ -220,11 +220,3 @@ async function validNever3() {
220
220
  return 'value';
221
221
  }
222
222
  ```
223
-
224
- ## Attributes
225
-
226
- - Configs:
227
- - [ ] ✅ Recommended
228
- - [ ] 🔒 Strict
229
- - [x] 🔧 Fixable
230
- - [x] 💭 Requires type information