xo 0.53.1 → 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 (530) hide show
  1. package/config/plugins.cjs +27 -4
  2. package/lib/options-manager.js +11 -58
  3. package/node_modules/@eslint-community/eslint-utils/README.md +37 -0
  4. package/node_modules/{eslint-utils → @eslint-community/eslint-utils}/index.js +124 -12
  5. package/node_modules/@eslint-community/eslint-utils/index.js.map +1 -0
  6. package/node_modules/{eslint-utils → @eslint-community/eslint-utils}/index.mjs +124 -11
  7. package/node_modules/@eslint-community/eslint-utils/index.mjs.map +1 -0
  8. package/node_modules/@eslint-community/eslint-utils/package.json +73 -0
  9. package/node_modules/{regexpp → @eslint-community/regexpp}/README.md +9 -10
  10. package/node_modules/@eslint-community/regexpp/index.d.ts +781 -0
  11. package/node_modules/{regexpp → @eslint-community/regexpp}/index.js +297 -262
  12. package/node_modules/@eslint-community/regexpp/index.js.map +1 -0
  13. package/node_modules/{regexpp → @eslint-community/regexpp}/index.mjs +297 -262
  14. package/node_modules/@eslint-community/regexpp/index.mjs.map +1 -0
  15. package/node_modules/{regexpp → @eslint-community/regexpp}/package.json +60 -64
  16. package/node_modules/@typescript-eslint/eslint-plugin/LICENSE +1 -1
  17. package/node_modules/@typescript-eslint/eslint-plugin/README.md +6 -92
  18. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +10 -2
  19. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
  20. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +2 -1
  21. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -1
  22. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +4 -2
  23. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -1
  24. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +1 -1
  25. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
  26. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +2 -1
  27. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
  28. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +3 -3
  29. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -1
  30. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js +158 -0
  31. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js.map +1 -0
  32. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js +3 -1
  33. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js.map +1 -1
  34. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +1 -1
  35. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
  36. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +17 -7
  37. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map +1 -1
  38. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +47 -0
  39. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
  40. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +5 -11
  41. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
  42. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +22 -3
  43. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -1
  44. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +12 -0
  45. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -1
  46. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js +351 -0
  47. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js.map +1 -0
  48. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +53 -2
  49. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -1
  50. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js +384 -0
  51. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js.map +1 -0
  52. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +205 -39
  53. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -1
  54. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +14 -13
  55. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js.map +1 -1
  56. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +5 -0
  57. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -1
  58. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +6 -6
  59. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -1
  60. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +231 -198
  61. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
  62. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +5 -0
  63. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
  64. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +158 -0
  65. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js.map +1 -0
  66. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +19 -16
  67. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -1
  68. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +2 -2
  69. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
  70. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +45 -4
  71. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
  72. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +1 -1
  73. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
  74. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +79 -0
  75. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js.map +1 -0
  76. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +1 -1
  77. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
  78. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +1 -1
  79. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -1
  80. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +15 -15
  81. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
  82. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +196 -0
  83. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js.map +1 -0
  84. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +1 -1
  85. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
  86. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +3 -3
  87. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -1
  88. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +6 -1
  89. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -1
  90. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +21 -31
  91. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
  92. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +22 -7
  93. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -1
  94. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +4 -5
  95. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
  96. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +9 -9
  97. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
  98. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +1 -2
  99. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -1
  100. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +2 -2
  101. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -1
  102. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js +1 -0
  103. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js.map +1 -1
  104. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +1 -0
  105. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -1
  106. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +3 -5
  107. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
  108. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +4 -5
  109. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -1
  110. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +2 -2
  111. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -1
  112. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +19 -1
  113. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -1
  114. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +47 -11
  115. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
  116. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +2 -1
  117. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -1
  118. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +1 -1
  119. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -1
  120. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +2 -2
  121. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
  122. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +3 -1
  123. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -1
  124. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +1 -1
  125. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -1
  126. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +7 -0
  127. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -1
  128. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +5 -5
  129. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js.map +1 -1
  130. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +5 -5
  131. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
  132. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +1 -2
  133. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -1
  134. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +2 -1
  135. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
  136. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +46 -2
  137. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -1
  138. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +1 -1
  139. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -1
  140. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +1 -1
  141. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -1
  142. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +1 -1
  143. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
  144. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +1 -1
  145. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
  146. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +20 -0
  147. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js.map +1 -0
  148. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +2 -1
  149. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js.map +1 -1
  150. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +1 -0
  151. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -1
  152. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +1 -1
  153. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js.map +1 -1
  154. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +27 -1
  155. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
  156. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +3 -3
  157. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +1 -1
  158. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +3 -8
  159. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/block-spacing.md +12 -0
  160. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +1 -1
  161. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +2 -0
  162. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +9 -1
  163. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +52 -0
  164. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/key-spacing.md +12 -0
  165. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-around-comment.md +37 -0
  166. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +181 -20
  167. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +7 -6
  168. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-type-constituents.md +61 -0
  169. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +1 -1
  170. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-import-type-side-effects.md +75 -0
  171. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-mixed-enums.md +88 -0
  172. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +2 -2
  173. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +21 -0
  174. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +5 -0
  175. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +18 -1
  176. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +9 -0
  177. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +6 -0
  178. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +7 -10
  179. package/node_modules/@typescript-eslint/eslint-plugin/package.json +13 -9
  180. package/node_modules/@typescript-eslint/parser/LICENSE +5 -5
  181. package/node_modules/@typescript-eslint/parser/README.md +6 -300
  182. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/index.d.ts +4 -0
  183. package/node_modules/@typescript-eslint/parser/dist/index.d.ts +4 -0
  184. package/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +1 -1
  185. package/node_modules/@typescript-eslint/parser/dist/index.js +5 -1
  186. package/node_modules/@typescript-eslint/parser/dist/index.js.map +1 -1
  187. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
  188. package/node_modules/@typescript-eslint/parser/dist/parser.js +15 -17
  189. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
  190. package/node_modules/@typescript-eslint/parser/package.json +6 -6
  191. package/node_modules/@typescript-eslint/scope-manager/LICENSE +1 -1
  192. package/node_modules/@typescript-eslint/scope-manager/README.md +5 -117
  193. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +10 -10
  194. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
  195. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +1 -1
  196. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -1
  197. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts +3 -0
  198. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts.map +1 -0
  199. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +21 -0
  200. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js.map +1 -0
  201. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts +3 -0
  202. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts.map +1 -0
  203. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +15 -0
  204. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js.map +1 -0
  205. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
  206. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
  207. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +5 -0
  208. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
  209. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +44 -10
  210. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
  211. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -1
  212. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +1 -1
  213. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -1
  214. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -1
  215. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts +3 -0
  216. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts.map +1 -0
  217. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +12 -0
  218. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js.map +1 -0
  219. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +2 -1
  220. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -1
  221. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -1
  222. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +2 -1
  223. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -1
  224. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts +3 -0
  225. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts.map +1 -0
  226. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +15 -0
  227. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js.map +1 -0
  228. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts +3 -0
  229. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts.map +1 -0
  230. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +24 -0
  231. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js.map +1 -0
  232. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts +3 -0
  233. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts.map +1 -0
  234. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts +3 -0
  235. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts.map +1 -0
  236. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +14 -0
  237. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js.map +1 -0
  238. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +11 -0
  239. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js.map +1 -0
  240. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -1
  241. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +3 -105
  242. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -1
  243. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +2 -2
  244. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +7 -0
  245. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
  246. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +14 -0
  247. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
  248. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
  249. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -1
  250. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +2 -0
  251. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -1
  252. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +43 -1
  253. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
  254. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +4 -2
  255. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -1
  256. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +14 -6
  257. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -1
  258. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +1 -1
  259. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -1
  260. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -1
  261. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -1
  262. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +2 -2
  263. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -1
  264. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +10 -12
  265. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -1
  266. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +17 -17
  267. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -1
  268. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +2 -1
  269. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
  270. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +5 -2
  271. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
  272. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -1
  273. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -1
  274. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +1 -1
  275. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +1 -1
  276. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -1
  277. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +1 -1
  278. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -1
  279. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
  280. package/node_modules/@typescript-eslint/scope-manager/package.json +12 -12
  281. package/node_modules/@typescript-eslint/type-utils/LICENSE +1 -1
  282. package/node_modules/@typescript-eslint/type-utils/README.md +7 -10
  283. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/containsAllTypesByName.d.ts +4 -2
  284. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts +4 -2
  285. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts.map +1 -1
  286. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +12 -6
  287. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -1
  288. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -1
  289. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +2 -4
  290. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -1
  291. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts.map +1 -1
  292. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +1 -0
  293. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -1
  294. package/node_modules/@typescript-eslint/type-utils/package.json +6 -6
  295. package/node_modules/@typescript-eslint/types/LICENSE +1 -1
  296. package/node_modules/@typescript-eslint/types/README.md +6 -11
  297. package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +90 -16
  298. package/node_modules/@typescript-eslint/types/_ts3.4/dist/lib.d.ts +1 -1
  299. package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +9 -5
  300. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +90 -16
  301. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -1
  302. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +3 -0
  303. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -1
  304. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
  305. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
  306. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +9 -5
  307. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
  308. package/node_modules/@typescript-eslint/types/package.json +6 -6
  309. package/node_modules/@typescript-eslint/typescript-estree/LICENSE +5 -5
  310. package/node_modules/@typescript-eslint/typescript-estree/README.md +6 -379
  311. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/clear-caches.d.ts +10 -0
  312. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/describeFilePath.d.ts +2 -0
  313. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/{createWatchProgram.d.ts → getWatchProgramsForProjects.d.ts} +3 -4
  314. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +8 -2
  315. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +2 -2
  316. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/ExpiringCache.d.ts +17 -0
  317. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/createParseSettings.d.ts +1 -0
  318. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/getProjectConfigFiles.d.ts +12 -0
  319. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/index.d.ts +8 -3
  320. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/resolveProjectList.d.ts +19 -0
  321. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +23 -4
  322. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +1 -1
  323. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/simple-traverse.d.ts +1 -1
  324. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/estree-to-ts-node-types.d.ts +4 -1
  325. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/ts-nodes.d.ts +4 -2
  326. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/version-check.d.ts +1 -1
  327. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts +10 -0
  328. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts.map +1 -0
  329. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +24 -0
  330. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js.map +1 -0
  331. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -1
  332. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
  333. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
  334. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +62 -16
  335. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
  336. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +1 -1
  337. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +1 -0
  338. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -1
  339. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -1
  340. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +7 -12
  341. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -1
  342. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.d.ts +2 -0
  343. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.d.ts.map +1 -0
  344. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +32 -0
  345. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js.map +1 -0
  346. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/{createWatchProgram.d.ts → getWatchProgramsForProjects.d.ts} +3 -4
  347. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +1 -0
  348. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/{createWatchProgram.js → getWatchProgramsForProjects.js} +16 -20
  349. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +1 -0
  350. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +8 -2
  351. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -1
  352. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +15 -1
  353. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
  354. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts.map +1 -1
  355. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +3 -3
  356. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -1
  357. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +2 -2
  358. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -1
  359. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +2 -4
  360. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
  361. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
  362. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +18 -5
  363. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
  364. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts +17 -0
  365. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts.map +1 -0
  366. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +62 -0
  367. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js.map +1 -0
  368. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts +1 -0
  369. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map +1 -1
  370. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +22 -48
  371. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +1 -1
  372. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts +12 -0
  373. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map +1 -0
  374. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +70 -0
  375. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +1 -0
  376. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts +8 -3
  377. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts.map +1 -1
  378. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.d.ts +19 -0
  379. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.d.ts.map +1 -0
  380. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +103 -0
  381. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +1 -0
  382. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +4 -4
  383. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js.map +1 -1
  384. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +23 -4
  385. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +1 -1
  386. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +1 -1
  387. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -1
  388. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -1
  389. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
  390. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +1 -1
  391. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +1 -1
  392. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +1 -1
  393. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -1
  394. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +4 -1
  395. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -1
  396. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +4 -2
  397. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +1 -1
  398. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +1 -1
  399. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +1 -1
  400. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +2 -0
  401. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -1
  402. package/node_modules/@typescript-eslint/typescript-estree/package.json +5 -6
  403. package/node_modules/@typescript-eslint/utils/LICENSE +1 -1
  404. package/node_modules/@typescript-eslint/utils/README.md +6 -23
  405. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +4 -4
  406. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +4 -4
  407. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/astUtilities.d.ts +6 -6
  408. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/predicates.d.ts +5 -5
  409. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +2 -2
  410. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/helpers.d.ts +60 -6
  411. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/predicates.d.ts +13 -1
  412. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/InferTypesFromRule.d.ts +2 -2
  413. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +2 -2
  414. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/deepMerge.d.ts +1 -1
  415. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/rule-tester/RuleTester.d.ts +3 -3
  416. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/rule-tester/dependencyConstraints.d.ts +2 -2
  417. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Rule.d.ts +6 -6
  418. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +1 -1
  419. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/SourceCode.d.ts +5 -1
  420. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Options.d.ts +1 -1
  421. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Reference.d.ts +1 -1
  422. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Scope.d.ts +1 -1
  423. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +4 -4
  424. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +2 -2
  425. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -1
  426. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +4 -4
  427. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +2 -2
  428. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -1
  429. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +6 -6
  430. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +7 -7
  431. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -1
  432. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +5 -5
  433. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map +1 -1
  434. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +1 -1
  435. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -1
  436. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +2 -2
  437. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +3 -3
  438. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -1
  439. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +60 -6
  440. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
  441. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +13 -1
  442. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
  443. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +15 -1
  444. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -1
  445. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts +2 -2
  446. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map +1 -1
  447. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +2 -2
  448. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts.map +1 -1
  449. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +1 -1
  450. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +1 -1
  451. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts +1 -1
  452. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts.map +1 -1
  453. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +1 -1
  454. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js.map +1 -1
  455. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.d.ts +3 -3
  456. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.d.ts.map +1 -1
  457. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.js +40 -27
  458. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.js.map +1 -1
  459. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/dependencyConstraints.d.ts +2 -2
  460. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/dependencyConstraints.d.ts.map +1 -1
  461. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +6 -6
  462. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -1
  463. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +1 -1
  464. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -1
  465. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +5 -1
  466. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -1
  467. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -1
  468. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Options.d.ts +1 -1
  469. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Options.d.ts.map +1 -1
  470. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts +1 -1
  471. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts.map +1 -1
  472. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Scope.d.ts +1 -1
  473. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Scope.d.ts.map +1 -1
  474. package/node_modules/@typescript-eslint/utils/package.json +8 -8
  475. package/node_modules/@typescript-eslint/visitor-keys/LICENSE +1 -1
  476. package/node_modules/@typescript-eslint/visitor-keys/README.md +6 -9
  477. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -1
  478. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +63 -48
  479. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
  480. package/node_modules/@typescript-eslint/visitor-keys/package.json +4 -4
  481. package/node_modules/eslint-config-xo-typescript/index.js +8 -11
  482. package/node_modules/eslint-config-xo-typescript/package.json +5 -5
  483. package/node_modules/eslint-visitor-keys/README.md +1 -2
  484. package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +38 -36
  485. package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +38 -35
  486. package/node_modules/eslint-visitor-keys/package.json +16 -6
  487. package/node_modules/fastq/README.md +1 -1
  488. package/node_modules/fastq/index.d.ts +1 -1
  489. package/node_modules/fastq/package.json +1 -1
  490. package/node_modules/fastq/queue.js +6 -0
  491. package/node_modules/fastq/test/promise.js +27 -0
  492. package/node_modules/grapheme-splitter/LICENSE +22 -0
  493. package/node_modules/grapheme-splitter/README.md +111 -0
  494. package/node_modules/grapheme-splitter/index.d.ts +24 -0
  495. package/node_modules/grapheme-splitter/index.js +1743 -0
  496. package/node_modules/grapheme-splitter/package.json +34 -0
  497. package/node_modules/grapheme-splitter/tests/GraphemeBreakTest.txt +850 -0
  498. package/node_modules/grapheme-splitter/tests/grapheme_splitter_tests.js +83 -0
  499. package/node_modules/ignore/README.md +3 -3
  500. package/node_modules/ignore/index.js +24 -9
  501. package/node_modules/ignore/legacy.js +176 -135
  502. package/node_modules/ignore/package.json +13 -11
  503. package/package.json +19 -19
  504. package/readme.md +1 -2
  505. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +0 -1
  506. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +0 -1
  507. package/node_modules/braces/CHANGELOG.md +0 -184
  508. package/node_modules/eslint-scope/CHANGELOG.md +0 -70
  509. package/node_modules/eslint-utils/README.md +0 -38
  510. package/node_modules/eslint-utils/index.js.map +0 -1
  511. package/node_modules/eslint-utils/index.mjs.map +0 -1
  512. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/CHANGELOG.md +0 -36
  513. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/LICENSE +0 -201
  514. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/README.md +0 -98
  515. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/lib/index.js +0 -81
  516. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/lib/visitor-keys.json +0 -289
  517. package/node_modules/eslint-utils/node_modules/eslint-visitor-keys/package.json +0 -39
  518. package/node_modules/eslint-utils/package.json +0 -78
  519. package/node_modules/glob-parent/CHANGELOG.md +0 -110
  520. package/node_modules/picomatch/CHANGELOG.md +0 -136
  521. package/node_modules/regexpp/index.d.ts +0 -248
  522. package/node_modules/regexpp/index.js.map +0 -1
  523. package/node_modules/regexpp/index.mjs.map +0 -1
  524. /package/node_modules/{eslint-utils → @eslint-community/eslint-utils}/LICENSE +0 -0
  525. /package/node_modules/{regexpp → @eslint-community/regexpp}/LICENSE +0 -0
  526. /package/node_modules/{yallist → semver/node_modules/yallist}/LICENSE +0 -0
  527. /package/node_modules/{yallist → semver/node_modules/yallist}/README.md +0 -0
  528. /package/node_modules/{yallist → semver/node_modules/yallist}/iterator.js +0 -0
  529. /package/node_modules/{yallist → semver/node_modules/yallist}/package.json +0 -0
  530. /package/node_modules/{yallist → semver/node_modules/yallist}/yallist.js +0 -0
@@ -1,5 +1,9 @@
1
1
  import { AST_NODE_TYPES, AST_TOKEN_TYPES, TSESTree } from '../ts-estree';
2
- export declare const isNodeOfType: <NodeType extends AST_NODE_TYPES>(nodeType: NodeType) => (node: TSESTree.Node | null | undefined) => node is Extract<TSESTree.ArrayExpression, {
2
+ export declare const isNodeOfType: <NodeType extends AST_NODE_TYPES>(nodeType: NodeType) => (node: TSESTree.Node | null | undefined) => node is Extract<TSESTree.AccessorPropertyComputedName, {
3
+ type: NodeType;
4
+ }> | Extract<TSESTree.AccessorPropertyNonComputedName, {
5
+ type: NodeType;
6
+ }> | Extract<TSESTree.ArrayExpression, {
3
7
  type: NodeType;
4
8
  }> | Extract<TSESTree.ArrayPattern, {
5
9
  type: NodeType;
@@ -187,6 +191,10 @@ export declare const isNodeOfType: <NodeType extends AST_NODE_TYPES>(nodeType: N
187
191
  type: NodeType;
188
192
  }> | Extract<TSESTree.TryStatement, {
189
193
  type: NodeType;
194
+ }> | Extract<TSESTree.TSAbstractAccessorPropertyComputedName, {
195
+ type: NodeType;
196
+ }> | Extract<TSESTree.TSAbstractAccessorPropertyNonComputedName, {
197
+ type: NodeType;
190
198
  }> | Extract<TSESTree.TSAbstractKeyword, {
191
199
  type: NodeType;
192
200
  }> | Extract<TSESTree.TSAbstractMethodDefinitionComputedName, {
@@ -271,7 +279,15 @@ export declare const isNodeOfType: <NodeType extends AST_NODE_TYPES>(nodeType: N
271
279
  type: NodeType;
272
280
  }> | Extract<TSESTree.TSModuleBlock, {
273
281
  type: NodeType;
274
- }> | Extract<TSESTree.TSModuleDeclaration, {
282
+ }> | Extract<TSESTree.TSModuleDeclarationGlobal, {
283
+ type: NodeType;
284
+ }> | Extract<TSESTree.TSModuleDeclarationModuleWithIdentifierId, {
285
+ type: NodeType;
286
+ }> | Extract<TSESTree.TSModuleDeclarationModuleWithStringIdDeclared, {
287
+ type: NodeType;
288
+ }> | Extract<TSESTree.TSModuleDeclarationModuleWithStringIdNotDeclared, {
289
+ type: NodeType;
290
+ }> | Extract<TSESTree.TSModuleDeclarationNamespace, {
275
291
  type: NodeType;
276
292
  }> | Extract<TSESTree.TSNamedTupleMember, {
277
293
  type: NodeType;
@@ -307,6 +323,8 @@ export declare const isNodeOfType: <NodeType extends AST_NODE_TYPES>(nodeType: N
307
323
  type: NodeType;
308
324
  }> | Extract<TSESTree.TSRestType, {
309
325
  type: NodeType;
326
+ }> | Extract<TSESTree.TSSatisfiesExpression, {
327
+ type: NodeType;
310
328
  }> | Extract<TSESTree.TSStaticKeyword, {
311
329
  type: NodeType;
312
330
  }> | Extract<TSESTree.TSStringKeyword, {
@@ -364,7 +382,11 @@ export declare const isNodeOfType: <NodeType extends AST_NODE_TYPES>(nodeType: N
364
382
  }> | Extract<TSESTree.YieldExpression, {
365
383
  type: NodeType;
366
384
  }>;
367
- export declare const isNodeOfTypes: <NodeTypes extends readonly AST_NODE_TYPES[]>(nodeTypes: NodeTypes) => (node: TSESTree.Node | null | undefined) => node is Extract<TSESTree.ArrayExpression, {
385
+ export declare const isNodeOfTypes: <NodeTypes extends readonly AST_NODE_TYPES[]>(nodeTypes: NodeTypes) => (node: TSESTree.Node | null | undefined) => node is Extract<TSESTree.AccessorPropertyComputedName, {
386
+ type: NodeTypes[number];
387
+ }> | Extract<TSESTree.AccessorPropertyNonComputedName, {
388
+ type: NodeTypes[number];
389
+ }> | Extract<TSESTree.ArrayExpression, {
368
390
  type: NodeTypes[number];
369
391
  }> | Extract<TSESTree.ArrayPattern, {
370
392
  type: NodeTypes[number];
@@ -552,6 +574,10 @@ export declare const isNodeOfTypes: <NodeTypes extends readonly AST_NODE_TYPES[]
552
574
  type: NodeTypes[number];
553
575
  }> | Extract<TSESTree.TryStatement, {
554
576
  type: NodeTypes[number];
577
+ }> | Extract<TSESTree.TSAbstractAccessorPropertyComputedName, {
578
+ type: NodeTypes[number];
579
+ }> | Extract<TSESTree.TSAbstractAccessorPropertyNonComputedName, {
580
+ type: NodeTypes[number];
555
581
  }> | Extract<TSESTree.TSAbstractKeyword, {
556
582
  type: NodeTypes[number];
557
583
  }> | Extract<TSESTree.TSAbstractMethodDefinitionComputedName, {
@@ -636,7 +662,15 @@ export declare const isNodeOfTypes: <NodeTypes extends readonly AST_NODE_TYPES[]
636
662
  type: NodeTypes[number];
637
663
  }> | Extract<TSESTree.TSModuleBlock, {
638
664
  type: NodeTypes[number];
639
- }> | Extract<TSESTree.TSModuleDeclaration, {
665
+ }> | Extract<TSESTree.TSModuleDeclarationGlobal, {
666
+ type: NodeTypes[number];
667
+ }> | Extract<TSESTree.TSModuleDeclarationModuleWithIdentifierId, {
668
+ type: NodeTypes[number];
669
+ }> | Extract<TSESTree.TSModuleDeclarationModuleWithStringIdDeclared, {
670
+ type: NodeTypes[number];
671
+ }> | Extract<TSESTree.TSModuleDeclarationModuleWithStringIdNotDeclared, {
672
+ type: NodeTypes[number];
673
+ }> | Extract<TSESTree.TSModuleDeclarationNamespace, {
640
674
  type: NodeTypes[number];
641
675
  }> | Extract<TSESTree.TSNamedTupleMember, {
642
676
  type: NodeTypes[number];
@@ -672,6 +706,8 @@ export declare const isNodeOfTypes: <NodeTypes extends readonly AST_NODE_TYPES[]
672
706
  type: NodeTypes[number];
673
707
  }> | Extract<TSESTree.TSRestType, {
674
708
  type: NodeTypes[number];
709
+ }> | Extract<TSESTree.TSSatisfiesExpression, {
710
+ type: NodeTypes[number];
675
711
  }> | Extract<TSESTree.TSStaticKeyword, {
676
712
  type: NodeTypes[number];
677
713
  }> | Extract<TSESTree.TSStringKeyword, {
@@ -729,7 +765,11 @@ export declare const isNodeOfTypes: <NodeTypes extends readonly AST_NODE_TYPES[]
729
765
  }> | Extract<TSESTree.YieldExpression, {
730
766
  type: NodeTypes[number];
731
767
  }>;
732
- export declare const isNodeOfTypeWithConditions: <NodeType extends AST_NODE_TYPES, ExtractedNode extends Extract<TSESTree.ArrayExpression, {
768
+ export declare const isNodeOfTypeWithConditions: <NodeType extends AST_NODE_TYPES, ExtractedNode extends Extract<TSESTree.AccessorPropertyComputedName, {
769
+ type: NodeType;
770
+ }> | Extract<TSESTree.AccessorPropertyNonComputedName, {
771
+ type: NodeType;
772
+ }> | Extract<TSESTree.ArrayExpression, {
733
773
  type: NodeType;
734
774
  }> | Extract<TSESTree.ArrayPattern, {
735
775
  type: NodeType;
@@ -917,6 +957,10 @@ export declare const isNodeOfTypeWithConditions: <NodeType extends AST_NODE_TYPE
917
957
  type: NodeType;
918
958
  }> | Extract<TSESTree.TryStatement, {
919
959
  type: NodeType;
960
+ }> | Extract<TSESTree.TSAbstractAccessorPropertyComputedName, {
961
+ type: NodeType;
962
+ }> | Extract<TSESTree.TSAbstractAccessorPropertyNonComputedName, {
963
+ type: NodeType;
920
964
  }> | Extract<TSESTree.TSAbstractKeyword, {
921
965
  type: NodeType;
922
966
  }> | Extract<TSESTree.TSAbstractMethodDefinitionComputedName, {
@@ -1001,7 +1045,15 @@ export declare const isNodeOfTypeWithConditions: <NodeType extends AST_NODE_TYPE
1001
1045
  type: NodeType;
1002
1046
  }> | Extract<TSESTree.TSModuleBlock, {
1003
1047
  type: NodeType;
1004
- }> | Extract<TSESTree.TSModuleDeclaration, {
1048
+ }> | Extract<TSESTree.TSModuleDeclarationGlobal, {
1049
+ type: NodeType;
1050
+ }> | Extract<TSESTree.TSModuleDeclarationModuleWithIdentifierId, {
1051
+ type: NodeType;
1052
+ }> | Extract<TSESTree.TSModuleDeclarationModuleWithStringIdDeclared, {
1053
+ type: NodeType;
1054
+ }> | Extract<TSESTree.TSModuleDeclarationModuleWithStringIdNotDeclared, {
1055
+ type: NodeType;
1056
+ }> | Extract<TSESTree.TSModuleDeclarationNamespace, {
1005
1057
  type: NodeType;
1006
1058
  }> | Extract<TSESTree.TSNamedTupleMember, {
1007
1059
  type: NodeType;
@@ -1037,6 +1089,8 @@ export declare const isNodeOfTypeWithConditions: <NodeType extends AST_NODE_TYPE
1037
1089
  type: NodeType;
1038
1090
  }> | Extract<TSESTree.TSRestType, {
1039
1091
  type: NodeType;
1092
+ }> | Extract<TSESTree.TSSatisfiesExpression, {
1093
+ type: NodeType;
1040
1094
  }> | Extract<TSESTree.TSStaticKeyword, {
1041
1095
  type: NodeType;
1042
1096
  }> | Extract<TSESTree.TSStringKeyword, {
@@ -53,6 +53,18 @@ declare const isAwaitExpression: (node: TSESTree.Node | null | undefined) => nod
53
53
  declare const isAwaitKeyword: (token: TSESTree.Token | null | undefined) => token is TSESTree.IdentifierToken & {
54
54
  value: "await";
55
55
  };
56
+ /**
57
+ * Checks if a possible token is the `type` keyword.
58
+ */
59
+ declare const isTypeKeyword: (token: TSESTree.Token | null | undefined) => token is TSESTree.IdentifierToken & {
60
+ value: "type";
61
+ };
62
+ /**
63
+ * Checks if a possible token is the `import` keyword.
64
+ */
65
+ declare const isImportKeyword: (token: TSESTree.Token | null | undefined) => token is TSESTree.KeywordToken & {
66
+ value: "import";
67
+ };
56
68
  declare const isLoop: (node: TSESTree.Node | null | undefined) => node is TSESTree.DoWhileStatement | TSESTree.ForInStatement | TSESTree.ForOfStatement | TSESTree.ForStatement | TSESTree.WhileStatement;
57
- export { isAwaitExpression, isAwaitKeyword, isConstructor, isClassOrTypeElement, isFunction, isFunctionOrFunctionType, isFunctionType, isIdentifier, isLoop, isLogicalOrOperator, isNonNullAssertionPunctuator, isNotNonNullAssertionPunctuator, isNotOptionalChainPunctuator, isOptionalChainPunctuator, isOptionalCallExpression, isSetter, isTSConstructorType, isTSFunctionType, isTypeAssertion, isVariableDeclarator, };
69
+ export { isAwaitExpression, isAwaitKeyword, isConstructor, isClassOrTypeElement, isFunction, isFunctionOrFunctionType, isFunctionType, isIdentifier, isImportKeyword, isLoop, isLogicalOrOperator, isNonNullAssertionPunctuator, isNotNonNullAssertionPunctuator, isNotOptionalChainPunctuator, isOptionalChainPunctuator, isOptionalCallExpression, isSetter, isTSConstructorType, isTSFunctionType, isTypeAssertion, isTypeKeyword, isVariableDeclarator, };
58
70
  //# sourceMappingURL=predicates.d.ts.map
@@ -2,10 +2,10 @@ import { RuleCreateFunction, RuleModule } from '../ts-eslint';
2
2
  /**
3
3
  * Uses type inference to fetch the TOptions type from the given RuleModule
4
4
  */
5
- declare type InferOptionsTypeFromRule<T> = T extends RuleModule<infer _TMessageIds, infer TOptions> ? TOptions : T extends RuleCreateFunction<infer _TMessageIds, infer TOptions> ? TOptions : unknown;
5
+ type InferOptionsTypeFromRule<T> = T extends RuleModule<infer _TMessageIds, infer TOptions> ? TOptions : T extends RuleCreateFunction<infer _TMessageIds, infer TOptions> ? TOptions : unknown;
6
6
  /**
7
7
  * Uses type inference to fetch the TMessageIds type from the given RuleModule
8
8
  */
9
- declare type InferMessageIdsTypeFromRule<T> = T extends RuleModule<infer TMessageIds, infer _TOptions> ? TMessageIds : T extends RuleCreateFunction<infer TMessageIds, infer _TOptions> ? TMessageIds : unknown;
9
+ type InferMessageIdsTypeFromRule<T> = T extends RuleModule<infer TMessageIds, infer _TOptions> ? TMessageIds : T extends RuleCreateFunction<infer TMessageIds, infer _TOptions> ? TMessageIds : unknown;
10
10
  export { InferOptionsTypeFromRule, InferMessageIdsTypeFromRule };
11
11
  //# sourceMappingURL=InferTypesFromRule.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { RuleContext, RuleListener, RuleMetaData, RuleMetaDataDocs, RuleModule } from '../ts-eslint/Rule';
2
- export declare type NamedCreateRuleMetaDocs = Pick<RuleMetaDataDocs, Exclude<keyof RuleMetaDataDocs, 'url'>>;
3
- export declare type NamedCreateRuleMeta<TMessageIds extends string> = {
2
+ export type NamedCreateRuleMetaDocs = Pick<RuleMetaDataDocs, Exclude<keyof RuleMetaDataDocs, 'url'>>;
3
+ export type NamedCreateRuleMeta<TMessageIds extends string> = {
4
4
  docs: NamedCreateRuleMetaDocs;
5
5
  } & Pick<RuleMetaData<TMessageIds>, Exclude<keyof RuleMetaData<TMessageIds>, 'docs'>>;
6
6
  export interface RuleCreateAndOptions<TOptions extends readonly unknown[], TMessageIds extends string, TRuleListener extends RuleListener> {
@@ -1,4 +1,4 @@
1
- declare type ObjectLike<T = unknown> = Record<string, T>;
1
+ type ObjectLike<T = unknown> = Record<string, T>;
2
2
  /**
3
3
  * Check if the variable contains an object strictly rejecting arrays
4
4
  * @param obj an object
@@ -2,7 +2,7 @@ import { RuleModule } from '../../ts-eslint/Rule';
2
2
  import * as BaseRuleTester from '../../ts-eslint/RuleTester';
3
3
  import { DependencyConstraint } from './dependencyConstraints';
4
4
  declare const TS_ESLINT_PARSER = "@typescript-eslint/parser";
5
- declare type RuleTesterConfig = Pick<BaseRuleTester.RuleTesterConfig, Exclude<keyof BaseRuleTester.RuleTesterConfig, 'parser'>> & {
5
+ type RuleTesterConfig = Pick<BaseRuleTester.RuleTesterConfig, Exclude<keyof BaseRuleTester.RuleTesterConfig, 'parser'>> & {
6
6
  parser: typeof TS_ESLINT_PARSER;
7
7
  /**
8
8
  * Constraints that must pass in the current environment for any tests to run
@@ -25,7 +25,7 @@ interface RunTests<TMessageIds extends string, TOptions extends Readonly<unknown
25
25
  readonly valid: readonly (ValidTestCase<TOptions> | string)[];
26
26
  readonly invalid: readonly InvalidTestCase<TMessageIds, TOptions>[];
27
27
  }
28
- declare type AfterAll = (fn: () => void) => void;
28
+ type AfterAll = (fn: () => void) => void;
29
29
  declare class RuleTester extends BaseRuleTester.RuleTester {
30
30
  private "RuleTester.#private";
31
31
  /*
@@ -42,7 +42,7 @@ declare class RuleTester extends BaseRuleTester.RuleTester {
42
42
  * Simple no-op tag to mark code samples as "should not format with prettier"
43
43
  * for the internal/plugin-test-formatting lint rule
44
44
  */
45
- declare function noFormat(strings: TemplateStringsArray, ...keys: string[]): string;
45
+ declare function noFormat(raw: TemplateStringsArray, ...keys: string[]): string;
46
46
  export { noFormat, RuleTester };
47
47
  export { InvalidTestCase, ValidTestCase, RunTests };
48
48
  //# sourceMappingURL=RuleTester.d.ts.map
@@ -3,8 +3,8 @@ interface SemverVersionConstraint {
3
3
  readonly range: string;
4
4
  readonly options?: Parameters<typeof semver.satisfies>[2];
5
5
  }
6
- declare type AtLeastVersionConstraint = `${number}` | `${number}.${number}` | `${number}.${number}.${number}` | `${number}.${number}.${number}-${string}`;
7
- declare type VersionConstraint = SemverVersionConstraint | AtLeastVersionConstraint;
6
+ type AtLeastVersionConstraint = string | string | string | string;
7
+ type VersionConstraint = SemverVersionConstraint | AtLeastVersionConstraint;
8
8
  interface DependencyConstraint {
9
9
  /**
10
10
  * Passing a string for the value is shorthand for a '>=' constraint
@@ -4,7 +4,7 @@ import { AST } from './AST';
4
4
  import { Linter } from './Linter';
5
5
  import { Scope } from './Scope';
6
6
  import { SourceCode } from './SourceCode';
7
- export declare type RuleRecommendation = 'error' | 'strict' | 'warn' | false;
7
+ export type RuleRecommendation = 'error' | 'strict' | 'warn' | false;
8
8
  interface RuleMetaDataDocs {
9
9
  /**
10
10
  * Concise description of the rule
@@ -92,8 +92,8 @@ interface RuleFixer {
92
92
  interface SuggestionReportDescriptor<TMessageIds extends string> extends Pick<ReportDescriptorBase<TMessageIds>, Exclude<keyof ReportDescriptorBase<TMessageIds>, 'fix'>> {
93
93
  readonly fix: ReportFixFunction;
94
94
  }
95
- declare type ReportFixFunction = (fixer: RuleFixer) => null | RuleFix | readonly RuleFix[] | IterableIterator<RuleFix>;
96
- declare type ReportSuggestionArray<TMessageIds extends string> = SuggestionReportDescriptor<TMessageIds>[];
95
+ type ReportFixFunction = (fixer: RuleFixer) => null | RuleFix | readonly RuleFix[] | IterableIterator<RuleFix>;
96
+ type ReportSuggestionArray<TMessageIds extends string> = SuggestionReportDescriptor<TMessageIds>[];
97
97
  interface ReportDescriptorBase<TMessageIds extends string> {
98
98
  /**
99
99
  * The parameters for the message string associated with `messageId`.
@@ -130,7 +130,7 @@ interface ReportDescriptorLocOnly {
130
130
  */
131
131
  loc: Readonly<TSESTree.SourceLocation> | Readonly<TSESTree.Position>;
132
132
  }
133
- declare type ReportDescriptor<TMessageIds extends string> = ReportDescriptorWithSuggestion<TMessageIds> & (ReportDescriptorNodeOptionalLoc | ReportDescriptorLocOnly);
133
+ type ReportDescriptor<TMessageIds extends string> = ReportDescriptorWithSuggestion<TMessageIds> & (ReportDescriptorNodeOptionalLoc | ReportDescriptorLocOnly);
134
134
  /**
135
135
  * Plugins can add their settings using declaration
136
136
  * merging against this interface.
@@ -211,7 +211,7 @@ interface RuleContext<TMessageIds extends string, TOptions extends readonly unkn
211
211
  */
212
212
  report(descriptor: ReportDescriptor<TMessageIds>): void;
213
213
  }
214
- declare type RuleFunction<T extends TSESTree.BaseNode = never> = (node: T) => void;
214
+ type RuleFunction<T extends TSESTree.BaseNode = never> = (node: T) => void;
215
215
  interface RuleListener {
216
216
  [nodeSelector: string]: RuleFunction | undefined;
217
217
  ArrayExpression?: RuleFunction<TSESTree.ArrayExpression>;
@@ -388,6 +388,6 @@ interface RuleModule<TMessageIds extends string, TOptions extends readonly unkno
388
388
  */
389
389
  create(context: Readonly<RuleContext<TMessageIds, TOptions>>): TRuleListener;
390
390
  }
391
- declare type RuleCreateFunction<TMessageIds extends string = never, TOptions extends readonly unknown[] = unknown[], TRuleListener extends RuleListener = RuleListener> = (context: Readonly<RuleContext<TMessageIds, TOptions>>) => TRuleListener;
391
+ type RuleCreateFunction<TMessageIds extends string = never, TOptions extends readonly unknown[] = unknown[], TRuleListener extends RuleListener = RuleListener> = (context: Readonly<RuleContext<TMessageIds, TOptions>>) => TRuleListener;
392
392
  export { ReportDescriptor, ReportFixFunction, ReportSuggestionArray, RuleContext, RuleCreateFunction, RuleFix, RuleFixer, RuleFunction, RuleListener, RuleMetaData, RuleMetaDataDocs, RuleModule, SharedConfigurationSettings, };
393
393
  //# sourceMappingURL=Rule.d.ts.map
@@ -109,7 +109,7 @@ interface TestCaseError<TMessageIds extends string> {
109
109
  * @param text a string describing the rule
110
110
  * @param callback the test callback
111
111
  */
112
- declare type RuleTesterTestFrameworkFunction = (text: string, callback: () => void) => void;
112
+ type RuleTesterTestFrameworkFunction = (text: string, callback: () => void) => void;
113
113
  interface RunTests<TMessageIds extends string, TOptions extends Readonly<unknown[]>> {
114
114
  readonly valid: readonly (ValidTestCase<TOptions> | string)[];
115
115
  readonly invalid: readonly InvalidTestCase<TMessageIds, TOptions>[];
@@ -303,9 +303,13 @@ declare namespace SourceCode {
303
303
  [nodeType: string]: string[];
304
304
  }
305
305
  type FilterPredicate = (token: TSESTree.Token) => boolean;
306
+ type GetFilterPredicate<TFilter, TDefault> = TFilter extends ((token: TSESTree.Token) => token is infer U extends TSESTree.Token) ? U : TDefault;
307
+ type GetFilterPredicateFromOptions<TOptions, TDefault> = TOptions extends {
308
+ filter?: FilterPredicate;
309
+ } ? GetFilterPredicate<TOptions['filter'], TDefault> : GetFilterPredicate<TOptions, TDefault>;
306
310
  type ReturnTypeFromOptions<T> = T extends {
307
311
  includeComments: true;
308
- } ? TSESTree.Token : Exclude<TSESTree.Token, TSESTree.Comment>;
312
+ } ? GetFilterPredicateFromOptions<T, TSESTree.Token> : GetFilterPredicateFromOptions<T, Exclude<TSESTree.Token, TSESTree.Comment>>;
309
313
  type CursorWithSkipOptions = number | FilterPredicate | {
310
314
  /**
311
315
  * The predicate function to choose tokens.
@@ -1,5 +1,5 @@
1
1
  import { TSESTree } from '../ts-estree';
2
- declare type PatternVisitorCallback = (pattern: TSESTree.Identifier, info: {
2
+ type PatternVisitorCallback = (pattern: TSESTree.Identifier, info: {
3
3
  rest: boolean;
4
4
  topLevel: boolean;
5
5
  assignments: TSESTree.AssignmentPattern[];
@@ -1,7 +1,7 @@
1
1
  import { TSESTree } from '../ts-estree';
2
2
  import { Scope } from './Scope';
3
3
  import { Variable } from './Variable';
4
- export declare type ReferenceFlag = 0x1 | 0x2 | 0x3;
4
+ export type ReferenceFlag = 0x1 | 0x2 | 0x3;
5
5
  interface Reference {
6
6
  identifier: TSESTree.Identifier;
7
7
  from: Scope;
@@ -3,7 +3,7 @@ import { Definition } from './Definition';
3
3
  import { Reference, ReferenceFlag } from './Reference';
4
4
  import { ScopeManager } from './ScopeManager';
5
5
  import { Variable } from './Variable';
6
- declare type ScopeType = 'block' | 'catch' | 'class' | 'for' | 'function' | 'function-expression-name' | 'global' | 'module' | 'switch' | 'with' | 'TDZ' | 'enum' | 'empty-function';
6
+ type ScopeType = 'block' | 'catch' | 'class' | 'for' | 'function' | 'function-expression-name' | 'global' | 'module' | 'switch' | 'with' | 'TDZ' | 'enum' | 'empty-function';
7
7
  interface Scope {
8
8
  type: ScopeType;
9
9
  isStrict: boolean;
@@ -2,19 +2,19 @@ interface PatternMatcher {
2
2
  /**
3
3
  * Iterate all matched parts in a given string.
4
4
  *
5
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#matcher-execall}
5
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-execall}
6
6
  */
7
7
  execAll(str: string): IterableIterator<RegExpExecArray>;
8
8
  /**
9
9
  * Check whether this pattern matches a given string or not.
10
10
  *
11
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#matcher-test}
11
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-test}
12
12
  */
13
13
  test(str: string): boolean;
14
14
  /**
15
15
  * Replace all matched parts by a given replacer.
16
16
  *
17
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#matcher-symbol-replace}
17
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-symbol-replace}
18
18
  * @example
19
19
  * const { PatternMatcher } = require("eslint-utils")
20
20
  * const matcher = new PatternMatcher(/\\p{Script=Greek}/g)
@@ -39,7 +39,7 @@ interface PatternMatcher {
39
39
  * The class to find a pattern in strings as handling escape sequences.
40
40
  * It ignores the found pattern if it's escaped with `\`.
41
41
  *
42
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#patternmatcher-class}
42
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class}
43
43
  */
44
44
  declare const PatternMatcher: new (pattern: RegExp, options?: {
45
45
  escaped?: boolean;
@@ -24,12 +24,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.PatternMatcher = void 0;
27
- const eslintUtils = __importStar(require("eslint-utils"));
27
+ const eslintUtils = __importStar(require("@eslint-community/eslint-utils"));
28
28
  /**
29
29
  * The class to find a pattern in strings as handling escape sequences.
30
30
  * It ignores the found pattern if it's escaped with `\`.
31
31
  *
32
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#patternmatcher-class}
32
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class}
33
33
  */
34
34
  const PatternMatcher = eslintUtils.PatternMatcher;
35
35
  exports.PatternMatcher = PatternMatcher;
@@ -1 +1 @@
1
- {"version":3,"file":"PatternMatcher.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AA6C5C;;;;;GAKG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAElC,CAAC;AAEO,wCAAc"}
1
+ {"version":3,"file":"PatternMatcher.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AA6C9D;;;;;GAKG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAElC,CAAC;AAEO,wCAAc"}
@@ -9,21 +9,21 @@ interface ReferenceTracker {
9
9
  * Iterate the references that the given `traceMap` determined.
10
10
  * This method starts to search from global variables.
11
11
  *
12
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#tracker-iterateglobalreferences}
12
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iterateglobalreferences}
13
13
  */
14
14
  iterateGlobalReferences<T>(traceMap: ReferenceTracker.TraceMap<T>): IterableIterator<ReferenceTracker.FoundReference<T>>;
15
15
  /**
16
16
  * Iterate the references that the given `traceMap` determined.
17
17
  * This method starts to search from `require()` expression.
18
18
  *
19
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#tracker-iteratecjsreferences}
19
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iteratecjsreferences}
20
20
  */
21
21
  iterateCjsReferences<T>(traceMap: ReferenceTracker.TraceMap<T>): IterableIterator<ReferenceTracker.FoundReference<T>>;
22
22
  /**
23
23
  * Iterate the references that the given `traceMap` determined.
24
24
  * This method starts to search from `import`/`export` declarations.
25
25
  *
26
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#tracker-iterateesmreferences}
26
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iterateesmreferences}
27
27
  */
28
28
  iterateEsmReferences<T>(traceMap: ReferenceTracker.TraceMap<T>): IterableIterator<ReferenceTracker.FoundReference<T>>;
29
29
  }
@@ -69,7 +69,7 @@ declare namespace ReferenceTracker {
69
69
  /**
70
70
  * The tracker for references. This provides reference tracking for global variables, CommonJS modules, and ES modules.
71
71
  *
72
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#referencetracker-class}
72
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class}
73
73
  */
74
74
  declare const ReferenceTracker: ReferenceTrackerStatic;
75
75
  export { ReferenceTracker };
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.ReferenceTracker = void 0;
27
27
  /* eslint-disable @typescript-eslint/no-namespace */
28
- const eslintUtils = __importStar(require("eslint-utils"));
28
+ const eslintUtils = __importStar(require("@eslint-community/eslint-utils"));
29
29
  const ReferenceTrackerREAD = eslintUtils.ReferenceTracker.READ;
30
30
  const ReferenceTrackerCALL = eslintUtils.ReferenceTracker.CALL;
31
31
  const ReferenceTrackerCONSTRUCT = eslintUtils.ReferenceTracker.CONSTRUCT;
@@ -33,7 +33,7 @@ const ReferenceTrackerESM = eslintUtils.ReferenceTracker.ESM;
33
33
  /**
34
34
  * The tracker for references. This provides reference tracking for global variables, CommonJS modules, and ES modules.
35
35
  *
36
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#referencetracker-class}
36
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class}
37
37
  */
38
38
  const ReferenceTracker = eslintUtils.ReferenceTracker;
39
39
  exports.ReferenceTracker = ReferenceTracker;
@@ -1 +1 @@
1
- {"version":3,"file":"ReferenceTracker.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,0DAA4C;AAK5C,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,yBAAyB,GAC7B,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC;AACzC,MAAM,mBAAmB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC;AAgF5E;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAA0C,CAAC;AAEvE,4CAAgB"}
1
+ {"version":3,"file":"ReferenceTracker.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,4EAA8D;AAK9D,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,yBAAyB,GAC7B,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC;AACzC,MAAM,mBAAmB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC;AAgF5E;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAA0C,CAAC;AAEvE,4CAAgB"}
@@ -3,20 +3,20 @@ import type { TSESTree } from '../../ts-estree';
3
3
  /**
4
4
  * Get the proper location of a given function node to report.
5
5
  *
6
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getfunctionheadlocation}
6
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation}
7
7
  */
8
8
  declare const getFunctionHeadLocation: (node: TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.ArrowFunctionExpression, sourceCode: TSESLint.SourceCode) => TSESTree.SourceLocation;
9
9
  /**
10
10
  * Get the name and kind of a given function node.
11
11
  *
12
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getfunctionnamewithkind}
12
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind}
13
13
  */
14
14
  declare const getFunctionNameWithKind: (node: TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.ArrowFunctionExpression, sourceCode?: TSESLint.SourceCode) => string;
15
15
  /**
16
16
  * Get the property name of a given property node.
17
17
  * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function.
18
18
  *
19
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getpropertyname}
19
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname}
20
20
  * @returns The property name of the node. If the property name is not constant then it returns `null`.
21
21
  */
22
22
  declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.Property | TSESTree.MethodDefinition | TSESTree.PropertyDefinition, initialScope?: TSESLint.Scope.Scope) => string | null;
@@ -27,7 +27,7 @@ declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.Prope
27
27
  * not been modified.
28
28
  * For example, it considers `Symbol.iterator`, ` String.raw``hello`` `, and `Object.freeze({a: 1}).a` as static.
29
29
  *
30
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstaticvalue}
30
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue}
31
31
  * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the
32
32
  * static value of the node, it returns `null`.
33
33
  */
@@ -38,7 +38,7 @@ declare const getStaticValue: (node: TSESTree.Node, initialScope?: TSESLint.Scop
38
38
  * Get the string value of a given node.
39
39
  * This function is a tiny wrapper of the getStaticValue function.
40
40
  *
41
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstringifconstant}
41
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant}
42
42
  */
43
43
  declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => string | null;
44
44
  /**
@@ -62,7 +62,7 @@ declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint
62
62
  * - `Property([computed = true])`
63
63
  * - `UnaryExpression([operator = "-" | "+" | "!" | "~"])`
64
64
  *
65
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#hassideeffect}
65
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect}
66
66
  */
67
67
  declare const hasSideEffect: (node: TSESTree.Node, sourceCode: TSESLint.SourceCode, options?: {
68
68
  considerGetters?: boolean;
@@ -24,18 +24,18 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.isParenthesized = exports.hasSideEffect = exports.getStringIfConstant = exports.getStaticValue = exports.getPropertyName = exports.getFunctionNameWithKind = exports.getFunctionHeadLocation = void 0;
27
- const eslintUtils = __importStar(require("eslint-utils"));
27
+ const eslintUtils = __importStar(require("@eslint-community/eslint-utils"));
28
28
  /**
29
29
  * Get the proper location of a given function node to report.
30
30
  *
31
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getfunctionheadlocation}
31
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation}
32
32
  */
33
33
  const getFunctionHeadLocation = eslintUtils.getFunctionHeadLocation;
34
34
  exports.getFunctionHeadLocation = getFunctionHeadLocation;
35
35
  /**
36
36
  * Get the name and kind of a given function node.
37
37
  *
38
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getfunctionnamewithkind}
38
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind}
39
39
  */
40
40
  const getFunctionNameWithKind = eslintUtils.getFunctionNameWithKind;
41
41
  exports.getFunctionNameWithKind = getFunctionNameWithKind;
@@ -43,7 +43,7 @@ exports.getFunctionNameWithKind = getFunctionNameWithKind;
43
43
  * Get the property name of a given property node.
44
44
  * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function.
45
45
  *
46
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getpropertyname}
46
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname}
47
47
  * @returns The property name of the node. If the property name is not constant then it returns `null`.
48
48
  */
49
49
  const getPropertyName = eslintUtils.getPropertyName;
@@ -55,7 +55,7 @@ exports.getPropertyName = getPropertyName;
55
55
  * not been modified.
56
56
  * For example, it considers `Symbol.iterator`, ` String.raw``hello`` `, and `Object.freeze({a: 1}).a` as static.
57
57
  *
58
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstaticvalue}
58
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue}
59
59
  * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the
60
60
  * static value of the node, it returns `null`.
61
61
  */
@@ -65,7 +65,7 @@ exports.getStaticValue = getStaticValue;
65
65
  * Get the string value of a given node.
66
66
  * This function is a tiny wrapper of the getStaticValue function.
67
67
  *
68
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstringifconstant}
68
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant}
69
69
  */
70
70
  const getStringIfConstant = eslintUtils.getStringIfConstant;
71
71
  exports.getStringIfConstant = getStringIfConstant;
@@ -90,7 +90,7 @@ exports.getStringIfConstant = getStringIfConstant;
90
90
  * - `Property([computed = true])`
91
91
  * - `UnaryExpression([operator = "-" | "+" | "!" | "~"])`
92
92
  *
93
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#hassideeffect}
93
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect}
94
94
  */
95
95
  const hasSideEffect = eslintUtils.hasSideEffect;
96
96
  exports.hasSideEffect = hasSideEffect;
@@ -1 +1 @@
1
- {"version":3,"file":"astUtilities.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAK5C;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMhB,CAAC;AA6G3B,0DAAuB;AA3GzB;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMjC,CAAC;AAiGV,0DAAuB;AA/FzB;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,WAAW,CAAC,eAOlB,CAAC;AAkFjB,0CAAe;AAhFjB;;;;;;;;;;GAUG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGL,CAAC;AAmE7B,wCAAc;AAjEhB;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,WAAW,CAAC,mBAGtB,CAAC;AAyDjB,kDAAmB;AAvDrB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,aAAa,GAAG,WAAW,CAAC,aAOtB,CAAC;AA0BX,sCAAa;AAxBf,MAAM,eAAe,GAAG,WAAW,CAAC,eAgBnC,CAAC;AASA,0CAAe"}
1
+ {"version":3,"file":"astUtilities.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMhB,CAAC;AA6G3B,0DAAuB;AA3GzB;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMjC,CAAC;AAiGV,0DAAuB;AA/FzB;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,WAAW,CAAC,eAOlB,CAAC;AAkFjB,0CAAe;AAhFjB;;;;;;;;;;GAUG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGL,CAAC;AAmE7B,wCAAc;AAjEhB;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,WAAW,CAAC,mBAGtB,CAAC;AAyDjB,kDAAmB;AAvDrB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,aAAa,GAAG,WAAW,CAAC,aAOtB,CAAC;AA0BX,sCAAa;AAxBf,MAAM,eAAe,GAAG,WAAW,CAAC,eAgBnC,CAAC;AASA,0CAAe"}
@@ -1,11 +1,11 @@
1
1
  import type { TSESTree } from '../../ts-estree';
2
- declare type IsSpecificTokenFunction<SpecificToken extends TSESTree.Token> = (token: TSESTree.Token) => token is SpecificToken;
3
- declare type IsNotSpecificTokenFunction<SpecificToken extends TSESTree.Token> = (token: TSESTree.Token) => token is Exclude<TSESTree.Token, SpecificToken>;
4
- declare type PunctuatorTokenWithValue<Value extends string> = TSESTree.PunctuatorToken & {
2
+ type IsSpecificTokenFunction<SpecificToken extends TSESTree.Token> = (token: TSESTree.Token) => token is SpecificToken;
3
+ type IsNotSpecificTokenFunction<SpecificToken extends TSESTree.Token> = (token: TSESTree.Token) => token is Exclude<TSESTree.Token, SpecificToken>;
4
+ type PunctuatorTokenWithValue<Value extends string> = TSESTree.PunctuatorToken & {
5
5
  value: Value;
6
6
  };
7
- declare type IsPunctuatorTokenWithValueFunction<Value extends string> = IsSpecificTokenFunction<PunctuatorTokenWithValue<Value>>;
8
- declare type IsNotPunctuatorTokenWithValueFunction<Value extends string> = IsNotSpecificTokenFunction<PunctuatorTokenWithValue<Value>>;
7
+ type IsPunctuatorTokenWithValueFunction<Value extends string> = IsSpecificTokenFunction<PunctuatorTokenWithValue<Value>>;
8
+ type IsNotPunctuatorTokenWithValueFunction<Value extends string> = IsNotSpecificTokenFunction<PunctuatorTokenWithValue<Value>>;
9
9
  declare const isArrowToken: IsPunctuatorTokenWithValueFunction<"=>">;
10
10
  declare const isNotArrowToken: IsNotPunctuatorTokenWithValueFunction<"=>">;
11
11
  declare const isClosingBraceToken: IsPunctuatorTokenWithValueFunction<"}">;
@@ -1 +1 @@
1
- {"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,aAAK,uBAAuB,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACnE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,aAAa,CAAC;AAE5B,aAAK,0BAA0B,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACtE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;AAErD,aAAK,wBAAwB,CAAC,KAAK,SAAS,MAAM,IAChD,QAAQ,CAAC,eAAe,GAAG;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE,CAAC;AAC9C,aAAK,kCAAkC,CAAC,KAAK,SAAS,MAAM,IAC1D,uBAAuB,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,aAAK,qCAAqC,CAAC,KAAK,SAAS,MAAM,IAC7D,0BAA0B,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAE9D,QAAA,MAAM,YAAY,0CACoD,CAAC;AACvE,QAAA,MAAM,eAAe,6CACuD,CAAC;AAE7E,QAAA,MAAM,mBAAmB,yCACmD,CAAC;AAC7E,QAAA,MAAM,sBAAsB,4CACsD,CAAC;AAEnF,QAAA,MAAM,qBAAqB,yCACmD,CAAC;AAC/E,QAAA,MAAM,wBAAwB,4CACsD,CAAC;AAErF,QAAA,MAAM,mBAAmB,yCACmD,CAAC;AAC7E,QAAA,MAAM,sBAAsB,4CACsD,CAAC;AAEnF,QAAA,MAAM,YAAY,yCACmD,CAAC;AACtE,QAAA,MAAM,eAAe,4CACsD,CAAC;AAE5E,QAAA,MAAM,YAAY,yCACmD,CAAC;AACtE,QAAA,MAAM,eAAe,4CACsD,CAAC;AAE5E,QAAA,MAAM,cAAc,2CACqD,CAAC;AAC1E,QAAA,MAAM,iBAAiB,8CACwD,CAAC;AAEhF,QAAA,MAAM,mBAAmB,yCACmD,CAAC;AAC7E,QAAA,MAAM,sBAAsB,4CACsD,CAAC;AAEnF,QAAA,MAAM,qBAAqB,yCACmD,CAAC;AAC/E,QAAA,MAAM,wBAAwB,4CACsD,CAAC;AAErF,QAAA,MAAM,mBAAmB,yCACmD,CAAC;AAC7E,QAAA,MAAM,sBAAsB,4CACsD,CAAC;AAEnF,QAAA,MAAM,gBAAgB,yCACmD,CAAC;AAC1E,QAAA,MAAM,mBAAmB,4CACsD,CAAC;AAEhF,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,GACjB,CAAC"}
1
+ {"version":3,"file":"predicates.d.ts","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/predicates.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,KAAK,uBAAuB,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACnE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,aAAa,CAAC;AAE5B,KAAK,0BAA0B,CAAC,aAAa,SAAS,QAAQ,CAAC,KAAK,IAAI,CACtE,KAAK,EAAE,QAAQ,CAAC,KAAK,KAClB,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;AAErD,KAAK,wBAAwB,CAAC,KAAK,SAAS,MAAM,IAChD,QAAQ,CAAC,eAAe,GAAG;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE,CAAC;AAC9C,KAAK,kCAAkC,CAAC,KAAK,SAAS,MAAM,IAC1D,uBAAuB,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,KAAK,qCAAqC,CAAC,KAAK,SAAS,MAAM,IAC7D,0BAA0B,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAE9D,QAAA,MAAM,YAAY,0CACoD,CAAC;AACvE,QAAA,MAAM,eAAe,6CACuD,CAAC;AAE7E,QAAA,MAAM,mBAAmB,yCACmD,CAAC;AAC7E,QAAA,MAAM,sBAAsB,4CACsD,CAAC;AAEnF,QAAA,MAAM,qBAAqB,yCACmD,CAAC;AAC/E,QAAA,MAAM,wBAAwB,4CACsD,CAAC;AAErF,QAAA,MAAM,mBAAmB,yCACmD,CAAC;AAC7E,QAAA,MAAM,sBAAsB,4CACsD,CAAC;AAEnF,QAAA,MAAM,YAAY,yCACmD,CAAC;AACtE,QAAA,MAAM,eAAe,4CACsD,CAAC;AAE5E,QAAA,MAAM,YAAY,yCACmD,CAAC;AACtE,QAAA,MAAM,eAAe,4CACsD,CAAC;AAE5E,QAAA,MAAM,cAAc,2CACqD,CAAC;AAC1E,QAAA,MAAM,iBAAiB,8CACwD,CAAC;AAEhF,QAAA,MAAM,mBAAmB,yCACmD,CAAC;AAC7E,QAAA,MAAM,sBAAsB,4CACsD,CAAC;AAEnF,QAAA,MAAM,qBAAqB,yCACmD,CAAC;AAC/E,QAAA,MAAM,wBAAwB,4CACsD,CAAC;AAErF,QAAA,MAAM,mBAAmB,yCACmD,CAAC;AAC7E,QAAA,MAAM,sBAAsB,4CACsD,CAAC;AAEnF,QAAA,MAAM,gBAAgB,yCACmD,CAAC;AAC1E,QAAA,MAAM,mBAAmB,4CACsD,CAAC;AAEhF,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,GACjB,CAAC"}
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.isSemicolonToken = exports.isOpeningParenToken = exports.isOpeningBracketToken = exports.isOpeningBraceToken = exports.isNotSemicolonToken = exports.isNotOpeningParenToken = exports.isNotOpeningBracketToken = exports.isNotOpeningBraceToken = exports.isNotCommentToken = exports.isNotCommaToken = exports.isNotColonToken = exports.isNotClosingParenToken = exports.isNotClosingBracketToken = exports.isNotClosingBraceToken = exports.isNotArrowToken = exports.isCommentToken = exports.isCommaToken = exports.isColonToken = exports.isClosingParenToken = exports.isClosingBracketToken = exports.isClosingBraceToken = exports.isArrowToken = void 0;
27
- const eslintUtils = __importStar(require("eslint-utils"));
27
+ const eslintUtils = __importStar(require("@eslint-community/eslint-utils"));
28
28
  const isArrowToken = eslintUtils.isArrowToken;
29
29
  exports.isArrowToken = isArrowToken;
30
30
  const isNotArrowToken = eslintUtils.isNotArrowToken;