xo 0.52.3 → 0.53.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 (1089) hide show
  1. package/cli.js +1 -0
  2. package/lib/options-manager.js +1 -1
  3. package/node_modules/@types/semver/LICENSE +21 -0
  4. package/node_modules/@types/semver/README.md +16 -0
  5. package/node_modules/@types/semver/classes/comparator.d.ts +17 -0
  6. package/node_modules/@types/semver/classes/range.d.ts +21 -0
  7. package/node_modules/@types/semver/classes/semver.d.ts +62 -0
  8. package/node_modules/@types/semver/functions/clean.d.ts +8 -0
  9. package/node_modules/@types/semver/functions/cmp.d.ts +16 -0
  10. package/node_modules/@types/semver/functions/coerce.d.ts +12 -0
  11. package/node_modules/@types/semver/functions/compare-build.d.ts +21 -0
  12. package/node_modules/@types/semver/functions/compare-loose.d.ts +5 -0
  13. package/node_modules/@types/semver/functions/compare.d.ts +20 -0
  14. package/node_modules/@types/semver/functions/diff.d.ts +9 -0
  15. package/node_modules/@types/semver/functions/eq.d.ts +9 -0
  16. package/node_modules/@types/semver/functions/gt.d.ts +9 -0
  17. package/node_modules/@types/semver/functions/gte.d.ts +9 -0
  18. package/node_modules/@types/semver/functions/inc.d.ts +15 -0
  19. package/node_modules/@types/semver/functions/lt.d.ts +9 -0
  20. package/node_modules/@types/semver/functions/lte.d.ts +8 -0
  21. package/node_modules/@types/semver/functions/major.d.ts +9 -0
  22. package/node_modules/@types/semver/functions/minor.d.ts +9 -0
  23. package/node_modules/@types/semver/functions/neq.d.ts +9 -0
  24. package/node_modules/@types/semver/functions/parse.d.ts +12 -0
  25. package/node_modules/@types/semver/functions/patch.d.ts +9 -0
  26. package/node_modules/@types/semver/functions/prerelease.d.ts +12 -0
  27. package/node_modules/@types/semver/functions/rcompare.d.ts +15 -0
  28. package/node_modules/@types/semver/functions/rsort.d.ts +9 -0
  29. package/node_modules/@types/semver/functions/satisfies.d.ts +14 -0
  30. package/node_modules/@types/semver/functions/sort.d.ts +9 -0
  31. package/node_modules/@types/semver/functions/valid.d.ts +11 -0
  32. package/node_modules/@types/semver/index.d.ts +136 -0
  33. package/node_modules/@types/semver/internals/identifiers.d.ts +13 -0
  34. package/node_modules/@types/semver/package.json +50 -0
  35. package/node_modules/@types/semver/preload.d.ts +2 -0
  36. package/node_modules/@types/semver/ranges/gtr.d.ts +14 -0
  37. package/node_modules/@types/semver/ranges/intersects.d.ts +13 -0
  38. package/node_modules/@types/semver/ranges/ltr.d.ts +14 -0
  39. package/node_modules/@types/semver/ranges/max-satisfying.d.ts +14 -0
  40. package/node_modules/@types/semver/ranges/min-satisfying.d.ts +14 -0
  41. package/node_modules/@types/semver/ranges/min-version.d.ts +10 -0
  42. package/node_modules/@types/semver/ranges/outside.d.ts +15 -0
  43. package/node_modules/@types/semver/ranges/simplify.d.ts +14 -0
  44. package/node_modules/@types/semver/ranges/subset.d.ts +9 -0
  45. package/node_modules/@types/semver/ranges/to-comparators.d.ts +9 -0
  46. package/node_modules/@types/semver/ranges/valid.d.ts +12 -0
  47. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +2 -1
  48. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
  49. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +1 -0
  50. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -1
  51. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +1 -1
  52. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +1 -1
  53. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +1 -1
  54. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -1
  55. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +1 -1
  56. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
  57. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +1 -1
  58. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
  59. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -1
  60. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -1
  61. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js +1 -1
  62. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js.map +1 -1
  63. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -1
  64. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +1 -1
  65. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -1
  66. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +1 -1
  67. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
  68. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map +1 -1
  69. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +1 -1
  70. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -1
  71. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +1 -1
  72. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
  73. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -1
  74. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -1
  75. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +99 -24
  76. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
  77. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +1 -1
  78. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js.map +1 -1
  79. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +2 -2
  80. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -1
  81. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -1
  82. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -1
  83. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +1 -1
  84. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +1 -1
  85. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +1 -1
  86. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +1 -1
  87. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +1 -1
  88. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +4 -0
  89. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -1
  90. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +1 -1
  91. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +1 -1
  92. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +1 -1
  93. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -1
  94. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +1 -1
  95. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +1 -1
  96. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +2 -2
  97. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -1
  98. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +29 -10
  99. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -1
  100. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -1
  101. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +4 -0
  102. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js.map +1 -1
  103. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +20 -3
  104. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -1
  105. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map +1 -1
  106. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +1 -1
  107. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -1
  108. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +30 -1
  109. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
  110. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +1 -1
  111. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +1 -1
  112. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -1
  113. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -1
  114. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
  115. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +1 -1
  116. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +1 -1
  117. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +1 -1
  118. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +1 -1
  119. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js.map +1 -1
  120. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -1
  121. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +1 -1
  122. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -1
  123. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -1
  124. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
  125. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +1 -1
  126. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +1 -1
  127. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +17 -4
  128. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +1 -1
  129. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +1 -1
  130. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +1 -1
  131. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -1
  132. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +1 -1
  133. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
  134. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +1 -1
  135. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js +1 -1
  136. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js.map +1 -1
  137. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +1 -1
  138. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
  139. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +0 -1
  140. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
  141. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +1 -1
  142. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +1 -1
  143. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +29 -5
  144. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -1
  145. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +1 -1
  146. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +1 -1
  147. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -1
  148. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +1 -1
  149. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +1 -1
  150. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +1 -1
  151. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +1 -1
  152. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +51 -11
  153. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
  154. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +2 -2
  155. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -1
  156. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +1 -1
  157. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
  158. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +1 -1
  159. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -1
  160. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -1
  161. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js.map +1 -1
  162. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +1 -1
  163. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -1
  164. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -1
  165. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +1 -1
  166. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +2 -3
  167. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -1
  168. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +1 -1
  169. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +1 -1
  170. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +1 -1
  171. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -1
  172. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
  173. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +5 -4
  174. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -1
  175. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +1 -1
  176. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
  177. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -1
  178. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -1
  179. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -1
  180. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
  181. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -1
  182. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -1
  183. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +78 -0
  184. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js.map +1 -0
  185. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -1
  186. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -1
  187. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +1 -1
  188. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +1 -1
  189. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +1 -1
  190. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -1
  191. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +1 -1
  192. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -1
  193. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +1 -1
  194. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +1 -1
  195. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +1 -1
  196. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -1
  197. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -1
  198. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js +1 -1
  199. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js.map +1 -1
  200. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -1
  201. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +1 -1
  202. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +1 -1
  203. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +1 -1
  204. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
  205. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -1
  206. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -1
  207. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +1 -1
  208. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +1 -1
  209. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +1 -4
  210. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -1
  211. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +169 -70
  212. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
  213. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +1 -1
  214. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +1 -1
  215. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -1
  216. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +1 -1
  217. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -1
  218. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +1 -1
  219. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
  220. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +1 -1
  221. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +1 -1
  222. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +2 -1
  223. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -1
  224. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +1 -1
  225. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js.map +1 -1
  226. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -1
  227. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +1 -1
  228. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +1 -1
  229. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -1
  230. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -1
  231. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +1 -1
  232. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +1 -1
  233. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js.map +1 -1
  234. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +245 -0
  235. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js.map +1 -0
  236. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +3 -0
  237. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
  238. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +1 -1
  239. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -1
  240. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
  241. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +1 -1
  242. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +1 -1
  243. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +54 -25
  244. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -1
  245. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +1 -1
  246. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -1
  247. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -1
  248. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +1 -1
  249. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +1 -1
  250. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
  251. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +1 -1
  252. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +1 -1
  253. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +1 -1
  254. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +1 -1
  255. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +1 -1
  256. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map +1 -1
  257. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
  258. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js.map +1 -1
  259. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js.map +1 -1
  260. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js.map +1 -1
  261. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js.map +1 -1
  262. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js.map +1 -1
  263. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js.map +1 -1
  264. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +1 -1
  265. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
  266. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +1 -1
  267. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +5 -5
  268. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +4 -6
  269. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +5 -4
  270. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +3 -4
  271. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +2 -2
  272. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +2 -2
  273. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +1 -1
  274. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +4 -4
  275. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +1 -1
  276. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +1 -1
  277. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-generic-constructors.md +3 -3
  278. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +1 -3
  279. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +12 -5
  280. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +4 -1
  281. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +7 -13
  282. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +47 -6
  283. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +1 -1
  284. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +1 -1
  285. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +7 -6
  286. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +10 -6
  287. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +3 -3
  288. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +1 -1
  289. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +1 -1
  290. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +1 -1
  291. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +1 -1
  292. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +1 -1
  293. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +7 -60
  294. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +19 -6
  295. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +6 -6
  296. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +29 -30
  297. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +1 -1
  298. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +12 -11
  299. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +4 -2
  300. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +4 -5
  301. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +1 -1
  302. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +5 -2
  303. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +4 -4
  304. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +1 -1
  305. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +5 -5
  306. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +13 -8
  307. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +4 -3
  308. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +1 -1
  309. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +1 -1
  310. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +4 -6
  311. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +2 -4
  312. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +26 -18
  313. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +1 -3
  314. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +1 -3
  315. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +12 -43
  316. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +1 -1
  317. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +6 -13
  318. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +1 -1
  319. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +1 -1
  320. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +1 -1
  321. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +8 -21
  322. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +13 -6
  323. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +53 -91
  324. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +6 -7
  325. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +3 -13
  326. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +4 -27
  327. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +14 -13
  328. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +2 -2
  329. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +1 -1
  330. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +1 -6
  331. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +12 -15
  332. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +1 -1
  333. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +1 -1
  334. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +9 -15
  335. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +2 -5
  336. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +1 -1
  337. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +15 -14
  338. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +3 -4
  339. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +12 -46
  340. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +22 -8
  341. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +4 -6
  342. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +6 -20
  343. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +10 -7
  344. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +9 -6
  345. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +6 -5
  346. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-declaration-merging.md +54 -0
  347. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +5 -4
  348. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +9 -6
  349. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +1 -1
  350. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +1 -1
  351. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +1 -1
  352. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +1 -1
  353. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +4 -4
  354. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +6 -4
  355. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +7 -3
  356. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +1 -1
  357. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +1 -1
  358. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +3 -6
  359. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +7 -3
  360. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +5 -23
  361. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +15 -16
  362. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +22 -22
  363. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +28 -30
  364. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +12 -13
  365. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +27 -4
  366. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +6 -54
  367. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +21 -49
  368. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +1 -3
  369. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +3 -5
  370. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +6 -8
  371. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +6 -11
  372. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +10 -25
  373. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +10 -6
  374. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +5 -11
  375. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +1 -1
  376. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +1 -1
  377. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +5 -14
  378. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +1 -1
  379. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +18 -4
  380. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +9 -2
  381. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +1 -1
  382. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +1 -1
  383. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-constituents.md +101 -0
  384. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +8 -16
  385. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +1 -1
  386. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +1 -1
  387. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +0 -2
  388. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +15 -24
  389. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +4 -2
  390. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +1 -1
  391. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +5 -7
  392. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +7 -4
  393. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +5 -3
  394. package/node_modules/@typescript-eslint/eslint-plugin/index.d.ts +1 -1
  395. package/node_modules/@typescript-eslint/eslint-plugin/package.json +7 -6
  396. package/node_modules/@typescript-eslint/parser/README.md +2 -0
  397. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/parser.d.ts +4 -2
  398. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts +5 -3
  399. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
  400. package/node_modules/@typescript-eslint/parser/dist/parser.js +1 -1
  401. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
  402. package/node_modules/@typescript-eslint/parser/package.json +5 -5
  403. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +4 -3
  404. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -1
  405. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
  406. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +2 -2
  407. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +1 -1
  408. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +1 -1
  409. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +1 -1
  410. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +2 -2
  411. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +1 -1
  412. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +1 -1
  413. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +1 -1
  414. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +2 -2
  415. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +1 -1
  416. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +1 -1
  417. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +1 -1
  418. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +11 -11
  419. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -1
  420. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +2 -2
  421. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +1 -1
  422. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +1 -1
  423. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +2 -2
  424. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +1 -1
  425. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +1 -1
  426. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +1 -1
  427. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +2 -2
  428. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +1 -1
  429. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +1 -1
  430. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +1 -1
  431. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +2 -2
  432. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +1 -1
  433. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +1 -1
  434. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +1 -1
  435. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +2 -2
  436. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +1 -1
  437. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +1 -1
  438. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +1 -1
  439. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +2 -2
  440. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +1 -1
  441. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +1 -1
  442. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +1 -1
  443. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +2 -2
  444. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +1 -1
  445. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +1 -1
  446. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +1 -1
  447. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +2 -2
  448. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +1 -1
  449. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +1 -1
  450. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +1 -1
  451. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +2 -2
  452. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +1 -1
  453. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +1 -1
  454. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +1 -1
  455. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +2 -2
  456. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +1 -1
  457. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +1 -1
  458. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +1 -1
  459. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +1 -1
  460. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
  461. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +1 -1
  462. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
  463. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +1 -1
  464. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -1
  465. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +1 -1
  466. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -1
  467. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +1 -1
  468. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -1
  469. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +1 -1
  470. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -1
  471. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +1 -1
  472. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -1
  473. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +1 -1
  474. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -1
  475. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +1 -1
  476. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -1
  477. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +2 -2
  478. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -1
  479. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +1 -1
  480. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -1
  481. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +1 -1
  482. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -1
  483. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +1 -1
  484. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -1
  485. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +1 -1
  486. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -1
  487. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +1 -1
  488. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -1
  489. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +1 -1
  490. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -1
  491. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +1 -1
  492. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -1
  493. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +1 -1
  494. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -1
  495. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +1 -1
  496. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -1
  497. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +3 -3
  498. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -1
  499. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +1 -1
  500. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -1
  501. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +1 -1
  502. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -1
  503. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +3 -3
  504. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -1
  505. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +1 -1
  506. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -1
  507. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +1 -1
  508. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -1
  509. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +1 -1
  510. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -1
  511. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +1 -1
  512. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -1
  513. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +1 -1
  514. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -1
  515. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +1 -1
  516. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -1
  517. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +1 -1
  518. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -1
  519. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +1 -1
  520. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -1
  521. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +1 -1
  522. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -1
  523. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +1 -1
  524. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -1
  525. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +2 -2
  526. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -1
  527. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +1 -1
  528. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -1
  529. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +1 -1
  530. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -1
  531. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +3 -3
  532. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -1
  533. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +1 -1
  534. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -1
  535. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +2 -2
  536. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -1
  537. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +1 -1
  538. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -1
  539. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +1 -1
  540. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -1
  541. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +1 -1
  542. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -1
  543. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +1 -1
  544. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -1
  545. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +1 -1
  546. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -1
  547. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +3 -3
  548. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -1
  549. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +1 -1
  550. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -1
  551. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +1 -1
  552. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -1
  553. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +1 -1
  554. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -1
  555. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +1 -1
  556. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -1
  557. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +1 -1
  558. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -1
  559. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +1 -1
  560. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -1
  561. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +1 -1
  562. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -1
  563. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +1 -1
  564. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -1
  565. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +1 -1
  566. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -1
  567. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +1 -1
  568. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -1
  569. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +3 -3
  570. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -1
  571. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +1 -1
  572. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -1
  573. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +1 -1
  574. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -1
  575. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +1 -1
  576. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -1
  577. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +1 -1
  578. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -1
  579. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +1 -1
  580. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -1
  581. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +1 -1
  582. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -1
  583. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +1 -1
  584. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -1
  585. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +1 -1
  586. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -1
  587. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +1 -1
  588. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -1
  589. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +1 -1
  590. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -1
  591. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +1 -1
  592. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -1
  593. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +1 -1
  594. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -1
  595. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +1 -1
  596. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -1
  597. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +3 -3
  598. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -1
  599. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +1 -1
  600. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -1
  601. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +1 -1
  602. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -1
  603. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +1 -1
  604. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -1
  605. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +1 -1
  606. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -1
  607. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +1 -1
  608. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -1
  609. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +1 -1
  610. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -1
  611. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +1 -1
  612. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -1
  613. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +1 -1
  614. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -1
  615. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +1 -1
  616. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -1
  617. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +3 -3
  618. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -1
  619. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +1 -1
  620. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +1 -1
  621. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +1 -1
  622. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -1
  623. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +1 -1
  624. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +1 -1
  625. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +1 -1
  626. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -1
  627. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +1 -1
  628. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -1
  629. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +1 -1
  630. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -1
  631. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +2 -2
  632. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -1
  633. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +1 -1
  634. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -1
  635. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +1 -1
  636. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -1
  637. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +1 -1
  638. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -1
  639. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +2 -2
  640. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -1
  641. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +1 -1
  642. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -1
  643. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +1 -1
  644. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -1
  645. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +1 -1
  646. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -1
  647. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +1 -1
  648. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -1
  649. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +3 -3
  650. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -1
  651. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +1 -1
  652. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -1
  653. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +1 -1
  654. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -1
  655. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +1 -1
  656. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -1
  657. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +1 -1
  658. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -1
  659. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +1 -1
  660. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -1
  661. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +31 -31
  662. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
  663. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +1 -1
  664. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -1
  665. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +2 -2
  666. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -1
  667. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +1 -1
  668. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -1
  669. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +1 -1
  670. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
  671. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +1 -1
  672. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -1
  673. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +1 -1
  674. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -1
  675. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +2 -3
  676. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -1
  677. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +3 -4
  678. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -1
  679. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +2 -2
  680. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -1
  681. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -1
  682. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +2 -2
  683. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +1 -1
  684. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -1
  685. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +3 -2
  686. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -1
  687. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -1
  688. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +3 -3
  689. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +1 -1
  690. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -1
  691. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +6 -5
  692. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
  693. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +3 -3
  694. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
  695. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +2 -2
  696. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -1
  697. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +1 -1
  698. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -1
  699. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +2 -2
  700. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +1 -1
  701. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +1 -1
  702. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -1
  703. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +1 -1
  704. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +1 -1
  705. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +3 -3
  706. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +1 -1
  707. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +1 -1
  708. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +3 -3
  709. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +1 -1
  710. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +1 -1
  711. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +3 -3
  712. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +1 -1
  713. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +1 -1
  714. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +3 -3
  715. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +1 -1
  716. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +1 -1
  717. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +3 -3
  718. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -1
  719. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -1
  720. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +3 -3
  721. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +1 -1
  722. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +1 -1
  723. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +3 -3
  724. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +1 -1
  725. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +1 -1
  726. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +3 -3
  727. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +1 -1
  728. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +1 -1
  729. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +1 -1
  730. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +5 -5
  731. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +1 -1
  732. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +1 -1
  733. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +3 -3
  734. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +1 -1
  735. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +1 -1
  736. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +4 -4
  737. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +1 -1
  738. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +2 -2
  739. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +1 -1
  740. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +3 -3
  741. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +1 -1
  742. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +1 -1
  743. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +3 -3
  744. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +1 -1
  745. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +1 -1
  746. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +18 -18
  747. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -1
  748. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +11 -10
  749. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -1
  750. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +1 -1
  751. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
  752. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +3 -3
  753. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +1 -1
  754. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +1 -1
  755. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +3 -3
  756. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +1 -1
  757. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +1 -1
  758. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +3 -3
  759. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +1 -1
  760. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +1 -1
  761. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +3 -3
  762. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +1 -1
  763. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +1 -1
  764. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +3 -3
  765. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -1
  766. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -1
  767. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -1
  768. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +1 -1
  769. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +1 -1
  770. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +1 -1
  771. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +2 -2
  772. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +1 -1
  773. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +1 -1
  774. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +4 -4
  775. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +1 -1
  776. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +1 -1
  777. package/node_modules/@typescript-eslint/scope-manager/package.json +5 -5
  778. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts.map +1 -1
  779. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -1
  780. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts +1 -1
  781. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map +1 -1
  782. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts +1 -1
  783. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts.map +1 -1
  784. package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts +1 -1
  785. package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts.map +1 -1
  786. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -1
  787. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +3 -0
  788. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -1
  789. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts +2 -2
  790. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts.map +1 -1
  791. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map +1 -1
  792. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -1
  793. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -1
  794. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts +1 -1
  795. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts.map +1 -1
  796. package/node_modules/@typescript-eslint/type-utils/package.json +5 -5
  797. package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +3 -3
  798. package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +1 -1
  799. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +3 -3
  800. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -1
  801. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +1 -1
  802. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
  803. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +1 -1
  804. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -1
  805. package/node_modules/@typescript-eslint/types/package.json +2 -2
  806. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ast-converter.d.ts +2 -2
  807. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createDefaultProgram.d.ts +3 -6
  808. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createIsolatedProgram.d.ts +2 -2
  809. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createProjectProgram.d.ts +4 -6
  810. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createSourceFile.d.ts +2 -2
  811. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createWatchProgram.d.ts +4 -7
  812. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +6 -5
  813. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/useProvidedPrograms.d.ts +2 -2
  814. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +2 -1
  815. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/createParseSettings.d.ts +4 -0
  816. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/index.d.ts +102 -0
  817. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/inferSingleRun.d.ts +15 -0
  818. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parseSettings/warnAboutTSVersion.d.ts +3 -0
  819. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +0 -26
  820. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +1 -1
  821. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts +3 -3
  822. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts.map +1 -1
  823. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +8 -8
  824. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +1 -1
  825. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts +1 -1
  826. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts.map +1 -1
  827. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -1
  828. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
  829. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +2 -2
  830. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
  831. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +0 -4
  832. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
  833. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +1 -1
  834. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +1 -1
  835. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts +4 -7
  836. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +1 -1
  837. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +13 -15
  838. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -1
  839. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +3 -3
  840. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +1 -1
  841. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +8 -8
  842. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -1
  843. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +5 -7
  844. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -1
  845. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +52 -39
  846. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -1
  847. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +2 -2
  848. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +1 -1
  849. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +4 -4
  850. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -1
  851. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts +4 -7
  852. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +1 -1
  853. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +21 -22
  854. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -1
  855. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +6 -5
  856. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -1
  857. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +7 -7
  858. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
  859. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +3 -3
  860. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +1 -1
  861. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +4 -4
  862. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -1
  863. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts.map +1 -1
  864. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -1
  865. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +2 -1
  866. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
  867. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +2 -2
  868. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
  869. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts +4 -0
  870. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map +1 -0
  871. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +145 -0
  872. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +1 -0
  873. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts +102 -0
  874. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts.map +1 -0
  875. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js +3 -0
  876. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js.map +1 -0
  877. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.d.ts +15 -0
  878. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.d.ts.map +1 -0
  879. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +53 -0
  880. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js.map +1 -0
  881. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts +3 -0
  882. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts.map +1 -0
  883. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +68 -0
  884. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js.map +1 -0
  885. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +3 -29
  886. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +1 -1
  887. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +2 -2
  888. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -1
  889. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +33 -389
  890. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
  891. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +1 -1
  892. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +1 -1
  893. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -1
  894. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +3 -3
  895. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -1
  896. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +0 -1
  897. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +1 -1
  898. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +1 -1
  899. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +1 -1
  900. package/node_modules/@typescript-eslint/typescript-estree/package.json +5 -5
  901. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +1 -1
  902. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +1 -1
  903. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +1 -1
  904. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/batchedSingleLineTests.d.ts +1 -1
  905. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/index.d.ts +1 -1
  906. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/rule-tester/RuleTester.d.ts +48 -0
  907. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/rule-tester/dependencyConstraints.d.ts +17 -0
  908. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/AST.d.ts +1 -1
  909. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Linter.d.ts +1 -1
  910. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +21 -17
  911. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/PatternVisitor.d.ts +1 -1
  912. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/ScopeManager.d.ts +1 -1
  913. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Variable.d.ts +1 -1
  914. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +2 -2
  915. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map +1 -1
  916. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -1
  917. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +2 -2
  918. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +1 -1
  919. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -1
  920. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +1 -1
  921. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map +1 -1
  922. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -1
  923. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +2 -2
  924. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map +1 -1
  925. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -1
  926. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +1 -1
  927. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
  928. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +1 -1
  929. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +1 -1
  930. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +1 -1
  931. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
  932. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -1
  933. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts +1 -1
  934. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map +1 -1
  935. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +1 -1
  936. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts.map +1 -1
  937. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/batchedSingleLineTests.d.ts +1 -1
  938. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/batchedSingleLineTests.d.ts.map +1 -1
  939. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/batchedSingleLineTests.js.map +1 -1
  940. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts +2 -2
  941. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map +1 -1
  942. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.d.ts +1 -1
  943. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.d.ts.map +1 -1
  944. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +1 -1
  945. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js.map +1 -1
  946. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.d.ts +49 -0
  947. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.d.ts.map +1 -0
  948. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.js +238 -0
  949. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/RuleTester.js.map +1 -0
  950. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/dependencyConstraints.d.ts +17 -0
  951. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/dependencyConstraints.d.ts.map +1 -0
  952. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/dependencyConstraints.js +52 -0
  953. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/rule-tester/dependencyConstraints.js.map +1 -0
  954. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts +1 -1
  955. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts.map +1 -1
  956. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts +2 -2
  957. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts.map +1 -1
  958. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js.map +1 -1
  959. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +1 -1
  960. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -1
  961. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js.map +1 -1
  962. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts +5 -5
  963. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map +1 -1
  964. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map +1 -1
  965. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +20 -13
  966. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -1
  967. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +1 -1
  968. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +2 -2
  969. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -1
  970. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -1
  971. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.d.ts +1 -1
  972. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.d.ts.map +1 -1
  973. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.js.map +1 -1
  974. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Options.d.ts +1 -1
  975. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Options.d.ts.map +1 -1
  976. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/PatternVisitor.d.ts +3 -3
  977. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/PatternVisitor.d.ts.map +1 -1
  978. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/PatternVisitor.js.map +1 -1
  979. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts +3 -3
  980. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts.map +1 -1
  981. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.js.map +1 -1
  982. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Referencer.d.ts +4 -4
  983. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Referencer.d.ts.map +1 -1
  984. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Referencer.js.map +1 -1
  985. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Scope.d.ts +5 -5
  986. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Scope.d.ts.map +1 -1
  987. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Scope.js.map +1 -1
  988. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/ScopeManager.d.ts +4 -4
  989. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/ScopeManager.d.ts.map +1 -1
  990. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/ScopeManager.js.map +1 -1
  991. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Variable.d.ts +4 -4
  992. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Variable.d.ts.map +1 -1
  993. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Variable.js.map +1 -1
  994. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.d.ts +3 -3
  995. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.d.ts.map +1 -1
  996. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.js.map +1 -1
  997. package/node_modules/@typescript-eslint/utils/package.json +9 -6
  998. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +1 -1
  999. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +1 -1
  1000. package/node_modules/@typescript-eslint/visitor-keys/package.json +3 -3
  1001. package/node_modules/eslint-config-xo-typescript/index.js +7 -1
  1002. package/node_modules/eslint-config-xo-typescript/package.json +5 -5
  1003. package/node_modules/fast-glob/out/index.d.ts +27 -27
  1004. package/node_modules/fast-glob/out/index.js +68 -68
  1005. package/node_modules/fast-glob/out/managers/patterns.d.ts +6 -6
  1006. package/node_modules/fast-glob/out/managers/patterns.js +21 -21
  1007. package/node_modules/fast-glob/out/managers/tasks.d.ts +22 -22
  1008. package/node_modules/fast-glob/out/managers/tasks.js +80 -80
  1009. package/node_modules/fast-glob/out/providers/async.d.ts +9 -11
  1010. package/node_modules/fast-glob/out/providers/async.js +23 -28
  1011. package/node_modules/fast-glob/out/providers/filters/deep.d.ts +16 -16
  1012. package/node_modules/fast-glob/out/providers/filters/deep.js +62 -62
  1013. package/node_modules/fast-glob/out/providers/filters/entry.d.ts +16 -20
  1014. package/node_modules/fast-glob/out/providers/filters/entry.js +64 -60
  1015. package/node_modules/fast-glob/out/providers/filters/error.d.ts +8 -8
  1016. package/node_modules/fast-glob/out/providers/filters/error.js +15 -15
  1017. package/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +33 -33
  1018. package/node_modules/fast-glob/out/providers/matchers/matcher.js +50 -50
  1019. package/node_modules/fast-glob/out/providers/matchers/partial.d.ts +4 -4
  1020. package/node_modules/fast-glob/out/providers/matchers/partial.js +38 -38
  1021. package/node_modules/fast-glob/out/providers/provider.d.ts +19 -19
  1022. package/node_modules/fast-glob/out/providers/provider.js +48 -48
  1023. package/node_modules/fast-glob/out/providers/stream.d.ts +11 -11
  1024. package/node_modules/fast-glob/out/providers/stream.js +31 -31
  1025. package/node_modules/fast-glob/out/providers/sync.d.ts +9 -9
  1026. package/node_modules/fast-glob/out/providers/sync.js +23 -23
  1027. package/node_modules/fast-glob/out/providers/transformers/entry.d.ts +8 -8
  1028. package/node_modules/fast-glob/out/providers/transformers/entry.js +26 -26
  1029. package/node_modules/fast-glob/out/readers/async.d.ts +10 -0
  1030. package/node_modules/fast-glob/out/readers/async.js +35 -0
  1031. package/node_modules/fast-glob/out/readers/reader.d.ts +15 -15
  1032. package/node_modules/fast-glob/out/readers/reader.js +33 -33
  1033. package/node_modules/fast-glob/out/readers/stream.d.ts +14 -14
  1034. package/node_modules/fast-glob/out/readers/stream.js +55 -55
  1035. package/node_modules/fast-glob/out/readers/sync.d.ts +12 -12
  1036. package/node_modules/fast-glob/out/readers/sync.js +43 -43
  1037. package/node_modules/fast-glob/out/settings.d.ts +164 -164
  1038. package/node_modules/fast-glob/out/settings.js +57 -57
  1039. package/node_modules/fast-glob/out/types/index.d.ts +31 -31
  1040. package/node_modules/fast-glob/out/types/index.js +2 -2
  1041. package/node_modules/fast-glob/out/utils/array.d.ts +2 -2
  1042. package/node_modules/fast-glob/out/utils/array.js +22 -22
  1043. package/node_modules/fast-glob/out/utils/errno.d.ts +2 -2
  1044. package/node_modules/fast-glob/out/utils/errno.js +7 -7
  1045. package/node_modules/fast-glob/out/utils/fs.d.ts +4 -4
  1046. package/node_modules/fast-glob/out/utils/fs.js +19 -19
  1047. package/node_modules/fast-glob/out/utils/index.d.ts +8 -8
  1048. package/node_modules/fast-glob/out/utils/index.js +17 -17
  1049. package/node_modules/fast-glob/out/utils/path.d.ts +8 -8
  1050. package/node_modules/fast-glob/out/utils/path.js +33 -33
  1051. package/node_modules/fast-glob/out/utils/pattern.d.ts +42 -42
  1052. package/node_modules/fast-glob/out/utils/pattern.js +169 -169
  1053. package/node_modules/fast-glob/out/utils/stream.d.ts +3 -3
  1054. package/node_modules/fast-glob/out/utils/stream.js +17 -17
  1055. package/node_modules/fast-glob/out/utils/string.d.ts +2 -2
  1056. package/node_modules/fast-glob/out/utils/string.js +11 -11
  1057. package/node_modules/fast-glob/package.json +1 -1
  1058. package/node_modules/natural-compare-lite/README.md +126 -0
  1059. package/node_modules/natural-compare-lite/index.js +57 -0
  1060. package/node_modules/natural-compare-lite/package.json +42 -0
  1061. package/node_modules/semver/classes/range.js +3 -0
  1062. package/node_modules/semver/index.js +81 -41
  1063. package/node_modules/{lru-cache → semver/node_modules/lru-cache}/LICENSE +0 -0
  1064. package/node_modules/{lru-cache → semver/node_modules/lru-cache}/README.md +0 -0
  1065. package/node_modules/{lru-cache → semver/node_modules/lru-cache}/index.js +0 -0
  1066. package/node_modules/{lru-cache → semver/node_modules/lru-cache}/package.json +0 -0
  1067. package/node_modules/semver/package.json +21 -10
  1068. package/package.json +24 -24
  1069. package/readme.md +6 -4
  1070. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/BinarySearchTree.js +0 -55
  1071. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/BinarySearchTree.js.map +0 -1
  1072. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/OffsetStorage.js +0 -221
  1073. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/OffsetStorage.js.map +0 -1
  1074. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/TokenInfo.js +0 -49
  1075. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/TokenInfo.js.map +0 -1
  1076. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/index.js +0 -1140
  1077. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/index.js.map +0 -1
  1078. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleTester.d.ts +0 -18
  1079. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.d.ts +0 -18
  1080. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.d.ts.map +0 -1
  1081. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js +0 -133
  1082. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js.map +0 -1
  1083. package/node_modules/functional-red-black-tree/.npmignore +0 -16
  1084. package/node_modules/functional-red-black-tree/LICENSE +0 -22
  1085. package/node_modules/functional-red-black-tree/README.md +0 -237
  1086. package/node_modules/functional-red-black-tree/bench/test.js +0 -11
  1087. package/node_modules/functional-red-black-tree/package.json +0 -40
  1088. package/node_modules/functional-red-black-tree/rbtree.js +0 -996
  1089. package/node_modules/functional-red-black-tree/test/test.js +0 -479
@@ -1,1140 +0,0 @@
1
- "use strict";
2
- //------------------------------------------------------------------------------
3
- // Requirements
4
- //------------------------------------------------------------------------------
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const utils_1 = require("@typescript-eslint/utils");
7
- const OffsetStorage_1 = require("./OffsetStorage");
8
- const TokenInfo_1 = require("./TokenInfo");
9
- const util_1 = require("../../util");
10
- const GLOBAL_LINEBREAK_REGEX = /\r\n|[\r\n\u2028\u2029]/gu;
11
- const WHITESPACE_REGEX = /\s*$/u;
12
- //------------------------------------------------------------------------------
13
- // Rule Definition
14
- //------------------------------------------------------------------------------
15
- const KNOWN_NODES = new Set([
16
- utils_1.AST_NODE_TYPES.AssignmentExpression,
17
- utils_1.AST_NODE_TYPES.AssignmentPattern,
18
- utils_1.AST_NODE_TYPES.ArrayExpression,
19
- utils_1.AST_NODE_TYPES.ArrayPattern,
20
- utils_1.AST_NODE_TYPES.ArrowFunctionExpression,
21
- utils_1.AST_NODE_TYPES.AwaitExpression,
22
- utils_1.AST_NODE_TYPES.BlockStatement,
23
- utils_1.AST_NODE_TYPES.BinaryExpression,
24
- utils_1.AST_NODE_TYPES.BreakStatement,
25
- utils_1.AST_NODE_TYPES.CallExpression,
26
- utils_1.AST_NODE_TYPES.CatchClause,
27
- utils_1.AST_NODE_TYPES.ClassBody,
28
- utils_1.AST_NODE_TYPES.ClassDeclaration,
29
- utils_1.AST_NODE_TYPES.ClassExpression,
30
- utils_1.AST_NODE_TYPES.ConditionalExpression,
31
- utils_1.AST_NODE_TYPES.ContinueStatement,
32
- utils_1.AST_NODE_TYPES.DoWhileStatement,
33
- utils_1.AST_NODE_TYPES.DebuggerStatement,
34
- utils_1.AST_NODE_TYPES.EmptyStatement,
35
- utils_1.AST_NODE_TYPES.ExpressionStatement,
36
- utils_1.AST_NODE_TYPES.ForStatement,
37
- utils_1.AST_NODE_TYPES.ForInStatement,
38
- utils_1.AST_NODE_TYPES.ForOfStatement,
39
- utils_1.AST_NODE_TYPES.FunctionDeclaration,
40
- utils_1.AST_NODE_TYPES.FunctionExpression,
41
- utils_1.AST_NODE_TYPES.Identifier,
42
- utils_1.AST_NODE_TYPES.IfStatement,
43
- utils_1.AST_NODE_TYPES.Literal,
44
- utils_1.AST_NODE_TYPES.LabeledStatement,
45
- utils_1.AST_NODE_TYPES.LogicalExpression,
46
- utils_1.AST_NODE_TYPES.MemberExpression,
47
- utils_1.AST_NODE_TYPES.MetaProperty,
48
- utils_1.AST_NODE_TYPES.MethodDefinition,
49
- utils_1.AST_NODE_TYPES.NewExpression,
50
- utils_1.AST_NODE_TYPES.ObjectExpression,
51
- utils_1.AST_NODE_TYPES.ObjectPattern,
52
- utils_1.AST_NODE_TYPES.Program,
53
- utils_1.AST_NODE_TYPES.Property,
54
- utils_1.AST_NODE_TYPES.RestElement,
55
- utils_1.AST_NODE_TYPES.ReturnStatement,
56
- utils_1.AST_NODE_TYPES.SequenceExpression,
57
- utils_1.AST_NODE_TYPES.SpreadElement,
58
- utils_1.AST_NODE_TYPES.Super,
59
- utils_1.AST_NODE_TYPES.SwitchCase,
60
- utils_1.AST_NODE_TYPES.SwitchStatement,
61
- utils_1.AST_NODE_TYPES.TaggedTemplateExpression,
62
- utils_1.AST_NODE_TYPES.TemplateElement,
63
- utils_1.AST_NODE_TYPES.TemplateLiteral,
64
- utils_1.AST_NODE_TYPES.ThisExpression,
65
- utils_1.AST_NODE_TYPES.ThrowStatement,
66
- utils_1.AST_NODE_TYPES.TryStatement,
67
- utils_1.AST_NODE_TYPES.UnaryExpression,
68
- utils_1.AST_NODE_TYPES.UpdateExpression,
69
- utils_1.AST_NODE_TYPES.VariableDeclaration,
70
- utils_1.AST_NODE_TYPES.VariableDeclarator,
71
- utils_1.AST_NODE_TYPES.WhileStatement,
72
- utils_1.AST_NODE_TYPES.WithStatement,
73
- utils_1.AST_NODE_TYPES.YieldExpression,
74
- utils_1.AST_NODE_TYPES.JSXIdentifier,
75
- utils_1.AST_NODE_TYPES.JSXMemberExpression,
76
- utils_1.AST_NODE_TYPES.JSXEmptyExpression,
77
- utils_1.AST_NODE_TYPES.JSXExpressionContainer,
78
- utils_1.AST_NODE_TYPES.JSXElement,
79
- utils_1.AST_NODE_TYPES.JSXClosingElement,
80
- utils_1.AST_NODE_TYPES.JSXOpeningElement,
81
- utils_1.AST_NODE_TYPES.JSXAttribute,
82
- utils_1.AST_NODE_TYPES.JSXSpreadAttribute,
83
- utils_1.AST_NODE_TYPES.JSXText,
84
- utils_1.AST_NODE_TYPES.ExportDefaultDeclaration,
85
- utils_1.AST_NODE_TYPES.ExportNamedDeclaration,
86
- utils_1.AST_NODE_TYPES.ExportAllDeclaration,
87
- utils_1.AST_NODE_TYPES.ExportSpecifier,
88
- utils_1.AST_NODE_TYPES.ImportDeclaration,
89
- utils_1.AST_NODE_TYPES.ImportSpecifier,
90
- utils_1.AST_NODE_TYPES.ImportDefaultSpecifier,
91
- utils_1.AST_NODE_TYPES.ImportNamespaceSpecifier,
92
- // Class properties aren't yet supported by eslint...
93
- utils_1.AST_NODE_TYPES.PropertyDefinition,
94
- // ts keywords
95
- utils_1.AST_NODE_TYPES.TSAbstractKeyword,
96
- utils_1.AST_NODE_TYPES.TSAnyKeyword,
97
- utils_1.AST_NODE_TYPES.TSBooleanKeyword,
98
- utils_1.AST_NODE_TYPES.TSNeverKeyword,
99
- utils_1.AST_NODE_TYPES.TSNumberKeyword,
100
- utils_1.AST_NODE_TYPES.TSStringKeyword,
101
- utils_1.AST_NODE_TYPES.TSSymbolKeyword,
102
- utils_1.AST_NODE_TYPES.TSUndefinedKeyword,
103
- utils_1.AST_NODE_TYPES.TSUnknownKeyword,
104
- utils_1.AST_NODE_TYPES.TSVoidKeyword,
105
- utils_1.AST_NODE_TYPES.TSNullKeyword,
106
- // ts specific nodes we want to support
107
- utils_1.AST_NODE_TYPES.TSAbstractPropertyDefinition,
108
- utils_1.AST_NODE_TYPES.TSAbstractMethodDefinition,
109
- utils_1.AST_NODE_TYPES.TSArrayType,
110
- utils_1.AST_NODE_TYPES.TSAsExpression,
111
- utils_1.AST_NODE_TYPES.TSCallSignatureDeclaration,
112
- utils_1.AST_NODE_TYPES.TSConditionalType,
113
- utils_1.AST_NODE_TYPES.TSConstructorType,
114
- utils_1.AST_NODE_TYPES.TSConstructSignatureDeclaration,
115
- utils_1.AST_NODE_TYPES.TSDeclareFunction,
116
- utils_1.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,
117
- utils_1.AST_NODE_TYPES.TSEnumDeclaration,
118
- utils_1.AST_NODE_TYPES.TSEnumMember,
119
- utils_1.AST_NODE_TYPES.TSExportAssignment,
120
- utils_1.AST_NODE_TYPES.TSExternalModuleReference,
121
- utils_1.AST_NODE_TYPES.TSFunctionType,
122
- utils_1.AST_NODE_TYPES.TSImportType,
123
- utils_1.AST_NODE_TYPES.TSIndexedAccessType,
124
- utils_1.AST_NODE_TYPES.TSIndexSignature,
125
- utils_1.AST_NODE_TYPES.TSInferType,
126
- utils_1.AST_NODE_TYPES.TSInterfaceBody,
127
- utils_1.AST_NODE_TYPES.TSInterfaceDeclaration,
128
- utils_1.AST_NODE_TYPES.TSInterfaceHeritage,
129
- utils_1.AST_NODE_TYPES.TSIntersectionType,
130
- utils_1.AST_NODE_TYPES.TSImportEqualsDeclaration,
131
- utils_1.AST_NODE_TYPES.TSLiteralType,
132
- utils_1.AST_NODE_TYPES.TSMappedType,
133
- utils_1.AST_NODE_TYPES.TSMethodSignature,
134
- 'TSMinusToken',
135
- utils_1.AST_NODE_TYPES.TSModuleBlock,
136
- utils_1.AST_NODE_TYPES.TSModuleDeclaration,
137
- utils_1.AST_NODE_TYPES.TSNonNullExpression,
138
- utils_1.AST_NODE_TYPES.TSParameterProperty,
139
- 'TSPlusToken',
140
- utils_1.AST_NODE_TYPES.TSPropertySignature,
141
- utils_1.AST_NODE_TYPES.TSQualifiedName,
142
- 'TSQuestionToken',
143
- utils_1.AST_NODE_TYPES.TSRestType,
144
- utils_1.AST_NODE_TYPES.TSThisType,
145
- utils_1.AST_NODE_TYPES.TSTupleType,
146
- utils_1.AST_NODE_TYPES.TSTypeAnnotation,
147
- utils_1.AST_NODE_TYPES.TSTypeLiteral,
148
- utils_1.AST_NODE_TYPES.TSTypeOperator,
149
- utils_1.AST_NODE_TYPES.TSTypeParameter,
150
- utils_1.AST_NODE_TYPES.TSTypeParameterDeclaration,
151
- utils_1.AST_NODE_TYPES.TSTypeParameterInstantiation,
152
- utils_1.AST_NODE_TYPES.TSTypeReference,
153
- utils_1.AST_NODE_TYPES.TSUnionType,
154
- ]);
155
- const STATEMENT_LIST_PARENTS = new Set([
156
- utils_1.AST_NODE_TYPES.Program,
157
- utils_1.AST_NODE_TYPES.BlockStatement,
158
- utils_1.AST_NODE_TYPES.SwitchCase,
159
- ]);
160
- const DEFAULT_VARIABLE_INDENT = 1;
161
- const DEFAULT_PARAMETER_INDENT = 1;
162
- const DEFAULT_FUNCTION_BODY_INDENT = 1;
163
- /*
164
- * General rule strategy:
165
- * 1. An OffsetStorage instance stores a map of desired offsets, where each token has a specified offset from another
166
- * specified token or to the first column.
167
- * 2. As the AST is traversed, modify the desired offsets of tokens accordingly. For example, when entering a
168
- * BlockStatement, offset all of the tokens in the BlockStatement by 1 indent level from the opening curly
169
- * brace of the BlockStatement.
170
- * 3. After traversing the AST, calculate the expected indentation levels of every token according to the
171
- * OffsetStorage container.
172
- * 4. For each line, compare the expected indentation of the first token to the actual indentation in the file,
173
- * and report the token if the two values are not equal.
174
- */
175
- const ELEMENT_LIST_SCHEMA = {
176
- oneOf: [
177
- {
178
- type: 'integer',
179
- minimum: 0,
180
- },
181
- {
182
- enum: ['first', 'off'],
183
- },
184
- ],
185
- };
186
- exports.default = (0, util_1.createRule)({
187
- name: 'indent',
188
- meta: {
189
- type: 'layout',
190
- docs: {
191
- description: 'Enforce consistent indentation.',
192
- recommended: false,
193
- },
194
- fixable: 'whitespace',
195
- schema: [
196
- {
197
- oneOf: [
198
- {
199
- enum: ['tab'],
200
- },
201
- {
202
- type: 'integer',
203
- minimum: 0,
204
- },
205
- ],
206
- },
207
- {
208
- type: 'object',
209
- properties: {
210
- SwitchCase: {
211
- type: 'integer',
212
- minimum: 0,
213
- default: 0,
214
- },
215
- VariableDeclarator: {
216
- oneOf: [
217
- ELEMENT_LIST_SCHEMA,
218
- {
219
- type: 'object',
220
- properties: {
221
- var: ELEMENT_LIST_SCHEMA,
222
- let: ELEMENT_LIST_SCHEMA,
223
- const: ELEMENT_LIST_SCHEMA,
224
- },
225
- additionalProperties: false,
226
- },
227
- ],
228
- },
229
- outerIIFEBody: {
230
- type: 'integer',
231
- minimum: 0,
232
- },
233
- MemberExpression: {
234
- oneOf: [
235
- {
236
- type: 'integer',
237
- minimum: 0,
238
- },
239
- {
240
- enum: ['off'],
241
- },
242
- ],
243
- },
244
- FunctionDeclaration: {
245
- type: 'object',
246
- properties: {
247
- parameters: ELEMENT_LIST_SCHEMA,
248
- body: {
249
- type: 'integer',
250
- minimum: 0,
251
- },
252
- },
253
- additionalProperties: false,
254
- },
255
- FunctionExpression: {
256
- type: 'object',
257
- properties: {
258
- parameters: ELEMENT_LIST_SCHEMA,
259
- body: {
260
- type: 'integer',
261
- minimum: 0,
262
- },
263
- },
264
- additionalProperties: false,
265
- },
266
- CallExpression: {
267
- type: 'object',
268
- properties: {
269
- arguments: ELEMENT_LIST_SCHEMA,
270
- },
271
- additionalProperties: false,
272
- },
273
- ArrayExpression: ELEMENT_LIST_SCHEMA,
274
- ObjectExpression: ELEMENT_LIST_SCHEMA,
275
- ImportDeclaration: ELEMENT_LIST_SCHEMA,
276
- flatTernaryExpressions: {
277
- type: 'boolean',
278
- default: false,
279
- },
280
- ignoredNodes: {
281
- type: 'array',
282
- items: {
283
- type: 'string',
284
- not: {
285
- pattern: ':exit$',
286
- },
287
- },
288
- },
289
- ignoreComments: {
290
- type: 'boolean',
291
- default: false,
292
- },
293
- },
294
- additionalProperties: false,
295
- },
296
- ],
297
- messages: {
298
- wrongIndentation: 'Expected indentation of {{expected}} but found {{actual}}.',
299
- },
300
- },
301
- defaultOptions: [
302
- // typescript docs and playground use 4 space indent
303
- 4,
304
- {
305
- // typescript docs indent the case from the switch
306
- // https://www.typescriptlang.org/docs/handbook/release-notes/typescript-1-8.html#example-4
307
- SwitchCase: 1,
308
- VariableDeclarator: {
309
- var: DEFAULT_VARIABLE_INDENT,
310
- let: DEFAULT_VARIABLE_INDENT,
311
- const: DEFAULT_VARIABLE_INDENT,
312
- },
313
- outerIIFEBody: 1,
314
- FunctionDeclaration: {
315
- parameters: DEFAULT_PARAMETER_INDENT,
316
- body: DEFAULT_FUNCTION_BODY_INDENT,
317
- },
318
- FunctionExpression: {
319
- parameters: DEFAULT_PARAMETER_INDENT,
320
- body: DEFAULT_FUNCTION_BODY_INDENT,
321
- },
322
- CallExpression: {
323
- arguments: DEFAULT_PARAMETER_INDENT,
324
- },
325
- MemberExpression: 1,
326
- ArrayExpression: 1,
327
- ObjectExpression: 1,
328
- ImportDeclaration: 1,
329
- flatTernaryExpressions: false,
330
- ignoredNodes: [],
331
- ignoreComments: false,
332
- },
333
- ],
334
- create(context, [userIndent, userOptions]) {
335
- const indentType = userIndent === 'tab' ? 'tab' : 'space';
336
- const indentSize = userIndent === 'tab' ? 1 : userIndent;
337
- const options = userOptions;
338
- if (typeof userOptions.VariableDeclarator === 'number' ||
339
- userOptions.VariableDeclarator === 'first') {
340
- // typescript doesn't narrow the type for some reason
341
- options.VariableDeclarator = {
342
- var: userOptions.VariableDeclarator,
343
- let: userOptions.VariableDeclarator,
344
- const: userOptions.VariableDeclarator,
345
- };
346
- }
347
- const sourceCode = context.getSourceCode();
348
- const tokenInfo = new TokenInfo_1.TokenInfo(sourceCode);
349
- const offsets = new OffsetStorage_1.OffsetStorage(tokenInfo, indentSize, indentType === 'space' ? ' ' : '\t');
350
- const parameterParens = new WeakSet();
351
- /**
352
- * Creates an error message for a line, given the expected/actual indentation.
353
- * @param expectedAmount The expected amount of indentation characters for this line
354
- * @param actualSpaces The actual number of indentation spaces that were found on this line
355
- * @param actualTabs The actual number of indentation tabs that were found on this line
356
- * @returns An error message for this line
357
- */
358
- function createErrorMessageData(expectedAmount, actualSpaces, actualTabs) {
359
- const expectedStatement = `${expectedAmount} ${indentType}${expectedAmount === 1 ? '' : 's'}`; // e.g. "2 tabs"
360
- const foundSpacesWord = `space${actualSpaces === 1 ? '' : 's'}`; // e.g. "space"
361
- const foundTabsWord = `tab${actualTabs === 1 ? '' : 's'}`; // e.g. "tabs"
362
- let foundStatement;
363
- if (actualSpaces > 0) {
364
- /*
365
- * Abbreviate the message if the expected indentation is also spaces.
366
- * e.g. 'Expected 4 spaces but found 2' rather than 'Expected 4 spaces but found 2 spaces'
367
- */
368
- foundStatement =
369
- indentType === 'space'
370
- ? actualSpaces
371
- : `${actualSpaces} ${foundSpacesWord}`;
372
- }
373
- else if (actualTabs > 0) {
374
- foundStatement =
375
- indentType === 'tab' ? actualTabs : `${actualTabs} ${foundTabsWord}`;
376
- }
377
- else {
378
- foundStatement = '0';
379
- }
380
- return {
381
- expected: expectedStatement,
382
- actual: foundStatement,
383
- };
384
- }
385
- /**
386
- * Reports a given indent violation
387
- * @param token Token violating the indent rule
388
- * @param neededIndent Expected indentation string
389
- */
390
- function report(token, neededIndent) {
391
- const actualIndent = Array.from(tokenInfo.getTokenIndent(token));
392
- const numSpaces = actualIndent.filter(char => char === ' ').length;
393
- const numTabs = actualIndent.filter(char => char === '\t').length;
394
- context.report({
395
- node: token,
396
- messageId: 'wrongIndentation',
397
- data: createErrorMessageData(neededIndent.length, numSpaces, numTabs),
398
- loc: {
399
- start: { line: token.loc.start.line, column: 0 },
400
- end: { line: token.loc.start.line, column: token.loc.start.column },
401
- },
402
- fix(fixer) {
403
- return fixer.replaceTextRange([token.range[0] - token.loc.start.column, token.range[0]], neededIndent);
404
- },
405
- });
406
- }
407
- /**
408
- * Checks if a token's indentation is correct
409
- * @param token Token to examine
410
- * @param desiredIndent Desired indentation of the string
411
- * @returns `true` if the token's indentation is correct
412
- */
413
- function validateTokenIndent(token, desiredIndent) {
414
- const indentation = tokenInfo.getTokenIndent(token);
415
- return (indentation === desiredIndent ||
416
- // To avoid conflicts with no-mixed-spaces-and-tabs, don't report mixed spaces and tabs.
417
- (indentation.includes(' ') && indentation.includes('\t')));
418
- }
419
- /**
420
- * Check to see if the node is a file level IIFE
421
- * @param node The function node to check.
422
- * @returns True if the node is the outer IIFE
423
- */
424
- function isOuterIIFE(node) {
425
- var _a;
426
- /*
427
- * Verify that the node is an IIFE
428
- */
429
- if (!node.parent ||
430
- node.parent.type !== utils_1.AST_NODE_TYPES.CallExpression ||
431
- node.parent.callee !== node) {
432
- return false;
433
- }
434
- /*
435
- * Navigate legal ancestors to determine whether this IIFE is outer.
436
- * A "legal ancestor" is an expression or statement that causes the function to get executed immediately.
437
- * For example, `!(function(){})()` is an outer IIFE even though it is preceded by a ! operator.
438
- */
439
- let statement = (_a = node.parent) === null || _a === void 0 ? void 0 : _a.parent;
440
- while (statement &&
441
- ((statement.type === utils_1.AST_NODE_TYPES.UnaryExpression &&
442
- ['!', '~', '+', '-'].includes(statement.operator)) ||
443
- statement.type === utils_1.AST_NODE_TYPES.AssignmentExpression ||
444
- statement.type === utils_1.AST_NODE_TYPES.LogicalExpression ||
445
- statement.type === utils_1.AST_NODE_TYPES.SequenceExpression ||
446
- statement.type === utils_1.AST_NODE_TYPES.VariableDeclarator)) {
447
- statement = statement.parent;
448
- }
449
- return (!!statement &&
450
- (statement.type === utils_1.AST_NODE_TYPES.ExpressionStatement ||
451
- statement.type === utils_1.AST_NODE_TYPES.VariableDeclaration) &&
452
- !!statement.parent &&
453
- statement.parent.type === utils_1.AST_NODE_TYPES.Program);
454
- }
455
- /**
456
- * Counts the number of linebreaks that follow the last non-whitespace character in a string
457
- * @param str The string to check
458
- * @returns The number of JavaScript linebreaks that follow the last non-whitespace character,
459
- * or the total number of linebreaks if the string is all whitespace.
460
- */
461
- function countTrailingLinebreaks(str) {
462
- const trailingWhitespace = WHITESPACE_REGEX.exec(str)[0];
463
- const linebreakMatches = GLOBAL_LINEBREAK_REGEX.exec(trailingWhitespace);
464
- return linebreakMatches === null ? 0 : linebreakMatches.length;
465
- }
466
- /**
467
- * Check indentation for lists of elements (arrays, objects, function params)
468
- * @param elements List of elements that should be offset
469
- * @param startToken The start token of the list that element should be aligned against, e.g. '['
470
- * @param endToken The end token of the list, e.g. ']'
471
- * @param offset The amount that the elements should be offset
472
- */
473
- function addElementListIndent(elements, startToken, endToken, offset) {
474
- /**
475
- * Gets the first token of a given element, including surrounding parentheses.
476
- * @param element A node in the `elements` list
477
- * @returns The first token of this element
478
- */
479
- function getFirstToken(element) {
480
- let token = sourceCode.getTokenBefore(element);
481
- while ((0, util_1.isOpeningParenToken)(token) && token !== startToken) {
482
- token = sourceCode.getTokenBefore(token);
483
- }
484
- return sourceCode.getTokenAfter(token);
485
- }
486
- // Run through all the tokens in the list, and offset them by one indent level (mainly for comments, other things will end up overridden)
487
- offsets.setDesiredOffsets([startToken.range[1], endToken.range[0]], startToken, typeof offset === 'number' ? offset : 1);
488
- offsets.setDesiredOffset(endToken, startToken, 0);
489
- // If the preference is "first" but there is no first element (e.g. sparse arrays w/ empty first slot), fall back to 1 level.
490
- const firstElement = elements[0];
491
- if (offset === 'first' && elements.length && !firstElement) {
492
- return;
493
- }
494
- elements.forEach((element, index) => {
495
- if (!element) {
496
- // Skip holes in arrays
497
- return;
498
- }
499
- if (offset === 'off') {
500
- // Ignore the first token of every element if the "off" option is used
501
- offsets.ignoreToken(getFirstToken(element));
502
- }
503
- // Offset the following elements correctly relative to the first element
504
- if (index === 0) {
505
- return;
506
- }
507
- if (offset === 'first' &&
508
- tokenInfo.isFirstTokenOfLine(getFirstToken(element))) {
509
- offsets.matchOffsetOf(getFirstToken(firstElement), getFirstToken(element));
510
- }
511
- else {
512
- const previousElement = elements[index - 1];
513
- const firstTokenOfPreviousElement = previousElement && getFirstToken(previousElement);
514
- const previousElementLastToken = previousElement && sourceCode.getLastToken(previousElement);
515
- if (previousElement &&
516
- previousElementLastToken &&
517
- previousElementLastToken.loc.end.line -
518
- countTrailingLinebreaks(previousElementLastToken.value) >
519
- startToken.loc.end.line) {
520
- offsets.setDesiredOffsets([previousElement.range[1], element.range[1]], firstTokenOfPreviousElement, 0);
521
- }
522
- }
523
- });
524
- }
525
- /**
526
- * Check and decide whether to check for indentation for blockless nodes
527
- * Scenarios are for or while statements without braces around them
528
- */
529
- function addBlocklessNodeIndent(node) {
530
- if (node.type !== utils_1.AST_NODE_TYPES.BlockStatement) {
531
- const lastParentToken = sourceCode.getTokenBefore(node, util_1.isNotOpeningParenToken);
532
- let firstBodyToken = sourceCode.getFirstToken(node);
533
- let lastBodyToken = sourceCode.getLastToken(node);
534
- while ((0, util_1.isOpeningParenToken)(sourceCode.getTokenBefore(firstBodyToken)) &&
535
- (0, util_1.isClosingParenToken)(sourceCode.getTokenAfter(lastBodyToken))) {
536
- firstBodyToken = sourceCode.getTokenBefore(firstBodyToken);
537
- lastBodyToken = sourceCode.getTokenAfter(lastBodyToken);
538
- }
539
- offsets.setDesiredOffsets([firstBodyToken.range[0], lastBodyToken.range[1]], lastParentToken, 1);
540
- /*
541
- * For blockless nodes with semicolon-first style, don't indent the semicolon.
542
- * e.g.
543
- * if (foo) bar()
544
- * ; [1, 2, 3].map(foo)
545
- */
546
- const lastToken = sourceCode.getLastToken(node);
547
- if (lastToken &&
548
- node.type !== utils_1.AST_NODE_TYPES.EmptyStatement &&
549
- (0, util_1.isSemicolonToken)(lastToken)) {
550
- offsets.setDesiredOffset(lastToken, lastParentToken, 0);
551
- }
552
- }
553
- }
554
- /**
555
- * Checks the indentation for nodes that are like function calls
556
- */
557
- function addFunctionCallIndent(node) {
558
- const openingParen = node.arguments.length
559
- ? sourceCode.getFirstTokenBetween(node.callee, node.arguments[0], util_1.isOpeningParenToken)
560
- : sourceCode.getLastToken(node, 1);
561
- const closingParen = sourceCode.getLastToken(node);
562
- parameterParens.add(openingParen);
563
- parameterParens.add(closingParen);
564
- offsets.setDesiredOffset(openingParen, sourceCode.getTokenBefore(openingParen), 0);
565
- addElementListIndent(node.arguments, openingParen, closingParen, options.CallExpression.arguments);
566
- }
567
- /**
568
- * Checks the indentation of parenthesized values, given a list of tokens in a program
569
- * @param tokens A list of tokens
570
- */
571
- function addParensIndent(tokens) {
572
- const parenStack = [];
573
- const parenPairs = [];
574
- tokens.forEach(nextToken => {
575
- // Accumulate a list of parenthesis pairs
576
- if ((0, util_1.isOpeningParenToken)(nextToken)) {
577
- parenStack.push(nextToken);
578
- }
579
- else if ((0, util_1.isClosingParenToken)(nextToken)) {
580
- parenPairs.unshift({ left: parenStack.pop(), right: nextToken });
581
- }
582
- });
583
- parenPairs.forEach(pair => {
584
- const leftParen = pair.left;
585
- const rightParen = pair.right;
586
- // We only want to handle parens around expressions, so exclude parentheses that are in function parameters and function call arguments.
587
- if (!parameterParens.has(leftParen) &&
588
- !parameterParens.has(rightParen)) {
589
- const parenthesizedTokens = new Set(sourceCode.getTokensBetween(leftParen, rightParen));
590
- parenthesizedTokens.forEach(token => {
591
- if (!parenthesizedTokens.has(offsets.getFirstDependency(token))) {
592
- offsets.setDesiredOffset(token, leftParen, 1);
593
- }
594
- });
595
- }
596
- offsets.setDesiredOffset(rightParen, leftParen, 0);
597
- });
598
- }
599
- /**
600
- * Ignore all tokens within an unknown node whose offset do not depend
601
- * on another token's offset within the unknown node
602
- */
603
- function ignoreNode(node) {
604
- const unknownNodeTokens = new Set(sourceCode.getTokens(node, { includeComments: true }));
605
- unknownNodeTokens.forEach(token => {
606
- if (!unknownNodeTokens.has(offsets.getFirstDependency(token))) {
607
- const firstTokenOfLine = tokenInfo.getFirstTokenOfLine(token);
608
- if (token === firstTokenOfLine) {
609
- offsets.ignoreToken(token);
610
- }
611
- else {
612
- offsets.setDesiredOffset(token, firstTokenOfLine, 0);
613
- }
614
- }
615
- });
616
- }
617
- /**
618
- * Check whether the given token is on the first line of a statement.
619
- * @param leafNode The expression node that the token belongs directly.
620
- * @returns `true` if the token is on the first line of a statement.
621
- */
622
- function isOnFirstLineOfStatement(token, leafNode) {
623
- let node = leafNode;
624
- while (node.parent &&
625
- !node.parent.type.endsWith('Statement') &&
626
- !node.parent.type.endsWith('Declaration')) {
627
- node = node.parent;
628
- }
629
- node = node.parent;
630
- return !node || node.loc.start.line === token.loc.start.line;
631
- }
632
- /**
633
- * Check whether there are any blank (whitespace-only) lines between
634
- * two tokens on separate lines.
635
- * @returns `true` if the tokens are on separate lines and
636
- * there exists a blank line between them, `false` otherwise.
637
- */
638
- function hasBlankLinesBetween(firstToken, secondToken) {
639
- const firstTokenLine = firstToken.loc.end.line;
640
- const secondTokenLine = secondToken.loc.start.line;
641
- if (firstTokenLine === secondTokenLine ||
642
- firstTokenLine === secondTokenLine - 1) {
643
- return false;
644
- }
645
- for (let line = firstTokenLine + 1; line < secondTokenLine; ++line) {
646
- if (!tokenInfo.firstTokensByLineNumber.has(line)) {
647
- return true;
648
- }
649
- }
650
- return false;
651
- }
652
- const ignoredNodeFirstTokens = new Set();
653
- const baseOffsetListeners = {
654
- 'ArrayExpression, ArrayPattern'(node) {
655
- var _a;
656
- const openingBracket = sourceCode.getFirstToken(node);
657
- const closingBracket = sourceCode.getTokenAfter((_a = node.elements[node.elements.length - 1]) !== null && _a !== void 0 ? _a : openingBracket, util_1.isClosingBracketToken);
658
- addElementListIndent(node.elements, openingBracket, closingBracket, options.ArrayExpression);
659
- },
660
- ArrowFunctionExpression(node) {
661
- const firstToken = sourceCode.getFirstToken(node);
662
- if ((0, util_1.isOpeningParenToken)(firstToken)) {
663
- const openingParen = firstToken;
664
- const closingParen = sourceCode.getTokenBefore(node.body, util_1.isClosingParenToken);
665
- parameterParens.add(openingParen);
666
- parameterParens.add(closingParen);
667
- addElementListIndent(node.params, openingParen, closingParen, options.FunctionExpression.parameters);
668
- }
669
- addBlocklessNodeIndent(node.body);
670
- },
671
- AssignmentExpression(node) {
672
- const operator = sourceCode.getFirstTokenBetween(node.left, node.right, token => token.value === node.operator);
673
- offsets.setDesiredOffsets([operator.range[0], node.range[1]], sourceCode.getLastToken(node.left), 1);
674
- offsets.ignoreToken(operator);
675
- offsets.ignoreToken(sourceCode.getTokenAfter(operator));
676
- },
677
- 'BinaryExpression, LogicalExpression'(node) {
678
- const operator = sourceCode.getFirstTokenBetween(node.left, node.right, token => token.value === node.operator);
679
- /*
680
- * For backwards compatibility, don't check BinaryExpression indents, e.g.
681
- * var foo = bar &&
682
- * baz;
683
- */
684
- const tokenAfterOperator = sourceCode.getTokenAfter(operator);
685
- offsets.ignoreToken(operator);
686
- offsets.ignoreToken(tokenAfterOperator);
687
- offsets.setDesiredOffset(tokenAfterOperator, operator, 0);
688
- },
689
- 'BlockStatement, ClassBody'(node) {
690
- let blockIndentLevel;
691
- if (node.parent && isOuterIIFE(node.parent)) {
692
- blockIndentLevel = options.outerIIFEBody;
693
- }
694
- else if (node.parent &&
695
- (node.parent.type === utils_1.AST_NODE_TYPES.FunctionExpression ||
696
- node.parent.type === utils_1.AST_NODE_TYPES.ArrowFunctionExpression)) {
697
- blockIndentLevel = options.FunctionExpression.body;
698
- }
699
- else if (node.parent &&
700
- node.parent.type === utils_1.AST_NODE_TYPES.FunctionDeclaration) {
701
- blockIndentLevel = options.FunctionDeclaration.body;
702
- }
703
- else {
704
- blockIndentLevel = 1;
705
- }
706
- /*
707
- * For blocks that aren't lone statements, ensure that the opening curly brace
708
- * is aligned with the parent.
709
- */
710
- if (node.parent && !STATEMENT_LIST_PARENTS.has(node.parent.type)) {
711
- offsets.setDesiredOffset(sourceCode.getFirstToken(node), sourceCode.getFirstToken(node.parent), 0);
712
- }
713
- addElementListIndent(node.body, sourceCode.getFirstToken(node), sourceCode.getLastToken(node), blockIndentLevel);
714
- },
715
- CallExpression: addFunctionCallIndent,
716
- 'ClassDeclaration[superClass], ClassExpression[superClass]'(node) {
717
- const classToken = sourceCode.getFirstToken(node);
718
- const extendsToken = sourceCode.getTokenBefore(node.superClass, util_1.isNotOpeningParenToken);
719
- offsets.setDesiredOffsets([extendsToken.range[0], node.body.range[0]], classToken, 1);
720
- },
721
- ConditionalExpression(node) {
722
- const firstToken = sourceCode.getFirstToken(node);
723
- // `flatTernaryExpressions` option is for the following style:
724
- // var a =
725
- // foo > 0 ? bar :
726
- // foo < 0 ? baz :
727
- // /*else*/ qiz ;
728
- if (!options.flatTernaryExpressions ||
729
- node.test.loc.end.line !== node.consequent.loc.start.line ||
730
- isOnFirstLineOfStatement(firstToken, node)) {
731
- const questionMarkToken = sourceCode.getFirstTokenBetween(node.test, node.consequent, token => token.type === utils_1.AST_TOKEN_TYPES.Punctuator && token.value === '?');
732
- const colonToken = sourceCode.getFirstTokenBetween(node.consequent, node.alternate, token => token.type === utils_1.AST_TOKEN_TYPES.Punctuator && token.value === ':');
733
- const firstConsequentToken = sourceCode.getTokenAfter(questionMarkToken);
734
- const lastConsequentToken = sourceCode.getTokenBefore(colonToken);
735
- const firstAlternateToken = sourceCode.getTokenAfter(colonToken);
736
- offsets.setDesiredOffset(questionMarkToken, firstToken, 1);
737
- offsets.setDesiredOffset(colonToken, firstToken, 1);
738
- offsets.setDesiredOffset(firstConsequentToken, firstToken, 1);
739
- /*
740
- * The alternate and the consequent should usually have the same indentation.
741
- * If they share part of a line, align the alternate against the first token of the consequent.
742
- * This allows the alternate to be indented correctly in cases like this:
743
- * foo ? (
744
- * bar
745
- * ) : ( // this '(' is aligned with the '(' above, so it's considered to be aligned with `foo`
746
- * baz // as a result, `baz` is offset by 1 rather than 2
747
- * )
748
- */
749
- if (lastConsequentToken.loc.end.line ===
750
- firstAlternateToken.loc.start.line) {
751
- offsets.setDesiredOffset(firstAlternateToken, firstConsequentToken, 0);
752
- }
753
- else {
754
- /**
755
- * If the alternate and consequent do not share part of a line, offset the alternate from the first
756
- * token of the conditional expression. For example:
757
- * foo ? bar
758
- * : baz
759
- *
760
- * If `baz` were aligned with `bar` rather than being offset by 1 from `foo`, `baz` would end up
761
- * having no expected indentation.
762
- */
763
- offsets.setDesiredOffset(firstAlternateToken, firstToken, 1);
764
- }
765
- }
766
- },
767
- 'DoWhileStatement, WhileStatement, ForInStatement, ForOfStatement': (node) => {
768
- addBlocklessNodeIndent(node.body);
769
- },
770
- ExportNamedDeclaration(node) {
771
- if (node.declaration === null) {
772
- const closingCurly = sourceCode.getLastToken(node, util_1.isClosingBraceToken);
773
- // Indent the specifiers in `export {foo, bar, baz}`
774
- addElementListIndent(node.specifiers, sourceCode.getFirstToken(node, { skip: 1 }), closingCurly, 1);
775
- if (node.source) {
776
- // Indent everything after and including the `from` token in `export {foo, bar, baz} from 'qux'`
777
- offsets.setDesiredOffsets([closingCurly.range[1], node.range[1]], sourceCode.getFirstToken(node), 1);
778
- }
779
- }
780
- },
781
- ForStatement(node) {
782
- const forOpeningParen = sourceCode.getFirstToken(node, 1);
783
- if (node.init) {
784
- offsets.setDesiredOffsets(node.init.range, forOpeningParen, 1);
785
- }
786
- if (node.test) {
787
- offsets.setDesiredOffsets(node.test.range, forOpeningParen, 1);
788
- }
789
- if (node.update) {
790
- offsets.setDesiredOffsets(node.update.range, forOpeningParen, 1);
791
- }
792
- addBlocklessNodeIndent(node.body);
793
- },
794
- 'FunctionDeclaration, FunctionExpression'(node) {
795
- const closingParen = sourceCode.getTokenBefore(node.body);
796
- const openingParen = sourceCode.getTokenBefore(node.params.length ? node.params[0] : closingParen);
797
- parameterParens.add(openingParen);
798
- parameterParens.add(closingParen);
799
- addElementListIndent(node.params, openingParen, closingParen, options[node.type].parameters);
800
- },
801
- IfStatement(node) {
802
- addBlocklessNodeIndent(node.consequent);
803
- if (node.alternate &&
804
- node.alternate.type !== utils_1.AST_NODE_TYPES.IfStatement) {
805
- addBlocklessNodeIndent(node.alternate);
806
- }
807
- },
808
- ImportDeclaration(node) {
809
- if (node.specifiers.some(specifier => specifier.type === utils_1.AST_NODE_TYPES.ImportSpecifier)) {
810
- const openingCurly = sourceCode.getFirstToken(node, util_1.isOpeningBraceToken);
811
- const closingCurly = sourceCode.getLastToken(node, util_1.isClosingBraceToken);
812
- addElementListIndent(node.specifiers.filter(specifier => specifier.type === utils_1.AST_NODE_TYPES.ImportSpecifier), openingCurly, closingCurly, options.ImportDeclaration);
813
- }
814
- const fromToken = sourceCode.getLastToken(node, token => token.type === utils_1.AST_TOKEN_TYPES.Identifier && token.value === 'from');
815
- const sourceToken = sourceCode.getLastToken(node, token => token.type === utils_1.AST_TOKEN_TYPES.String);
816
- const semiToken = sourceCode.getLastToken(node, token => token.type === utils_1.AST_TOKEN_TYPES.Punctuator && token.value === ';');
817
- if (fromToken) {
818
- const end = semiToken && semiToken.range[1] === sourceToken.range[1]
819
- ? node.range[1]
820
- : sourceToken.range[1];
821
- offsets.setDesiredOffsets([fromToken.range[0], end], sourceCode.getFirstToken(node), 1);
822
- }
823
- },
824
- 'MemberExpression, JSXMemberExpression, MetaProperty'(node) {
825
- const object = node.type === utils_1.AST_NODE_TYPES.MetaProperty ? node.meta : node.object;
826
- const isComputed = 'computed' in node && node.computed;
827
- const firstNonObjectToken = sourceCode.getFirstTokenBetween(object, node.property, util_1.isNotClosingParenToken);
828
- const secondNonObjectToken = sourceCode.getTokenAfter(firstNonObjectToken);
829
- const objectParenCount = sourceCode.getTokensBetween(object, node.property, { filter: util_1.isClosingParenToken }).length;
830
- const firstObjectToken = objectParenCount
831
- ? sourceCode.getTokenBefore(object, { skip: objectParenCount - 1 })
832
- : sourceCode.getFirstToken(object);
833
- const lastObjectToken = sourceCode.getTokenBefore(firstNonObjectToken);
834
- const firstPropertyToken = isComputed
835
- ? firstNonObjectToken
836
- : secondNonObjectToken;
837
- if (isComputed) {
838
- // For computed MemberExpressions, match the closing bracket with the opening bracket.
839
- offsets.setDesiredOffset(sourceCode.getLastToken(node), firstNonObjectToken, 0);
840
- offsets.setDesiredOffsets(node.property.range, firstNonObjectToken, 1);
841
- }
842
- /*
843
- * If the object ends on the same line that the property starts, match against the last token
844
- * of the object, to ensure that the MemberExpression is not indented.
845
- *
846
- * Otherwise, match against the first token of the object, e.g.
847
- * foo
848
- * .bar
849
- * .baz // <-- offset by 1 from `foo`
850
- */
851
- const offsetBase = lastObjectToken.loc.end.line === firstPropertyToken.loc.start.line
852
- ? lastObjectToken
853
- : firstObjectToken;
854
- if (typeof options.MemberExpression === 'number') {
855
- // Match the dot (for non-computed properties) or the opening bracket (for computed properties) against the object.
856
- offsets.setDesiredOffset(firstNonObjectToken, offsetBase, options.MemberExpression);
857
- /*
858
- * For computed MemberExpressions, match the first token of the property against the opening bracket.
859
- * Otherwise, match the first token of the property against the object.
860
- */
861
- offsets.setDesiredOffset(secondNonObjectToken, isComputed ? firstNonObjectToken : offsetBase, options.MemberExpression);
862
- }
863
- else {
864
- // If the MemberExpression option is off, ignore the dot and the first token of the property.
865
- offsets.ignoreToken(firstNonObjectToken);
866
- offsets.ignoreToken(secondNonObjectToken);
867
- // To ignore the property indentation, ensure that the property tokens depend on the ignored tokens.
868
- offsets.setDesiredOffset(firstNonObjectToken, offsetBase, 0);
869
- offsets.setDesiredOffset(secondNonObjectToken, firstNonObjectToken, 0);
870
- }
871
- },
872
- NewExpression(node) {
873
- // Only indent the arguments if the NewExpression has parens (e.g. `new Foo(bar)` or `new Foo()`, but not `new Foo`
874
- if (node.arguments.length > 0 ||
875
- ((0, util_1.isClosingParenToken)(sourceCode.getLastToken(node)) &&
876
- (0, util_1.isOpeningParenToken)(sourceCode.getLastToken(node, 1)))) {
877
- addFunctionCallIndent(node);
878
- }
879
- },
880
- 'ObjectExpression, ObjectPattern'(node) {
881
- const openingCurly = sourceCode.getFirstToken(node);
882
- const closingCurly = sourceCode.getTokenAfter(node.properties.length
883
- ? node.properties[node.properties.length - 1]
884
- : openingCurly, util_1.isClosingBraceToken);
885
- addElementListIndent(node.properties, openingCurly, closingCurly, options.ObjectExpression);
886
- },
887
- Property(node) {
888
- if (!node.shorthand && !node.method && node.kind === 'init') {
889
- const colon = sourceCode.getFirstTokenBetween(node.key, node.value, util_1.isColonToken);
890
- offsets.ignoreToken(sourceCode.getTokenAfter(colon));
891
- }
892
- },
893
- SwitchStatement(node) {
894
- const openingCurly = sourceCode.getTokenAfter(node.discriminant, util_1.isOpeningBraceToken);
895
- const closingCurly = sourceCode.getLastToken(node);
896
- offsets.setDesiredOffsets([openingCurly.range[1], closingCurly.range[0]], openingCurly, options.SwitchCase);
897
- if (node.cases.length) {
898
- sourceCode
899
- .getTokensBetween(node.cases[node.cases.length - 1], closingCurly, {
900
- includeComments: true,
901
- filter: util_1.isCommentToken,
902
- })
903
- .forEach(token => offsets.ignoreToken(token));
904
- }
905
- },
906
- SwitchCase(node) {
907
- if (!(node.consequent.length === 1 &&
908
- node.consequent[0].type === utils_1.AST_NODE_TYPES.BlockStatement)) {
909
- const caseKeyword = sourceCode.getFirstToken(node);
910
- const tokenAfterCurrentCase = sourceCode.getTokenAfter(node);
911
- offsets.setDesiredOffsets([caseKeyword.range[1], tokenAfterCurrentCase.range[0]], caseKeyword, 1);
912
- }
913
- },
914
- TemplateLiteral(node) {
915
- node.expressions.forEach((_, index) => {
916
- const previousQuasi = node.quasis[index];
917
- const nextQuasi = node.quasis[index + 1];
918
- const tokenToAlignFrom = previousQuasi.loc.start.line === previousQuasi.loc.end.line
919
- ? sourceCode.getFirstToken(previousQuasi)
920
- : null;
921
- offsets.setDesiredOffsets([previousQuasi.range[1], nextQuasi.range[0]], tokenToAlignFrom, 1);
922
- offsets.setDesiredOffset(sourceCode.getFirstToken(nextQuasi), tokenToAlignFrom, 0);
923
- });
924
- },
925
- VariableDeclaration(node) {
926
- if (node.declarations.length === 0) {
927
- return;
928
- }
929
- let variableIndent = Object.prototype.hasOwnProperty.call(options.VariableDeclarator, node.kind)
930
- ? options.VariableDeclarator[node.kind]
931
- : DEFAULT_VARIABLE_INDENT;
932
- const firstToken = sourceCode.getFirstToken(node);
933
- const lastToken = sourceCode.getLastToken(node);
934
- if (variableIndent === 'first') {
935
- if (node.declarations.length > 1) {
936
- addElementListIndent(node.declarations, firstToken, lastToken, 'first');
937
- return;
938
- }
939
- variableIndent = DEFAULT_VARIABLE_INDENT;
940
- }
941
- if (node.declarations[node.declarations.length - 1].loc.start.line >
942
- node.loc.start.line) {
943
- /*
944
- * VariableDeclarator indentation is a bit different from other forms of indentation, in that the
945
- * indentation of an opening bracket sometimes won't match that of a closing bracket. For example,
946
- * the following indentations are correct:
947
- *
948
- * var foo = {
949
- * ok: true
950
- * };
951
- *
952
- * var foo = {
953
- * ok: true,
954
- * },
955
- * bar = 1;
956
- *
957
- * Account for when exiting the AST (after indentations have already been set for the nodes in
958
- * the declaration) by manually increasing the indentation level of the tokens in this declarator
959
- * on the same line as the start of the declaration, provided that there are declarators that
960
- * follow this one.
961
- */
962
- offsets.setDesiredOffsets(node.range, firstToken, variableIndent, true);
963
- }
964
- else {
965
- offsets.setDesiredOffsets(node.range, firstToken, variableIndent);
966
- }
967
- if ((0, util_1.isSemicolonToken)(lastToken)) {
968
- offsets.ignoreToken(lastToken);
969
- }
970
- },
971
- VariableDeclarator(node) {
972
- if (node.init) {
973
- const equalOperator = sourceCode.getTokenBefore(node.init, util_1.isNotOpeningParenToken);
974
- const tokenAfterOperator = sourceCode.getTokenAfter(equalOperator);
975
- offsets.ignoreToken(equalOperator);
976
- offsets.ignoreToken(tokenAfterOperator);
977
- offsets.setDesiredOffsets([tokenAfterOperator.range[0], node.range[1]], equalOperator, 1);
978
- offsets.setDesiredOffset(equalOperator, sourceCode.getLastToken(node.id), 0);
979
- }
980
- },
981
- 'JSXAttribute[value]'(node) {
982
- const nodeValue = node.value;
983
- const equalsToken = sourceCode.getFirstTokenBetween(node.name, nodeValue, token => token.type === utils_1.AST_TOKEN_TYPES.Punctuator && token.value === '=');
984
- offsets.setDesiredOffsets([equalsToken.range[0], nodeValue.range[1]], sourceCode.getFirstToken(node.name), 1);
985
- },
986
- JSXElement(node) {
987
- if (node.closingElement) {
988
- addElementListIndent(node.children, sourceCode.getFirstToken(node.openingElement), sourceCode.getFirstToken(node.closingElement), 1);
989
- }
990
- },
991
- JSXOpeningElement(node) {
992
- const firstToken = sourceCode.getFirstToken(node);
993
- let closingToken;
994
- if (node.selfClosing) {
995
- closingToken = sourceCode.getLastToken(node, { skip: 1 });
996
- offsets.setDesiredOffset(sourceCode.getLastToken(node), closingToken, 0);
997
- }
998
- else {
999
- closingToken = sourceCode.getLastToken(node);
1000
- }
1001
- offsets.setDesiredOffsets(node.name.range, sourceCode.getFirstToken(node));
1002
- addElementListIndent(node.attributes, firstToken, closingToken, 1);
1003
- },
1004
- JSXClosingElement(node) {
1005
- const firstToken = sourceCode.getFirstToken(node);
1006
- offsets.setDesiredOffsets(node.name.range, firstToken, 1);
1007
- },
1008
- JSXExpressionContainer(node) {
1009
- const openingCurly = sourceCode.getFirstToken(node);
1010
- const closingCurly = sourceCode.getLastToken(node);
1011
- offsets.setDesiredOffsets([openingCurly.range[1], closingCurly.range[0]], openingCurly, 1);
1012
- },
1013
- '*'(node) {
1014
- const firstToken = sourceCode.getFirstToken(node);
1015
- // Ensure that the children of every node are indented at least as much as the first token.
1016
- if (firstToken && !ignoredNodeFirstTokens.has(firstToken)) {
1017
- offsets.setDesiredOffsets(node.range, firstToken, 0);
1018
- }
1019
- },
1020
- };
1021
- const listenerCallQueue = [];
1022
- /*
1023
- * To ignore the indentation of a node:
1024
- * 1. Don't call the node's listener when entering it (if it has a listener)
1025
- * 2. Don't set any offsets against the first token of the node.
1026
- * 3. Call `ignoreNode` on the node sometime after exiting it and before validating offsets.
1027
- */
1028
- const offsetListeners = Object.keys(baseOffsetListeners).reduce(
1029
- /*
1030
- * Offset listener calls are deferred until traversal is finished, and are called as
1031
- * part of the final `Program:exit` listener. This is necessary because a node might
1032
- * be matched by multiple selectors.
1033
- *
1034
- * Example: Suppose there is an offset listener for `Identifier`, and the user has
1035
- * specified in configuration that `MemberExpression > Identifier` should be ignored.
1036
- * Due to selector specificity rules, the `Identifier` listener will get called first. However,
1037
- * if a given Identifier node is supposed to be ignored, then the `Identifier` offset listener
1038
- * should not have been called at all. Without doing extra selector matching, we don't know
1039
- * whether the Identifier matches the `MemberExpression > Identifier` selector until the
1040
- * `MemberExpression > Identifier` listener is called.
1041
- *
1042
- * To avoid this, the `Identifier` listener isn't called until traversal finishes and all
1043
- * ignored nodes are known.
1044
- */
1045
- (acc, key) => {
1046
- const listener = baseOffsetListeners[key];
1047
- // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
1048
- acc[key] = node => listenerCallQueue.push({ listener, node });
1049
- return acc;
1050
- }, {});
1051
- // For each ignored node selector, set up a listener to collect it into the `ignoredNodes` set.
1052
- const ignoredNodes = new Set();
1053
- /**
1054
- * Ignores a node
1055
- * @param node The node to ignore
1056
- */
1057
- function addToIgnoredNodes(node) {
1058
- ignoredNodes.add(node);
1059
- ignoredNodeFirstTokens.add(sourceCode.getFirstToken(node));
1060
- }
1061
- const ignoredNodeListeners = options.ignoredNodes.reduce((listeners, ignoredSelector) => Object.assign(listeners, { [ignoredSelector]: addToIgnoredNodes }), {});
1062
- /*
1063
- * Join the listeners, and add a listener to verify that all tokens actually have the correct indentation
1064
- * at the end.
1065
- *
1066
- * Using Object.assign will cause some offset listeners to be overwritten if the same selector also appears
1067
- * in `ignoredNodeListeners`. This isn't a problem because all of the matching nodes will be ignored,
1068
- * so those listeners wouldn't be called anyway.
1069
- */
1070
- return Object.assign(offsetListeners, ignoredNodeListeners, {
1071
- '*:exit'(node) {
1072
- // If a node's type is nonstandard, we can't tell how its children should be offset, so ignore it.
1073
- if (!KNOWN_NODES.has(node.type)) {
1074
- addToIgnoredNodes(node);
1075
- }
1076
- },
1077
- 'Program:exit'() {
1078
- // If ignoreComments option is enabled, ignore all comment tokens.
1079
- if (options.ignoreComments) {
1080
- sourceCode
1081
- .getAllComments()
1082
- .forEach(comment => offsets.ignoreToken(comment));
1083
- }
1084
- // Invoke the queued offset listeners for the nodes that aren't ignored.
1085
- listenerCallQueue
1086
- .filter(nodeInfo => !ignoredNodes.has(nodeInfo.node))
1087
- .forEach(nodeInfo => nodeInfo.listener(nodeInfo.node));
1088
- // Update the offsets for ignored nodes to prevent their child tokens from being reported.
1089
- ignoredNodes.forEach(ignoreNode);
1090
- addParensIndent(sourceCode.ast.tokens);
1091
- /*
1092
- * Create a Map from (token) => (precedingToken).
1093
- * This is necessary because sourceCode.getTokenBefore does not handle a comment as an argument correctly.
1094
- */
1095
- const precedingTokens = sourceCode.ast.comments.reduce((commentMap, comment) => {
1096
- var _a;
1097
- const tokenBefore = sourceCode.getTokenBefore(comment, {
1098
- includeComments: true,
1099
- });
1100
- return commentMap.set(comment, (_a = commentMap.get(tokenBefore)) !== null && _a !== void 0 ? _a : tokenBefore);
1101
- }, new WeakMap());
1102
- sourceCode.lines.forEach((_, lineIndex) => {
1103
- const lineNumber = lineIndex + 1;
1104
- if (!tokenInfo.firstTokensByLineNumber.has(lineNumber)) {
1105
- // Don't check indentation on blank lines
1106
- return;
1107
- }
1108
- const firstTokenOfLine = tokenInfo.firstTokensByLineNumber.get(lineNumber);
1109
- if (firstTokenOfLine.loc.start.line !== lineNumber) {
1110
- // Don't check the indentation of multi-line tokens (e.g. template literals or block comments) twice.
1111
- return;
1112
- }
1113
- // If the token matches the expected expected indentation, don't report it.
1114
- if (validateTokenIndent(firstTokenOfLine, offsets.getDesiredIndent(firstTokenOfLine))) {
1115
- return;
1116
- }
1117
- if ((0, util_1.isCommentToken)(firstTokenOfLine)) {
1118
- const tokenBefore = precedingTokens.get(firstTokenOfLine);
1119
- const tokenAfter = tokenBefore
1120
- ? sourceCode.getTokenAfter(tokenBefore)
1121
- : sourceCode.ast.tokens[0];
1122
- const mayAlignWithBefore = tokenBefore &&
1123
- !hasBlankLinesBetween(tokenBefore, firstTokenOfLine);
1124
- const mayAlignWithAfter = tokenAfter && !hasBlankLinesBetween(firstTokenOfLine, tokenAfter);
1125
- // If a comment matches the expected indentation of the token immediately before or after, don't report it.
1126
- if ((mayAlignWithBefore &&
1127
- validateTokenIndent(firstTokenOfLine, offsets.getDesiredIndent(tokenBefore))) ||
1128
- (mayAlignWithAfter &&
1129
- validateTokenIndent(firstTokenOfLine, offsets.getDesiredIndent(tokenAfter)))) {
1130
- return;
1131
- }
1132
- }
1133
- // Otherwise, report the token/comment.
1134
- report(firstTokenOfLine, offsets.getDesiredIndent(firstTokenOfLine));
1135
- });
1136
- },
1137
- });
1138
- },
1139
- });
1140
- //# sourceMappingURL=index.js.map