xo 0.46.4 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1106) hide show
  1. package/config/plugins.cjs +5 -7
  2. package/index.js +7 -1
  3. package/lib/options-manager.js +2 -2
  4. package/node_modules/@types/json-schema/README.md +2 -2
  5. package/node_modules/@types/json-schema/index.d.ts +8 -1
  6. package/node_modules/@types/json-schema/package.json +3 -8
  7. package/node_modules/@typescript-eslint/eslint-plugin/README.md +136 -132
  8. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +7 -2
  9. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
  10. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +50 -0
  11. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -0
  12. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +3 -1
  13. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +1 -1
  14. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +19 -15
  15. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -1
  16. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +46 -35
  17. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
  18. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +5 -1
  19. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +1 -1
  20. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +8 -4
  21. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
  22. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +8 -4
  23. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -1
  24. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +22 -14
  25. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -1
  26. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +11 -7
  27. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -1
  28. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +9 -5
  29. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -1
  30. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +3 -3
  31. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
  32. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +30 -9
  33. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -1
  34. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +22 -18
  35. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
  36. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +33 -30
  37. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -1
  38. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +92 -43
  39. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -1
  40. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +66 -42
  41. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
  42. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +5 -5
  43. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js.map +1 -1
  44. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +6 -2
  45. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -1
  46. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +73 -5
  47. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -1
  48. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +14 -7
  49. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -1
  50. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +51 -86
  51. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +1 -1
  52. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +5 -1
  53. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +1 -1
  54. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/index.js +161 -161
  55. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/index.js.map +1 -1
  56. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +83 -79
  57. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +1 -1
  58. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +10 -0
  59. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -1
  60. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +13 -5
  61. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +1 -1
  62. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +7 -3
  63. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -1
  64. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +9 -5
  65. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +1 -1
  66. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +8 -4
  67. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -1
  68. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +94 -60
  69. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -1
  70. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +16 -9
  71. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -1
  72. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -1
  73. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +5 -1
  74. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map +1 -1
  75. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +5 -1
  76. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -1
  77. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +16 -10
  78. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -1
  79. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +21 -17
  80. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
  81. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +7 -3
  82. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +1 -1
  83. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +11 -6
  84. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -1
  85. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +9 -5
  86. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -1
  87. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +19 -15
  88. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
  89. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +7 -3
  90. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +1 -1
  91. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +85 -0
  92. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +1 -0
  93. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +9 -10
  94. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js.map +1 -1
  95. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +11 -7
  96. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -1
  97. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +12 -6
  98. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -1
  99. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +5 -1
  100. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -1
  101. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +20 -16
  102. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
  103. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +5 -1
  104. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +1 -1
  105. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +18 -14
  106. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +1 -1
  107. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +11 -3
  108. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +1 -1
  109. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +8 -4
  110. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -1
  111. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +29 -21
  112. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
  113. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +5 -1
  114. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +1 -1
  115. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js +7 -3
  116. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js.map +1 -1
  117. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +31 -18
  118. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
  119. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +36 -32
  120. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
  121. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +11 -7
  122. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +1 -1
  123. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +25 -21
  124. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -1
  125. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +15 -11
  126. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +1 -1
  127. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +5 -1
  128. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -1
  129. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +80 -35
  130. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +1 -1
  131. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +8 -4
  132. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +1 -1
  133. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +11 -7
  134. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +1 -1
  135. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +240 -30
  136. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
  137. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +12 -7
  138. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -1
  139. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +10 -6
  140. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
  141. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +8 -4
  142. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -1
  143. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +8 -4
  144. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -1
  145. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js +11 -5
  146. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js.map +1 -1
  147. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +19 -15
  148. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +1 -1
  149. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +373 -0
  150. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -0
  151. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +7 -3
  152. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -1
  153. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +8 -5
  154. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +1 -1
  155. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +128 -22
  156. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -1
  157. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +11 -7
  158. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +1 -1
  159. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +37 -11
  160. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +1 -1
  161. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +28 -24
  162. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -1
  163. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +36 -6
  164. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
  165. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +25 -21
  166. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -1
  167. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +8 -4
  168. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
  169. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +40 -6
  170. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -1
  171. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +13 -9
  172. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -1
  173. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +30 -9
  174. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -1
  175. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +9 -7
  176. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
  177. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +22 -19
  178. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -1
  179. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +5 -1
  180. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -1
  181. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +9 -5
  182. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -1
  183. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +13 -9
  184. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -1
  185. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +11 -7
  186. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +1 -1
  187. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +79 -48
  188. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -1
  189. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +14 -10
  190. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -1
  191. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +10 -6
  192. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +1 -1
  193. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +91 -0
  194. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +1 -0
  195. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +20 -13
  196. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -1
  197. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +30 -9
  198. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -1
  199. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js +7 -7
  200. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js.map +1 -1
  201. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +79 -61
  202. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -1
  203. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +189 -0
  204. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +1 -0
  205. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +8 -4
  206. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +1 -1
  207. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +5 -1
  208. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +1 -1
  209. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +25 -20
  210. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
  211. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +79 -74
  212. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -1
  213. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +13 -9
  214. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -1
  215. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +9 -9
  216. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +1 -1
  217. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +8 -4
  218. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +1 -1
  219. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +17 -13
  220. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -1
  221. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +89 -39
  222. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
  223. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +17 -13
  224. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +1 -1
  225. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +12 -8
  226. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -1
  227. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +8 -4
  228. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +1 -1
  229. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +11 -7
  230. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -1
  231. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +13 -9
  232. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +1 -1
  233. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +21 -21
  234. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
  235. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +8 -4
  236. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +1 -1
  237. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +14 -10
  238. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -1
  239. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +15 -11
  240. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js.map +1 -1
  241. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +5 -1
  242. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -1
  243. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +25 -12
  244. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +1 -1
  245. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +53 -13
  246. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -1
  247. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +7 -3
  248. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -1
  249. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +28 -12
  250. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +1 -1
  251. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +14 -10
  252. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js.map +1 -1
  253. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +46 -41
  254. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
  255. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +95 -0
  256. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -0
  257. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +10 -6
  258. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
  259. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +11 -4
  260. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +1 -1
  261. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +25 -7
  262. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -1
  263. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +5 -1
  264. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -1
  265. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +8 -4
  266. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -1
  267. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +5 -1
  268. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +1 -1
  269. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +40 -23
  270. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +1 -1
  271. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +32 -28
  272. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
  273. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +63 -34
  274. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +1 -1
  275. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +6 -2
  276. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +1 -1
  277. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +43 -63
  278. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +1 -1
  279. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +2 -5
  280. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js.map +1 -1
  281. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +59 -22
  282. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map +1 -1
  283. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +7 -3
  284. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
  285. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +5 -5
  286. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js.map +1 -1
  287. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +307 -0
  288. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js.map +1 -0
  289. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +5 -5
  290. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js.map +1 -1
  291. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +30 -50
  292. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js.map +1 -1
  293. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +12 -9
  294. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -1
  295. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +23 -8
  296. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
  297. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +160 -0
  298. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +61 -0
  299. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +24 -5
  300. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +20 -10
  301. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +26 -5
  302. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +23 -9
  303. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +26 -5
  304. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +24 -6
  305. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +12 -4
  306. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +47 -31
  307. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +13 -5
  308. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +12 -4
  309. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +28 -9
  310. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +32 -6
  311. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +22 -8
  312. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +90 -5
  313. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +6 -2
  314. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +16 -6
  315. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +12 -4
  316. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +60 -14
  317. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +7 -3
  318. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +37 -17
  319. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +12 -4
  320. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +15 -5
  321. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +12 -4
  322. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +12 -4
  323. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +12 -4
  324. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +41 -30
  325. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +585 -444
  326. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +21 -7
  327. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +13 -5
  328. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +16 -6
  329. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +10 -4
  330. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +23 -4
  331. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +11 -5
  332. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +12 -4
  333. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +64 -0
  334. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +12 -4
  335. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +33 -14
  336. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +12 -6
  337. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +13 -5
  338. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +11 -5
  339. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +20 -7
  340. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +12 -4
  341. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +12 -4
  342. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +14 -6
  343. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +30 -11
  344. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +26 -5
  345. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +14 -6
  346. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +18 -6
  347. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +56 -46
  348. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +12 -4
  349. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +16 -8
  350. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +12 -4
  351. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +12 -4
  352. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +36 -4
  353. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +13 -5
  354. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +20 -7
  355. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +123 -47
  356. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +35 -11
  357. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +25 -4
  358. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +25 -4
  359. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +25 -4
  360. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +55 -19
  361. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +12 -4
  362. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +100 -0
  363. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +26 -5
  364. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +23 -15
  365. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +12 -4
  366. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +8 -4
  367. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +33 -7
  368. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +8 -4
  369. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +25 -9
  370. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +14 -5
  371. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +26 -5
  372. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +26 -5
  373. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +14 -6
  374. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +26 -5
  375. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +30 -7
  376. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +28 -5
  377. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +26 -5
  378. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +26 -5
  379. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +28 -5
  380. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +12 -4
  381. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +12 -4
  382. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +18 -6
  383. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +17 -4
  384. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +60 -0
  385. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +26 -5
  386. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +25 -4
  387. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +13 -5
  388. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +15 -5
  389. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +496 -0
  390. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +27 -4
  391. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +25 -4
  392. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +26 -5
  393. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +25 -4
  394. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +22 -5
  395. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +20 -6
  396. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +20 -3
  397. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +6 -2
  398. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +32 -4
  399. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +35 -11
  400. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +23 -11
  401. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +22 -5
  402. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +19 -8
  403. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +27 -4
  404. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +19 -8
  405. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +25 -4
  406. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +12 -4
  407. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +12 -4
  408. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +23 -7
  409. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +12 -4
  410. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +64 -14
  411. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +21 -11
  412. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +25 -9
  413. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +12 -4
  414. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +12 -4
  415. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +62 -0
  416. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +12 -4
  417. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +12 -4
  418. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +13 -6
  419. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +28 -5
  420. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +7 -3
  421. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +37 -13
  422. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +55 -19
  423. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +13 -5
  424. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +61 -11
  425. package/node_modules/@typescript-eslint/eslint-plugin/index.d.ts +1 -1
  426. package/node_modules/@typescript-eslint/eslint-plugin/package.json +13 -9
  427. package/node_modules/@typescript-eslint/parser/README.md +12 -4
  428. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
  429. package/node_modules/@typescript-eslint/parser/dist/parser.js +5 -2
  430. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
  431. package/node_modules/@typescript-eslint/parser/package.json +6 -7
  432. package/node_modules/@typescript-eslint/scope-manager/README.md +2 -2
  433. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +2 -0
  434. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -1
  435. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +8 -9
  436. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
  437. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +5 -1
  438. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -1
  439. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +5 -1
  440. package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -1
  441. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -1
  442. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +2 -1
  443. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -1
  444. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
  445. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
  446. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +7 -4
  447. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
  448. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +197 -251
  449. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
  450. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -1
  451. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +2 -1
  452. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -1
  453. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -1
  454. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +2 -1
  455. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -1
  456. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -1
  457. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -1
  458. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +2 -1
  459. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -1
  460. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -1
  461. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +2 -1
  462. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -1
  463. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +2 -1
  464. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -1
  465. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -1
  466. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +2 -1
  467. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -1
  468. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -1
  469. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +2 -1
  470. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -1
  471. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -1
  472. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +2 -1
  473. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -1
  474. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -1
  475. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +2 -1
  476. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -1
  477. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -1
  478. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +2 -1
  479. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -1
  480. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -1
  481. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +2 -1
  482. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -1
  483. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -1
  484. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -1
  485. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +2 -1
  486. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -1
  487. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +2 -1
  488. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -1
  489. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -1
  490. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -1
  491. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +2 -1
  492. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -1
  493. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -1
  494. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +2 -1
  495. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -1
  496. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +2 -1
  497. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -1
  498. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -1
  499. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +2 -1
  500. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -1
  501. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -1
  502. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +2 -1
  503. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -1
  504. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -1
  505. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +2 -1
  506. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -1
  507. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -1
  508. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +2 -1
  509. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -1
  510. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -1
  511. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +2 -1
  512. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -1
  513. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -1
  514. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +2 -1
  515. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -1
  516. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -1
  517. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -1
  518. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +2 -1
  519. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -1
  520. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -1
  521. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +2 -1
  522. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -1
  523. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +2 -1
  524. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -1
  525. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -1
  526. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +2 -1
  527. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -1
  528. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -1
  529. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +2 -1
  530. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -1
  531. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -1
  532. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +2 -1
  533. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -1
  534. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -1
  535. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -1
  536. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +2 -1
  537. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -1
  538. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +2 -1
  539. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -1
  540. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -1
  541. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +2 -1
  542. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -1
  543. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -1
  544. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +2 -1
  545. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -1
  546. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -1
  547. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +2 -1
  548. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -1
  549. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -1
  550. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +2 -1
  551. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -1
  552. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -1
  553. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -1
  554. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +2 -1
  555. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -1
  556. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -1
  557. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +2 -1
  558. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -1
  559. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +2 -1
  560. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -1
  561. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -1
  562. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +2 -1
  563. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -1
  564. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -1
  565. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +2 -1
  566. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -1
  567. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -1
  568. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +2 -1
  569. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -1
  570. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -1
  571. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +2 -1
  572. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -1
  573. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -1
  574. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -1
  575. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +2 -1
  576. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -1
  577. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +3 -0
  578. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -0
  579. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +12 -0
  580. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -0
  581. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +4 -2
  582. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -1
  583. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -1
  584. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +2 -1
  585. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -1
  586. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -1
  587. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +2 -1
  588. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -1
  589. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -1
  590. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +2 -1
  591. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -1
  592. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
  593. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
  594. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
  595. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
  596. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
  597. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
  598. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
  599. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
  600. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
  601. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
  602. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
  603. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
  604. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +14 -0
  605. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
  606. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +14 -0
  607. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
  608. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
  609. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
  610. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
  611. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
  612. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
  613. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
  614. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
  615. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
  616. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -1
  617. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +5 -1
  618. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -1
  619. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -1
  620. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +2 -1
  621. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -1
  622. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -1
  623. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +2 -1
  624. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -1
  625. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -1
  626. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +14 -3
  627. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -1
  628. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -1
  629. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +2 -1
  630. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -1
  631. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -1
  632. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +2 -1
  633. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -1
  634. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -1
  635. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -1
  636. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +2 -1
  637. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -1
  638. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -1
  639. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +2 -1
  640. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -1
  641. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +4 -3
  642. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -1
  643. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -1
  644. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +2 -1
  645. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -1
  646. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -1
  647. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +2 -1
  648. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -1
  649. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -1
  650. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +2 -1
  651. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -1
  652. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -1
  653. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +2 -1
  654. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -1
  655. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +7 -0
  656. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
  657. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +16 -1
  658. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
  659. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -1
  660. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +2 -1
  661. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -1
  662. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -1
  663. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +2 -1
  664. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -1
  665. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
  666. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -1
  667. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +2 -1
  668. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -1
  669. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -1
  670. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +6 -2
  671. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -1
  672. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +101 -81
  673. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
  674. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -1
  675. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +12 -1
  676. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -1
  677. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +1 -1
  678. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -1
  679. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +2 -2
  680. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -1
  681. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +1 -0
  682. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
  683. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +14 -2
  684. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
  685. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +10 -0
  686. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -0
  687. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +12 -0
  688. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -0
  689. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +1 -1
  690. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +2 -1
  691. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -1
  692. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -1
  693. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +3 -6
  694. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
  695. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +1 -0
  696. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +1 -1
  697. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +1 -0
  698. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +1 -1
  699. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -1
  700. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -4
  701. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -1
  702. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +5 -1
  703. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -1
  704. package/node_modules/@typescript-eslint/scope-manager/package.json +12 -13
  705. package/node_modules/@typescript-eslint/type-utils/LICENSE +21 -0
  706. package/node_modules/@typescript-eslint/type-utils/README.md +15 -0
  707. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts +8 -0
  708. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts.map +1 -0
  709. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +55 -0
  710. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -0
  711. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts +6 -0
  712. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map +1 -0
  713. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +13 -0
  714. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js.map +1 -0
  715. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts +8 -0
  716. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts.map +1 -0
  717. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +70 -0
  718. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +1 -0
  719. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts +6 -0
  720. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts.map +1 -0
  721. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +17 -0
  722. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js.map +1 -0
  723. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts +6 -0
  724. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts.map +1 -0
  725. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +38 -0
  726. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +1 -0
  727. package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.d.ts +3 -0
  728. package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.d.ts.map +1 -0
  729. package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +51 -0
  730. package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js.map +1 -0
  731. package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts +3 -0
  732. package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts.map +1 -0
  733. package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.js +13 -0
  734. package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.js.map +1 -0
  735. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts +8 -0
  736. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts.map +1 -0
  737. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +74 -0
  738. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +1 -0
  739. package/node_modules/@typescript-eslint/type-utils/dist/index.d.ts +15 -0
  740. package/node_modules/@typescript-eslint/type-utils/dist/index.d.ts.map +1 -0
  741. package/node_modules/@typescript-eslint/type-utils/dist/index.js +31 -0
  742. package/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -0
  743. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts +20 -0
  744. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -0
  745. package/node_modules/@typescript-eslint/{eslint-plugin/dist/util → type-utils/dist}/isTypeReadonly.js +62 -15
  746. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -0
  747. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts +17 -0
  748. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts.map +1 -0
  749. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +71 -0
  750. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map +1 -0
  751. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +52 -0
  752. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -0
  753. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +181 -0
  754. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -0
  755. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts +4 -0
  756. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts.map +1 -0
  757. package/node_modules/@typescript-eslint/{eslint-plugin/dist/util → type-utils/dist}/propertyTypes.js +15 -1
  758. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js.map +1 -0
  759. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts +4 -0
  760. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts.map +1 -0
  761. package/node_modules/@typescript-eslint/{eslint-plugin/dist/util → type-utils/dist}/requiresQuoting.js +5 -1
  762. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +1 -0
  763. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts +11 -0
  764. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts.map +1 -0
  765. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +52 -0
  766. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -0
  767. package/node_modules/@typescript-eslint/type-utils/package.json +70 -0
  768. package/node_modules/@typescript-eslint/types/README.md +1 -1
  769. package/node_modules/@typescript-eslint/types/dist/{ast-spec.d.ts → generated/ast-spec.d.ts} +24 -9
  770. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
  771. package/node_modules/@typescript-eslint/types/dist/{ast-spec.js → generated/ast-spec.js} +1 -0
  772. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
  773. package/node_modules/@typescript-eslint/types/dist/index.d.ts +1 -2
  774. package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -1
  775. package/node_modules/@typescript-eslint/types/dist/index.js +7 -4
  776. package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -1
  777. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
  778. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
  779. package/node_modules/@typescript-eslint/types/dist/lib.js +2 -1
  780. package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -1
  781. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +1 -0
  782. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
  783. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +3 -3
  784. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -1
  785. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +6 -2
  786. package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -1
  787. package/node_modules/@typescript-eslint/types/package.json +29 -2
  788. package/node_modules/@typescript-eslint/typescript-estree/README.md +3 -3
  789. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +6 -2
  790. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
  791. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +1 -0
  792. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
  793. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +29 -5
  794. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
  795. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +5 -1
  796. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -1
  797. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +5 -1
  798. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -1
  799. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +5 -1
  800. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -1
  801. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +5 -1
  802. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -1
  803. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +6 -2
  804. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
  805. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +5 -1
  806. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -1
  807. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +5 -1
  808. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
  809. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
  810. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +6 -3
  811. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
  812. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +1 -1
  813. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +7 -3
  814. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
  815. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +1 -0
  816. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -1
  817. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +5 -1
  818. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -1
  819. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +5 -1
  820. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +1 -1
  821. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +5 -1
  822. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -1
  823. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/package.json +4 -4
  824. package/node_modules/@typescript-eslint/typescript-estree/package.json +8 -9
  825. package/node_modules/@typescript-eslint/{experimental-utils → utils}/LICENSE +0 -0
  826. package/node_modules/@typescript-eslint/{experimental-utils → utils}/README.md +2 -12
  827. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +0 -0
  828. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +0 -0
  829. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/PatternMatcher.js +5 -1
  830. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -1
  831. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +1 -1
  832. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map +1 -1
  833. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/ReferenceTracker.js +5 -1
  834. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -0
  835. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/astUtilities.d.ts +2 -2
  836. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +1 -0
  837. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/astUtilities.js +5 -1
  838. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -0
  839. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/index.d.ts +0 -0
  840. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/index.d.ts.map +0 -0
  841. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/index.js +5 -1
  842. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/index.js.map +1 -1
  843. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/predicates.d.ts +0 -0
  844. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/predicates.d.ts.map +0 -0
  845. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/predicates.js +5 -1
  846. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -0
  847. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +0 -0
  848. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map +0 -0
  849. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/eslint-utils/scopeAnalysis.js +5 -1
  850. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -0
  851. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +47 -0
  852. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/helpers.d.ts.map +1 -1
  853. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/helpers.js +3 -1
  854. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/helpers.js.map +1 -1
  855. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/index.d.ts +2 -1
  856. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts.map +1 -0
  857. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/index.js +7 -2
  858. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js.map +1 -0
  859. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/misc.d.ts +1 -1
  860. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/misc.d.ts.map +1 -1
  861. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/misc.js +0 -0
  862. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/misc.js.map +1 -1
  863. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/predicates.d.ts +14 -18
  864. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -0
  865. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ast-utils/predicates.js +2 -6
  866. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -0
  867. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/InferTypesFromRule.d.ts +0 -0
  868. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/InferTypesFromRule.d.ts.map +0 -0
  869. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/InferTypesFromRule.js +0 -0
  870. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/InferTypesFromRule.js.map +0 -0
  871. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +35 -0
  872. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts.map +1 -0
  873. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +47 -0
  874. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js.map +1 -0
  875. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/RuleTester.d.ts +0 -0
  876. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/RuleTester.d.ts.map +1 -1
  877. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/RuleTester.js +18 -12
  878. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js.map +1 -0
  879. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/applyDefault.d.ts +0 -0
  880. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/applyDefault.d.ts.map +0 -0
  881. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/applyDefault.js +0 -0
  882. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/applyDefault.js.map +0 -0
  883. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/batchedSingleLineTests.d.ts +0 -0
  884. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/batchedSingleLineTests.d.ts.map +0 -0
  885. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/batchedSingleLineTests.js +0 -0
  886. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/batchedSingleLineTests.js.map +0 -0
  887. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/deepMerge.d.ts +0 -0
  888. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/deepMerge.d.ts.map +0 -0
  889. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/deepMerge.js +0 -0
  890. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/deepMerge.js.map +0 -0
  891. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/getParserServices.d.ts +0 -0
  892. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/getParserServices.d.ts.map +0 -0
  893. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/getParserServices.js +0 -0
  894. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/getParserServices.js.map +0 -0
  895. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/index.d.ts +1 -0
  896. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/index.d.ts.map +1 -1
  897. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/index.js +6 -1
  898. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/eslint-utils/index.js.map +1 -1
  899. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +14 -0
  900. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts.map +1 -0
  901. package/node_modules/@typescript-eslint/{eslint-plugin/dist/util → utils/dist/eslint-utils}/nullThrows.js +0 -0
  902. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map +1 -0
  903. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/index.d.ts +0 -0
  904. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/index.d.ts.map +0 -0
  905. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/index.js +5 -1
  906. package/node_modules/@typescript-eslint/utils/dist/index.js.map +1 -0
  907. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/json-schema.d.ts +0 -0
  908. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/json-schema.d.ts.map +0 -0
  909. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/json-schema.js +0 -0
  910. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/json-schema.js.map +0 -0
  911. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/AST.d.ts +0 -0
  912. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/AST.d.ts.map +0 -0
  913. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/AST.js +0 -0
  914. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/AST.js.map +0 -0
  915. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/CLIEngine.d.ts +0 -0
  916. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/CLIEngine.d.ts.map +0 -0
  917. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/CLIEngine.js +0 -0
  918. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/CLIEngine.js.map +0 -0
  919. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ESLint.d.ts +42 -7
  920. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -0
  921. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ESLint.js +0 -0
  922. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ESLint.js.map +1 -1
  923. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Linter.d.ts +0 -0
  924. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Linter.d.ts.map +0 -0
  925. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Linter.js +0 -0
  926. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Linter.js.map +0 -0
  927. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ParserOptions.d.ts +0 -0
  928. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ParserOptions.d.ts.map +0 -0
  929. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ParserOptions.js +0 -0
  930. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/ParserOptions.js.map +0 -0
  931. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Rule.d.ts +13 -14
  932. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -0
  933. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Rule.js +0 -0
  934. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Rule.js.map +0 -0
  935. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/RuleTester.d.ts +4 -2
  936. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -0
  937. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/RuleTester.js +0 -0
  938. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/RuleTester.js.map +1 -1
  939. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Scope.d.ts +0 -0
  940. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Scope.d.ts.map +0 -0
  941. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/Scope.js +5 -1
  942. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +1 -0
  943. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/SourceCode.d.ts +0 -1
  944. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/SourceCode.d.ts.map +1 -1
  945. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/SourceCode.js +0 -0
  946. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/SourceCode.js.map +1 -1
  947. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/index.d.ts +0 -0
  948. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/index.d.ts.map +0 -0
  949. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint/index.js +5 -1
  950. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js.map +1 -0
  951. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Definition.d.ts +0 -0
  952. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Definition.d.ts.map +0 -0
  953. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Definition.js +0 -0
  954. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Definition.js.map +0 -0
  955. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Options.d.ts +0 -0
  956. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Options.d.ts.map +0 -0
  957. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Options.js +0 -0
  958. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Options.js.map +0 -0
  959. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/PatternVisitor.d.ts +0 -0
  960. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/PatternVisitor.d.ts.map +0 -0
  961. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/PatternVisitor.js +0 -0
  962. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/PatternVisitor.js.map +0 -0
  963. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Reference.d.ts +0 -0
  964. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Reference.d.ts.map +0 -0
  965. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Reference.js +0 -0
  966. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Reference.js.map +0 -0
  967. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Referencer.d.ts +0 -0
  968. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Referencer.d.ts.map +0 -0
  969. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Referencer.js +0 -0
  970. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Referencer.js.map +0 -0
  971. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Scope.d.ts +0 -0
  972. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Scope.d.ts.map +0 -0
  973. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Scope.js +0 -0
  974. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Scope.js.map +0 -0
  975. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/ScopeManager.d.ts +0 -0
  976. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/ScopeManager.d.ts.map +0 -0
  977. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/ScopeManager.js +0 -0
  978. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/ScopeManager.js.map +0 -0
  979. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Variable.d.ts +0 -0
  980. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Variable.d.ts.map +0 -0
  981. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Variable.js +0 -0
  982. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/Variable.js.map +0 -0
  983. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/analyze.d.ts +0 -0
  984. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/analyze.d.ts.map +0 -0
  985. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/analyze.js +0 -0
  986. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/analyze.js.map +0 -0
  987. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/index.d.ts +0 -0
  988. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/index.d.ts.map +0 -0
  989. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-eslint-scope/index.js +5 -1
  990. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js.map +1 -0
  991. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-estree.d.ts +0 -0
  992. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-estree.d.ts.map +0 -0
  993. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-estree.js +0 -0
  994. package/node_modules/@typescript-eslint/{experimental-utils → utils}/dist/ts-estree.js.map +0 -0
  995. package/node_modules/@typescript-eslint/{experimental-utils → utils}/package.json +9 -9
  996. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -1
  997. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +13 -5
  998. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
  999. package/node_modules/@typescript-eslint/visitor-keys/package.json +4 -4
  1000. package/node_modules/{@typescript-eslint/typescript-estree/node_modules/array-union → array-union}/index.d.ts +0 -0
  1001. package/node_modules/{@typescript-eslint/typescript-estree/node_modules/array-union → array-union}/index.js +0 -0
  1002. package/node_modules/{@typescript-eslint/typescript-estree/node_modules/array-union → array-union}/license +0 -0
  1003. package/node_modules/{@typescript-eslint/typescript-estree/node_modules/array-union → array-union}/package.json +0 -0
  1004. package/node_modules/{@typescript-eslint/typescript-estree/node_modules/array-union → array-union}/readme.md +0 -0
  1005. package/node_modules/debug/LICENSE +10 -9
  1006. package/node_modules/debug/README.md +27 -1
  1007. package/node_modules/debug/package.json +6 -6
  1008. package/node_modules/debug/src/common.js +2 -2
  1009. package/node_modules/eslint-config-xo-typescript/index.js +151 -97
  1010. package/node_modules/eslint-config-xo-typescript/package.json +4 -5
  1011. package/node_modules/eslint-config-xo-typescript/readme.md +3 -3
  1012. package/node_modules/eslint-visitor-keys/README.md +5 -4
  1013. package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +23 -5
  1014. package/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
  1015. package/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
  1016. package/node_modules/eslint-visitor-keys/lib/index.js +11 -5
  1017. package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +12 -0
  1018. package/node_modules/eslint-visitor-keys/package.json +12 -5
  1019. package/node_modules/fast-glob/README.md +1 -1
  1020. package/node_modules/fast-glob/out/index.js +3 -2
  1021. package/node_modules/fast-glob/out/managers/patterns.d.ts +6 -0
  1022. package/node_modules/fast-glob/out/managers/patterns.js +21 -0
  1023. package/node_modules/fast-glob/out/providers/filters/entry.d.ts +4 -0
  1024. package/node_modules/fast-glob/out/providers/filters/entry.js +5 -1
  1025. package/node_modules/fast-glob/out/utils/pattern.js +17 -5
  1026. package/node_modules/fast-glob/package.json +2 -2
  1027. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/LICENSE-MIT +0 -0
  1028. package/node_modules/{@typescript-eslint/typescript-estree/node_modules/ignore → ignore}/README.md +26 -6
  1029. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.d.ts +7 -9
  1030. package/node_modules/{@typescript-eslint/typescript-estree/node_modules/ignore → ignore}/index.js +20 -11
  1031. package/node_modules/{@typescript-eslint/typescript-estree/node_modules/ignore → ignore}/legacy.js +20 -14
  1032. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/package.json +1 -1
  1033. package/node_modules/micromatch/README.md +12 -9
  1034. package/node_modules/micromatch/index.js +3 -3
  1035. package/node_modules/micromatch/package.json +5 -5
  1036. package/node_modules/picomatch/CHANGELOG.md +10 -0
  1037. package/node_modules/picomatch/README.md +4 -3
  1038. package/node_modules/picomatch/lib/parse.js +8 -1
  1039. package/node_modules/picomatch/package.json +1 -1
  1040. package/node_modules/semver/README.md +3 -1
  1041. package/node_modules/semver/bin/semver.js +19 -9
  1042. package/node_modules/semver/classes/comparator.js +3 -2
  1043. package/node_modules/semver/classes/index.js +1 -1
  1044. package/node_modules/semver/classes/range.js +31 -22
  1045. package/node_modules/semver/classes/semver.js +1 -1
  1046. package/node_modules/semver/functions/cmp.js +8 -4
  1047. package/node_modules/semver/functions/coerce.js +3 -2
  1048. package/node_modules/semver/functions/inc.js +4 -1
  1049. package/node_modules/semver/functions/parse.js +1 -1
  1050. package/node_modules/semver/internal/constants.js +2 -2
  1051. package/node_modules/semver/internal/identifiers.js +1 -1
  1052. package/node_modules/semver/internal/parse-options.js +3 -3
  1053. package/node_modules/semver/internal/re.js +3 -3
  1054. package/node_modules/semver/package.json +45 -11
  1055. package/node_modules/semver/ranges/min-version.js +2 -1
  1056. package/node_modules/semver/ranges/outside.js +1 -1
  1057. package/node_modules/semver/ranges/simplify.js +15 -12
  1058. package/node_modules/semver/ranges/subset.js +53 -31
  1059. package/package.json +29 -28
  1060. package/readme.md +16 -0
  1061. package/node_modules/@typescript-eslint/eslint-plugin/CHANGELOG.md +0 -2294
  1062. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeReadonly.js.map +0 -1
  1063. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/nullThrows.js.map +0 -1
  1064. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/propertyTypes.js.map +0 -1
  1065. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/requiresQuoting.js.map +0 -1
  1066. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js +0 -428
  1067. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js.map +0 -1
  1068. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/README.md +0 -392
  1069. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/index.js +0 -594
  1070. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/legacy.js +0 -492
  1071. package/node_modules/@typescript-eslint/experimental-utils/CHANGELOG.md +0 -1269
  1072. package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +0 -1
  1073. package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +0 -1
  1074. package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/eslint-utils/astUtilities.js.map +0 -1
  1075. package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/eslint-utils/predicates.js.map +0 -1
  1076. package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +0 -1
  1077. package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/helpers.d.ts +0 -18
  1078. package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/index.d.ts.map +0 -1
  1079. package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/index.js.map +0 -1
  1080. package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/predicates.d.ts.map +0 -1
  1081. package/node_modules/@typescript-eslint/experimental-utils/dist/ast-utils/predicates.js.map +0 -1
  1082. package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.d.ts +0 -13
  1083. package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.d.ts.map +0 -1
  1084. package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.js +0 -19
  1085. package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleCreator.js.map +0 -1
  1086. package/node_modules/@typescript-eslint/experimental-utils/dist/eslint-utils/RuleTester.js.map +0 -1
  1087. package/node_modules/@typescript-eslint/experimental-utils/dist/index.js.map +0 -1
  1088. package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/ESLint.d.ts.map +0 -1
  1089. package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/Rule.d.ts.map +0 -1
  1090. package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/RuleTester.d.ts.map +0 -1
  1091. package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/Scope.js.map +0 -1
  1092. package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/index.js.map +0 -1
  1093. package/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint-scope/index.js.map +0 -1
  1094. package/node_modules/@typescript-eslint/parser/CHANGELOG.md +0 -1291
  1095. package/node_modules/@typescript-eslint/scope-manager/CHANGELOG.md +0 -681
  1096. package/node_modules/@typescript-eslint/types/CHANGELOG.md +0 -661
  1097. package/node_modules/@typescript-eslint/types/dist/ast-spec.d.ts.map +0 -1
  1098. package/node_modules/@typescript-eslint/types/dist/ast-spec.js.map +0 -1
  1099. package/node_modules/@typescript-eslint/typescript-estree/CHANGELOG.md +0 -1492
  1100. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/LICENSE-MIT +0 -21
  1101. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.d.ts +0 -63
  1102. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/package.json +0 -71
  1103. package/node_modules/@typescript-eslint/visitor-keys/CHANGELOG.md +0 -630
  1104. package/node_modules/eslint-visitor-keys/CHANGELOG.md +0 -42
  1105. package/node_modules/micromatch/CHANGELOG.md +0 -109
  1106. package/node_modules/semver/CHANGELOG.md +0 -111
@@ -1 +1 @@
1
- {"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/util/misc.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8EAI+C;AAC/C,uDAAoD;AAEpD;;GAEG;AACH,SAAS,gBAAgB,CAAC,QAAgB;IACxC,OAAO,aAAa,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;AAC5C,CAAC;AAkJC,4CAAgB;AAhJlB;;GAEG;AACH,SAAS,cAAc,CAAC,GAAW;IACjC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAC7C,CAAC;AA8IC,wCAAc;AAzIhB,SAAS,cAAc,CACrB,CAAkB,EAClB,CAAkB,EAClB,EAA2B;IAE3B,OAAO,CACL,CAAC,KAAK,CAAC;QACP,CAAC,CAAC,KAAK,SAAS;YACd,CAAC,KAAK,SAAS;YACf,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM;YACrB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CACtC,CAAC;AACJ,CAAC;AAkHC,wCAAc;AAhHhB,gDAAgD;AAChD,SAAS,eAAe,CACtB,MAAW,EACX,SAAkC;IAElC,KAAK,MAAM,OAAO,IAAI,MAAM,EAAE;QAC5B,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;QAClC,IAAI,MAAM,KAAK,SAAS,EAAE;YACxB,OAAO,MAAM,CAAC;SACf;KACF;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAuGC,0CAAe;AArGjB;;GAEG;AACH,SAAS,yBAAyB,CAAC,IAA+B;IAChE,MAAM,QAAQ,GAAsC,IAAI,CAAC,UAAU,CAAC,IAAI,CACtE,CAAC,SAA6B,EAAoC,EAAE,CAClE,SAAS,CAAC,IAAI,KAAK,mCAAc,CAAC,UAAU,CAC/C,CAAC;IACF,OAAO,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC;AACxD,CAAC;AA+FC,8DAAyB;AA7F3B,IAAK,cAKJ;AALD,WAAK,cAAc;IACjB,yDAAW,CAAA;IACX,uDAAU,CAAA;IACV,uDAAU,CAAA;IACV,+DAAc,CAAA;AAChB,CAAC,EALI,cAAc,KAAd,cAAc,QAKlB;AA2FC,wCAAc;AAzFhB;;;GAGG;AACH,SAAS,iBAAiB,CACxB,MAOgC,EAChC,UAA+B;IAE/B,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,mCAAc,CAAC,UAAU,EAAE;QACjD,OAAO;YACL,IAAI,EAAE,cAAc,CAAC,MAAM;YAC3B,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI;SACtB,CAAC;KACH;IACD,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,mCAAc,CAAC,iBAAiB,EAAE;QACxD,OAAO;YACL,IAAI,EAAE,cAAc,CAAC,OAAO;YAC5B,IAAI,EAAE,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE;SAC5B,CAAC;KACH;IACD,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,mCAAc,CAAC,OAAO,EAAE;QAC9C,MAAM,IAAI,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;QACnC,IAAI,IAAA,iCAAe,EAAC,IAAI,CAAC,EAAE;YACzB,OAAO;gBACL,IAAI,EAAE,cAAc,CAAC,MAAM;gBAC3B,IAAI,EAAE,IAAI,IAAI,GAAG;aAClB,CAAC;SACH;aAAM;YACL,OAAO;gBACL,IAAI,EAAE,cAAc,CAAC,MAAM;gBAC3B,IAAI;aACL,CAAC;SACH;KACF;IAED,OAAO;QACL,IAAI,EAAE,cAAc,CAAC,UAAU;QAC/B,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC;KACjD,CAAC;AACJ,CAAC;AAyCC,8CAAiB;AA9BnB,SAAS,YAAY,CAAmB,MAA0B;IAChE,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAQ,CAAC;AACpE,CAAC;AA0BC,oCAAY;AAxBd;;;;;GAKG;AACH,SAAS,cAAc,CAAC,KAAe;IACrC,IAAI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAA,EAAE;QAClB,OAAO,EAAE,CAAC;KACX;IAED,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;QACtB,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;KACjB;IAED,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC3E,CAAC;AAOC,wCAAc"}
1
+ {"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/util/misc.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oDAA8E;AAC9E,8DAAgE;AAEhE;;GAEG;AACH,SAAS,gBAAgB,CAAC,QAAgB;IACxC,OAAO,aAAa,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;AAC5C,CAAC;AAuKC,4CAAgB;AArKlB;;GAEG;AACH,SAAS,cAAc,CAAC,GAAW;IACjC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAC7C,CAAC;AAmKC,wCAAc;AAjKhB,SAAS,iBAAiB,CACxB,KAAU,EACV,MAAwB;IAExB,MAAM,MAAM,GAAG,IAAI,GAAG,EAAY,CAAC;IAEnC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACxB,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;QACzB,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAEjC,IAAI,QAAQ,EAAE;YACZ,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACrB;aAAM;YACL,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;SACzB;KACF;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAmIC,8CAAiB;AA9HnB,SAAS,cAAc,CACrB,CAAkB,EAClB,CAAkB,EAClB,EAA2B;IAE3B,OAAO,CACL,CAAC,KAAK,CAAC;QACP,CAAC,CAAC,KAAK,SAAS;YACd,CAAC,KAAK,SAAS;YACf,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM;YACrB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CACtC,CAAC;AACJ,CAAC;AAmHC,wCAAc;AAjHhB,gDAAgD;AAChD,SAAS,eAAe,CACtB,MAAW,EACX,SAAkC;IAElC,KAAK,MAAM,OAAO,IAAI,MAAM,EAAE;QAC5B,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;QAClC,IAAI,MAAM,KAAK,SAAS,EAAE;YACxB,OAAO,MAAM,CAAC;SACf;KACF;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAwGC,0CAAe;AAtGjB;;GAEG;AACH,SAAS,yBAAyB,CAAC,IAA+B;IAChE,MAAM,QAAQ,GAAsC,IAAI,CAAC,UAAU,CAAC,IAAI,CACtE,CAAC,SAA6B,EAAoC,EAAE,CAClE,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,CAC/C,CAAC;IACF,OAAO,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC;AACxD,CAAC;AAgGC,8DAAyB;AA9F3B,IAAK,cAKJ;AALD,WAAK,cAAc;IACjB,yDAAW,CAAA;IACX,uDAAU,CAAA;IACV,uDAAU,CAAA;IACV,+DAAc,CAAA;AAChB,CAAC,EALI,cAAc,KAAd,cAAc,QAKlB;AA4FC,wCAAc;AA1FhB;;;GAGG;AACH,SAAS,iBAAiB,CACxB,MAOgC,EAChC,UAA+B;IAE/B,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE;QACjD,OAAO;YACL,IAAI,EAAE,cAAc,CAAC,MAAM;YAC3B,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI;SACtB,CAAC;KACH;IACD,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,iBAAiB,EAAE;QACxD,OAAO;YACL,IAAI,EAAE,cAAc,CAAC,OAAO;YAC5B,IAAI,EAAE,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE;SAC5B,CAAC;KACH;IACD,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE;QAC9C,MAAM,IAAI,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;QACnC,IAAI,IAAA,4BAAe,EAAC,IAAI,CAAC,EAAE;YACzB,OAAO;gBACL,IAAI,EAAE,cAAc,CAAC,MAAM;gBAC3B,IAAI,EAAE,IAAI,IAAI,GAAG;aAClB,CAAC;SACH;aAAM;YACL,OAAO;gBACL,IAAI,EAAE,cAAc,CAAC,MAAM;gBAC3B,IAAI;aACL,CAAC;SACH;KACF;IAED,OAAO;QACL,IAAI,EAAE,cAAc,CAAC,UAAU;QAC/B,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC;KACjD,CAAC;AACJ,CAAC;AA0CC,8CAAiB;AA/BnB,SAAS,YAAY,CAAmB,MAA0B;IAChE,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAQ,CAAC;AACpE,CAAC;AA2BC,oCAAY;AAzBd;;;;;GAKG;AACH,SAAS,cAAc,CAAC,KAAe;IACrC,IAAI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAA,EAAE;QAClB,OAAO,EAAE,CAAC;KACX;IAED,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;QACtB,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;KACjB;IAED,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC3E,CAAC;AAQC,wCAAc"}
@@ -0,0 +1,160 @@
1
+ ---
2
+ title: Overview
3
+ sidebar_label: Overview
4
+ pagination_next: null
5
+ pagination_prev: null
6
+ slug: /
7
+ ---
8
+
9
+ `@typescript-eslint/eslint-plugin` includes over 100 rules that detect best practice violations, bugs, and/or stylistic issues specifically for TypeScript code.
10
+ See [Presets](/docs/linting/presets) for how to enable recommended rules using presets.
11
+
12
+ ## Supported Rules
13
+
14
+ <!-- begin base rule list -->
15
+
16
+ **Key**: :white_check_mark: = recommended, :lock: = strict, :wrench: = fixable, :thought_balloon: = requires type information
17
+
18
+ | Name | Description | :white_check_mark::lock: | :wrench: | :thought_balloon: |
19
+ | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- | ------------------------ | -------- | ----------------- |
20
+ | [`@typescript-eslint/adjacent-overload-signatures`](./adjacent-overload-signatures.md) | Require that member overloads be consecutive | :white_check_mark: | | |
21
+ | [`@typescript-eslint/array-type`](./array-type.md) | Requires using either `T[]` or `Array<T>` for arrays | :lock: | :wrench: | |
22
+ | [`@typescript-eslint/await-thenable`](./await-thenable.md) | Disallows awaiting a value that is not a Thenable | :white_check_mark: | | :thought_balloon: |
23
+ | [`@typescript-eslint/ban-ts-comment`](./ban-ts-comment.md) | Bans `@ts-<directive>` comments from being used or requires descriptions after directive | :white_check_mark: | | |
24
+ | [`@typescript-eslint/ban-tslint-comment`](./ban-tslint-comment.md) | Bans `// tslint:<rule-flag>` comments from being used | :lock: | :wrench: | |
25
+ | [`@typescript-eslint/ban-types`](./ban-types.md) | Bans specific types from being used | :white_check_mark: | :wrench: | |
26
+ | [`@typescript-eslint/class-literal-property-style`](./class-literal-property-style.md) | Ensures that literals on classes are exposed in a consistent style | :lock: | :wrench: | |
27
+ | [`@typescript-eslint/consistent-indexed-object-style`](./consistent-indexed-object-style.md) | Enforce or disallow the use of the record type | :lock: | :wrench: | |
28
+ | [`@typescript-eslint/consistent-type-assertions`](./consistent-type-assertions.md) | Enforces consistent usage of type assertions | :lock: | | |
29
+ | [`@typescript-eslint/consistent-type-definitions`](./consistent-type-definitions.md) | Consistent with type definition either `interface` or `type` | :lock: | :wrench: | |
30
+ | [`@typescript-eslint/consistent-type-exports`](./consistent-type-exports.md) | Enforces consistent usage of type exports | | :wrench: | :thought_balloon: |
31
+ | [`@typescript-eslint/consistent-type-imports`](./consistent-type-imports.md) | Enforces consistent usage of type imports | | :wrench: | |
32
+ | [`@typescript-eslint/explicit-function-return-type`](./explicit-function-return-type.md) | Require explicit return types on functions and class methods | | | |
33
+ | [`@typescript-eslint/explicit-member-accessibility`](./explicit-member-accessibility.md) | Require explicit accessibility modifiers on class properties and methods | | :wrench: | |
34
+ | [`@typescript-eslint/explicit-module-boundary-types`](./explicit-module-boundary-types.md) | Require explicit return and argument types on exported functions' and classes' public class methods | | | |
35
+ | [`@typescript-eslint/member-delimiter-style`](./member-delimiter-style.md) | Require a specific member delimiter style for interfaces and type literals | | :wrench: | |
36
+ | [`@typescript-eslint/member-ordering`](./member-ordering.md) | Require a consistent member declaration order | | | |
37
+ | [`@typescript-eslint/method-signature-style`](./method-signature-style.md) | Enforces using a particular method signature syntax | | :wrench: | |
38
+ | [`@typescript-eslint/naming-convention`](./naming-convention.md) | Enforces naming conventions for everything across a codebase | | | :thought_balloon: |
39
+ | [`@typescript-eslint/no-base-to-string`](./no-base-to-string.md) | Requires that `.toString()` is only called on objects which provide useful information when stringified | :lock: | | :thought_balloon: |
40
+ | [`@typescript-eslint/no-confusing-non-null-assertion`](./no-confusing-non-null-assertion.md) | Disallow non-null assertion in locations that may be confusing | :lock: | :wrench: | |
41
+ | [`@typescript-eslint/no-confusing-void-expression`](./no-confusing-void-expression.md) | Requires expressions of type void to appear in statement position | | :wrench: | :thought_balloon: |
42
+ | [`@typescript-eslint/no-duplicate-enum-values`](./docs/rules/no-duplicate-enum-values.md) | Disallow duplicate enum member values | :lock: | | |
43
+ | [`@typescript-eslint/no-dynamic-delete`](./no-dynamic-delete.md) | Disallow the delete operator with computed key expressions | :lock: | :wrench: | |
44
+ | [`@typescript-eslint/no-empty-interface`](./no-empty-interface.md) | Disallow the declaration of empty interfaces | :white_check_mark: | :wrench: | |
45
+ | [`@typescript-eslint/no-explicit-any`](./no-explicit-any.md) | Disallow usage of the `any` type | :white_check_mark: | :wrench: | |
46
+ | [`@typescript-eslint/no-extra-non-null-assertion`](./no-extra-non-null-assertion.md) | Disallow extra non-null assertion | :white_check_mark: | :wrench: | |
47
+ | [`@typescript-eslint/no-extraneous-class`](./no-extraneous-class.md) | Forbids the use of classes as namespaces | :lock: | | |
48
+ | [`@typescript-eslint/no-floating-promises`](./no-floating-promises.md) | Requires Promise-like statements to be handled appropriately | :white_check_mark: | | :thought_balloon: |
49
+ | [`@typescript-eslint/no-for-in-array`](./no-for-in-array.md) | Disallow iterating over an array with a for-in loop | :white_check_mark: | | :thought_balloon: |
50
+ | [`@typescript-eslint/no-inferrable-types`](./no-inferrable-types.md) | Disallows explicit type declarations for variables or parameters initialized to a number, string, or boolean | :white_check_mark: | :wrench: | |
51
+ | [`@typescript-eslint/no-invalid-void-type`](./no-invalid-void-type.md) | Disallows usage of `void` type outside of generic or return types | :lock: | | |
52
+ | [`@typescript-eslint/no-meaningless-void-operator`](./no-meaningless-void-operator.md) | Disallow the `void` operator except when used to discard a value | :lock: | :wrench: | :thought_balloon: |
53
+ | [`@typescript-eslint/no-misused-new`](./no-misused-new.md) | Enforce valid definition of `new` and `constructor` | :white_check_mark: | | |
54
+ | [`@typescript-eslint/no-misused-promises`](./no-misused-promises.md) | Avoid using Promises in places not designed to handle them | :white_check_mark: | | :thought_balloon: |
55
+ | [`@typescript-eslint/no-namespace`](./no-namespace.md) | Disallow the use of custom TypeScript modules and namespaces | :white_check_mark: | | |
56
+ | [`@typescript-eslint/no-non-null-asserted-nullish-coalescing`](./no-non-null-asserted-nullish-coalescing.md) | Disallows using a non-null assertion in the left operand of the nullish coalescing operator | :lock: | | |
57
+ | [`@typescript-eslint/no-non-null-asserted-optional-chain`](./no-non-null-asserted-optional-chain.md) | Disallows using a non-null assertion after an optional chain expression | :white_check_mark: | | |
58
+ | [`@typescript-eslint/no-non-null-assertion`](./no-non-null-assertion.md) | Disallows non-null assertions using the `!` postfix operator | :white_check_mark: | | |
59
+ | [`@typescript-eslint/no-parameter-properties`](./no-parameter-properties.md) | Disallow the use of parameter properties in class constructors | | | |
60
+ | [`@typescript-eslint/no-redundant-type-constituents`](./no-redundant-type-constituents.md) | Disallow members of unions and intersections that do nothing or override type information | | | :thought_balloon: |
61
+ | [`@typescript-eslint/no-require-imports`](./no-require-imports.md) | Disallows invocation of `require()` | | | |
62
+ | [`@typescript-eslint/no-this-alias`](./no-this-alias.md) | Disallow aliasing `this` | :white_check_mark: | | |
63
+ | [`@typescript-eslint/no-type-alias`](./no-type-alias.md) | Disallow the use of type aliases | | | |
64
+ | [`@typescript-eslint/no-unnecessary-boolean-literal-compare`](./no-unnecessary-boolean-literal-compare.md) | Flags unnecessary equality comparisons against boolean literals | :lock: | :wrench: | :thought_balloon: |
65
+ | [`@typescript-eslint/no-unnecessary-condition`](./no-unnecessary-condition.md) | Prevents conditionals where the type is always truthy or always falsy | :lock: | :wrench: | :thought_balloon: |
66
+ | [`@typescript-eslint/no-unnecessary-qualifier`](./no-unnecessary-qualifier.md) | Warns when a namespace qualifier is unnecessary | | :wrench: | :thought_balloon: |
67
+ | [`@typescript-eslint/no-unnecessary-type-arguments`](./no-unnecessary-type-arguments.md) | Enforces that type arguments will not be used if not required | :lock: | :wrench: | :thought_balloon: |
68
+ | [`@typescript-eslint/no-unnecessary-type-assertion`](./no-unnecessary-type-assertion.md) | Warns if a type assertion does not change the type of an expression | :white_check_mark: | :wrench: | :thought_balloon: |
69
+ | [`@typescript-eslint/no-unnecessary-type-constraint`](./no-unnecessary-type-constraint.md) | Disallows unnecessary constraints on generic types | :white_check_mark: | | |
70
+ | [`@typescript-eslint/no-unsafe-argument`](./no-unsafe-argument.md) | Disallows calling a function with an any type value | :white_check_mark: | | :thought_balloon: |
71
+ | [`@typescript-eslint/no-unsafe-assignment`](./no-unsafe-assignment.md) | Disallows assigning any to variables and properties | :white_check_mark: | | :thought_balloon: |
72
+ | [`@typescript-eslint/no-unsafe-call`](./no-unsafe-call.md) | Disallows calling an any type value | :white_check_mark: | | :thought_balloon: |
73
+ | [`@typescript-eslint/no-unsafe-member-access`](./no-unsafe-member-access.md) | Disallows member access on any typed variables | :white_check_mark: | | :thought_balloon: |
74
+ | [`@typescript-eslint/no-unsafe-return`](./no-unsafe-return.md) | Disallows returning any from a function | :white_check_mark: | | :thought_balloon: |
75
+ | [`@typescript-eslint/no-useless-empty-export`](./no-useless-empty-export.md) | Disallow empty exports that don't change anything in a module file | | :wrench: | |
76
+ | [`@typescript-eslint/no-var-requires`](./no-var-requires.md) | Disallows the use of require statements except in import statements | :white_check_mark: | | |
77
+ | [`@typescript-eslint/non-nullable-type-assertion-style`](./non-nullable-type-assertion-style.md) | Prefers a non-null assertion over explicit type cast when possible | :lock: | :wrench: | :thought_balloon: |
78
+ | [`@typescript-eslint/parameter-properties`](./parameter-properties.md) | Require or disallow the use of parameter properties in class constructors | | | |
79
+ | [`@typescript-eslint/prefer-as-const`](./prefer-as-const.md) | Prefer usage of `as const` over literal type | :white_check_mark: | :wrench: | |
80
+ | [`@typescript-eslint/prefer-enum-initializers`](./prefer-enum-initializers.md) | Prefer initializing each enums member value | | | |
81
+ | [`@typescript-eslint/prefer-for-of`](./prefer-for-of.md) | Prefer a ‘for-of’ loop over a standard ‘for’ loop if the index is only used to access the array being iterated | :lock: | | |
82
+ | [`@typescript-eslint/prefer-function-type`](./prefer-function-type.md) | Use function types instead of interfaces with call signatures | :lock: | :wrench: | |
83
+ | [`@typescript-eslint/prefer-includes`](./prefer-includes.md) | Enforce `includes` method over `indexOf` method | :lock: | :wrench: | :thought_balloon: |
84
+ | [`@typescript-eslint/prefer-literal-enum-member`](./prefer-literal-enum-member.md) | Require that all enum members be literal values to prevent unintended enum member name shadow issues | :lock: | | |
85
+ | [`@typescript-eslint/prefer-namespace-keyword`](./prefer-namespace-keyword.md) | Require the use of the `namespace` keyword instead of the `module` keyword to declare custom TypeScript modules | :white_check_mark: | :wrench: | |
86
+ | [`@typescript-eslint/prefer-nullish-coalescing`](./prefer-nullish-coalescing.md) | Enforce the usage of the nullish coalescing operator instead of logical chaining | :lock: | | :thought_balloon: |
87
+ | [`@typescript-eslint/prefer-optional-chain`](./prefer-optional-chain.md) | Prefer using concise optional chain expressions instead of chained logical ands | :lock: | | |
88
+ | [`@typescript-eslint/prefer-readonly`](./prefer-readonly.md) | Requires that private members are marked as `readonly` if they're never modified outside of the constructor | | :wrench: | :thought_balloon: |
89
+ | [`@typescript-eslint/prefer-readonly-parameter-types`](./prefer-readonly-parameter-types.md) | Requires that function parameters are typed as readonly to prevent accidental mutation of inputs | | | :thought_balloon: |
90
+ | [`@typescript-eslint/prefer-reduce-type-parameter`](./prefer-reduce-type-parameter.md) | Prefer using type parameter when calling `Array#reduce` instead of casting | :lock: | :wrench: | :thought_balloon: |
91
+ | [`@typescript-eslint/prefer-regexp-exec`](./prefer-regexp-exec.md) | Enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided | | :wrench: | :thought_balloon: |
92
+ | [`@typescript-eslint/prefer-return-this-type`](./prefer-return-this-type.md) | Enforce that `this` is used when only `this` type is returned | :lock: | :wrench: | :thought_balloon: |
93
+ | [`@typescript-eslint/prefer-string-starts-ends-with`](./prefer-string-starts-ends-with.md) | Enforce the use of `String#startsWith` and `String#endsWith` instead of other equivalent methods of checking substrings | :lock: | :wrench: | :thought_balloon: |
94
+ | [`@typescript-eslint/prefer-ts-expect-error`](./prefer-ts-expect-error.md) | Recommends using `@ts-expect-error` over `@ts-ignore` | :lock: | :wrench: | |
95
+ | [`@typescript-eslint/promise-function-async`](./promise-function-async.md) | Requires any function or method that returns a Promise to be marked async | | :wrench: | :thought_balloon: |
96
+ | [`@typescript-eslint/require-array-sort-compare`](./require-array-sort-compare.md) | Requires `Array#sort` calls to always provide a `compareFunction` | | | :thought_balloon: |
97
+ | [`@typescript-eslint/restrict-plus-operands`](./restrict-plus-operands.md) | When adding two variables, operands must both be of type number or of type string | :white_check_mark: | | :thought_balloon: |
98
+ | [`@typescript-eslint/restrict-template-expressions`](./restrict-template-expressions.md) | Enforce template literal expressions to be of string type | :white_check_mark: | | :thought_balloon: |
99
+ | [`@typescript-eslint/sort-type-union-intersection-members`](./sort-type-union-intersection-members.md) | Enforces that members of a type union/intersection are sorted alphabetically | | :wrench: | |
100
+ | [`@typescript-eslint/strict-boolean-expressions`](./strict-boolean-expressions.md) | Restricts the types allowed in boolean expressions | | :wrench: | :thought_balloon: |
101
+ | [`@typescript-eslint/switch-exhaustiveness-check`](./switch-exhaustiveness-check.md) | Exhaustiveness checking in switch with union type | | | :thought_balloon: |
102
+ | [`@typescript-eslint/triple-slash-reference`](./triple-slash-reference.md) | Sets preference level for triple slash directives versus ES6-style import declarations | :white_check_mark: | | |
103
+ | [`@typescript-eslint/type-annotation-spacing`](./type-annotation-spacing.md) | Require consistent spacing around type annotations | | :wrench: | |
104
+ | [`@typescript-eslint/typedef`](./typedef.md) | Requires type annotations to exist | | | |
105
+ | [`@typescript-eslint/unbound-method`](./unbound-method.md) | Enforces unbound methods are called with their expected scope | :white_check_mark: | | :thought_balloon: |
106
+ | [`@typescript-eslint/unified-signatures`](./unified-signatures.md) | Warns for any two overloads that could be unified into one by using a union or an optional/rest parameter | :lock: | | |
107
+
108
+ <!-- end base rule list -->
109
+
110
+ ## Extension Rules
111
+
112
+ In some cases, ESLint provides a rule itself, but it doesn't support TypeScript syntax; either it crashes, or it ignores the syntax, or it falsely reports against it.
113
+ In these cases, we create what we call an extension rule; a rule within our plugin that has the same functionality, but also supports TypeScript.
114
+
115
+ <!-- begin extension rule list -->
116
+
117
+ **Key**: :white_check_mark: = recommended, :lock: = strict, :wrench: = fixable, :thought_balloon: = requires type information
118
+
119
+ | Name | Description | :white_check_mark::lock: | :wrench: | :thought_balloon: |
120
+ | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ------------------------ | -------- | ----------------- |
121
+ | [`@typescript-eslint/brace-style`](./brace-style.md) | Enforce consistent brace style for blocks | | :wrench: | |
122
+ | [`@typescript-eslint/comma-dangle`](./comma-dangle.md) | Require or disallow trailing comma | | :wrench: | |
123
+ | [`@typescript-eslint/comma-spacing`](./comma-spacing.md) | Enforces consistent spacing before and after commas | | :wrench: | |
124
+ | [`@typescript-eslint/default-param-last`](./default-param-last.md) | Enforce default parameters to be last | | | |
125
+ | [`@typescript-eslint/dot-notation`](./dot-notation.md) | enforce dot notation whenever possible | :lock: | :wrench: | :thought_balloon: |
126
+ | [`@typescript-eslint/func-call-spacing`](./func-call-spacing.md) | Require or disallow spacing between function identifiers and their invocations | | :wrench: | |
127
+ | [`@typescript-eslint/indent`](./indent.md) | Enforce consistent indentation | | :wrench: | |
128
+ | [`@typescript-eslint/init-declarations`](./init-declarations.md) | require or disallow initialization in variable declarations | | | |
129
+ | [`@typescript-eslint/keyword-spacing`](./keyword-spacing.md) | Enforce consistent spacing before and after keywords | | :wrench: | |
130
+ | [`@typescript-eslint/lines-between-class-members`](./lines-between-class-members.md) | Require or disallow an empty line between class members | | :wrench: | |
131
+ | [`@typescript-eslint/no-array-constructor`](./no-array-constructor.md) | Disallow generic `Array` constructors | :white_check_mark: | :wrench: | |
132
+ | [`@typescript-eslint/no-dupe-class-members`](./no-dupe-class-members.md) | Disallow duplicate class members | | | |
133
+ | [`@typescript-eslint/no-duplicate-imports`](./no-duplicate-imports.md) | Disallow duplicate imports | | | |
134
+ | [`@typescript-eslint/no-empty-function`](./no-empty-function.md) | Disallow empty functions | :white_check_mark: | | |
135
+ | [`@typescript-eslint/no-extra-parens`](./no-extra-parens.md) | Disallow unnecessary parentheses | | :wrench: | |
136
+ | [`@typescript-eslint/no-extra-semi`](./no-extra-semi.md) | Disallow unnecessary semicolons | :white_check_mark: | :wrench: | |
137
+ | [`@typescript-eslint/no-implied-eval`](./no-implied-eval.md) | Disallow the use of `eval()`-like methods | :white_check_mark: | | :thought_balloon: |
138
+ | [`@typescript-eslint/no-invalid-this`](./no-invalid-this.md) | Disallow `this` keywords outside of classes or class-like objects | | | |
139
+ | [`@typescript-eslint/no-loop-func`](./no-loop-func.md) | Disallow function declarations that contain unsafe references inside loop statements | | | |
140
+ | [`@typescript-eslint/no-loss-of-precision`](./no-loss-of-precision.md) | Disallow literal numbers that lose precision | :white_check_mark: | | |
141
+ | [`@typescript-eslint/no-magic-numbers`](./no-magic-numbers.md) | Disallow magic numbers | | | |
142
+ | [`@typescript-eslint/no-redeclare`](./no-redeclare.md) | Disallow variable redeclaration | | | |
143
+ | [`@typescript-eslint/no-restricted-imports`](./no-restricted-imports.md) | Disallow specified modules when loaded by `import` | | | |
144
+ | [`@typescript-eslint/no-shadow`](./no-shadow.md) | Disallow variable declarations from shadowing variables declared in the outer scope | | | |
145
+ | [`@typescript-eslint/no-throw-literal`](./no-throw-literal.md) | Disallow throwing literals as exceptions | :lock: | | :thought_balloon: |
146
+ | [`@typescript-eslint/no-unused-expressions`](./no-unused-expressions.md) | Disallow unused expressions | | | |
147
+ | [`@typescript-eslint/no-unused-vars`](./no-unused-vars.md) | Disallow unused variables | :white_check_mark: | | |
148
+ | [`@typescript-eslint/no-use-before-define`](./no-use-before-define.md) | Disallow the use of variables before they are defined | | | |
149
+ | [`@typescript-eslint/no-useless-constructor`](./no-useless-constructor.md) | Disallow unnecessary constructors | :lock: | | |
150
+ | [`@typescript-eslint/object-curly-spacing`](./object-curly-spacing.md) | Enforce consistent spacing inside braces | | :wrench: | |
151
+ | [`@typescript-eslint/padding-line-between-statements`](./padding-line-between-statements.md) | require or disallow padding lines between statements | | :wrench: | |
152
+ | [`@typescript-eslint/quotes`](./quotes.md) | Enforce the consistent use of either backticks, double, or single quotes | | :wrench: | |
153
+ | [`@typescript-eslint/require-await`](./require-await.md) | Disallow async functions which have no `await` expression | :white_check_mark: | | :thought_balloon: |
154
+ | [`@typescript-eslint/return-await`](./return-await.md) | Enforces consistent returning of awaited values | | :wrench: | :thought_balloon: |
155
+ | [`@typescript-eslint/semi`](./semi.md) | Require or disallow semicolons instead of ASI | | :wrench: | |
156
+ | [`@typescript-eslint/space-before-blocks`](./space-before-blocks.md) | Enforces consistent spacing before blocks | | :wrench: | |
157
+ | [`@typescript-eslint/space-before-function-paren`](./space-before-function-paren.md) | Enforces consistent spacing before function parenthesis | | :wrench: | |
158
+ | [`@typescript-eslint/space-infix-ops`](./space-infix-ops.md) | This rule is aimed at ensuring there are spaces around infix operators. | | :wrench: | |
159
+
160
+ <!-- end extension rule list -->
@@ -0,0 +1,61 @@
1
+ # `your-rule-name`
2
+
3
+ Your rule description here.
4
+
5
+ ## Rule Details
6
+
7
+ To fill out: tell us more about this rule.
8
+
9
+ <!--tabs-->
10
+
11
+ ### ❌ Incorrect
12
+
13
+ ```ts
14
+ // To fill out: incorrect code
15
+ ```
16
+
17
+ ### ✅ Correct
18
+
19
+ ```ts
20
+ // To fill out: correct code
21
+ ```
22
+
23
+ ## Options
24
+
25
+ This rule is not configurable.
26
+
27
+ ```jsonc
28
+ // .eslintrc.json
29
+ {
30
+ "rules": {
31
+ "@typescript-eslint/your-rule-name": "error"
32
+ }
33
+ }
34
+ ```
35
+
36
+ If not configurable: This rule is not configurable.
37
+
38
+ If configurable...
39
+
40
+ ```ts
41
+ type Options = {
42
+ someOption?: boolean;
43
+ };
44
+
45
+ const defaultOptions: Options = {
46
+ someOption: false,
47
+ };
48
+ ```
49
+
50
+ ## When Not To Use It
51
+
52
+ To fill out: why wouldn't you want to use this rule?
53
+ For example if this rule requires a feature released in a certain TS version.
54
+
55
+ ## Attributes
56
+
57
+ - Configs:
58
+ - [ ] ✅ Recommended
59
+ - [ ] 🔒 Strict
60
+ - [ ] 🔧 Fixable
61
+ - [ ] 💭 Requires type information
@@ -1,4 +1,6 @@
1
- # Require that member overloads be consecutive (`adjacent-overload-signatures`)
1
+ # `adjacent-overload-signatures`
2
+
3
+ Require that member overloads be consecutive.
2
4
 
3
5
  Grouping overloaded members together can improve readability of the code.
4
6
 
@@ -6,7 +8,9 @@ Grouping overloaded members together can improve readability of the code.
6
8
 
7
9
  This rule aims to standardize the way overloaded members are organized.
8
10
 
9
- The following patterns are considered warnings:
11
+ <!--tabs-->
12
+
13
+ ### ❌ Incorrect
10
14
 
11
15
  ```ts
12
16
  declare namespace Foo {
@@ -43,7 +47,7 @@ export function bar(): void;
43
47
  export function foo(sn: string | number): void;
44
48
  ```
45
49
 
46
- The following patterns are not warnings:
50
+ ### Correct
47
51
 
48
52
  ```ts
49
53
  declare namespace Foo {
@@ -80,16 +84,31 @@ export function foo(n: number): void;
80
84
  export function foo(sn: string | number): void;
81
85
  ```
82
86
 
87
+ ## Options
88
+
89
+ ```jsonc
90
+ // .eslintrc.json
91
+ {
92
+ "rules": {
93
+ "@typescript-eslint/adjacent-overload-signatures": "error"
94
+ }
95
+ }
96
+ ```
97
+
98
+ This rule is not configurable.
99
+
83
100
  ## When Not To Use It
84
101
 
85
102
  If you don't care about the general structure of the code, then you will not need this rule.
86
103
 
87
- ## Compatibility
104
+ ## Related To
88
105
 
89
106
  - TSLint: [adjacent-overload-signatures](https://palantir.github.io/tslint/rules/adjacent-overload-signatures/)
90
107
 
91
108
  ## Attributes
92
109
 
93
- - [x] ✅ Recommended
110
+ - Configs:
111
+ - [x] ✅ Recommended
112
+ - [x] 🔒 Strict
94
113
  - [ ] 🔧 Fixable
95
114
  - [ ] 💭 Requires type information
@@ -1,4 +1,6 @@
1
- # Requires using either `T[]` or `Array<T>` for arrays (`array-type`)
1
+ # `array-type`
2
+
3
+ Requires using either `T[]` or `Array<T>` for arrays.
2
4
 
3
5
  Using the same style for array definitions across your codebase makes it easier for your developers to read and understand the types.
4
6
 
@@ -33,14 +35,16 @@ The default config will enforce that all mutable and readonly arrays use the `'a
33
35
 
34
36
  Always use `T[]` or `readonly T[]` for all array types.
35
37
 
36
- Incorrect code for `"array"`:
38
+ <!--tabs-->
39
+
40
+ #### ❌ Incorrect
37
41
 
38
42
  ```ts
39
43
  const x: Array<string> = ['a', 'b'];
40
44
  const y: ReadonlyArray<string> = ['a', 'b'];
41
45
  ```
42
46
 
43
- Correct code for `"array"`:
47
+ #### Correct
44
48
 
45
49
  ```ts
46
50
  const x: string[] = ['a', 'b'];
@@ -51,14 +55,16 @@ const y: readonly string[] = ['a', 'b'];
51
55
 
52
56
  Always use `Array<T>` or `ReadonlyArray<T>` for all array types.
53
57
 
54
- Incorrect code for `"generic"`:
58
+ <!--tabs-->
59
+
60
+ #### ❌ Incorrect
55
61
 
56
62
  ```ts
57
63
  const x: string[] = ['a', 'b'];
58
64
  const y: readonly string[] = ['a', 'b'];
59
65
  ```
60
66
 
61
- Correct code for `"generic"`:
67
+ #### Correct
62
68
 
63
69
  ```ts
64
70
  const x: Array<string> = ['a', 'b'];
@@ -70,7 +76,9 @@ const y: ReadonlyArray<string> = ['a', 'b'];
70
76
  Use `T[]` or `readonly T[]` for simple types (i.e. types which are just primitive names or type references).
71
77
  Use `Array<T>` or `ReadonlyArray<T>` for all other types (union types, intersection types, object types, function types, etc).
72
78
 
73
- Incorrect code for `"array-simple"`:
79
+ <!--tabs-->
80
+
81
+ #### ❌ Incorrect
74
82
 
75
83
  ```ts
76
84
  const a: (string | number)[] = ['a', 'b'];
@@ -81,7 +89,7 @@ const e: Array<string> = ['a', 'b'];
81
89
  const f: ReadonlyArray<string> = ['a', 'b'];
82
90
  ```
83
91
 
84
- Correct code for `"array-simple"`:
92
+ #### Correct
85
93
 
86
94
  ```ts
87
95
  const a: Array<string | number> = ['a', 'b'];
@@ -92,7 +100,7 @@ const e: string[] = ['a', 'b'];
92
100
  const f: readonly string[] = ['a', 'b'];
93
101
  ```
94
102
 
95
- ## Combination matrix
103
+ ## Combination Matrix
96
104
 
97
105
  This matrix lists all possible option combinations and their expected results for different types of Arrays.
98
106
 
@@ -111,12 +119,14 @@ This matrix lists all possible option combinations and their expected results fo
111
119
  | `generic` | `array-simple` | `Array<number>` | `Array<Foo & Bar>` | `readonly number[]` | `ReadonlyArray<Foo & Bar>` |
112
120
  | `generic` | `generic` | `Array<number>` | `Array<Foo & Bar>` | `ReadonlyArray<number>` | `ReadonlyArray<Foo & Bar>` |
113
121
 
114
- ## Related to
122
+ ## Related To
115
123
 
116
124
  - TSLint: [array-type](https://palantir.github.io/tslint/rules/array-type/)
117
125
 
118
126
  ## Attributes
119
127
 
120
- - [ ] ✅ Recommended
128
+ - Configs:
129
+ - [ ] ✅ Recommended
130
+ - [x] 🔒 Strict
121
131
  - [x] 🔧 Fixable
122
132
  - [ ] 💭 Requires type information
@@ -1,11 +1,17 @@
1
- # Disallows awaiting a value that is not a Thenable (`await-thenable`)
1
+ # `await-thenable`
2
+
3
+ Disallows awaiting a value that is not a Thenable.
2
4
 
3
5
  This rule disallows awaiting a value that is not a "Thenable" (an object which has `then` method, such as a Promise).
4
6
  While it is valid JavaScript to await a non-`Promise`-like value (it will resolve immediately), this pattern is often a programmer error, such as forgetting to add parenthesis to call a function that returns a Promise.
5
7
 
6
8
  ## Rule Details
7
9
 
8
- Examples of **incorrect** code for this rule:
10
+ Examples of code for this rule:
11
+
12
+ <!--tabs-->
13
+
14
+ ### ❌ Incorrect
9
15
 
10
16
  ```ts
11
17
  await 'value';
@@ -14,7 +20,7 @@ const createValue = () => 'value';
14
20
  await createValue();
15
21
  ```
16
22
 
17
- Examples of **correct** code for this rule:
23
+ ### Correct
18
24
 
19
25
  ```ts
20
26
  await Promise.resolve('value');
@@ -23,17 +29,32 @@ const createValue = async () => 'value';
23
29
  await createValue();
24
30
  ```
25
31
 
32
+ ## Options
33
+
34
+ ```jsonc
35
+ // .eslintrc.json
36
+ {
37
+ "rules": {
38
+ "@typescript-eslint/await-thenable": "error"
39
+ }
40
+ }
41
+ ```
42
+
43
+ This rule is not configurable.
44
+
26
45
  ## When Not To Use It
27
46
 
28
47
  If you want to allow code to `await` non-Promise values.
29
48
  This is generally not preferred, but can sometimes be useful for visual consistency.
30
49
 
31
- ## Related to
50
+ ## Related To
32
51
 
33
52
  - TSLint: ['await-promise'](https://palantir.github.io/tslint/rules/await-promise)
34
53
 
35
54
  ## Attributes
36
55
 
37
- - [x] ✅ Recommended
56
+ - Configs:
57
+ - [x] ✅ Recommended
58
+ - [x] 🔒 Strict
38
59
  - [ ] 🔧 Fixable
39
60
  - [x] 💭 Requires type information
@@ -1,4 +1,6 @@
1
- # Bans `@ts-<directive>` comments from being used or requires descriptions after directive (`ban-ts-comment`)
1
+ # `ban-ts-comment`
2
+
3
+ Bans `@ts-<directive>` comments from being used or requires descriptions after directive.
2
4
 
3
5
  TypeScript provides several directive comments that can be used to alter how it processes files.
4
6
  Using these to suppress TypeScript Compiler Errors reduces the effectiveness of TypeScript overall.
@@ -41,7 +43,9 @@ const defaultOptions: Options = {
41
43
 
42
44
  A value of `true` for a particular directive means that this rule will report if it finds any usage of said directive.
43
45
 
44
- For example, with the defaults above the following patterns are considered warnings for single line or comment block lines:
46
+ <!--tabs-->
47
+
48
+ #### ❌ Incorrect
45
49
 
46
50
  ```ts
47
51
  if (false) {
@@ -56,7 +60,7 @@ if (false) {
56
60
  }
57
61
  ```
58
62
 
59
- The following patterns are not warnings:
63
+ #### Correct
60
64
 
61
65
  ```ts
62
66
  if (false) {
@@ -69,7 +73,11 @@ if (false) {
69
73
 
70
74
  A value of `'allow-with-description'` for a particular directive means that this rule will report if it finds a directive that does not have a description following the directive (on the same line).
71
75
 
72
- For example, with `{ 'ts-expect-error': 'allow-with-description' }` the following patterns are considered a warning:
76
+ For example, with `{ 'ts-expect-error': 'allow-with-description' }`:
77
+
78
+ <!--tabs-->
79
+
80
+ #### ❌ Incorrect
73
81
 
74
82
  ```ts
75
83
  if (false) {
@@ -82,7 +90,7 @@ if (false) {
82
90
  }
83
91
  ```
84
92
 
85
- The following patterns are not a warning:
93
+ #### Correct
86
94
 
87
95
  ```ts
88
96
  if (false) {
@@ -101,7 +109,11 @@ if (false) {
101
109
 
102
110
  Use `minimumDescriptionLength` to set a minimum length for descriptions when using the `allow-with-description` option for a directive.
103
111
 
104
- For example, with `{ 'ts-expect-error': 'allow-with-description', minimumDescriptionLength: 10 }` the following pattern is considered a warning:
112
+ For example, with `{ 'ts-expect-error': 'allow-with-description', minimumDescriptionLength: 10 }` the following pattern is:
113
+
114
+ <!--tabs-->
115
+
116
+ #### ❌ Incorrect
105
117
 
106
118
  ```ts
107
119
  if (false) {
@@ -110,7 +122,7 @@ if (false) {
110
122
  }
111
123
  ```
112
124
 
113
- The following pattern is not a warning:
125
+ #### Correct
114
126
 
115
127
  ```ts
116
128
  if (false) {
@@ -127,12 +139,14 @@ If you want to use all of the TypeScript directives.
127
139
 
128
140
  - TypeScript [Type Checking JavaScript Files](https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html)
129
141
 
130
- ## Compatibility
142
+ ## Related To
131
143
 
132
144
  - TSLint: [ban-ts-ignore](https://palantir.github.io/tslint/rules/ban-ts-ignore/)
133
145
 
134
146
  ## Attributes
135
147
 
136
- - [x] ✅ Recommended
148
+ - Configs:
149
+ - [x] ✅ Recommended
150
+ - [x] 🔒 Strict
137
151
  - [ ] 🔧 Fixable
138
152
  - [ ] 💭 Requires type information
@@ -1,13 +1,17 @@
1
- # Bans `// tslint:<rule-flag>` comments from being used (`ban-tslint-comment`)
1
+ # `ban-tslint-comment`
2
+
3
+ Bans `// tslint:<rule-flag>` comments from being used.
2
4
 
3
5
  Useful when migrating from TSLint to ESLint. Once TSLint has been removed, this rule helps locate TSLint annotations (e.g. `// tslint:disable`).
4
6
 
5
7
  ## Rule Details
6
8
 
7
- Examples of **incorrect** code for this rule:
8
-
9
9
  All TSLint [rule flags](https://palantir.github.io/tslint/usage/rule-flags/)
10
10
 
11
+ <!--tabs-->
12
+
13
+ ### ❌ Incorrect
14
+
11
15
  ```js
12
16
  /* tslint:disable */
13
17
  /* tslint:enable */
@@ -18,18 +22,35 @@ someCode(); // tslint:disable-line
18
22
  // tslint:disable-next-line:rule1 rule2 rule3...
19
23
  ```
20
24
 
21
- Examples of **correct** code for this rule:
25
+ ### Correct
22
26
 
23
27
  ```js
24
28
  // This is a comment that just happens to mention tslint
29
+ /* This is a multiline comment that just happens to mention tslint */
30
+ someCode(); // This is a comment that just happens to mention tslint
25
31
  ```
26
32
 
33
+ ## Options
34
+
35
+ ```jsonc
36
+ // .eslintrc.json
37
+ {
38
+ "rules": {
39
+ "@typescript-eslint/ban-tslint-comment": "warn"
40
+ }
41
+ }
42
+ ```
43
+
44
+ This rule is not configurable.
45
+
27
46
  ## When Not To Use It
28
47
 
29
48
  If you are still using TSLint.
30
49
 
31
50
  ## Attributes
32
51
 
33
- - [ ] ✅ Recommended
52
+ - Configs:
53
+ - [ ] ✅ Recommended
54
+ - [x] 🔒 Strict
34
55
  - [x] 🔧 Fixable
35
56
  - [ ] 💭 Requires type information