xo 0.48.0 → 0.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (993) hide show
  1. package/cli.js +1 -1
  2. package/config/plugins.cjs +27 -24
  3. package/index.js +7 -2
  4. package/lib/constants.js +6 -6
  5. package/lib/options-manager.js +5 -5
  6. package/lib/report.js +3 -1
  7. package/node_modules/@types/json-schema/README.md +2 -2
  8. package/node_modules/@types/json-schema/index.d.ts +8 -1
  9. package/node_modules/@types/json-schema/package.json +3 -8
  10. package/node_modules/@typescript-eslint/eslint-plugin/README.md +1 -144
  11. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +8 -3
  12. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
  13. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js +1 -1
  14. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js.map +1 -1
  15. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +46 -0
  16. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -0
  17. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +3 -1
  18. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +1 -1
  19. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +5 -1
  20. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -1
  21. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +8 -4
  22. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
  23. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +6 -2
  24. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +1 -1
  25. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +60 -55
  26. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
  27. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +7 -3
  28. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -1
  29. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +10 -2
  30. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -1
  31. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +7 -3
  32. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -1
  33. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +6 -2
  34. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -1
  35. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +2 -2
  36. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
  37. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +87 -0
  38. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map +1 -0
  39. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +3 -4
  40. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -1
  41. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +9 -5
  42. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
  43. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +30 -27
  44. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -1
  45. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +6 -2
  46. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -1
  47. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +6 -2
  48. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
  49. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +7 -3
  50. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -1
  51. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +5 -1
  52. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -1
  53. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +5 -1
  54. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -1
  55. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +7 -2
  56. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +1 -1
  57. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +5 -1
  58. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +1 -1
  59. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +5 -1
  60. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +1 -1
  61. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +12 -0
  62. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -1
  63. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +13 -5
  64. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +1 -1
  65. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +5 -1
  66. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -1
  67. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +5 -1
  68. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +1 -1
  69. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +23 -4
  70. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -1
  71. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +46 -30
  72. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -1
  73. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +9 -2
  74. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -1
  75. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -1
  76. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +5 -1
  77. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map +1 -1
  78. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +5 -1
  79. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -1
  80. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +13 -7
  81. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -1
  82. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +6 -2
  83. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
  84. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +5 -1
  85. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +1 -1
  86. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +8 -4
  87. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -1
  88. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +6 -2
  89. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -1
  90. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +6 -2
  91. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
  92. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +5 -1
  93. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +1 -1
  94. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +85 -0
  95. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +1 -0
  96. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +7 -1
  97. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js.map +1 -1
  98. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +7 -3
  99. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -1
  100. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +16 -2
  101. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -1
  102. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +5 -1
  103. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -1
  104. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +6 -2
  105. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
  106. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +5 -1
  107. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +1 -1
  108. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +5 -1
  109. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +1 -1
  110. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +5 -1
  111. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +1 -1
  112. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +7 -3
  113. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -1
  114. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +6 -2
  115. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
  116. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +5 -1
  117. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +1 -1
  118. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js +5 -1
  119. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js.map +1 -1
  120. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +5 -1
  121. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
  122. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +15 -3
  123. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
  124. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +1 -1
  125. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +7 -3
  126. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -1
  127. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +5 -1
  128. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +1 -1
  129. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +5 -1
  130. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -1
  131. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +52 -12
  132. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +1 -1
  133. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +6 -2
  134. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +1 -1
  135. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +5 -1
  136. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +1 -1
  137. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +264 -28
  138. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
  139. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +11 -6
  140. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -1
  141. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +7 -3
  142. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
  143. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +6 -2
  144. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -1
  145. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +6 -2
  146. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -1
  147. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js +7 -1
  148. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js.map +1 -1
  149. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +5 -1
  150. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +1 -1
  151. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +373 -0
  152. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -0
  153. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +6 -2
  154. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -1
  155. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +3 -4
  156. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +1 -1
  157. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +143 -9
  158. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -1
  159. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +7 -3
  160. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +1 -1
  161. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +6 -2
  162. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +1 -1
  163. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +7 -2
  164. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -1
  165. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +7 -3
  166. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
  167. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +7 -3
  168. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -1
  169. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +6 -2
  170. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
  171. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +41 -7
  172. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -1
  173. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +10 -6
  174. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -1
  175. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +27 -6
  176. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -1
  177. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +14 -12
  178. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
  179. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +14 -11
  180. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -1
  181. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +6 -2
  182. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -1
  183. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +9 -5
  184. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -1
  185. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +6 -2
  186. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -1
  187. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +5 -1
  188. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +1 -1
  189. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +53 -21
  190. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -1
  191. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +5 -1
  192. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -1
  193. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +6 -2
  194. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +1 -1
  195. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +91 -0
  196. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +1 -0
  197. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +6 -2
  198. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -1
  199. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +7 -3
  200. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -1
  201. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +6 -2
  202. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -1
  203. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +189 -0
  204. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +1 -0
  205. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +6 -2
  206. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +1 -1
  207. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +6 -2
  208. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +1 -1
  209. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +7 -3
  210. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
  211. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +69 -64
  212. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -1
  213. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +6 -2
  214. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -1
  215. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +2 -2
  216. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +1 -1
  217. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +6 -2
  218. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +1 -1
  219. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +7 -3
  220. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -1
  221. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +54 -4
  222. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
  223. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +6 -2
  224. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +1 -1
  225. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +13 -4
  226. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -1
  227. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +7 -3
  228. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +1 -1
  229. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +6 -2
  230. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -1
  231. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +6 -2
  232. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +1 -1
  233. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +2 -2
  234. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
  235. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +7 -3
  236. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +1 -1
  237. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +6 -2
  238. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -1
  239. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +5 -1
  240. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js.map +1 -1
  241. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +6 -2
  242. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -1
  243. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +5 -1
  244. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +1 -1
  245. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +16 -3
  246. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -1
  247. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +6 -2
  248. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -1
  249. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +26 -10
  250. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +1 -1
  251. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +5 -1
  252. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js.map +1 -1
  253. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +8 -3
  254. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
  255. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +95 -0
  256. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -0
  257. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +6 -2
  258. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
  259. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +31 -28
  260. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +1 -1
  261. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +6 -2
  262. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -1
  263. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +6 -2
  264. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -1
  265. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +6 -2
  266. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -1
  267. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +5 -1
  268. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +1 -1
  269. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +40 -21
  270. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +1 -1
  271. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +6 -2
  272. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
  273. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +50 -21
  274. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +1 -1
  275. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +5 -1
  276. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +1 -1
  277. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +5 -1
  278. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
  279. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +307 -0
  280. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js.map +1 -0
  281. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +6 -1
  282. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -1
  283. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +52 -2
  284. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
  285. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +5 -141
  286. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +2 -6
  287. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +1 -11
  288. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +0 -10
  289. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +0 -10
  290. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +32 -15
  291. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +14 -7
  292. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +34 -29
  293. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +1 -7
  294. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +1 -7
  295. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +3 -9
  296. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +0 -6
  297. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-generic-constructors.md +82 -0
  298. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +1 -7
  299. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +0 -11
  300. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +1 -11
  301. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +32 -8
  302. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +0 -6
  303. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +1 -7
  304. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +1 -7
  305. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +3 -9
  306. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +3 -13
  307. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +6 -13
  308. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +1 -7
  309. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +1 -7
  310. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +1 -7
  311. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +1 -7
  312. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +1 -7
  313. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +1 -7
  314. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +544 -484
  315. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +1 -7
  316. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +0 -6
  317. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +1 -7
  318. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +1 -7
  319. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +14 -7
  320. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +0 -10
  321. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +1 -7
  322. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +56 -0
  323. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +5 -7
  324. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +14 -11
  325. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +19 -8
  326. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +1 -11
  327. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +1 -11
  328. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +1 -7
  329. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +1 -7
  330. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +1 -7
  331. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +252 -30
  332. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +18 -14
  333. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +1 -13
  334. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +3 -7
  335. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +1 -7
  336. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +0 -10
  337. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +1 -7
  338. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +1 -11
  339. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +1 -7
  340. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +1 -7
  341. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +25 -7
  342. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +2 -8
  343. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +1 -11
  344. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +107 -18
  345. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +1 -11
  346. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +14 -7
  347. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +1 -7
  348. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +0 -10
  349. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +1 -11
  350. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +1 -7
  351. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +92 -0
  352. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +13 -10
  353. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +1 -7
  354. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +1 -7
  355. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +19 -31
  356. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +1 -7
  357. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +18 -12
  358. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +1 -11
  359. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +1 -7
  360. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +13 -10
  361. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +11 -8
  362. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +1 -11
  363. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +0 -6
  364. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +1 -8
  365. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +1 -8
  366. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +1 -8
  367. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +1 -8
  368. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +1 -8
  369. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +1 -7
  370. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +1 -7
  371. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +1 -7
  372. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +1 -7
  373. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +52 -0
  374. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +1 -11
  375. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +14 -7
  376. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +1 -7
  377. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +1 -7
  378. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +484 -0
  379. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +1 -7
  380. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +14 -7
  381. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +13 -10
  382. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +13 -10
  383. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +11 -8
  384. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +1 -7
  385. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +1 -11
  386. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +1 -7
  387. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +21 -7
  388. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +4 -10
  389. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +1 -11
  390. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +11 -8
  391. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +8 -11
  392. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +14 -7
  393. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +8 -11
  394. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +14 -7
  395. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +0 -11
  396. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +1 -7
  397. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +0 -6
  398. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +1 -7
  399. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +1 -11
  400. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +1 -7
  401. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +0 -6
  402. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +1 -7
  403. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +1 -7
  404. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +54 -0
  405. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +0 -6
  406. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +1 -7
  407. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +1 -8
  408. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +14 -7
  409. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +17 -12
  410. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +1 -11
  411. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +2 -12
  412. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +0 -10
  413. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +42 -8
  414. package/node_modules/@typescript-eslint/eslint-plugin/package.json +12 -12
  415. package/node_modules/@typescript-eslint/parser/README.md +22 -10
  416. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/index.d.ts +4 -0
  417. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/parser.d.ts +20 -0
  418. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
  419. package/node_modules/@typescript-eslint/parser/dist/parser.js +6 -10
  420. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
  421. package/node_modules/@typescript-eslint/parser/package.json +9 -8
  422. package/node_modules/@typescript-eslint/scope-manager/README.md +1 -1
  423. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -1
  424. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +3 -9
  425. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
  426. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +5 -1
  427. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -1
  428. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +5 -1
  429. package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -1
  430. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +9 -9
  431. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -1
  432. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +2 -1
  433. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -1
  434. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
  435. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
  436. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +8 -1
  437. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
  438. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +68 -8
  439. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
  440. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -1
  441. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +2 -1
  442. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -1
  443. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -1
  444. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +2 -1
  445. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -1
  446. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -1
  447. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -1
  448. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +2 -1
  449. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -1
  450. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -1
  451. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +2 -1
  452. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -1
  453. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +2 -1
  454. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -1
  455. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -1
  456. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +2 -1
  457. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -1
  458. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -1
  459. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +2 -1
  460. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -1
  461. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -1
  462. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +2 -1
  463. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -1
  464. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -1
  465. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +2 -1
  466. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -1
  467. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -1
  468. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +2 -1
  469. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -1
  470. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -1
  471. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +2 -1
  472. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -1
  473. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -1
  474. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -1
  475. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +2 -1
  476. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -1
  477. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +2 -1
  478. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -1
  479. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -1
  480. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -1
  481. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +2 -1
  482. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -1
  483. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -1
  484. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +2 -1
  485. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -1
  486. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +2 -1
  487. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -1
  488. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -1
  489. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +2 -1
  490. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -1
  491. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -1
  492. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +2 -1
  493. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -1
  494. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -1
  495. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +2 -1
  496. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -1
  497. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -1
  498. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +2 -1
  499. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -1
  500. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -1
  501. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +2 -1
  502. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -1
  503. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -1
  504. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +2 -1
  505. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -1
  506. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -1
  507. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -1
  508. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +2 -1
  509. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -1
  510. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -1
  511. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +2 -1
  512. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -1
  513. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +2 -1
  514. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -1
  515. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -1
  516. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +2 -1
  517. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -1
  518. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -1
  519. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +2 -1
  520. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -1
  521. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -1
  522. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +2 -1
  523. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -1
  524. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -1
  525. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -1
  526. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +2 -1
  527. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -1
  528. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +2 -1
  529. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -1
  530. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -1
  531. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +2 -1
  532. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -1
  533. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -1
  534. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +2 -1
  535. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -1
  536. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -1
  537. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +2 -1
  538. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -1
  539. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -1
  540. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +4 -12
  541. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -1
  542. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -1
  543. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +3 -0
  544. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
  545. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +11 -0
  546. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
  547. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -1
  548. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +2 -1
  549. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -1
  550. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -1
  551. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +2 -1
  552. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -1
  553. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +5 -2
  554. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -1
  555. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
  556. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
  557. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +11 -0
  558. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
  559. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -1
  560. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +2 -1
  561. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -1
  562. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -1
  563. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +2 -1
  564. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -1
  565. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -1
  566. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +2 -1
  567. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -1
  568. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -1
  569. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +2 -1
  570. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -1
  571. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -1
  572. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -1
  573. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +2 -1
  574. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -1
  575. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -1
  576. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +2 -1
  577. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -1
  578. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +2 -1
  579. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -1
  580. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -1
  581. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +2 -1
  582. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -1
  583. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -1
  584. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +2 -1
  585. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -1
  586. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -1
  587. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +2 -1
  588. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -1
  589. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
  590. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
  591. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
  592. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
  593. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
  594. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
  595. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
  596. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
  597. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
  598. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
  599. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
  600. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
  601. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +14 -0
  602. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
  603. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +14 -0
  604. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
  605. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
  606. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
  607. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
  608. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
  609. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
  610. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
  611. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
  612. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
  613. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -1
  614. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +2 -1
  615. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -1
  616. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -1
  617. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +2 -1
  618. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -1
  619. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -1
  620. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +2 -1
  621. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -1
  622. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -1
  623. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +14 -3
  624. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -1
  625. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -1
  626. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +2 -1
  627. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -1
  628. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -1
  629. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +4 -12
  630. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -1
  631. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -1
  632. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -1
  633. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +2 -1
  634. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -1
  635. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -1
  636. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +2 -1
  637. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -1
  638. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +4 -3
  639. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -1
  640. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -1
  641. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +2 -1
  642. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -1
  643. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -1
  644. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +2 -1
  645. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -1
  646. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -1
  647. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +2 -1
  648. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -1
  649. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -1
  650. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +2 -1
  651. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -1
  652. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +8 -0
  653. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
  654. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +18 -1
  655. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
  656. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -1
  657. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +2 -1
  658. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -1
  659. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -1
  660. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +2 -1
  661. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -1
  662. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
  663. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -1
  664. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +2 -1
  665. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -1
  666. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -1
  667. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +3 -1
  668. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -1
  669. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +33 -5
  670. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
  671. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -1
  672. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +6 -4
  673. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -1
  674. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
  675. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +11 -2
  676. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
  677. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -1
  678. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +13 -7
  679. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -1
  680. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -1
  681. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +2 -6
  682. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
  683. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -1
  684. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -4
  685. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -1
  686. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +5 -1
  687. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -1
  688. package/node_modules/@typescript-eslint/scope-manager/package.json +13 -14
  689. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/containsAllTypesByName.d.ts +8 -0
  690. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getConstrainedTypeAtLocation.d.ts +6 -0
  691. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getContextualType.d.ts +8 -0
  692. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getDeclaration.d.ts +6 -0
  693. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getSourceFileOfNode.d.ts +6 -0
  694. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTokenAtPosition.d.ts +3 -0
  695. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeArguments.d.ts +3 -0
  696. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeName.d.ts +8 -0
  697. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/index.d.ts +15 -0
  698. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isTypeReadonly.d.ts +20 -0
  699. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isUnsafeAssignment.d.ts +17 -0
  700. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/predicates.d.ts +52 -0
  701. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/propertyTypes.d.ts +4 -0
  702. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/requiresQuoting.d.ts +4 -0
  703. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/typeFlagUtils.d.ts +11 -0
  704. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +5 -1
  705. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -1
  706. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +5 -1
  707. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +1 -1
  708. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +5 -1
  709. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +1 -1
  710. package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +5 -1
  711. package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js.map +1 -1
  712. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +5 -1
  713. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +1 -1
  714. package/node_modules/@typescript-eslint/type-utils/dist/index.js +5 -1
  715. package/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -1
  716. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -1
  717. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +36 -28
  718. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -1
  719. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +7 -0
  720. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -1
  721. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +38 -2
  722. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -1
  723. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +15 -1
  724. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js.map +1 -1
  725. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +5 -1
  726. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +1 -1
  727. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +5 -1
  728. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -1
  729. package/node_modules/@typescript-eslint/type-utils/package.json +7 -7
  730. package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +1732 -0
  731. package/node_modules/@typescript-eslint/types/_ts3.4/dist/index.d.ts +5 -0
  732. package/node_modules/@typescript-eslint/types/_ts3.4/dist/lib.d.ts +3 -0
  733. package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +35 -0
  734. package/node_modules/@typescript-eslint/types/_ts3.4/dist/ts-estree.d.ts +9 -0
  735. package/node_modules/@typescript-eslint/types/dist/{ast-spec.d.ts → generated/ast-spec.d.ts} +412 -67
  736. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
  737. package/node_modules/@typescript-eslint/types/dist/{ast-spec.js → generated/ast-spec.js} +1 -0
  738. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
  739. package/node_modules/@typescript-eslint/types/dist/index.d.ts +1 -2
  740. package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -1
  741. package/node_modules/@typescript-eslint/types/dist/index.js +7 -4
  742. package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -1
  743. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
  744. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
  745. package/node_modules/@typescript-eslint/types/dist/lib.js +2 -1
  746. package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -1
  747. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +1 -1
  748. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
  749. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +3 -3
  750. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -1
  751. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +6 -2
  752. package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -1
  753. package/node_modules/@typescript-eslint/types/package.json +32 -4
  754. package/node_modules/@typescript-eslint/typescript-estree/README.md +1 -1
  755. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ast-converter.d.ts +9 -0
  756. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert-comments.d.ts +11 -0
  757. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert.d.ts +157 -0
  758. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +13 -0
  759. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createDefaultProgram.d.ts +12 -0
  760. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createIsolatedProgram.d.ts +9 -0
  761. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createProjectProgram.d.ts +11 -0
  762. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createSourceFile.d.ts +5 -0
  763. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createWatchProgram.d.ts +19 -0
  764. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/getScriptKind.d.ts +5 -0
  765. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +22 -0
  766. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/useProvidedPrograms.d.ts +13 -0
  767. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +10 -0
  768. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/jsx/xhtml-entities.d.ts +2 -0
  769. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +230 -0
  770. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +188 -0
  771. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +25 -0
  772. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/semantic-or-syntactic-errors.d.ts +13 -0
  773. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/simple-traverse.d.ts +9 -0
  774. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/estree-to-ts-node-types.d.ts +175 -0
  775. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/index.d.ts +4 -0
  776. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/ts-nodes.d.ts +18 -0
  777. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/version-check.d.ts +3 -0
  778. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +6 -2
  779. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
  780. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
  781. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +38 -14
  782. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
  783. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +5 -1
  784. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -1
  785. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +1 -1
  786. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +7 -2
  787. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -1
  788. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -1
  789. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +34 -1
  790. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -1
  791. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +7 -3
  792. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -1
  793. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +5 -1
  794. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -1
  795. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +5 -0
  796. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +1 -0
  797. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +72 -0
  798. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +1 -0
  799. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +1 -2
  800. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -1
  801. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +14 -25
  802. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
  803. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +5 -1
  804. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -1
  805. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +1 -0
  806. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -1
  807. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +6 -1
  808. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
  809. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +3 -0
  810. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
  811. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +27 -4
  812. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
  813. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +1 -1
  814. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -1
  815. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +11 -4
  816. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
  817. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +3 -2
  818. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -1
  819. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +5 -1
  820. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -1
  821. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +5 -1
  822. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -1
  823. package/node_modules/@typescript-eslint/typescript-estree/package.json +11 -11
  824. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +48 -0
  825. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +76 -0
  826. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/astUtilities.d.ts +76 -0
  827. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/index.d.ts +6 -0
  828. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/predicates.d.ts +32 -0
  829. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +18 -0
  830. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/helpers.d.ts +47 -0
  831. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/index.d.ts +5 -0
  832. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/misc.d.ts +8 -0
  833. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/predicates.d.ts +180 -0
  834. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/InferTypesFromRule.d.ts +11 -0
  835. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +35 -0
  836. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleTester.d.ts +18 -0
  837. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/applyDefault.d.ts +10 -0
  838. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/batchedSingleLineTests.d.ts +24 -0
  839. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/deepMerge.d.ts +17 -0
  840. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/getParserServices.d.ts +8 -0
  841. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/index.d.ts +9 -0
  842. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/nullThrows.d.ts +14 -0
  843. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/index.d.ts +8 -0
  844. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/json-schema.d.ts +2 -0
  845. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/AST.d.ts +9 -0
  846. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/CLIEngine.d.ts +137 -0
  847. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ESLint.d.ts +376 -0
  848. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Linter.d.ts +326 -0
  849. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ParserOptions.d.ts +2 -0
  850. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Rule.d.ts +389 -0
  851. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +154 -0
  852. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Scope.d.ts +44 -0
  853. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/SourceCode.d.ts +342 -0
  854. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/index.d.ts +10 -0
  855. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Definition.d.ts +19 -0
  856. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Options.d.ts +15 -0
  857. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/PatternVisitor.d.ts +25 -0
  858. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Reference.d.ts +28 -0
  859. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Referencer.d.ts +55 -0
  860. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Scope.d.ts +103 -0
  861. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/ScopeManager.d.ts +50 -0
  862. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Variable.d.ts +17 -0
  863. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/analyze.d.ts +16 -0
  864. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/index.d.ts +11 -0
  865. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-estree.d.ts +3 -0
  866. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +2 -2
  867. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts.map +1 -1
  868. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +5 -1
  869. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -1
  870. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +5 -1
  871. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -1
  872. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +7 -7
  873. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +1 -1
  874. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +5 -1
  875. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -1
  876. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +5 -1
  877. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js.map +1 -1
  878. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +5 -1
  879. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -1
  880. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +5 -1
  881. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -1
  882. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +29 -0
  883. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
  884. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +3 -1
  885. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +1 -1
  886. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts +2 -1
  887. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts.map +1 -1
  888. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +7 -2
  889. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js.map +1 -1
  890. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +1 -1
  891. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +1 -1
  892. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map +1 -1
  893. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +8 -8
  894. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
  895. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +2 -6
  896. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -1
  897. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.d.ts.map +1 -1
  898. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js +18 -12
  899. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js.map +1 -1
  900. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts.map +1 -1
  901. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +2 -0
  902. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js.map +1 -1
  903. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +5 -1
  904. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js.map +1 -1
  905. package/node_modules/@typescript-eslint/utils/dist/index.js +5 -1
  906. package/node_modules/@typescript-eslint/utils/dist/index.js.map +1 -1
  907. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts +3 -3
  908. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts.map +1 -1
  909. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +42 -7
  910. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -1
  911. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js.map +1 -1
  912. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts +2 -2
  913. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map +1 -1
  914. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +3 -4
  915. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -1
  916. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +2 -0
  917. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -1
  918. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +1 -1
  919. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +5 -1
  920. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +1 -1
  921. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +1 -2
  922. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -1
  923. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -1
  924. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +5 -1
  925. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js.map +1 -1
  926. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.d.ts +1 -1
  927. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.d.ts.map +1 -1
  928. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts +1 -1
  929. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts.map +1 -1
  930. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.d.ts +1 -1
  931. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.d.ts.map +1 -1
  932. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js +5 -1
  933. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js.map +1 -1
  934. package/node_modules/@typescript-eslint/utils/package.json +7 -7
  935. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/get-keys.d.ts +4 -0
  936. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/index.d.ts +3 -0
  937. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/visitor-keys.d.ts +6 -0
  938. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -1
  939. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +9 -4
  940. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
  941. package/node_modules/@typescript-eslint/visitor-keys/package.json +7 -6
  942. package/node_modules/debug/README.md +3 -0
  943. package/node_modules/debug/package.json +1 -1
  944. package/node_modules/debug/src/common.js +1 -1
  945. package/node_modules/eslint-config-xo-typescript/index.js +107 -82
  946. package/node_modules/eslint-config-xo-typescript/package.json +4 -4
  947. package/node_modules/eslint-config-xo-typescript/readme.md +3 -3
  948. package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +18 -5
  949. package/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
  950. package/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
  951. package/node_modules/eslint-visitor-keys/lib/index.js +11 -5
  952. package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +7 -0
  953. package/node_modules/eslint-visitor-keys/package.json +11 -4
  954. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/LICENSE-MIT +0 -0
  955. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/README.md +0 -0
  956. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.d.ts +0 -0
  957. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.js +0 -0
  958. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/legacy.js +0 -0
  959. package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/package.json +0 -0
  960. package/node_modules/micromatch/README.md +12 -9
  961. package/node_modules/micromatch/index.js +3 -3
  962. package/node_modules/micromatch/package.json +5 -5
  963. package/node_modules/semver/README.md +3 -1
  964. package/node_modules/semver/bin/semver.js +19 -9
  965. package/node_modules/semver/classes/comparator.js +3 -2
  966. package/node_modules/semver/classes/index.js +1 -1
  967. package/node_modules/semver/classes/range.js +31 -22
  968. package/node_modules/semver/classes/semver.js +1 -1
  969. package/node_modules/semver/functions/cmp.js +8 -4
  970. package/node_modules/semver/functions/coerce.js +3 -2
  971. package/node_modules/semver/functions/inc.js +4 -1
  972. package/node_modules/semver/functions/parse.js +1 -1
  973. package/node_modules/semver/internal/constants.js +2 -2
  974. package/node_modules/semver/internal/identifiers.js +1 -1
  975. package/node_modules/semver/internal/parse-options.js +3 -3
  976. package/node_modules/semver/internal/re.js +3 -3
  977. package/node_modules/semver/package.json +45 -11
  978. package/node_modules/semver/ranges/min-version.js +2 -1
  979. package/node_modules/semver/ranges/outside.js +1 -1
  980. package/node_modules/semver/ranges/simplify.js +15 -12
  981. package/node_modules/semver/ranges/subset.js +53 -31
  982. package/package.json +23 -23
  983. package/readme.md +17 -1
  984. package/node_modules/@typescript-eslint/types/dist/ast-spec.d.ts.map +0 -1
  985. package/node_modules/@typescript-eslint/types/dist/ast-spec.js.map +0 -1
  986. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/LICENSE-MIT +0 -21
  987. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/README.md +0 -412
  988. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.d.ts +0 -61
  989. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.js +0 -603
  990. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/legacy.js +0 -498
  991. package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/package.json +0 -71
  992. package/node_modules/micromatch/CHANGELOG.md +0 -109
  993. package/node_modules/semver/CHANGELOG.md +0 -111
@@ -1,412 +0,0 @@
1
- <table><thead>
2
- <tr>
3
- <th>Linux</th>
4
- <th>OS X</th>
5
- <th>Windows</th>
6
- <th>Coverage</th>
7
- <th>Downloads</th>
8
- </tr>
9
- </thead><tbody><tr>
10
- <td colspan="2" align="center">
11
- <a href="https://travis-ci.org/kaelzhang/node-ignore">
12
- <img
13
- src="https://travis-ci.org/kaelzhang/node-ignore.svg?branch=master"
14
- alt="Build Status" /></a>
15
- </td>
16
- <td align="center">
17
- <a href="https://ci.appveyor.com/project/kaelzhang/node-ignore">
18
- <img
19
- src="https://ci.appveyor.com/api/projects/status/github/kaelzhang/node-ignore?branch=master&svg=true"
20
- alt="Windows Build Status" /></a>
21
- </td>
22
- <td align="center">
23
- <a href="https://codecov.io/gh/kaelzhang/node-ignore">
24
- <img
25
- src="https://codecov.io/gh/kaelzhang/node-ignore/branch/master/graph/badge.svg"
26
- alt="Coverage Status" /></a>
27
- </td>
28
- <td align="center">
29
- <a href="https://www.npmjs.org/package/ignore">
30
- <img
31
- src="http://img.shields.io/npm/dm/ignore.svg"
32
- alt="npm module downloads per month" /></a>
33
- </td>
34
- </tr></tbody></table>
35
-
36
- # ignore
37
-
38
- `ignore` is a manager, filter and parser which implemented in pure JavaScript according to the [.gitignore spec 2.22.1](http://git-scm.com/docs/gitignore).
39
-
40
- `ignore` is used by eslint, gitbook and [many others](https://www.npmjs.com/browse/depended/ignore).
41
-
42
- Pay **ATTENTION** that [`minimatch`](https://www.npmjs.org/package/minimatch) (which used by `fstream-ignore`) does not follow the gitignore spec.
43
-
44
- To filter filenames according to a .gitignore file, I recommend this npm package, `ignore`.
45
-
46
- To parse an `.npmignore` file, you should use `minimatch`, because an `.npmignore` file is parsed by npm using `minimatch` and it does not work in the .gitignore way.
47
-
48
- ### Tested on
49
-
50
- `ignore` is fully tested, and has more than **five hundreds** of unit tests.
51
-
52
- - Linux + Node: `0.8` - `7.x`
53
- - Windows + Node: `0.10` - `7.x`, node < `0.10` is not tested due to the lack of support of appveyor.
54
-
55
- Actually, `ignore` does not rely on any versions of node specially.
56
-
57
- Since `4.0.0`, ignore will no longer support `node < 6` by default, to use in node < 6, `require('ignore/legacy')`. For details, see [CHANGELOG](https://github.com/kaelzhang/node-ignore/blob/master/CHANGELOG.md).
58
-
59
- ## Table Of Main Contents
60
-
61
- - [Usage](#usage)
62
- - [`Pathname` Conventions](#pathname-conventions)
63
- - See Also:
64
- - [`glob-gitignore`](https://www.npmjs.com/package/glob-gitignore) matches files using patterns and filters them according to gitignore rules.
65
- - [Upgrade Guide](#upgrade-guide)
66
-
67
- ## Install
68
-
69
- ```sh
70
- npm i ignore
71
- ```
72
-
73
- ## Usage
74
-
75
- ```js
76
- import ignore from 'ignore'
77
- const ig = ignore().add(['.abc/*', '!.abc/d/'])
78
- ```
79
-
80
- ### Filter the given paths
81
-
82
- ```js
83
- const paths = [
84
- '.abc/a.js', // filtered out
85
- '.abc/d/e.js' // included
86
- ]
87
-
88
- ig.filter(paths) // ['.abc/d/e.js']
89
- ig.ignores('.abc/a.js') // true
90
- ```
91
-
92
- ### As the filter function
93
-
94
- ```js
95
- paths.filter(ig.createFilter()); // ['.abc/d/e.js']
96
- ```
97
-
98
- ### Win32 paths will be handled
99
-
100
- ```js
101
- ig.filter(['.abc\\a.js', '.abc\\d\\e.js'])
102
- // if the code above runs on windows, the result will be
103
- // ['.abc\\d\\e.js']
104
- ```
105
-
106
- ## Why another ignore?
107
-
108
- - `ignore` is a standalone module, and is much simpler so that it could easy work with other programs, unlike [isaacs](https://npmjs.org/~isaacs)'s [fstream-ignore](https://npmjs.org/package/fstream-ignore) which must work with the modules of the fstream family.
109
-
110
- - `ignore` only contains utility methods to filter paths according to the specified ignore rules, so
111
- - `ignore` never try to find out ignore rules by traversing directories or fetching from git configurations.
112
- - `ignore` don't cares about sub-modules of git projects.
113
-
114
- - Exactly according to [gitignore man page](http://git-scm.com/docs/gitignore), fixes some known matching issues of fstream-ignore, such as:
115
- - '`/*.js`' should only match '`a.js`', but not '`abc/a.js`'.
116
- - '`**/foo`' should match '`foo`' anywhere.
117
- - Prevent re-including a file if a parent directory of that file is excluded.
118
- - Handle trailing whitespaces:
119
- - `'a '`(one space) should not match `'a '`(two spaces).
120
- - `'a \ '` matches `'a '`
121
- - All test cases are verified with the result of `git check-ignore`.
122
-
123
- # Methods
124
-
125
- ## .add(pattern: string | Ignore): this
126
- ## .add(patterns: Array<string | Ignore>): this
127
-
128
- - **pattern** `String | Ignore` An ignore pattern string, or the `Ignore` instance
129
- - **patterns** `Array<String | Ignore>` Array of ignore patterns.
130
-
131
- Adds a rule or several rules to the current manager.
132
-
133
- Returns `this`
134
-
135
- Notice that a line starting with `'#'`(hash) is treated as a comment. Put a backslash (`'\'`) in front of the first hash for patterns that begin with a hash, if you want to ignore a file with a hash at the beginning of the filename.
136
-
137
- ```js
138
- ignore().add('#abc').ignores('#abc') // false
139
- ignore().add('\#abc').ignores('#abc') // true
140
- ```
141
-
142
- `pattern` could either be a line of ignore pattern or a string of multiple ignore patterns, which means we could just `ignore().add()` the content of a ignore file:
143
-
144
- ```js
145
- ignore()
146
- .add(fs.readFileSync(filenameOfGitignore).toString())
147
- .filter(filenames)
148
- ```
149
-
150
- `pattern` could also be an `ignore` instance, so that we could easily inherit the rules of another `Ignore` instance.
151
-
152
- ## <strike>.addIgnoreFile(path)</strike>
153
-
154
- REMOVED in `3.x` for now.
155
-
156
- To upgrade `ignore@2.x` up to `3.x`, use
157
-
158
- ```js
159
- import fs from 'fs'
160
-
161
- if (fs.existsSync(filename)) {
162
- ignore().add(fs.readFileSync(filename).toString())
163
- }
164
- ```
165
-
166
- instead.
167
-
168
- ## .filter(paths: Array&lt;Pathname&gt;): Array&lt;Pathname&gt;
169
-
170
- ```ts
171
- type Pathname = string
172
- ```
173
-
174
- Filters the given array of pathnames, and returns the filtered array.
175
-
176
- - **paths** `Array.<Pathname>` The array of `pathname`s to be filtered.
177
-
178
- ### `Pathname` Conventions:
179
-
180
- #### 1. `Pathname` should be a `path.relative()`d pathname
181
-
182
- `Pathname` should be a string that have been `path.join()`ed, or the return value of `path.relative()` to the current directory,
183
-
184
- ```js
185
- // WRONG, an error will be thrown
186
- ig.ignores('./abc')
187
-
188
- // WRONG, for it will never happen, and an error will be thrown
189
- // If the gitignore rule locates at the root directory,
190
- // `'/abc'` should be changed to `'abc'`.
191
- // ```
192
- // path.relative('/', '/abc') -> 'abc'
193
- // ```
194
- ig.ignores('/abc')
195
-
196
- // WRONG, that it is an absolute path on Windows, an error will be thrown
197
- ig.ignores('C:\\abc')
198
-
199
- // Right
200
- ig.ignores('abc')
201
-
202
- // Right
203
- ig.ignores(path.join('./abc')) // path.join('./abc') -> 'abc'
204
- ```
205
-
206
- In other words, each `Pathname` here should be a relative path to the directory of the gitignore rules.
207
-
208
- Suppose the dir structure is:
209
-
210
- ```
211
- /path/to/your/repo
212
- |-- a
213
- | |-- a.js
214
- |
215
- |-- .b
216
- |
217
- |-- .c
218
- |-- .DS_store
219
- ```
220
-
221
- Then the `paths` might be like this:
222
-
223
- ```js
224
- [
225
- 'a/a.js'
226
- '.b',
227
- '.c/.DS_store'
228
- ]
229
- ```
230
-
231
- #### 2. filenames and dirnames
232
-
233
- `node-ignore` does NO `fs.stat` during path matching, so for the example below:
234
-
235
- ```js
236
- // First, we add a ignore pattern to ignore a directory
237
- ig.add('config/')
238
-
239
- // `ig` does NOT know if 'config', in the real world,
240
- // is a normal file, directory or something.
241
-
242
- ig.ignores('config')
243
- // `ig` treats `config` as a file, so it returns `false`
244
-
245
- ig.ignores('config/')
246
- // returns `true`
247
- ```
248
-
249
- Specially for people who develop some library based on `node-ignore`, it is important to understand that.
250
-
251
- Usually, you could use [`glob`](http://npmjs.org/package/glob) with `option.mark = true` to fetch the structure of the current directory:
252
-
253
- ```js
254
- import glob from 'glob'
255
-
256
- glob('**', {
257
- // Adds a / character to directory matches.
258
- mark: true
259
- }, (err, files) => {
260
- if (err) {
261
- return console.error(err)
262
- }
263
-
264
- let filtered = ignore().add(patterns).filter(files)
265
- console.log(filtered)
266
- })
267
- ```
268
-
269
- ## .ignores(pathname: Pathname): boolean
270
-
271
- > new in 3.2.0
272
-
273
- Returns `Boolean` whether `pathname` should be ignored.
274
-
275
- ```js
276
- ig.ignores('.abc/a.js') // true
277
- ```
278
-
279
- ## .createFilter()
280
-
281
- Creates a filter function which could filter an array of paths with `Array.prototype.filter`.
282
-
283
- Returns `function(path)` the filter function.
284
-
285
- ## .test(pathname: Pathname) since 5.0.0
286
-
287
- Returns `TestResult`
288
-
289
- ```ts
290
- interface TestResult {
291
- ignored: boolean
292
- // true if the `pathname` is finally unignored by some negative pattern
293
- unignored: boolean
294
- }
295
- ```
296
-
297
- - `{ignored: true, unignored: false}`: the `pathname` is ignored
298
- - `{ignored: false, unignored: true}`: the `pathname` is unignored
299
- - `{ignored: false, unignored: false}`: the `pathname` is never matched by any ignore rules.
300
-
301
- ## static `ignore.isPathValid(pathname): boolean` since 5.0.0
302
-
303
- Check whether the `pathname` is an valid `path.relative()`d path according to the [convention](#1-pathname-should-be-a-pathrelatived-pathname).
304
-
305
- This method is **NOT** used to check if an ignore pattern is valid.
306
-
307
- ```js
308
- ignore.isPathValid('./foo') // false
309
- ```
310
-
311
- ## ignore(options)
312
-
313
- ### `options.ignorecase` since 4.0.0
314
-
315
- Similar as the `core.ignorecase` option of [git-config](https://git-scm.com/docs/git-config), `node-ignore` will be case insensitive if `options.ignorecase` is set to `true` (the default value), otherwise case sensitive.
316
-
317
- ```js
318
- const ig = ignore({
319
- ignorecase: false
320
- })
321
-
322
- ig.add('*.png')
323
-
324
- ig.ignores('*.PNG') // false
325
- ```
326
-
327
- ### `options.ignoreCase?: boolean` since 5.2.0
328
-
329
- Which is alternative to `options.ignoreCase`
330
-
331
- ### `options.allowRelativePaths?: boolean` since 5.2.0
332
-
333
- This option brings backward compatibility with projects which based on `ignore@4.x`. If `options.allowRelativePaths` is `true`, `ignore` will not check whether the given path to be tested is [`path.relative()`d](#pathname-conventions).
334
-
335
- However, passing a relative path, such as `'./foo'` or `'../foo'`, to test if it is ignored or not is not a good practise, which might lead to unexpected behavior
336
-
337
- ```js
338
- ignore({
339
- allowRelativePaths: true
340
- }).ignores('../foo/bar.js') // And it will not throw
341
- ```
342
-
343
- ****
344
-
345
- # Upgrade Guide
346
-
347
- ## Upgrade 4.x -> 5.x
348
-
349
- Since `5.0.0`, if an invalid `Pathname` passed into `ig.ignores()`, an error will be thrown, unless `options.allowRelative = true` is passed to the `Ignore` factory.
350
-
351
- While `ignore < 5.0.0` did not make sure what the return value was, as well as
352
-
353
- ```ts
354
- .ignores(pathname: Pathname): boolean
355
-
356
- .filter(pathnames: Array<Pathname>): Array<Pathname>
357
-
358
- .createFilter(): (pathname: Pathname) => boolean
359
-
360
- .test(pathname: Pathname): {ignored: boolean, unignored: boolean}
361
- ```
362
-
363
- See the convention [here](#1-pathname-should-be-a-pathrelatived-pathname) for details.
364
-
365
- If there are invalid pathnames, the conversion and filtration should be done by users.
366
-
367
- ```js
368
- import {isPathValid} from 'ignore' // introduced in 5.0.0
369
-
370
- const paths = [
371
- // invalid
372
- //////////////////
373
- '',
374
- false,
375
- '../foo',
376
- '.',
377
- //////////////////
378
-
379
- // valid
380
- 'foo'
381
- ]
382
- .filter(isValidPath)
383
-
384
- ig.filter(paths)
385
- ```
386
-
387
- ## Upgrade 3.x -> 4.x
388
-
389
- Since `4.0.0`, `ignore` will no longer support node < 6, to use `ignore` in node < 6:
390
-
391
- ```js
392
- var ignore = require('ignore/legacy')
393
- ```
394
-
395
- ## Upgrade 2.x -> 3.x
396
-
397
- - All `options` of 2.x are unnecessary and removed, so just remove them.
398
- - `ignore()` instance is no longer an [`EventEmitter`](nodejs.org/api/events.html), and all events are unnecessary and removed.
399
- - `.addIgnoreFile()` is removed, see the [.addIgnoreFile](#addignorefilepath) section for details.
400
-
401
- ****
402
-
403
- # Collaborators
404
-
405
- - [@whitecolor](https://github.com/whitecolor) *Alex*
406
- - [@SamyPesse](https://github.com/SamyPesse) *Samy Pessé*
407
- - [@azproduction](https://github.com/azproduction) *Mikhail Davydov*
408
- - [@TrySound](https://github.com/TrySound) *Bogdan Chadkin*
409
- - [@JanMattner](https://github.com/JanMattner) *Jan Mattner*
410
- - [@ntwb](https://github.com/ntwb) *Stephen Edgar*
411
- - [@kasperisager](https://github.com/kasperisager) *Kasper Isager*
412
- - [@sandersn](https://github.com/sandersn) *Nathan Shively-Sanders*
@@ -1,61 +0,0 @@
1
- type Pathname = string
2
-
3
- interface TestResult {
4
- ignored: boolean
5
- unignored: boolean
6
- }
7
-
8
- export interface Ignore {
9
- /**
10
- * Adds one or several rules to the current manager.
11
- * @param {string[]} patterns
12
- * @returns IgnoreBase
13
- */
14
- add(patterns: string | Ignore | readonly (string | Ignore)[]): this
15
-
16
- /**
17
- * Filters the given array of pathnames, and returns the filtered array.
18
- * NOTICE that each path here should be a relative path to the root of your repository.
19
- * @param paths the array of paths to be filtered.
20
- * @returns The filtered array of paths
21
- */
22
- filter(pathnames: readonly Pathname[]): Pathname[]
23
-
24
- /**
25
- * Creates a filter function which could filter
26
- * an array of paths with Array.prototype.filter.
27
- */
28
- createFilter(): (pathname: Pathname) => boolean
29
-
30
- /**
31
- * Returns Boolean whether pathname should be ignored.
32
- * @param {string} pathname a path to check
33
- * @returns boolean
34
- */
35
- ignores(pathname: Pathname): boolean
36
-
37
- /**
38
- * Returns whether pathname should be ignored or unignored
39
- * @param {string} pathname a path to check
40
- * @returns TestResult
41
- */
42
- test(pathname: Pathname): TestResult
43
- }
44
-
45
- interface Options {
46
- ignorecase?: boolean
47
- // For compatibility
48
- ignoreCase?: boolean
49
- allowRelativePaths?: boolean
50
- }
51
-
52
- /**
53
- * Creates new ignore manager.
54
- */
55
- declare function ignore(options?: Options): Ignore
56
-
57
- declare namespace ignore {
58
- export function isPathValid (pathname: string): boolean
59
- }
60
-
61
- export default ignore