xo 0.48.0 → 0.51.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 (993) hide show
  1. package/cli.js +1 -1
  2. package/config/plugins.cjs +27 -24
  3. package/index.js +7 -2
  4. package/lib/constants.js +6 -6
  5. package/lib/options-manager.js +5 -5
  6. package/lib/report.js +3 -1
  7. package/node_modules/@types/json-schema/README.md +2 -2
  8. package/node_modules/@types/json-schema/index.d.ts +8 -1
  9. package/node_modules/@types/json-schema/package.json +3 -8
  10. package/node_modules/@typescript-eslint/eslint-plugin/README.md +1 -144
  11. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +8 -3
  12. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
  13. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js +1 -1
  14. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js.map +1 -1
  15. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +46 -0
  16. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -0
  17. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +3 -1
  18. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +1 -1
  19. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +5 -1
  20. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -1
  21. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +8 -4
  22. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
  23. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +6 -2
  24. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +1 -1
  25. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +60 -55
  26. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
  27. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +7 -3
  28. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -1
  29. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +10 -2
  30. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -1
  31. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +7 -3
  32. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -1
  33. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +6 -2
  34. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -1
  35. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +2 -2
  36. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
  37. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +87 -0
  38. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map +1 -0
  39. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +3 -4
  40. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -1
  41. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +9 -5
  42. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
  43. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +30 -27
  44. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -1
  45. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +6 -2
  46. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -1
  47. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +6 -2
  48. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
  49. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +7 -3
  50. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -1
  51. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +5 -1
  52. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -1
  53. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +5 -1
  54. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -1
  55. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +7 -2
  56. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +1 -1
  57. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +5 -1
  58. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +1 -1
  59. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +5 -1
  60. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +1 -1
  61. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +12 -0
  62. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -1
  63. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +13 -5
  64. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +1 -1
  65. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +5 -1
  66. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -1
  67. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +5 -1
  68. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +1 -1
  69. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +23 -4
  70. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -1
  71. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +46 -30
  72. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -1
  73. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +9 -2
  74. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -1
  75. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -1
  76. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +5 -1
  77. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map +1 -1
  78. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +5 -1
  79. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -1
  80. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +13 -7
  81. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -1
  82. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +6 -2
  83. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
  84. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +5 -1
  85. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +1 -1
  86. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +8 -4
  87. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -1
  88. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +6 -2
  89. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -1
  90. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +6 -2
  91. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
  92. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +5 -1
  93. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +1 -1
  94. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +85 -0
  95. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +1 -0
  96. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +7 -1
  97. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js.map +1 -1
  98. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +7 -3
  99. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -1
  100. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +16 -2
  101. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -1
  102. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +5 -1
  103. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -1
  104. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +6 -2
  105. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
  106. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +5 -1
  107. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +1 -1
  108. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +5 -1
  109. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +1 -1
  110. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +5 -1
  111. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +1 -1
  112. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +7 -3
  113. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -1
  114. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +6 -2
  115. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
  116. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +5 -1
  117. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +1 -1
  118. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js +5 -1
  119. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js.map +1 -1
  120. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +5 -1
  121. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
  122. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +15 -3
  123. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
  124. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +1 -1
  125. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +7 -3
  126. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -1
  127. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +5 -1
  128. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +1 -1
  129. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +5 -1
  130. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -1
  131. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +52 -12
  132. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +1 -1
  133. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +6 -2
  134. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +1 -1
  135. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +5 -1
  136. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +1 -1
  137. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +264 -28
  138. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
  139. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +11 -6
  140. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -1
  141. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +7 -3
  142. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
  143. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +6 -2
  144. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -1
  145. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +6 -2
  146. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -1
  147. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js +7 -1
  148. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js.map +1 -1
  149. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +5 -1
  150. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +1 -1
  151. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +373 -0
  152. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -0
  153. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +6 -2
  154. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -1
  155. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +3 -4
  156. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +1 -1
  157. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +143 -9
  158. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -1
  159. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +7 -3
  160. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +1 -1
  161. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +6 -2
  162. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +1 -1
  163. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +7 -2
  164. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -1
  165. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +7 -3
  166. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
  167. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +7 -3
  168. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -1
  169. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +6 -2
  170. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
  171. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +41 -7
  172. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -1
  173. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +10 -6
  174. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -1
  175. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +27 -6
  176. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -1
  177. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +14 -12
  178. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
  179. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +14 -11
  180. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -1
  181. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +6 -2
  182. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -1
  183. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +9 -5
  184. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -1
  185. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +6 -2
  186. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -1
  187. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +5 -1
  188. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +1 -1
  189. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +53 -21
  190. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -1
  191. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +5 -1
  192. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -1
  193. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +6 -2
  194. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +1 -1
  195. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +91 -0
  196. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +1 -0
  197. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +6 -2
  198. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -1
  199. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +7 -3
  200. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -1
  201. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +6 -2
  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 +6 -2
  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 +6 -2
  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 +7 -3
  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 +69 -64
  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 +6 -2
  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 +2 -2
  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 +6 -2
  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 +7 -3
  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 +54 -4
  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 +6 -2
  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 +13 -4
  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 +7 -3
  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 +6 -2
  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 +6 -2
  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 +2 -2
  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 +7 -3
  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 +6 -2
  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 +5 -1
  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 +6 -2
  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 +5 -1
  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 +16 -3
  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 +6 -2
  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 +26 -10
  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 +5 -1
  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 +8 -3
  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 +6 -2
  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 +31 -28
  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 +6 -2
  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 +6 -2
  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 +6 -2
  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 -21
  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 +6 -2
  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 +50 -21
  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 +5 -1
  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/getESLintCoreRule.js +5 -1
  278. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
  279. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +307 -0
  280. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js.map +1 -0
  281. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +6 -1
  282. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -1
  283. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +52 -2
  284. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
  285. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +5 -141
  286. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +2 -6
  287. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +1 -11
  288. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +0 -10
  289. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +0 -10
  290. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +32 -15
  291. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +14 -7
  292. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +34 -29
  293. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +1 -7
  294. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +1 -7
  295. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +3 -9
  296. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +0 -6
  297. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-generic-constructors.md +82 -0
  298. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +1 -7
  299. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +0 -11
  300. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +1 -11
  301. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +32 -8
  302. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +0 -6
  303. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +1 -7
  304. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +1 -7
  305. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +3 -9
  306. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +3 -13
  307. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +6 -13
  308. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +1 -7
  309. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +1 -7
  310. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +1 -7
  311. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +1 -7
  312. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +1 -7
  313. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +1 -7
  314. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +544 -484
  315. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +1 -7
  316. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +0 -6
  317. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +1 -7
  318. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +1 -7
  319. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +14 -7
  320. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +0 -10
  321. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +1 -7
  322. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +56 -0
  323. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +5 -7
  324. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +14 -11
  325. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +19 -8
  326. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +1 -11
  327. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +1 -11
  328. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +1 -7
  329. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +1 -7
  330. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +1 -7
  331. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +252 -30
  332. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +18 -14
  333. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +1 -13
  334. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +3 -7
  335. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +1 -7
  336. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +0 -10
  337. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +1 -7
  338. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +1 -11
  339. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +1 -7
  340. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +1 -7
  341. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +25 -7
  342. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +2 -8
  343. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +1 -11
  344. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +107 -18
  345. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +1 -11
  346. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +14 -7
  347. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +1 -7
  348. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +0 -10
  349. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +1 -11
  350. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +1 -7
  351. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +92 -0
  352. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +13 -10
  353. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +1 -7
  354. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +1 -7
  355. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +19 -31
  356. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +1 -7
  357. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +18 -12
  358. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +1 -11
  359. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +1 -7
  360. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +13 -10
  361. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +11 -8
  362. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +1 -11
  363. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +0 -6
  364. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +1 -8
  365. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +1 -8
  366. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +1 -8
  367. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +1 -8
  368. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +1 -8
  369. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +1 -7
  370. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +1 -7
  371. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +1 -7
  372. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +1 -7
  373. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +52 -0
  374. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +1 -11
  375. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +14 -7
  376. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +1 -7
  377. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +1 -7
  378. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +484 -0
  379. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +1 -7
  380. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +14 -7
  381. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +13 -10
  382. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +13 -10
  383. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +11 -8
  384. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +1 -7
  385. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +1 -11
  386. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +1 -7
  387. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +21 -7
  388. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +4 -10
  389. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +1 -11
  390. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +11 -8
  391. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +8 -11
  392. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +14 -7
  393. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +8 -11
  394. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +14 -7
  395. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +0 -11
  396. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +1 -7
  397. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +0 -6
  398. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +1 -7
  399. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +1 -11
  400. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +1 -7
  401. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +0 -6
  402. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +1 -7
  403. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +1 -7
  404. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +54 -0
  405. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +0 -6
  406. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +1 -7
  407. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +1 -8
  408. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +14 -7
  409. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +17 -12
  410. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +1 -11
  411. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +2 -12
  412. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +0 -10
  413. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +42 -8
  414. package/node_modules/@typescript-eslint/eslint-plugin/package.json +12 -12
  415. package/node_modules/@typescript-eslint/parser/README.md +22 -10
  416. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/index.d.ts +4 -0
  417. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/parser.d.ts +20 -0
  418. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
  419. package/node_modules/@typescript-eslint/parser/dist/parser.js +6 -10
  420. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
  421. package/node_modules/@typescript-eslint/parser/package.json +9 -8
  422. package/node_modules/@typescript-eslint/scope-manager/README.md +1 -1
  423. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -1
  424. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +3 -9
  425. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
  426. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +5 -1
  427. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -1
  428. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +5 -1
  429. package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -1
  430. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +9 -9
  431. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -1
  432. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +2 -1
  433. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -1
  434. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
  435. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
  436. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +8 -1
  437. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
  438. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +68 -8
  439. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
  440. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -1
  441. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +2 -1
  442. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -1
  443. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -1
  444. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +2 -1
  445. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -1
  446. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -1
  447. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -1
  448. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +2 -1
  449. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -1
  450. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -1
  451. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +2 -1
  452. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -1
  453. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +2 -1
  454. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -1
  455. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -1
  456. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +2 -1
  457. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -1
  458. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -1
  459. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +2 -1
  460. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -1
  461. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -1
  462. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +2 -1
  463. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -1
  464. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -1
  465. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +2 -1
  466. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -1
  467. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -1
  468. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +2 -1
  469. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -1
  470. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -1
  471. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +2 -1
  472. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -1
  473. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -1
  474. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -1
  475. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +2 -1
  476. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -1
  477. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +2 -1
  478. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -1
  479. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -1
  480. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -1
  481. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +2 -1
  482. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -1
  483. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -1
  484. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +2 -1
  485. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -1
  486. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +2 -1
  487. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -1
  488. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -1
  489. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +2 -1
  490. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -1
  491. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -1
  492. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +2 -1
  493. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -1
  494. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -1
  495. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +2 -1
  496. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -1
  497. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -1
  498. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +2 -1
  499. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -1
  500. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -1
  501. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +2 -1
  502. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -1
  503. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -1
  504. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +2 -1
  505. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -1
  506. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -1
  507. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -1
  508. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +2 -1
  509. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -1
  510. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -1
  511. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +2 -1
  512. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -1
  513. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +2 -1
  514. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -1
  515. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -1
  516. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +2 -1
  517. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -1
  518. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -1
  519. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +2 -1
  520. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -1
  521. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -1
  522. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +2 -1
  523. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -1
  524. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -1
  525. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -1
  526. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +2 -1
  527. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -1
  528. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +2 -1
  529. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -1
  530. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -1
  531. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +2 -1
  532. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -1
  533. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -1
  534. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +2 -1
  535. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -1
  536. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -1
  537. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +2 -1
  538. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -1
  539. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -1
  540. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +4 -12
  541. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -1
  542. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -1
  543. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +3 -0
  544. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
  545. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +11 -0
  546. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
  547. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -1
  548. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +2 -1
  549. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -1
  550. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -1
  551. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +2 -1
  552. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -1
  553. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +5 -2
  554. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -1
  555. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
  556. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
  557. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +11 -0
  558. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
  559. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -1
  560. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +2 -1
  561. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -1
  562. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -1
  563. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +2 -1
  564. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -1
  565. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -1
  566. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +2 -1
  567. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -1
  568. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -1
  569. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +2 -1
  570. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -1
  571. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -1
  572. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -1
  573. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +2 -1
  574. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -1
  575. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -1
  576. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +2 -1
  577. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -1
  578. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +2 -1
  579. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -1
  580. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -1
  581. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +2 -1
  582. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -1
  583. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -1
  584. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +2 -1
  585. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -1
  586. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -1
  587. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +2 -1
  588. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -1
  589. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
  590. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
  591. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
  592. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
  593. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
  594. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
  595. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
  596. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
  597. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
  598. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
  599. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
  600. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
  601. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +14 -0
  602. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
  603. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +14 -0
  604. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
  605. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
  606. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
  607. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
  608. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
  609. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
  610. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
  611. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
  612. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
  613. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -1
  614. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +2 -1
  615. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -1
  616. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -1
  617. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +2 -1
  618. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -1
  619. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -1
  620. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +2 -1
  621. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -1
  622. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -1
  623. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +14 -3
  624. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -1
  625. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -1
  626. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +2 -1
  627. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -1
  628. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -1
  629. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +4 -12
  630. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -1
  631. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -1
  632. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -1
  633. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +2 -1
  634. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -1
  635. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -1
  636. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +2 -1
  637. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -1
  638. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +4 -3
  639. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -1
  640. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -1
  641. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +2 -1
  642. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -1
  643. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -1
  644. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +2 -1
  645. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -1
  646. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -1
  647. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +2 -1
  648. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -1
  649. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -1
  650. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +2 -1
  651. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -1
  652. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +8 -0
  653. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
  654. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +18 -1
  655. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
  656. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -1
  657. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +2 -1
  658. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -1
  659. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -1
  660. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +2 -1
  661. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -1
  662. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
  663. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -1
  664. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +2 -1
  665. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -1
  666. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -1
  667. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +3 -1
  668. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -1
  669. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +33 -5
  670. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
  671. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -1
  672. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +6 -4
  673. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -1
  674. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
  675. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +11 -2
  676. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
  677. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -1
  678. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +13 -7
  679. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -1
  680. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -1
  681. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +2 -6
  682. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
  683. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -1
  684. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -4
  685. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -1
  686. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +5 -1
  687. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -1
  688. package/node_modules/@typescript-eslint/scope-manager/package.json +13 -14
  689. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/containsAllTypesByName.d.ts +8 -0
  690. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getConstrainedTypeAtLocation.d.ts +6 -0
  691. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getContextualType.d.ts +8 -0
  692. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getDeclaration.d.ts +6 -0
  693. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getSourceFileOfNode.d.ts +6 -0
  694. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTokenAtPosition.d.ts +3 -0
  695. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeArguments.d.ts +3 -0
  696. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeName.d.ts +8 -0
  697. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/index.d.ts +15 -0
  698. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isTypeReadonly.d.ts +20 -0
  699. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isUnsafeAssignment.d.ts +17 -0
  700. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/predicates.d.ts +52 -0
  701. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/propertyTypes.d.ts +4 -0
  702. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/requiresQuoting.d.ts +4 -0
  703. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/typeFlagUtils.d.ts +11 -0
  704. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +5 -1
  705. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -1
  706. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +5 -1
  707. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +1 -1
  708. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +5 -1
  709. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +1 -1
  710. package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +5 -1
  711. package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js.map +1 -1
  712. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +5 -1
  713. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +1 -1
  714. package/node_modules/@typescript-eslint/type-utils/dist/index.js +5 -1
  715. package/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -1
  716. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -1
  717. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +36 -28
  718. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -1
  719. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +7 -0
  720. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -1
  721. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +38 -2
  722. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -1
  723. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +15 -1
  724. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js.map +1 -1
  725. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +5 -1
  726. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +1 -1
  727. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +5 -1
  728. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -1
  729. package/node_modules/@typescript-eslint/type-utils/package.json +7 -7
  730. package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +1732 -0
  731. package/node_modules/@typescript-eslint/types/_ts3.4/dist/index.d.ts +5 -0
  732. package/node_modules/@typescript-eslint/types/_ts3.4/dist/lib.d.ts +3 -0
  733. package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +35 -0
  734. package/node_modules/@typescript-eslint/types/_ts3.4/dist/ts-estree.d.ts +9 -0
  735. package/node_modules/@typescript-eslint/types/dist/{ast-spec.d.ts → generated/ast-spec.d.ts} +412 -67
  736. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
  737. package/node_modules/@typescript-eslint/types/dist/{ast-spec.js → generated/ast-spec.js} +1 -0
  738. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
  739. package/node_modules/@typescript-eslint/types/dist/index.d.ts +1 -2
  740. package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -1
  741. package/node_modules/@typescript-eslint/types/dist/index.js +7 -4
  742. package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -1
  743. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
  744. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
  745. package/node_modules/@typescript-eslint/types/dist/lib.js +2 -1
  746. package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -1
  747. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +1 -1
  748. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
  749. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +3 -3
  750. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -1
  751. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +6 -2
  752. package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -1
  753. package/node_modules/@typescript-eslint/types/package.json +32 -4
  754. package/node_modules/@typescript-eslint/typescript-estree/README.md +1 -1
  755. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ast-converter.d.ts +9 -0
  756. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert-comments.d.ts +11 -0
  757. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert.d.ts +157 -0
  758. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +13 -0
  759. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createDefaultProgram.d.ts +12 -0
  760. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createIsolatedProgram.d.ts +9 -0
  761. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createProjectProgram.d.ts +11 -0
  762. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createSourceFile.d.ts +5 -0
  763. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createWatchProgram.d.ts +19 -0
  764. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/getScriptKind.d.ts +5 -0
  765. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +22 -0
  766. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/useProvidedPrograms.d.ts +13 -0
  767. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +10 -0
  768. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/jsx/xhtml-entities.d.ts +2 -0
  769. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +230 -0
  770. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +188 -0
  771. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +25 -0
  772. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/semantic-or-syntactic-errors.d.ts +13 -0
  773. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/simple-traverse.d.ts +9 -0
  774. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/estree-to-ts-node-types.d.ts +175 -0
  775. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/index.d.ts +4 -0
  776. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/ts-nodes.d.ts +18 -0
  777. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/version-check.d.ts +3 -0
  778. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +6 -2
  779. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
  780. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
  781. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +38 -14
  782. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
  783. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +5 -1
  784. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -1
  785. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +1 -1
  786. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +7 -2
  787. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -1
  788. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -1
  789. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +34 -1
  790. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -1
  791. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +7 -3
  792. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -1
  793. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +5 -1
  794. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -1
  795. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +5 -0
  796. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +1 -0
  797. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +72 -0
  798. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +1 -0
  799. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +1 -2
  800. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -1
  801. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +14 -25
  802. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
  803. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +5 -1
  804. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -1
  805. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +1 -0
  806. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -1
  807. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +6 -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 +3 -0
  810. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
  811. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +27 -4
  812. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
  813. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +1 -1
  814. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -1
  815. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +11 -4
  816. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
  817. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +3 -2
  818. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -1
  819. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +5 -1
  820. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.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/package.json +11 -11
  824. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +48 -0
  825. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +76 -0
  826. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/astUtilities.d.ts +76 -0
  827. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/index.d.ts +6 -0
  828. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/predicates.d.ts +32 -0
  829. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +18 -0
  830. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/helpers.d.ts +47 -0
  831. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/index.d.ts +5 -0
  832. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/misc.d.ts +8 -0
  833. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/predicates.d.ts +180 -0
  834. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/InferTypesFromRule.d.ts +11 -0
  835. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +35 -0
  836. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleTester.d.ts +18 -0
  837. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/applyDefault.d.ts +10 -0
  838. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/batchedSingleLineTests.d.ts +24 -0
  839. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/deepMerge.d.ts +17 -0
  840. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/getParserServices.d.ts +8 -0
  841. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/index.d.ts +9 -0
  842. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/nullThrows.d.ts +14 -0
  843. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/index.d.ts +8 -0
  844. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/json-schema.d.ts +2 -0
  845. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/AST.d.ts +9 -0
  846. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/CLIEngine.d.ts +137 -0
  847. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ESLint.d.ts +376 -0
  848. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Linter.d.ts +326 -0
  849. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ParserOptions.d.ts +2 -0
  850. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Rule.d.ts +389 -0
  851. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +154 -0
  852. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Scope.d.ts +44 -0
  853. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/SourceCode.d.ts +342 -0
  854. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/index.d.ts +10 -0
  855. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Definition.d.ts +19 -0
  856. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Options.d.ts +15 -0
  857. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/PatternVisitor.d.ts +25 -0
  858. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Reference.d.ts +28 -0
  859. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Referencer.d.ts +55 -0
  860. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Scope.d.ts +103 -0
  861. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/ScopeManager.d.ts +50 -0
  862. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Variable.d.ts +17 -0
  863. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/analyze.d.ts +16 -0
  864. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/index.d.ts +11 -0
  865. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-estree.d.ts +3 -0
  866. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +2 -2
  867. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +1 -1
  868. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +5 -1
  869. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -1
  870. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +5 -1
  871. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -1
  872. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +7 -7
  873. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +1 -1
  874. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +5 -1
  875. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -1
  876. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +5 -1
  877. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js.map +1 -1
  878. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +5 -1
  879. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -1
  880. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +5 -1
  881. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -1
  882. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +29 -0
  883. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
  884. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +3 -1
  885. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +1 -1
  886. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts +2 -1
  887. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts.map +1 -1
  888. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +7 -2
  889. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js.map +1 -1
  890. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +1 -1
  891. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +1 -1
  892. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map +1 -1
  893. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +8 -8
  894. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
  895. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +2 -6
  896. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -1
  897. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.d.ts.map +1 -1
  898. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js +18 -12
  899. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js.map +1 -1
  900. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map +1 -1
  901. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +2 -0
  902. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +1 -1
  903. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +5 -1
  904. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js.map +1 -1
  905. package/node_modules/@typescript-eslint/utils/dist/index.js +5 -1
  906. package/node_modules/@typescript-eslint/utils/dist/index.js.map +1 -1
  907. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts +3 -3
  908. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts.map +1 -1
  909. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +42 -7
  910. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -1
  911. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js.map +1 -1
  912. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts +2 -2
  913. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map +1 -1
  914. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +3 -4
  915. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -1
  916. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +2 -0
  917. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -1
  918. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +1 -1
  919. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +5 -1
  920. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +1 -1
  921. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +1 -2
  922. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -1
  923. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -1
  924. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +5 -1
  925. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js.map +1 -1
  926. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.d.ts +1 -1
  927. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.d.ts.map +1 -1
  928. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts +1 -1
  929. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts.map +1 -1
  930. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.d.ts +1 -1
  931. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.d.ts.map +1 -1
  932. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js +5 -1
  933. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js.map +1 -1
  934. package/node_modules/@typescript-eslint/utils/package.json +7 -7
  935. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/get-keys.d.ts +4 -0
  936. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/index.d.ts +3 -0
  937. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/visitor-keys.d.ts +6 -0
  938. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -1
  939. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +9 -4
  940. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
  941. package/node_modules/@typescript-eslint/visitor-keys/package.json +7 -6
  942. package/node_modules/debug/README.md +3 -0
  943. package/node_modules/debug/package.json +1 -1
  944. package/node_modules/debug/src/common.js +1 -1
  945. package/node_modules/eslint-config-xo-typescript/index.js +107 -82
  946. package/node_modules/eslint-config-xo-typescript/package.json +4 -4
  947. package/node_modules/eslint-config-xo-typescript/readme.md +3 -3
  948. package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +18 -5
  949. package/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
  950. package/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
  951. package/node_modules/eslint-visitor-keys/lib/index.js +11 -5
  952. package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +7 -0
  953. package/node_modules/eslint-visitor-keys/package.json +11 -4
  954. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/LICENSE-MIT +0 -0
  955. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/README.md +0 -0
  956. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.d.ts +0 -0
  957. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.js +0 -0
  958. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/legacy.js +0 -0
  959. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/package.json +0 -0
  960. package/node_modules/micromatch/README.md +12 -9
  961. package/node_modules/micromatch/index.js +3 -3
  962. package/node_modules/micromatch/package.json +5 -5
  963. package/node_modules/semver/README.md +3 -1
  964. package/node_modules/semver/bin/semver.js +19 -9
  965. package/node_modules/semver/classes/comparator.js +3 -2
  966. package/node_modules/semver/classes/index.js +1 -1
  967. package/node_modules/semver/classes/range.js +31 -22
  968. package/node_modules/semver/classes/semver.js +1 -1
  969. package/node_modules/semver/functions/cmp.js +8 -4
  970. package/node_modules/semver/functions/coerce.js +3 -2
  971. package/node_modules/semver/functions/inc.js +4 -1
  972. package/node_modules/semver/functions/parse.js +1 -1
  973. package/node_modules/semver/internal/constants.js +2 -2
  974. package/node_modules/semver/internal/identifiers.js +1 -1
  975. package/node_modules/semver/internal/parse-options.js +3 -3
  976. package/node_modules/semver/internal/re.js +3 -3
  977. package/node_modules/semver/package.json +45 -11
  978. package/node_modules/semver/ranges/min-version.js +2 -1
  979. package/node_modules/semver/ranges/outside.js +1 -1
  980. package/node_modules/semver/ranges/simplify.js +15 -12
  981. package/node_modules/semver/ranges/subset.js +53 -31
  982. package/package.json +23 -23
  983. package/readme.md +17 -1
  984. package/node_modules/@typescript-eslint/types/dist/ast-spec.d.ts.map +0 -1
  985. package/node_modules/@typescript-eslint/types/dist/ast-spec.js.map +0 -1
  986. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/LICENSE-MIT +0 -21
  987. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/README.md +0 -412
  988. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.d.ts +0 -61
  989. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.js +0 -603
  990. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/legacy.js +0 -498
  991. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/package.json +0 -71
  992. package/node_modules/micromatch/CHANGELOG.md +0 -109
  993. package/node_modules/semver/CHANGELOG.md +0 -111
@@ -1,17 +1,21 @@
1
1
  # `no-misused-promises`
2
2
 
3
- Avoid using promises in places not designed to handle them.
3
+ Disallows Promises in places not designed to handle them.
4
4
 
5
- This rule forbids using promises in places where the TypeScript compiler
6
- allows them but they are not handled properly. These situations can often arise
7
- due to a missing `await` keyword or just a misunderstanding of the way async
5
+ This rule forbids providing Promises to logical locations such as if statements in places where the TypeScript compiler allows them but they are not handled properly.
6
+ These situations can often arise due to a missing `await` keyword or just a misunderstanding of the way async
8
7
  functions are handled/awaited.
9
8
 
9
+ :::tip
10
+ `no-misused-promises` only detects code that provides Promises to incorrect _logical_ locations.
11
+ See [`no-floating-promises`](./no-floating-promises.md) for detecting unhandled Promise _statements_.
12
+ :::
13
+
10
14
  ## Rule Details
11
15
 
12
- This rule accepts a single option which is an object with `checksConditionals`
13
- and `checksVoidReturn` properties indicating which types of misuse to flag.
14
- Both are enabled by default
16
+ This rule accepts a single option which is an object with `checksConditionals`,
17
+ `checksVoidReturn`, and `checksSpreads` properties indicating which types of
18
+ misuse to flag. All are enabled by default.
15
19
 
16
20
  ## Options
17
21
 
@@ -19,19 +23,48 @@ Both are enabled by default
19
23
  type Options = [
20
24
  {
21
25
  checksConditionals?: boolean;
22
- checksVoidReturn?: boolean;
26
+ checksVoidReturn?: boolean | ChecksVoidReturnOptions;
27
+ checksSpreads?: boolean;
23
28
  },
24
29
  ];
25
30
 
31
+ interface ChecksVoidReturnOptions {
32
+ arguments?: boolean;
33
+ attributes?: boolean;
34
+ properties?: boolean;
35
+ returns?: boolean;
36
+ variables?: boolean;
37
+ }
38
+
26
39
  const defaultOptions: Options = [
27
40
  {
28
41
  checksConditionals: true,
29
42
  checksVoidReturn: true,
43
+ checksSpreads: true,
30
44
  },
31
45
  ];
32
46
  ```
33
47
 
34
- If you don't want functions that return promises where a void return is
48
+ ### `"checksConditionals"`
49
+
50
+ If you don't want to check conditionals, you can configure the rule with `"checksConditionals": false`:
51
+
52
+ ```json
53
+ {
54
+ "@typescript-eslint/no-misused-promises": [
55
+ "error",
56
+ {
57
+ "checksConditionals": false
58
+ }
59
+ ]
60
+ }
61
+ ```
62
+
63
+ Doing so prevents the rule from looking at code like `if (somePromise)`.
64
+
65
+ ### `"checksVoidReturn"`
66
+
67
+ Likewise, if you don't want functions that return promises where a void return is
35
68
  expected to be checked, your configuration will look like this:
36
69
 
37
70
  ```json
@@ -45,15 +78,41 @@ expected to be checked, your configuration will look like this:
45
78
  }
46
79
  ```
47
80
 
48
- Likewise, if you don't want to check conditionals, you can configure the rule
49
- like this:
81
+ You can disable selective parts of the `checksVoidReturn` option by providing an object that disables specific checks.
82
+ The following options are supported:
83
+
84
+ - `arguments`: Disables checking an asynchronous function passed as argument where the parameter type expects a function that returns `void`
85
+ - `attributes`: Disables checking an asynchronous function passed as a JSX attribute expected to be a function that returns `void`
86
+ - `properties`: Disables checking an asynchronous function passed as an object property expected to be a function that returns `void`
87
+ - `returns`: Disables checking an asynchronous function returned in a function whose return type is a function that returns `void`
88
+ - `variables`: Disables checking an asynchronous function used as a variable whose return type is a function that returns `void`
89
+
90
+ For example, if you don't mind that passing a `() => Promise<void>` to a `() => void` parameter or JSX attribute can lead to a floating unhandled Promise:
50
91
 
51
92
  ```json
52
93
  {
53
94
  "@typescript-eslint/no-misused-promises": [
54
95
  "error",
55
96
  {
56
- "checksConditionals": false
97
+ "checksVoidReturn": {
98
+ "arguments": false,
99
+ "attributes": false
100
+ }
101
+ }
102
+ ]
103
+ }
104
+ ```
105
+
106
+ ### `"checksSpreads"`
107
+
108
+ If you don't want to check object spreads, you can add this configuration:
109
+
110
+ ```json
111
+ {
112
+ "@typescript-eslint/no-misused-promises": [
113
+ "error",
114
+ {
115
+ "checksSpreads": false
57
116
  }
58
117
  ]
59
118
  }
@@ -170,6 +229,42 @@ eventEmitter.on('some-event', () => {
170
229
 
171
230
  <!--/tabs-->
172
231
 
232
+ ### `checksSpreads: true`
233
+
234
+ Examples of code for this rule with `checksSpreads: true`:
235
+
236
+ <!--tabs-->
237
+
238
+ #### ❌ Incorrect
239
+
240
+ ```ts
241
+ const getData = () => someAsyncOperation({ myArg: 'foo' });
242
+
243
+ return { foo: 42, ...getData() };
244
+
245
+ const getData2 = async () => {
246
+ await someAsyncOperation({ myArg: 'foo' });
247
+ };
248
+
249
+ return { foo: 42, ...getData2() };
250
+ ```
251
+
252
+ #### ✅ Correct
253
+
254
+ ```ts
255
+ const getData = () => someAsyncOperation({ myArg: 'foo' });
256
+
257
+ return { foo: 42, ...(await getData()) };
258
+
259
+ const getData2 = async () => {
260
+ await someAsyncOperation({ myArg: 'foo' });
261
+ };
262
+
263
+ return { foo: 42, ...(await getData2()) };
264
+ ```
265
+
266
+ <!--tabs-->
267
+
173
268
  ## When Not To Use It
174
269
 
175
270
  If you do not use Promises in your codebase or are not concerned with possible
@@ -182,9 +277,3 @@ misuses of them outside of what the TypeScript compiler will check.
182
277
  ## Related To
183
278
 
184
279
  - [`no-floating-promises`](./no-floating-promises.md)
185
-
186
- ## Attributes
187
-
188
- - [x] ✅ Recommended
189
- - [ ] 🔧 Fixable
190
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-namespace`
2
2
 
3
- Disallow the use of custom TypeScript modules and namespaces.
3
+ Disallows custom TypeScript modules and namespaces.
4
4
 
5
5
  Custom TypeScript modules (`module foo {}`) and namespaces (`namespace foo {}`) are considered outdated
6
6
  ways to organize TypeScript code. ES2015 module syntax is now preferred (`import`/`export`).
@@ -131,13 +131,3 @@ If you are using the ES2015 module syntax, then you will not need this rule.
131
131
  - [Modules](https://www.typescriptlang.org/docs/handbook/modules.html)
132
132
  - [Namespaces](https://www.typescriptlang.org/docs/handbook/namespaces.html)
133
133
  - [Namespaces and Modules](https://www.typescriptlang.org/docs/handbook/namespaces-and-modules.html)
134
-
135
- ## Related To
136
-
137
- - TSLint: [no-namespace](https://palantir.github.io/tslint/rules/no-namespace/)
138
-
139
- ## Attributes
140
-
141
- - [x] ✅ Recommended
142
- - [ ] 🔧 Fixable
143
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-non-null-asserted-nullish-coalescing`
2
2
 
3
- Disallows using a non-null assertion in the left operand of the nullish coalescing operator.
3
+ Disallows non-null assertions in the left operand of a nullish coalescing operator.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -45,6 +45,19 @@ let x: string;
45
45
  x! ?? '';
46
46
  ```
47
47
 
48
+ ## Options
49
+
50
+ ```jsonc
51
+ // .eslintrc.json
52
+ {
53
+ "rules": {
54
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "warn"
55
+ }
56
+ }
57
+ ```
58
+
59
+ This rule is not configurable.
60
+
48
61
  ## When Not To Use It
49
62
 
50
63
  If you are not using TypeScript 3.7 (or greater), then you will not need to use this rule, as the nullish coalescing operator is not supported.
@@ -53,9 +66,3 @@ If you are not using TypeScript 3.7 (or greater), then you will not need to use
53
66
 
54
67
  - [TypeScript 3.7 Release Notes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html)
55
68
  - [Nullish Coalescing Proposal](https://github.com/tc39/proposal-nullish-coalescing)
56
-
57
- ## Attributes
58
-
59
- - [ ] ✅ Recommended
60
- - [ ] 🔧 Fixable
61
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-non-null-asserted-optional-chain`
2
2
 
3
- Disallows using a non-null assertion after an optional chain expression.
3
+ Disallows non-null assertions after an optional chain expression.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -65,9 +65,3 @@ If you are not using TypeScript 3.7 (or greater), then you will not need to use
65
65
 
66
66
  - [TypeScript 3.7 Release Notes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html)
67
67
  - [Optional Chaining Proposal](https://github.com/tc39/proposal-optional-chaining/)
68
-
69
- ## Attributes
70
-
71
- - [x] ✅ Recommended
72
- - [ ] 🔧 Fixable
73
- - [ ] 💭 Requires type information
@@ -48,13 +48,3 @@ This rule is not configurable.
48
48
  ## When Not To Use It
49
49
 
50
50
  If you don't care about strict null-checking, then you will not need this rule.
51
-
52
- ## Further Reading
53
-
54
- - [`no-non-null-assertion`](https://palantir.github.io/tslint/rules/no-non-null-assertion/) in [TSLint](https://palantir.github.io/tslint/)
55
-
56
- ## Attributes
57
-
58
- - [x] ✅ Recommended
59
- - [ ] 🔧 Fixable
60
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-parameter-properties`
2
2
 
3
- Disallow the use of parameter properties in class constructors.
3
+ Disallows the use of parameter properties in class constructors.
4
4
 
5
5
  Parameter properties can be confusing to those new to TypeScript as they are less explicit than other ways
6
6
  of declaring and initializing class members.
@@ -395,13 +395,3 @@ class Foo {
395
395
  ## When Not To Use It
396
396
 
397
397
  If you don't care about the using parameter properties in constructors, then you will not need this rule.
398
-
399
- ## Related To
400
-
401
- - TSLint: [no-parameter-properties](https://palantir.github.io/tslint/rules/no-parameter-properties/)
402
-
403
- ## Attributes
404
-
405
- - [ ] ✅ Recommended
406
- - [ ] 🔧 Fixable
407
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-redeclare`
2
2
 
3
- Disallow variable redeclaration.
3
+ Disallows variable redeclaration.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -84,9 +84,3 @@ const something = 2;
84
84
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-redeclare.md)
85
85
 
86
86
  </sup>
87
-
88
- ## Attributes
89
-
90
- - [ ] ✅ Recommended
91
- - [ ] 🔧 Fixable
92
- - [ ] 💭 Requires type information
@@ -0,0 +1,92 @@
1
+ # `no-redundant-type-constituents`
2
+
3
+ Disallows members of unions and intersections that do nothing or override type information.
4
+
5
+ ## Rule Details
6
+
7
+ Some types can override some other types ("constituents") in a union or intersection and/or be overridden by some other types.
8
+ TypeScript's set theory of types includes cases where a constituent type might be useless in the parent union or intersection.
9
+
10
+ Within `|` unions:
11
+
12
+ - `any` and `unknown` "override" all other union members
13
+ - `never` is dropped from unions in any position except when in a return type position
14
+ - primitive types such as `string` "override" any of their literal types such as `""`
15
+
16
+ Within `&` intersections:
17
+
18
+ - `any` and `never` "override" all other intersection members
19
+ - `unknown` is dropped from intersections
20
+ - literal types "override" any primitive types in an intersection
21
+ - literal types such as `""` "override" any of their primitive types such as `string`
22
+
23
+ Examples of code for this rule:
24
+
25
+ <!--tabs-->
26
+
27
+ ### ❌ Incorrect
28
+
29
+ ```ts
30
+ type UnionAny = any | 'foo';
31
+ type UnionUnknown = unknown | 'foo';
32
+ type UnionNever = never | 'foo';
33
+
34
+ type UnionBooleanLiteral = boolean | false;
35
+ type UnionNumberLiteral = number | 1;
36
+ type UnionStringLiteral = string | 'foo';
37
+
38
+ type IntersectionAny = any & 'foo';
39
+ type IntersectionUnknown = string & unknown;
40
+ type IntersectionNever = string | never;
41
+
42
+ type IntersectionBooleanLiteral = boolean & false;
43
+ type IntersectionNumberLiteral = number & 1;
44
+ type IntersectionStringLiteral = string & 'foo';
45
+ ```
46
+
47
+ ### ✅ Correct
48
+
49
+ ```ts
50
+ type UnionAny = any;
51
+ type UnionUnknown = unknown;
52
+ type UnionNever = never;
53
+
54
+ type UnionBooleanLiteral = boolean;
55
+ type UnionNumberLiteral = number;
56
+ type UnionStringLiteral = string;
57
+
58
+ type IntersectionAny = any;
59
+ type IntersectionUnknown = string;
60
+ type IntersectionNever = string;
61
+
62
+ type IntersectionBooleanLiteral = false;
63
+ type IntersectionNumberLiteral = 1;
64
+ type IntersectionStringLiteral = 'foo';
65
+
66
+ type ReturnUnionNever = () => string | never;
67
+ ```
68
+
69
+ ## Options
70
+
71
+ ```jsonc
72
+ // .eslintrc.json
73
+ {
74
+ "rules": {
75
+ "@typescript-eslint/no-redundant-type-constituents": "warn"
76
+ }
77
+ }
78
+ ```
79
+
80
+ This rule is not configurable.
81
+
82
+ ## Limitations
83
+
84
+ This rule plays it safe and only works with bottom types, top types, and comparing literal types to primitive types.
85
+ It also does not provide an auto-fixer just yet.
86
+
87
+ ## Further Reading
88
+
89
+ - [Union Types](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types)
90
+ - [Intersection Types](https://www.typescriptlang.org/docs/handbook/2/objects.html#intersection-types)
91
+ - [Bottom Types](https://en.wikipedia.org/wiki/Bottom_type)
92
+ - [Top Types](https://en.wikipedia.org/wiki/Top_type)
@@ -31,16 +31,19 @@ import lib9 = lib2.anotherSubImport;
31
31
  import lib10 from 'lib10';
32
32
  ```
33
33
 
34
- ## When Not To Use It
35
-
36
- If you don't care about TypeScript module syntax, then you will not need this rule.
37
-
38
- ## Related To
34
+ ## Options
35
+
36
+ ```jsonc
37
+ // .eslintrc.json
38
+ {
39
+ "rules": {
40
+ "@typescript-eslint/no-require-imports": "warn"
41
+ }
42
+ }
43
+ ```
39
44
 
40
- - TSLint: [no-require-imports](https://palantir.github.io/tslint/rules/no-require-imports/)
45
+ This rule is not configurable.
41
46
 
42
- ## Attributes
47
+ ## When Not To Use It
43
48
 
44
- - [ ] Recommended
45
- - [ ] 🔧 Fixable
46
- - [ ] 💭 Requires type information
49
+ If you don't care about TypeScript module syntax, then you will not need this rule.
@@ -1,6 +1,6 @@
1
1
  # `no-restricted-imports`
2
2
 
3
- Disallow specified modules when loaded by `import`.
3
+ Disallows specified modules when loaded by `import`.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -68,9 +68,3 @@ export type { Foo } from 'import-foo';
68
68
  import type baz from 'import-baz';
69
69
  export type { Baz } from 'import-baz';
70
70
  ```
71
-
72
- ## Attributes
73
-
74
- - [ ] ✅ Recommended
75
- - [ ] 🔧 Fixable
76
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-shadow`
2
2
 
3
- Disallow variable declarations from shadowing variables declared in the outer scope.
3
+ Disallows variable declarations from shadowing variables declared in the outer scope.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -91,9 +91,3 @@ type Func = (test: string) => typeof test;
91
91
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-shadow.md)
92
92
 
93
93
  </sup>
94
-
95
- ## Attributes
96
-
97
- - [ ] ✅ Recommended
98
- - [ ] 🔧 Fixable
99
- - [ ] 💭 Requires type information
@@ -1,33 +1,31 @@
1
1
  # `no-this-alias`
2
2
 
3
- Disallow aliasing `this`.
3
+ Disallows aliasing `this`.
4
4
 
5
5
  This rule prohibits assigning variables to `this`.
6
6
 
7
7
  ## Rule Details
8
8
 
9
- Rationale from TSLint:
9
+ Assigning a variable to `this` instead of properly using arrow lambdas may be a symptom of pre-ES6 practices
10
+ or not managing scope well.
10
11
 
11
- > Assigning a variable to `this` instead of properly using arrow lambdas may be a symptom of pre-ES6 practices
12
- > or not managing scope well.
13
- >
14
- > Instead of storing a reference to `this` and using it inside a `function () {`:
15
- >
16
- > ```js
17
- > const self = this;
18
- >
19
- > setTimeout(function () {
20
- > self.doWork();
21
- > });
22
- > ```
23
- >
24
- > Use `() =>` arrow lambdas, as they preserve `this` scope for you:
12
+ Instead of storing a reference to `this` and using it inside a `function () {`:
13
+
14
+ ```js
15
+ const self = this;
25
16
  >
26
- > ```js
27
- > setTimeout(() => {
28
- > this.doWork();
29
- > });
30
- > ```
17
+ setTimeout(function () {
18
+ self.doWork();
19
+ });
20
+ ```
21
+
22
+ Use `() =>` arrow lambdas, as they preserve `this` scope for you:
23
+
24
+ ```js
25
+ setTimeout(() => {
26
+ this.doWork();
27
+ });
28
+ ```
31
29
 
32
30
  Examples of **incorrect** code for this rule:
33
31
 
@@ -56,13 +54,3 @@ You can pass an object option:
56
54
  ## When Not To Use It
57
55
 
58
56
  If you need to assign `this` to variables, you shouldn’t use this rule.
59
-
60
- ## Related To
61
-
62
- - TSLint: [`no-this-assignment`](https://palantir.github.io/tslint/rules/no-this-assignment/)
63
-
64
- ## Attributes
65
-
66
- - [x] ✅ Recommended
67
- - [ ] 🔧 Fixable
68
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-throw-literal`
2
2
 
3
- Disallow throwing literals as exceptions.
3
+ Disallows throwing literals as exceptions.
4
4
 
5
5
  It is considered good practice to only `throw` the `Error` object itself or an object using the `Error` object as base objects for user-defined exceptions.
6
6
  The fundamental benefit of `Error` objects is that they automatically keep track of where they were built and originated.
@@ -116,9 +116,3 @@ throw new CustomError();
116
116
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-throw-literal.md)
117
117
 
118
118
  </sup>
119
-
120
- ## Attributes
121
-
122
- - [ ] ✅ Recommended
123
- - [ ] 🔧 Fixable
124
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-type-alias`
2
2
 
3
- Disallow the use of type aliases.
3
+ Disallows type aliases.
4
4
 
5
5
  In TypeScript, type aliases serve three purposes:
6
6
 
@@ -118,6 +118,8 @@ type Foo = string | string[];
118
118
 
119
119
  type Foo = string & string[];
120
120
 
121
+ type Foo = `foo-${number}`;
122
+
121
123
  // reference types
122
124
  interface Bar {}
123
125
  class Baz implements Bar {}
@@ -139,6 +141,8 @@ type Foo = string;
139
141
 
140
142
  type Foo = string & string[];
141
143
 
144
+ type Foo = `foo-${number}`;
145
+
142
146
  // reference types
143
147
  interface Bar {}
144
148
  class Baz implements Bar {}
@@ -156,6 +160,8 @@ type Foo = 'a' | 'b';
156
160
 
157
161
  type Foo = string | string[];
158
162
 
163
+ type Foo = `a-${number}` | `b-${number}`;
164
+
159
165
  // reference types
160
166
  interface Bar {}
161
167
  class Baz implements Bar {}
@@ -175,6 +181,8 @@ type Foo = string;
175
181
 
176
182
  type Foo = string | string[];
177
183
 
184
+ type Foo = `a-${number}` | `b-${number}`;
185
+
178
186
  // reference types
179
187
  interface Bar {}
180
188
  class Baz implements Bar {}
@@ -190,6 +198,8 @@ Examples of **correct** code for the `{ "allowAliases": "in-intersections" }` op
190
198
  // primitives
191
199
  type Foo = string & string[];
192
200
 
201
+ type Foo = `a-${number}` & `b-${number}`;
202
+
193
203
  // reference types
194
204
  interface Bar {}
195
205
  class Baz implements Bar {}
@@ -205,6 +215,8 @@ type Foo = 'a';
205
215
 
206
216
  type Foo = string;
207
217
 
218
+ type Foo = `foo-${number}`;
219
+
208
220
  // reference types
209
221
  interface Bar {}
210
222
  class Baz implements Bar {}
@@ -222,6 +234,10 @@ type Foo = string | string[];
222
234
 
223
235
  type Foo = string & string[];
224
236
 
237
+ type Foo = `a-${number}` & `b-${number}`;
238
+
239
+ type Foo = `a-${number}` | `b-${number}`;
240
+
225
241
  // reference types
226
242
  interface Bar {}
227
243
  class Baz implements Bar {}
@@ -591,14 +607,4 @@ callback, etc. that would cause the code to be unreadable or impractical.
591
607
 
592
608
  ## Further Reading
593
609
 
594
- - [Advance Types](https://www.typescriptlang.org/docs/handbook/advanced-types.html)
595
-
596
- ## Related To
597
-
598
- - TSLint: [interface-over-type-literal](https://palantir.github.io/tslint/rules/interface-over-type-literal/)
599
-
600
- ## Attributes
601
-
602
- - [ ] ✅ Recommended
603
- - [ ] 🔧 Fixable
604
- - [ ] 💭 Requires type information
610
+ - [Advanced Types](https://www.typescriptlang.org/docs/handbook/advanced-types.html)
@@ -1,6 +1,6 @@
1
1
  # `no-unnecessary-boolean-literal-compare`
2
2
 
3
- Flags unnecessary equality comparisons against boolean literals.
3
+ Disallows unnecessary equality comparisons against boolean literals.
4
4
 
5
5
  Comparing boolean values to boolean literals is unnecessary, those comparisons result in the same booleans. Using the boolean values directly, or via a unary negation (`!value`), is more concise and clearer.
6
6
 
@@ -146,13 +146,3 @@ if (!(someNullCondition ?? true)) {
146
146
  | `nullableBooleanVar !== true` | `!nullableBooleanVar` | Only checked/fixed if the `allowComparingNullableBooleansToTrue` option is `false` |
147
147
  | `nullableBooleanVar === false` | `nullableBooleanVar ?? true` | Only checked/fixed if the `allowComparingNullableBooleansToFalse` option is `false` |
148
148
  | `nullableBooleanVar !== false` | `!(nullableBooleanVar ?? true)` | Only checked/fixed if the `allowComparingNullableBooleansToFalse` option is `false` |
149
-
150
- ## Related To
151
-
152
- - TSLint: [no-boolean-literal-compare](https://palantir.github.io/tslint/rules/no-boolean-literal-compare)
153
-
154
- ## Attributes
155
-
156
- - [ ] ✅ Recommended
157
- - [x] 🔧 Fixable
158
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `no-unnecessary-condition`
2
2
 
3
- Prevents conditionals where the type is always truthy or always falsy.
3
+ Disallows conditionals where the type is always truthy or always falsy.
4
4
 
5
5
  Any expression being used as a condition must be able to evaluate as truthy or falsy in order to be considered "necessary". Conversely, any expression that always evaluates to truthy or always evaluates to falsy, as determined by the type of the expression, is considered unnecessary and will be flagged by this rule.
6
6
 
@@ -112,9 +112,3 @@ The main downside to using this rule is the need for type information.
112
112
 
113
113
  - ESLint: [no-constant-condition](https://eslint.org/docs/rules/no-constant-condition) - `no-unnecessary-condition` is essentially a stronger version of `no-constant-condition`, but requires type information.
114
114
  - [strict-boolean-expressions](./strict-boolean-expressions.md) - a more opinionated version of `no-unnecessary-condition`. `strict-boolean-expressions` enforces a specific code style, while `no-unnecessary-condition` is about correctness.
115
-
116
- ## Attributes
117
-
118
- - [ ] ✅ Recommended
119
- - [x] 🔧 Fixable
120
- - [x] 💭 Requires type information