xo 0.53.0 → 0.54.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 (531) hide show
  1. package/config/plugins.cjs +27 -4
  2. package/index.js +6 -11
  3. package/lib/options-manager.js +11 -58
  4. package/node_modules/@eslint-community/eslint-utils/README.md +37 -0
  5. package/node_modules/{eslint-utils → @eslint-community/eslint-utils}/index.js +124 -12
  6. package/node_modules/@eslint-community/eslint-utils/index.js.map +1 -0
  7. package/node_modules/{eslint-utils → @eslint-community/eslint-utils}/index.mjs +124 -11
  8. package/node_modules/@eslint-community/eslint-utils/index.mjs.map +1 -0
  9. package/node_modules/@eslint-community/eslint-utils/package.json +73 -0
  10. package/node_modules/{regexpp → @eslint-community/regexpp}/README.md +9 -10
  11. package/node_modules/@eslint-community/regexpp/index.d.ts +781 -0
  12. package/node_modules/{regexpp → @eslint-community/regexpp}/index.js +297 -262
  13. package/node_modules/@eslint-community/regexpp/index.js.map +1 -0
  14. package/node_modules/{regexpp → @eslint-community/regexpp}/index.mjs +297 -262
  15. package/node_modules/@eslint-community/regexpp/index.mjs.map +1 -0
  16. package/node_modules/{regexpp → @eslint-community/regexpp}/package.json +60 -64
  17. package/node_modules/@typescript-eslint/eslint-plugin/LICENSE +1 -1
  18. package/node_modules/@typescript-eslint/eslint-plugin/README.md +6 -92
  19. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +10 -2
  20. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
  21. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +2 -1
  22. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -1
  23. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +4 -2
  24. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -1
  25. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +1 -1
  26. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
  27. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +2 -1
  28. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
  29. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +3 -3
  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/block-spacing.js +158 -0
  32. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js.map +1 -0
  33. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js +3 -1
  34. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js.map +1 -1
  35. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +1 -1
  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 +17 -7
  38. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map +1 -1
  39. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +47 -0
  40. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
  41. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +5 -11
  42. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
  43. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +22 -3
  44. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -1
  45. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +12 -0
  46. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -1
  47. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js +351 -0
  48. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js.map +1 -0
  49. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +53 -2
  50. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -1
  51. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js +384 -0
  52. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js.map +1 -0
  53. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +205 -39
  54. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -1
  55. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +14 -13
  56. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js.map +1 -1
  57. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +5 -0
  58. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -1
  59. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +6 -6
  60. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -1
  61. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +231 -198
  62. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
  63. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +5 -0
  64. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
  65. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +158 -0
  66. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map +1 -0
  67. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +19 -16
  68. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -1
  69. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +2 -2
  70. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
  71. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +45 -4
  72. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
  73. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +1 -1
  74. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
  75. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +79 -0
  76. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js.map +1 -0
  77. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +1 -1
  78. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
  79. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +1 -1
  80. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -1
  81. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +15 -15
  82. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
  83. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +196 -0
  84. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js.map +1 -0
  85. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +1 -1
  86. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
  87. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +3 -3
  88. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -1
  89. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +6 -1
  90. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -1
  91. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +21 -31
  92. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
  93. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +22 -7
  94. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -1
  95. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +4 -5
  96. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
  97. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +9 -9
  98. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
  99. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +1 -2
  100. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -1
  101. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +2 -2
  102. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -1
  103. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js +1 -0
  104. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js.map +1 -1
  105. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +1 -0
  106. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -1
  107. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +3 -5
  108. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
  109. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +4 -5
  110. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -1
  111. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +2 -2
  112. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -1
  113. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +19 -1
  114. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -1
  115. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +47 -11
  116. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
  117. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +2 -1
  118. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -1
  119. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +1 -1
  120. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -1
  121. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +2 -2
  122. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
  123. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +3 -1
  124. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -1
  125. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +1 -1
  126. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -1
  127. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +7 -0
  128. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -1
  129. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +5 -5
  130. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js.map +1 -1
  131. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +5 -5
  132. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
  133. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +1 -2
  134. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -1
  135. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +2 -1
  136. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
  137. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +46 -2
  138. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -1
  139. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +1 -1
  140. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -1
  141. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +1 -1
  142. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -1
  143. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +1 -1
  144. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
  145. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +1 -1
  146. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
  147. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +20 -0
  148. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js.map +1 -0
  149. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +2 -1
  150. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js.map +1 -1
  151. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +1 -0
  152. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -1
  153. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +1 -1
  154. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js.map +1 -1
  155. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +27 -1
  156. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
  157. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +3 -3
  158. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +1 -1
  159. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +3 -8
  160. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/block-spacing.md +12 -0
  161. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +1 -1
  162. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +2 -0
  163. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +9 -1
  164. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +52 -0
  165. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/key-spacing.md +12 -0
  166. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-around-comment.md +37 -0
  167. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +181 -20
  168. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +7 -6
  169. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-type-constituents.md +61 -0
  170. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +1 -1
  171. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-import-type-side-effects.md +75 -0
  172. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-mixed-enums.md +88 -0
  173. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +2 -2
  174. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +21 -0
  175. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +5 -0
  176. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +18 -1
  177. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +9 -0
  178. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +6 -0
  179. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +7 -10
  180. package/node_modules/@typescript-eslint/eslint-plugin/package.json +13 -9
  181. package/node_modules/@typescript-eslint/parser/LICENSE +5 -5
  182. package/node_modules/@typescript-eslint/parser/README.md +6 -300
  183. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/index.d.ts +4 -0
  184. package/node_modules/@typescript-eslint/parser/dist/index.d.ts +4 -0
  185. package/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +1 -1
  186. package/node_modules/@typescript-eslint/parser/dist/index.js +5 -1
  187. package/node_modules/@typescript-eslint/parser/dist/index.js.map +1 -1
  188. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
  189. package/node_modules/@typescript-eslint/parser/dist/parser.js +15 -17
  190. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
  191. package/node_modules/@typescript-eslint/parser/package.json +6 -6
  192. package/node_modules/@typescript-eslint/scope-manager/LICENSE +1 -1
  193. package/node_modules/@typescript-eslint/scope-manager/README.md +5 -117
  194. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +10 -10
  195. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
  196. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +1 -1
  197. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -1
  198. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts +3 -0
  199. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts.map +1 -0
  200. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +21 -0
  201. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js.map +1 -0
  202. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts +3 -0
  203. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts.map +1 -0
  204. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +15 -0
  205. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js.map +1 -0
  206. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
  207. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
  208. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +5 -0
  209. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
  210. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +44 -10
  211. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
  212. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -1
  213. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +1 -1
  214. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -1
  215. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -1
  216. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts +3 -0
  217. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts.map +1 -0
  218. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +12 -0
  219. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js.map +1 -0
  220. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +2 -1
  221. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -1
  222. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -1
  223. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +2 -1
  224. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -1
  225. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts +3 -0
  226. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts.map +1 -0
  227. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +15 -0
  228. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js.map +1 -0
  229. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts +3 -0
  230. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts.map +1 -0
  231. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +24 -0
  232. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js.map +1 -0
  233. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts +3 -0
  234. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts.map +1 -0
  235. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts +3 -0
  236. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts.map +1 -0
  237. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +14 -0
  238. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js.map +1 -0
  239. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +11 -0
  240. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js.map +1 -0
  241. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -1
  242. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +3 -105
  243. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -1
  244. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +2 -2
  245. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +7 -0
  246. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
  247. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +14 -0
  248. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
  249. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
  250. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -1
  251. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +2 -0
  252. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -1
  253. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +43 -1
  254. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
  255. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +4 -2
  256. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -1
  257. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +14 -6
  258. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -1
  259. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +1 -1
  260. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -1
  261. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -1
  262. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -1
  263. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +2 -2
  264. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -1
  265. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +10 -12
  266. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -1
  267. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +17 -17
  268. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -1
  269. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +2 -1
  270. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
  271. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +5 -2
  272. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
  273. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -1
  274. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -1
  275. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +1 -1
  276. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +1 -1
  277. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -1
  278. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +1 -1
  279. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -1
  280. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
  281. package/node_modules/@typescript-eslint/scope-manager/package.json +12 -12
  282. package/node_modules/@typescript-eslint/type-utils/LICENSE +1 -1
  283. package/node_modules/@typescript-eslint/type-utils/README.md +7 -10
  284. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/containsAllTypesByName.d.ts +4 -2
  285. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts +4 -2
  286. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts.map +1 -1
  287. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +12 -6
  288. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -1
  289. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -1
  290. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +2 -4
  291. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -1
  292. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts.map +1 -1
  293. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +1 -0
  294. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -1
  295. package/node_modules/@typescript-eslint/type-utils/package.json +6 -6
  296. package/node_modules/@typescript-eslint/types/LICENSE +1 -1
  297. package/node_modules/@typescript-eslint/types/README.md +6 -11
  298. package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +90 -16
  299. package/node_modules/@typescript-eslint/types/_ts3.4/dist/lib.d.ts +1 -1
  300. package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +9 -5
  301. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +90 -16
  302. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -1
  303. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +3 -0
  304. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -1
  305. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
  306. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
  307. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +9 -5
  308. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
  309. package/node_modules/@typescript-eslint/types/package.json +6 -6
  310. package/node_modules/@typescript-eslint/typescript-estree/LICENSE +5 -5
  311. package/node_modules/@typescript-eslint/typescript-estree/README.md +6 -379
  312. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/clear-caches.d.ts +10 -0
  313. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/describeFilePath.d.ts +2 -0
  314. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/{createWatchProgram.d.ts → getWatchProgramsForProjects.d.ts} +3 -4
  315. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +8 -2
  316. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +2 -2
  317. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/ExpiringCache.d.ts +17 -0
  318. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/createParseSettings.d.ts +1 -0
  319. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/getProjectConfigFiles.d.ts +12 -0
  320. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/index.d.ts +8 -3
  321. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/resolveProjectList.d.ts +19 -0
  322. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +23 -4
  323. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +1 -1
  324. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/simple-traverse.d.ts +1 -1
  325. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/estree-to-ts-node-types.d.ts +4 -1
  326. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/ts-nodes.d.ts +4 -2
  327. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/version-check.d.ts +1 -1
  328. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts +10 -0
  329. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts.map +1 -0
  330. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +24 -0
  331. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js.map +1 -0
  332. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -1
  333. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
  334. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
  335. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +62 -16
  336. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
  337. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +1 -1
  338. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +1 -0
  339. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -1
  340. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -1
  341. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +7 -12
  342. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -1
  343. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.d.ts +2 -0
  344. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.d.ts.map +1 -0
  345. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +32 -0
  346. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js.map +1 -0
  347. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/{createWatchProgram.d.ts → getWatchProgramsForProjects.d.ts} +3 -4
  348. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +1 -0
  349. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/{createWatchProgram.js → getWatchProgramsForProjects.js} +16 -20
  350. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +1 -0
  351. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +8 -2
  352. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -1
  353. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +15 -1
  354. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
  355. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts.map +1 -1
  356. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +3 -3
  357. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -1
  358. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +2 -2
  359. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -1
  360. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +2 -4
  361. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
  362. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
  363. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +18 -5
  364. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
  365. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts +17 -0
  366. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts.map +1 -0
  367. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +62 -0
  368. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js.map +1 -0
  369. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts +1 -0
  370. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map +1 -1
  371. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +22 -48
  372. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +1 -1
  373. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts +12 -0
  374. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map +1 -0
  375. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +70 -0
  376. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +1 -0
  377. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts +8 -3
  378. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts.map +1 -1
  379. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.d.ts +19 -0
  380. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.d.ts.map +1 -0
  381. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +103 -0
  382. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +1 -0
  383. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +4 -4
  384. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js.map +1 -1
  385. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +23 -4
  386. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +1 -1
  387. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +1 -1
  388. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -1
  389. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -1
  390. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
  391. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +1 -1
  392. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +1 -1
  393. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +1 -1
  394. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -1
  395. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +4 -1
  396. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -1
  397. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +4 -2
  398. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +1 -1
  399. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +1 -1
  400. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +1 -1
  401. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +2 -0
  402. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -1
  403. package/node_modules/@typescript-eslint/typescript-estree/package.json +5 -6
  404. package/node_modules/@typescript-eslint/utils/LICENSE +1 -1
  405. package/node_modules/@typescript-eslint/utils/README.md +6 -23
  406. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +4 -4
  407. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +4 -4
  408. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/astUtilities.d.ts +6 -6
  409. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/predicates.d.ts +5 -5
  410. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +2 -2
  411. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/helpers.d.ts +60 -6
  412. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/predicates.d.ts +13 -1
  413. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/InferTypesFromRule.d.ts +2 -2
  414. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +2 -2
  415. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/deepMerge.d.ts +1 -1
  416. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/rule-tester/RuleTester.d.ts +3 -3
  417. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/rule-tester/dependencyConstraints.d.ts +2 -2
  418. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Rule.d.ts +6 -6
  419. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +1 -1
  420. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/SourceCode.d.ts +5 -1
  421. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Options.d.ts +1 -1
  422. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Reference.d.ts +1 -1
  423. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Scope.d.ts +1 -1
  424. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +4 -4
  425. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +2 -2
  426. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -1
  427. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +4 -4
  428. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +2 -2
  429. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -1
  430. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +6 -6
  431. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +7 -7
  432. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -1
  433. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +5 -5
  434. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map +1 -1
  435. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +1 -1
  436. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -1
  437. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +2 -2
  438. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +3 -3
  439. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -1
  440. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +60 -6
  441. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
  442. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +13 -1
  443. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
  444. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +15 -1
  445. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -1
  446. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts +2 -2
  447. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map +1 -1
  448. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +2 -2
  449. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts.map +1 -1
  450. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +1 -1
  451. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +1 -1
  452. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts +1 -1
  453. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map +1 -1
  454. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +1 -1
  455. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map +1 -1
  456. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.d.ts +3 -3
  457. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.d.ts.map +1 -1
  458. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.js +40 -27
  459. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.js.map +1 -1
  460. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/dependencyConstraints.d.ts +2 -2
  461. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/dependencyConstraints.d.ts.map +1 -1
  462. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +6 -6
  463. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -1
  464. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +1 -1
  465. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -1
  466. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +5 -1
  467. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -1
  468. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -1
  469. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Options.d.ts +1 -1
  470. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Options.d.ts.map +1 -1
  471. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts +1 -1
  472. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts.map +1 -1
  473. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Scope.d.ts +1 -1
  474. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Scope.d.ts.map +1 -1
  475. package/node_modules/@typescript-eslint/utils/package.json +8 -8
  476. package/node_modules/@typescript-eslint/visitor-keys/LICENSE +1 -1
  477. package/node_modules/@typescript-eslint/visitor-keys/README.md +6 -9
  478. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -1
  479. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +63 -48
  480. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
  481. package/node_modules/@typescript-eslint/visitor-keys/package.json +4 -4
  482. package/node_modules/eslint-config-xo-typescript/index.js +8 -11
  483. package/node_modules/eslint-config-xo-typescript/package.json +5 -5
  484. package/node_modules/eslint-visitor-keys/README.md +1 -2
  485. package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +38 -36
  486. package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +38 -35
  487. package/node_modules/eslint-visitor-keys/package.json +16 -6
  488. package/node_modules/fastq/README.md +1 -1
  489. package/node_modules/fastq/index.d.ts +1 -1
  490. package/node_modules/fastq/package.json +1 -1
  491. package/node_modules/fastq/queue.js +6 -0
  492. package/node_modules/fastq/test/promise.js +27 -0
  493. package/node_modules/grapheme-splitter/LICENSE +22 -0
  494. package/node_modules/grapheme-splitter/README.md +111 -0
  495. package/node_modules/grapheme-splitter/index.d.ts +24 -0
  496. package/node_modules/grapheme-splitter/index.js +1743 -0
  497. package/node_modules/grapheme-splitter/package.json +34 -0
  498. package/node_modules/grapheme-splitter/tests/GraphemeBreakTest.txt +850 -0
  499. package/node_modules/grapheme-splitter/tests/grapheme_splitter_tests.js +83 -0
  500. package/node_modules/ignore/README.md +3 -3
  501. package/node_modules/ignore/index.js +24 -9
  502. package/node_modules/ignore/legacy.js +176 -135
  503. package/node_modules/ignore/package.json +13 -11
  504. package/package.json +19 -19
  505. package/readme.md +1 -2
  506. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +0 -1
  507. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +0 -1
  508. package/node_modules/braces/CHANGELOG.md +0 -184
  509. package/node_modules/eslint-scope/CHANGELOG.md +0 -70
  510. package/node_modules/eslint-utils/README.md +0 -38
  511. package/node_modules/eslint-utils/index.js.map +0 -1
  512. package/node_modules/eslint-utils/index.mjs.map +0 -1
  513. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/CHANGELOG.md +0 -36
  514. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/LICENSE +0 -201
  515. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/README.md +0 -98
  516. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/lib/index.js +0 -81
  517. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/lib/visitor-keys.json +0 -289
  518. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/package.json +0 -39
  519. package/node_modules/eslint-utils/package.json +0 -78
  520. package/node_modules/glob-parent/CHANGELOG.md +0 -110
  521. package/node_modules/picomatch/CHANGELOG.md +0 -136
  522. package/node_modules/regexpp/index.d.ts +0 -248
  523. package/node_modules/regexpp/index.js.map +0 -1
  524. package/node_modules/regexpp/index.mjs.map +0 -1
  525. /package/node_modules/{eslint-utils → @eslint-community/eslint-utils}/LICENSE +0 -0
  526. /package/node_modules/{regexpp → @eslint-community/regexpp}/LICENSE +0 -0
  527. /package/node_modules/{yallist → semver/node_modules/yallist}/LICENSE +0 -0
  528. /package/node_modules/{yallist → semver/node_modules/yallist}/README.md +0 -0
  529. /package/node_modules/{yallist → semver/node_modules/yallist}/iterator.js +0 -0
  530. /package/node_modules/{yallist → semver/node_modules/yallist}/package.json +0 -0
  531. /package/node_modules/{yallist → semver/node_modules/yallist}/yallist.js +0 -0
@@ -0,0 +1,781 @@
1
+ // Generated by dts-bundle v0.7.3
2
+
3
+ declare module "@eslint-community/regexpp" {
4
+ import * as AST from "@eslint-community/regexpp/ast";
5
+ import { RegExpParser } from "@eslint-community/regexpp/parser";
6
+ import { RegExpValidator } from "@eslint-community/regexpp/validator";
7
+ import { RegExpVisitor } from "@eslint-community/regexpp/visitor";
8
+ export { AST, RegExpParser, RegExpValidator };
9
+ /**
10
+ * Parse a given regular expression literal then make AST object.
11
+ * @param source The source code to parse.
12
+ * @param options The options to parse.
13
+ * @returns The AST of the regular expression.
14
+ */
15
+ export function parseRegExpLiteral(
16
+ source: RegExp | string,
17
+ options?: RegExpParser.Options
18
+ ): AST.RegExpLiteral;
19
+ /**
20
+ * Validate a given regular expression literal.
21
+ * @param source The source code to validate.
22
+ * @param options The options to validate.
23
+ */
24
+ export function validateRegExpLiteral(
25
+ source: string,
26
+ options?: RegExpValidator.Options
27
+ ): void;
28
+ export function visitRegExpAST(
29
+ node: AST.Node,
30
+ handlers: RegExpVisitor.Handlers
31
+ ): void;
32
+ }
33
+
34
+ declare module "@eslint-community/regexpp/ast" {
35
+ /**
36
+ * The type which includes all nodes.
37
+ */
38
+ export type Node = BranchNode | LeafNode;
39
+ /**
40
+ * The type which includes all branch nodes.
41
+ */
42
+ export type BranchNode =
43
+ | Alternative
44
+ | CapturingGroup
45
+ | CharacterClass
46
+ | CharacterClassRange
47
+ | Group
48
+ | LookaroundAssertion
49
+ | Pattern
50
+ | Quantifier
51
+ | RegExpLiteral;
52
+ /**
53
+ * The type which includes all leaf nodes.
54
+ */
55
+ export type LeafNode =
56
+ | Backreference
57
+ | BoundaryAssertion
58
+ | Character
59
+ | CharacterSet
60
+ | Flags;
61
+ /**
62
+ * The type which includes all atom nodes.
63
+ */
64
+ export type Element = Assertion | QuantifiableElement | Quantifier;
65
+ /**
66
+ * The type which includes all atom nodes that Quantifier node can have as children.
67
+ */
68
+ export type QuantifiableElement =
69
+ | Backreference
70
+ | CapturingGroup
71
+ | Character
72
+ | CharacterClass
73
+ | CharacterSet
74
+ | Group
75
+ | LookaheadAssertion;
76
+ /**
77
+ * The type which includes all character class atom nodes.
78
+ */
79
+ export type CharacterClassElement =
80
+ | Character
81
+ | CharacterClassRange
82
+ | EscapeCharacterSet
83
+ | UnicodePropertyCharacterSet;
84
+ /**
85
+ * The type which defines common properties for all node types.
86
+ */
87
+ export interface NodeBase {
88
+ /** The node type. */
89
+ type: Node["type"];
90
+ /** The parent node. */
91
+ parent: Node["parent"];
92
+ /** The 0-based index that this node starts. */
93
+ start: number;
94
+ /** The 0-based index that this node ends. */
95
+ end: number;
96
+ /** The raw text of this node. */
97
+ raw: string;
98
+ }
99
+ /**
100
+ * The root node.
101
+ */
102
+ export interface RegExpLiteral extends NodeBase {
103
+ type: "RegExpLiteral";
104
+ parent: null;
105
+ pattern: Pattern;
106
+ flags: Flags;
107
+ }
108
+ /**
109
+ * The pattern.
110
+ */
111
+ export interface Pattern extends NodeBase {
112
+ type: "Pattern";
113
+ parent: RegExpLiteral | null;
114
+ alternatives: Alternative[];
115
+ }
116
+ /**
117
+ * The alternative.
118
+ * E.g. `a|b`
119
+ */
120
+ export interface Alternative extends NodeBase {
121
+ type: "Alternative";
122
+ parent: CapturingGroup | Group | LookaroundAssertion | Pattern;
123
+ elements: Element[];
124
+ }
125
+ /**
126
+ * The uncapturing group.
127
+ * E.g. `(?:ab)`
128
+ */
129
+ export interface Group extends NodeBase {
130
+ type: "Group";
131
+ parent: Alternative | Quantifier;
132
+ alternatives: Alternative[];
133
+ }
134
+ /**
135
+ * The capturing group.
136
+ * E.g. `(ab)`, `(?<name>ab)`
137
+ */
138
+ export interface CapturingGroup extends NodeBase {
139
+ type: "CapturingGroup";
140
+ parent: Alternative | Quantifier;
141
+ name: string | null;
142
+ alternatives: Alternative[];
143
+ references: Backreference[];
144
+ }
145
+ /**
146
+ * The lookaround assertion.
147
+ */
148
+ export type LookaroundAssertion = LookaheadAssertion | LookbehindAssertion;
149
+ /**
150
+ * The lookahead assertion.
151
+ * E.g. `(?=ab)`, `(?!ab)`
152
+ */
153
+ export interface LookaheadAssertion extends NodeBase {
154
+ type: "Assertion";
155
+ parent: Alternative | Quantifier;
156
+ kind: "lookahead";
157
+ negate: boolean;
158
+ alternatives: Alternative[];
159
+ }
160
+ /**
161
+ * The lookbehind assertion.
162
+ * E.g. `(?<=ab)`, `(?<!ab)`
163
+ */
164
+ export interface LookbehindAssertion extends NodeBase {
165
+ type: "Assertion";
166
+ parent: Alternative;
167
+ kind: "lookbehind";
168
+ negate: boolean;
169
+ alternatives: Alternative[];
170
+ }
171
+ /**
172
+ * The quantifier.
173
+ * E.g. `a?`, `a*`, `a+`, `a{1,2}`, `a??`, `a*?`, `a+?`, `a{1,2}?`
174
+ */
175
+ export interface Quantifier extends NodeBase {
176
+ type: "Quantifier";
177
+ parent: Alternative;
178
+ min: number;
179
+ max: number;
180
+ greedy: boolean;
181
+ element: QuantifiableElement;
182
+ }
183
+ /**
184
+ * The character class.
185
+ * E.g. `[ab]`, `[^ab]`
186
+ */
187
+ export interface CharacterClass extends NodeBase {
188
+ type: "CharacterClass";
189
+ parent: Alternative | Quantifier;
190
+ negate: boolean;
191
+ elements: CharacterClassElement[];
192
+ }
193
+ /**
194
+ * The character class.
195
+ * E.g. `[a-b]`
196
+ */
197
+ export interface CharacterClassRange extends NodeBase {
198
+ type: "CharacterClassRange";
199
+ parent: CharacterClass;
200
+ min: Character;
201
+ max: Character;
202
+ }
203
+ /**
204
+ * The assertion.
205
+ */
206
+ export type Assertion = BoundaryAssertion | LookaroundAssertion;
207
+ /**
208
+ * The boundary assertion.
209
+ */
210
+ export type BoundaryAssertion = EdgeAssertion | WordBoundaryAssertion;
211
+ /**
212
+ * The edge boundary assertion.
213
+ * E.g. `^`, `$`
214
+ */
215
+ export interface EdgeAssertion extends NodeBase {
216
+ type: "Assertion";
217
+ parent: Alternative | Quantifier;
218
+ kind: "end" | "start";
219
+ }
220
+ /**
221
+ * The word bondary assertion.
222
+ * E.g. `\b`, `\B`
223
+ */
224
+ export interface WordBoundaryAssertion extends NodeBase {
225
+ type: "Assertion";
226
+ parent: Alternative | Quantifier;
227
+ kind: "word";
228
+ negate: boolean;
229
+ }
230
+ /**
231
+ * The character set.
232
+ */
233
+ export type CharacterSet =
234
+ | AnyCharacterSet
235
+ | EscapeCharacterSet
236
+ | UnicodePropertyCharacterSet;
237
+ /**
238
+ * The dot.
239
+ * E.g. `.`
240
+ */
241
+ export interface AnyCharacterSet extends NodeBase {
242
+ type: "CharacterSet";
243
+ parent: Alternative | Quantifier;
244
+ kind: "any";
245
+ }
246
+ /**
247
+ * The character class escape.
248
+ * E.g. `\d`, `\s`, `\w`, `\D`, `\S`, `\W`
249
+ */
250
+ export interface EscapeCharacterSet extends NodeBase {
251
+ type: "CharacterSet";
252
+ parent: Alternative | CharacterClass | Quantifier;
253
+ kind: "digit" | "space" | "word";
254
+ negate: boolean;
255
+ }
256
+ /**
257
+ * The unicode property escape.
258
+ * E.g. `\p{ASCII}`, `\P{ASCII}`, `\p{Script=Hiragana}`
259
+ */
260
+ export interface UnicodePropertyCharacterSet extends NodeBase {
261
+ type: "CharacterSet";
262
+ parent: Alternative | CharacterClass | Quantifier;
263
+ kind: "property";
264
+ key: string;
265
+ value: string | null;
266
+ negate: boolean;
267
+ }
268
+ /**
269
+ * The character.
270
+ * This includes escape sequences which mean a character.
271
+ * E.g. `a`, `あ`, `✿`, `\x65`, `\u0065`, `\u{65}`, `\/`
272
+ */
273
+ export interface Character extends NodeBase {
274
+ type: "Character";
275
+ parent: Alternative | CharacterClass | CharacterClassRange | Quantifier;
276
+ value: number;
277
+ }
278
+ /**
279
+ * The backreference.
280
+ * E.g. `\1`, `\k<name>`
281
+ */
282
+ export interface Backreference extends NodeBase {
283
+ type: "Backreference";
284
+ parent: Alternative | Quantifier;
285
+ ref: number | string;
286
+ resolved: CapturingGroup;
287
+ }
288
+ /**
289
+ * The flags.
290
+ */
291
+ export interface Flags extends NodeBase {
292
+ type: "Flags";
293
+ parent: RegExpLiteral | null;
294
+ dotAll: boolean;
295
+ global: boolean;
296
+ hasIndices: boolean;
297
+ ignoreCase: boolean;
298
+ multiline: boolean;
299
+ sticky: boolean;
300
+ unicode: boolean;
301
+ }
302
+ }
303
+
304
+ declare module "@eslint-community/regexpp/parser" {
305
+ import type {
306
+ Flags,
307
+ RegExpLiteral,
308
+ Pattern,
309
+ } from "@eslint-community/regexpp/ast";
310
+ import type { EcmaVersion } from "@eslint-community/regexpp/ecma-versions";
311
+ export namespace RegExpParser {
312
+ /**
313
+ * The options for RegExpParser construction.
314
+ */
315
+ interface Options {
316
+ /**
317
+ * The flag to disable Annex B syntax. Default is `false`.
318
+ */
319
+ strict?: boolean;
320
+ /**
321
+ * ECMAScript version. Default is `2023`.
322
+ * - `2015` added `u` and `y` flags.
323
+ * - `2018` added `s` flag, Named Capturing Group, Lookbehind Assertion,
324
+ * and Unicode Property Escape.
325
+ * - `2019`, `2020`, and `2021` added more valid Unicode Property Escapes.
326
+ * - `2022` added `d` flag.
327
+ * - `2023` added more valid Unicode Property Escapes.
328
+ */
329
+ ecmaVersion?: EcmaVersion;
330
+ }
331
+ }
332
+ export class RegExpParser {
333
+ /**
334
+ * Initialize this parser.
335
+ * @param options The options of parser.
336
+ */
337
+ constructor(options?: RegExpParser.Options);
338
+ /**
339
+ * Parse a regular expression literal. E.g. "/abc/g"
340
+ * @param source The source code to parse.
341
+ * @param start The start index in the source code.
342
+ * @param end The end index in the source code.
343
+ * @returns The AST of the given regular expression.
344
+ */
345
+ parseLiteral(source: string, start?: number, end?: number): RegExpLiteral;
346
+ /**
347
+ * Parse a regular expression flags. E.g. "gim"
348
+ * @param source The source code to parse.
349
+ * @param start The start index in the source code.
350
+ * @param end The end index in the source code.
351
+ * @returns The AST of the given flags.
352
+ */
353
+ parseFlags(source: string, start?: number, end?: number): Flags;
354
+ /**
355
+ * Parse a regular expression pattern. E.g. "abc"
356
+ * @param source The source code to parse.
357
+ * @param start The start index in the source code.
358
+ * @param end The end index in the source code.
359
+ * @param uFlag The flag to set unicode mode.
360
+ * @returns The AST of the given pattern.
361
+ */
362
+ parsePattern(
363
+ source: string,
364
+ start?: number,
365
+ end?: number,
366
+ uFlag?: boolean
367
+ ): Pattern;
368
+ }
369
+ }
370
+
371
+ declare module "@eslint-community/regexpp/validator" {
372
+ import type { EcmaVersion } from "@eslint-community/regexpp/ecma-versions";
373
+ export namespace RegExpValidator {
374
+ /**
375
+ * The options for RegExpValidator construction.
376
+ */
377
+ interface Options {
378
+ /**
379
+ * The flag to disable Annex B syntax. Default is `false`.
380
+ */
381
+ strict?: boolean;
382
+ /**
383
+ * ECMAScript version. Default is `2023`.
384
+ * - `2015` added `u` and `y` flags.
385
+ * - `2018` added `s` flag, Named Capturing Group, Lookbehind Assertion,
386
+ * and Unicode Property Escape.
387
+ * - `2019`, `2020`, and `2021` added more valid Unicode Property Escapes.
388
+ * - `2022` added `d` flag.
389
+ * - `2023` added more valid Unicode Property Escapes.
390
+ */
391
+ ecmaVersion?: EcmaVersion;
392
+ /**
393
+ * A function that is called when the validator entered a RegExp literal.
394
+ * @param start The 0-based index of the first character.
395
+ */
396
+ onLiteralEnter?: (start: number) => void;
397
+ /**
398
+ * A function that is called when the validator left a RegExp literal.
399
+ * @param start The 0-based index of the first character.
400
+ * @param end The next 0-based index of the last character.
401
+ */
402
+ onLiteralLeave?: (start: number, end: number) => void;
403
+ /**
404
+ * A function that is called when the validator found flags.
405
+ * @param start The 0-based index of the first character.
406
+ * @param end The next 0-based index of the last character.
407
+ * @param flags.global `g` flag.
408
+ * @param flags.ignoreCase `i` flag.
409
+ * @param flags.multiline `m` flag.
410
+ * @param flags.unicode `u` flag.
411
+ * @param flags.sticky `y` flag.
412
+ * @param flags.dotAll `s` flag.
413
+ * @param flags.hasIndices `d` flag.
414
+ */
415
+ onRegExpFlags?: (
416
+ start: number,
417
+ end: number,
418
+ flags: {
419
+ global: boolean;
420
+ ignoreCase: boolean;
421
+ multiline: boolean;
422
+ unicode: boolean;
423
+ sticky: boolean;
424
+ dotAll: boolean;
425
+ hasIndices: boolean;
426
+ }
427
+ ) => void;
428
+ /**
429
+ * A function that is called when the validator found flags.
430
+ * @param start The 0-based index of the first character.
431
+ * @param end The next 0-based index of the last character.
432
+ * @param global `g` flag.
433
+ * @param ignoreCase `i` flag.
434
+ * @param multiline `m` flag.
435
+ * @param unicode `u` flag.
436
+ * @param sticky `y` flag.
437
+ * @param dotAll `s` flag.
438
+ * @param hasIndices `d` flag.
439
+ *
440
+ * @deprecated Use `onRegExpFlags` instead.
441
+ */
442
+ onFlags?: (
443
+ start: number,
444
+ end: number,
445
+ global: boolean,
446
+ ignoreCase: boolean,
447
+ multiline: boolean,
448
+ unicode: boolean,
449
+ sticky: boolean,
450
+ dotAll: boolean,
451
+ hasIndices: boolean
452
+ ) => void;
453
+ /**
454
+ * A function that is called when the validator entered a pattern.
455
+ * @param start The 0-based index of the first character.
456
+ */
457
+ onPatternEnter?: (start: number) => void;
458
+ /**
459
+ * A function that is called when the validator left a pattern.
460
+ * @param start The 0-based index of the first character.
461
+ * @param end The next 0-based index of the last character.
462
+ */
463
+ onPatternLeave?: (start: number, end: number) => void;
464
+ /**
465
+ * A function that is called when the validator entered a disjunction.
466
+ * @param start The 0-based index of the first character.
467
+ */
468
+ onDisjunctionEnter?: (start: number) => void;
469
+ /**
470
+ * A function that is called when the validator left a disjunction.
471
+ * @param start The 0-based index of the first character.
472
+ * @param end The next 0-based index of the last character.
473
+ */
474
+ onDisjunctionLeave?: (start: number, end: number) => void;
475
+ /**
476
+ * A function that is called when the validator entered an alternative.
477
+ * @param start The 0-based index of the first character.
478
+ * @param index The 0-based index of alternatives in a disjunction.
479
+ */
480
+ onAlternativeEnter?: (start: number, index: number) => void;
481
+ /**
482
+ * A function that is called when the validator left an alternative.
483
+ * @param start The 0-based index of the first character.
484
+ * @param end The next 0-based index of the last character.
485
+ * @param index The 0-based index of alternatives in a disjunction.
486
+ */
487
+ onAlternativeLeave?: (start: number, end: number, index: number) => void;
488
+ /**
489
+ * A function that is called when the validator entered an uncapturing group.
490
+ * @param start The 0-based index of the first character.
491
+ */
492
+ onGroupEnter?: (start: number) => void;
493
+ /**
494
+ * A function that is called when the validator left an uncapturing group.
495
+ * @param start The 0-based index of the first character.
496
+ * @param end The next 0-based index of the last character.
497
+ */
498
+ onGroupLeave?: (start: number, end: number) => void;
499
+ /**
500
+ * A function that is called when the validator entered a capturing group.
501
+ * @param start The 0-based index of the first character.
502
+ * @param name The group name.
503
+ */
504
+ onCapturingGroupEnter?: (start: number, name: string | null) => void;
505
+ /**
506
+ * A function that is called when the validator left a capturing group.
507
+ * @param start The 0-based index of the first character.
508
+ * @param end The next 0-based index of the last character.
509
+ * @param name The group name.
510
+ */
511
+ onCapturingGroupLeave?: (
512
+ start: number,
513
+ end: number,
514
+ name: string | null
515
+ ) => void;
516
+ /**
517
+ * A function that is called when the validator found a quantifier.
518
+ * @param start The 0-based index of the first character.
519
+ * @param end The next 0-based index of the last character.
520
+ * @param min The minimum number of repeating.
521
+ * @param max The maximum number of repeating.
522
+ * @param greedy The flag to choose the longest matching.
523
+ */
524
+ onQuantifier?: (
525
+ start: number,
526
+ end: number,
527
+ min: number,
528
+ max: number,
529
+ greedy: boolean
530
+ ) => void;
531
+ /**
532
+ * A function that is called when the validator entered a lookahead/lookbehind assertion.
533
+ * @param start The 0-based index of the first character.
534
+ * @param kind The kind of the assertion.
535
+ * @param negate The flag which represents that the assertion is negative.
536
+ */
537
+ onLookaroundAssertionEnter?: (
538
+ start: number,
539
+ kind: "lookahead" | "lookbehind",
540
+ negate: boolean
541
+ ) => void;
542
+ /**
543
+ * A function that is called when the validator left a lookahead/lookbehind assertion.
544
+ * @param start The 0-based index of the first character.
545
+ * @param end The next 0-based index of the last character.
546
+ * @param kind The kind of the assertion.
547
+ * @param negate The flag which represents that the assertion is negative.
548
+ */
549
+ onLookaroundAssertionLeave?: (
550
+ start: number,
551
+ end: number,
552
+ kind: "lookahead" | "lookbehind",
553
+ negate: boolean
554
+ ) => void;
555
+ /**
556
+ * A function that is called when the validator found an edge boundary assertion.
557
+ * @param start The 0-based index of the first character.
558
+ * @param end The next 0-based index of the last character.
559
+ * @param kind The kind of the assertion.
560
+ */
561
+ onEdgeAssertion?: (
562
+ start: number,
563
+ end: number,
564
+ kind: "end" | "start"
565
+ ) => void;
566
+ /**
567
+ * A function that is called when the validator found a word boundary assertion.
568
+ * @param start The 0-based index of the first character.
569
+ * @param end The next 0-based index of the last character.
570
+ * @param kind The kind of the assertion.
571
+ * @param negate The flag which represents that the assertion is negative.
572
+ */
573
+ onWordBoundaryAssertion?: (
574
+ start: number,
575
+ end: number,
576
+ kind: "word",
577
+ negate: boolean
578
+ ) => void;
579
+ /**
580
+ * A function that is called when the validator found a dot.
581
+ * @param start The 0-based index of the first character.
582
+ * @param end The next 0-based index of the last character.
583
+ * @param kind The kind of the character set.
584
+ */
585
+ onAnyCharacterSet?: (start: number, end: number, kind: "any") => void;
586
+ /**
587
+ * A function that is called when the validator found a character set escape.
588
+ * @param start The 0-based index of the first character.
589
+ * @param end The next 0-based index of the last character.
590
+ * @param kind The kind of the character set.
591
+ * @param negate The flag which represents that the character set is negative.
592
+ */
593
+ onEscapeCharacterSet?: (
594
+ start: number,
595
+ end: number,
596
+ kind: "digit" | "space" | "word",
597
+ negate: boolean
598
+ ) => void;
599
+ /**
600
+ * A function that is called when the validator found a Unicode proerty escape.
601
+ * @param start The 0-based index of the first character.
602
+ * @param end The next 0-based index of the last character.
603
+ * @param kind The kind of the character set.
604
+ * @param key The property name.
605
+ * @param value The property value.
606
+ * @param negate The flag which represents that the character set is negative.
607
+ */
608
+ onUnicodePropertyCharacterSet?: (
609
+ start: number,
610
+ end: number,
611
+ kind: "property",
612
+ key: string,
613
+ value: string | null,
614
+ negate: boolean
615
+ ) => void;
616
+ /**
617
+ * A function that is called when the validator found a character.
618
+ * @param start The 0-based index of the first character.
619
+ * @param end The next 0-based index of the last character.
620
+ * @param value The code point of the character.
621
+ */
622
+ onCharacter?: (start: number, end: number, value: number) => void;
623
+ /**
624
+ * A function that is called when the validator found a backreference.
625
+ * @param start The 0-based index of the first character.
626
+ * @param end The next 0-based index of the last character.
627
+ * @param ref The key of the referred capturing group.
628
+ */
629
+ onBackreference?: (
630
+ start: number,
631
+ end: number,
632
+ ref: number | string
633
+ ) => void;
634
+ /**
635
+ * A function that is called when the validator entered a character class.
636
+ * @param start The 0-based index of the first character.
637
+ * @param negate The flag which represents that the character class is negative.
638
+ */
639
+ onCharacterClassEnter?: (start: number, negate: boolean) => void;
640
+ /**
641
+ * A function that is called when the validator left a character class.
642
+ * @param start The 0-based index of the first character.
643
+ * @param end The next 0-based index of the last character.
644
+ * @param negate The flag which represents that the character class is negative.
645
+ */
646
+ onCharacterClassLeave?: (
647
+ start: number,
648
+ end: number,
649
+ negate: boolean
650
+ ) => void;
651
+ /**
652
+ * A function that is called when the validator found a character class range.
653
+ * @param start The 0-based index of the first character.
654
+ * @param end The next 0-based index of the last character.
655
+ * @param min The minimum code point of the range.
656
+ * @param max The maximum code point of the range.
657
+ */
658
+ onCharacterClassRange?: (
659
+ start: number,
660
+ end: number,
661
+ min: number,
662
+ max: number
663
+ ) => void;
664
+ }
665
+ }
666
+ /**
667
+ * The regular expression validator.
668
+ */
669
+ export class RegExpValidator {
670
+ /**
671
+ * Initialize this validator.
672
+ * @param options The options of validator.
673
+ */
674
+ constructor(options?: RegExpValidator.Options);
675
+ /**
676
+ * Validate a regular expression literal. E.g. "/abc/g"
677
+ * @param source The source code to validate.
678
+ * @param start The start index in the source code.
679
+ * @param end The end index in the source code.
680
+ */
681
+ validateLiteral(source: string, start?: number, end?: number): void;
682
+ /**
683
+ * Validate a regular expression flags. E.g. "gim"
684
+ * @param source The source code to validate.
685
+ * @param start The start index in the source code.
686
+ * @param end The end index in the source code.
687
+ */
688
+ validateFlags(source: string, start?: number, end?: number): void;
689
+ /**
690
+ * Validate a regular expression pattern. E.g. "abc"
691
+ * @param source The source code to validate.
692
+ * @param start The start index in the source code.
693
+ * @param end The end index in the source code.
694
+ * @param uFlag The flag to set unicode mode.
695
+ */
696
+ validatePattern(
697
+ source: string,
698
+ start?: number,
699
+ end?: number,
700
+ uFlag?: boolean
701
+ ): void;
702
+ }
703
+ }
704
+
705
+ declare module "@eslint-community/regexpp/visitor" {
706
+ import type {
707
+ Alternative,
708
+ Assertion,
709
+ Backreference,
710
+ CapturingGroup,
711
+ Character,
712
+ CharacterClass,
713
+ CharacterClassRange,
714
+ CharacterSet,
715
+ Flags,
716
+ Group,
717
+ Node,
718
+ Pattern,
719
+ Quantifier,
720
+ RegExpLiteral,
721
+ } from "@eslint-community/regexpp/ast";
722
+ /**
723
+ * The visitor to walk on AST.
724
+ */
725
+ export class RegExpVisitor {
726
+ /**
727
+ * Initialize this visitor.
728
+ * @param handlers Callbacks for each node.
729
+ */
730
+ constructor(handlers: RegExpVisitor.Handlers);
731
+ /**
732
+ * Visit a given node and descendant nodes.
733
+ * @param node The root node to visit tree.
734
+ */
735
+ visit(node: Node): void;
736
+ }
737
+ export namespace RegExpVisitor {
738
+ interface Handlers {
739
+ onAlternativeEnter?: (node: Alternative) => void;
740
+ onAlternativeLeave?: (node: Alternative) => void;
741
+ onAssertionEnter?: (node: Assertion) => void;
742
+ onAssertionLeave?: (node: Assertion) => void;
743
+ onBackreferenceEnter?: (node: Backreference) => void;
744
+ onBackreferenceLeave?: (node: Backreference) => void;
745
+ onCapturingGroupEnter?: (node: CapturingGroup) => void;
746
+ onCapturingGroupLeave?: (node: CapturingGroup) => void;
747
+ onCharacterEnter?: (node: Character) => void;
748
+ onCharacterLeave?: (node: Character) => void;
749
+ onCharacterClassEnter?: (node: CharacterClass) => void;
750
+ onCharacterClassLeave?: (node: CharacterClass) => void;
751
+ onCharacterClassRangeEnter?: (node: CharacterClassRange) => void;
752
+ onCharacterClassRangeLeave?: (node: CharacterClassRange) => void;
753
+ onCharacterSetEnter?: (node: CharacterSet) => void;
754
+ onCharacterSetLeave?: (node: CharacterSet) => void;
755
+ onFlagsEnter?: (node: Flags) => void;
756
+ onFlagsLeave?: (node: Flags) => void;
757
+ onGroupEnter?: (node: Group) => void;
758
+ onGroupLeave?: (node: Group) => void;
759
+ onPatternEnter?: (node: Pattern) => void;
760
+ onPatternLeave?: (node: Pattern) => void;
761
+ onQuantifierEnter?: (node: Quantifier) => void;
762
+ onQuantifierLeave?: (node: Quantifier) => void;
763
+ onRegExpLiteralEnter?: (node: RegExpLiteral) => void;
764
+ onRegExpLiteralLeave?: (node: RegExpLiteral) => void;
765
+ }
766
+ }
767
+ }
768
+
769
+ declare module "@eslint-community/regexpp/ecma-versions" {
770
+ export type EcmaVersion =
771
+ | 5
772
+ | 2015
773
+ | 2016
774
+ | 2017
775
+ | 2018
776
+ | 2019
777
+ | 2020
778
+ | 2021
779
+ | 2022
780
+ | 2023;
781
+ }