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 +1 @@
1
- {"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/util/misc.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"misc.js","sourceRoot":"","sources":["../../src/util/misc.ts"],"names":[],"mappings":"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"}
@@ -6,154 +6,18 @@ pagination_prev: null
6
6
  slug: /
7
7
  ---
8
8
 
9
- `@typescript-eslint/eslint-plugin` comes with two rulesets you can extend from to pull in the recommended starting rules:
10
-
11
- - `'plugin:@typescript-eslint/recommended'`: recommended rules for code correctness that you can drop in without additional configuration.
12
- See [Linting](https://typescript-eslint.io/docs/linting/linting) for more details.
13
- - `'plugin:@typescript-eslint/recommended-requiring-type-checking'` additional recommended rules that require type information.
14
- See [Linting](https://typescript-eslint.io/docs/linting/type-linting) for more details.
9
+ `@typescript-eslint/eslint-plugin` includes over 100 rules that detect best practice violations, bugs, and/or stylistic issues specifically for TypeScript code.
10
+ See [Configs](/docs/linting/configs) for how to enable recommended rules using configs.
15
11
 
16
12
  ## Supported Rules
17
13
 
18
- <!-- begin base rule list -->
19
-
20
- **Key**: :white_check_mark: = recommended, :wrench: = fixable, :thought_balloon: = requires type information
21
-
22
- | Name | Description | :white_check_mark: | :wrench: | :thought_balloon: |
23
- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- | ------------------ | -------- | ----------------- |
24
- | [`@typescript-eslint/adjacent-overload-signatures`](./adjacent-overload-signatures.md) | Require that member overloads be consecutive | :white_check_mark: | | |
25
- | [`@typescript-eslint/array-type`](./array-type.md) | Requires using either `T[]` or `Array<T>` for arrays | | :wrench: | |
26
- | [`@typescript-eslint/await-thenable`](./await-thenable.md) | Disallows awaiting a value that is not a Thenable | :white_check_mark: | | :thought_balloon: |
27
- | [`@typescript-eslint/ban-ts-comment`](./ban-ts-comment.md) | Bans `@ts-<directive>` comments from being used or requires descriptions after directive | :white_check_mark: | | |
28
- | [`@typescript-eslint/ban-tslint-comment`](./ban-tslint-comment.md) | Bans `// tslint:<rule-flag>` comments from being used | | :wrench: | |
29
- | [`@typescript-eslint/ban-types`](./ban-types.md) | Bans specific types from being used | :white_check_mark: | :wrench: | |
30
- | [`@typescript-eslint/class-literal-property-style`](./class-literal-property-style.md) | Ensures that literals on classes are exposed in a consistent style | | :wrench: | |
31
- | [`@typescript-eslint/consistent-indexed-object-style`](./consistent-indexed-object-style.md) | Enforce or disallow the use of the record type | | :wrench: | |
32
- | [`@typescript-eslint/consistent-type-assertions`](./consistent-type-assertions.md) | Enforces consistent usage of type assertions | | | |
33
- | [`@typescript-eslint/consistent-type-definitions`](./consistent-type-definitions.md) | Consistent with type definition either `interface` or `type` | | :wrench: | |
34
- | [`@typescript-eslint/consistent-type-exports`](./consistent-type-exports.md) | Enforces consistent usage of type exports | | :wrench: | :thought_balloon: |
35
- | [`@typescript-eslint/consistent-type-imports`](./consistent-type-imports.md) | Enforces consistent usage of type imports | | :wrench: | |
36
- | [`@typescript-eslint/explicit-function-return-type`](./explicit-function-return-type.md) | Require explicit return types on functions and class methods | | | |
37
- | [`@typescript-eslint/explicit-member-accessibility`](./explicit-member-accessibility.md) | Require explicit accessibility modifiers on class properties and methods | | :wrench: | |
38
- | [`@typescript-eslint/explicit-module-boundary-types`](./explicit-module-boundary-types.md) | Require explicit return and argument types on exported functions' and classes' public class methods | | | |
39
- | [`@typescript-eslint/member-delimiter-style`](./member-delimiter-style.md) | Require a specific member delimiter style for interfaces and type literals | | :wrench: | |
40
- | [`@typescript-eslint/member-ordering`](./member-ordering.md) | Require a consistent member declaration order | | | |
41
- | [`@typescript-eslint/method-signature-style`](./method-signature-style.md) | Enforces using a particular method signature syntax. | | :wrench: | |
42
- | [`@typescript-eslint/naming-convention`](./naming-convention.md) | Enforces naming conventions for everything across a codebase | | | :thought_balloon: |
43
- | [`@typescript-eslint/no-base-to-string`](./no-base-to-string.md) | Requires that `.toString()` is only called on objects which provide useful information when stringified | | | :thought_balloon: |
44
- | [`@typescript-eslint/no-confusing-non-null-assertion`](./no-confusing-non-null-assertion.md) | Disallow non-null assertion in locations that may be confusing | | :wrench: | |
45
- | [`@typescript-eslint/no-confusing-void-expression`](./no-confusing-void-expression.md) | Requires expressions of type void to appear in statement position | | :wrench: | :thought_balloon: |
46
- | [`@typescript-eslint/no-dynamic-delete`](./no-dynamic-delete.md) | Disallow the delete operator with computed key expressions | | :wrench: | |
47
- | [`@typescript-eslint/no-empty-interface`](./no-empty-interface.md) | Disallow the declaration of empty interfaces | :white_check_mark: | :wrench: | |
48
- | [`@typescript-eslint/no-explicit-any`](./no-explicit-any.md) | Disallow usage of the `any` type | :white_check_mark: | :wrench: | |
49
- | [`@typescript-eslint/no-extra-non-null-assertion`](./no-extra-non-null-assertion.md) | Disallow extra non-null assertion | :white_check_mark: | :wrench: | |
50
- | [`@typescript-eslint/no-extraneous-class`](./no-extraneous-class.md) | Forbids the use of classes as namespaces | | | |
51
- | [`@typescript-eslint/no-floating-promises`](./no-floating-promises.md) | Requires Promise-like values to be handled appropriately | :white_check_mark: | | :thought_balloon: |
52
- | [`@typescript-eslint/no-for-in-array`](./no-for-in-array.md) | Disallow iterating over an array with a for-in loop | :white_check_mark: | | :thought_balloon: |
53
- | [`@typescript-eslint/no-inferrable-types`](./no-inferrable-types.md) | Disallows explicit type declarations for variables or parameters initialized to a number, string, or boolean | :white_check_mark: | :wrench: | |
54
- | [`@typescript-eslint/no-invalid-void-type`](./no-invalid-void-type.md) | Disallows usage of `void` type outside of generic or return types | | | |
55
- | [`@typescript-eslint/no-meaningless-void-operator`](./no-meaningless-void-operator.md) | Disallow the `void` operator except when used to discard a value | | :wrench: | :thought_balloon: |
56
- | [`@typescript-eslint/no-misused-new`](./no-misused-new.md) | Enforce valid definition of `new` and `constructor` | :white_check_mark: | | |
57
- | [`@typescript-eslint/no-misused-promises`](./no-misused-promises.md) | Avoid using promises in places not designed to handle them | :white_check_mark: | | :thought_balloon: |
58
- | [`@typescript-eslint/no-namespace`](./no-namespace.md) | Disallow the use of custom TypeScript modules and namespaces | :white_check_mark: | | |
59
- | [`@typescript-eslint/no-non-null-asserted-nullish-coalescing`](./no-non-null-asserted-nullish-coalescing.md) | Disallows using a non-null assertion in the left operand of the nullish coalescing operator | | | |
60
- | [`@typescript-eslint/no-non-null-asserted-optional-chain`](./no-non-null-asserted-optional-chain.md) | Disallows using a non-null assertion after an optional chain expression | :white_check_mark: | | |
61
- | [`@typescript-eslint/no-non-null-assertion`](./no-non-null-assertion.md) | Disallows non-null assertions using the `!` postfix operator | :white_check_mark: | | |
62
- | [`@typescript-eslint/no-parameter-properties`](./no-parameter-properties.md) | Disallow the use of parameter properties in class constructors | | | |
63
- | [`@typescript-eslint/no-require-imports`](./no-require-imports.md) | Disallows invocation of `require()` | | | |
64
- | [`@typescript-eslint/no-this-alias`](./no-this-alias.md) | Disallow aliasing `this` | :white_check_mark: | | |
65
- | [`@typescript-eslint/no-type-alias`](./no-type-alias.md) | Disallow the use of type aliases | | | |
66
- | [`@typescript-eslint/no-unnecessary-boolean-literal-compare`](./no-unnecessary-boolean-literal-compare.md) | Flags unnecessary equality comparisons against boolean literals | | :wrench: | :thought_balloon: |
67
- | [`@typescript-eslint/no-unnecessary-condition`](./no-unnecessary-condition.md) | Prevents conditionals where the type is always truthy or always falsy | | :wrench: | :thought_balloon: |
68
- | [`@typescript-eslint/no-unnecessary-qualifier`](./no-unnecessary-qualifier.md) | Warns when a namespace qualifier is unnecessary | | :wrench: | :thought_balloon: |
69
- | [`@typescript-eslint/no-unnecessary-type-arguments`](./no-unnecessary-type-arguments.md) | Enforces that type arguments will not be used if not required | | :wrench: | :thought_balloon: |
70
- | [`@typescript-eslint/no-unnecessary-type-assertion`](./no-unnecessary-type-assertion.md) | Warns if a type assertion does not change the type of an expression | :white_check_mark: | :wrench: | :thought_balloon: |
71
- | [`@typescript-eslint/no-unnecessary-type-constraint`](./no-unnecessary-type-constraint.md) | Disallows unnecessary constraints on generic types | :white_check_mark: | :wrench: | |
72
- | [`@typescript-eslint/no-unsafe-argument`](./no-unsafe-argument.md) | Disallows calling a function with an any type value | :white_check_mark: | | :thought_balloon: |
73
- | [`@typescript-eslint/no-unsafe-assignment`](./no-unsafe-assignment.md) | Disallows assigning any to variables and properties | :white_check_mark: | | :thought_balloon: |
74
- | [`@typescript-eslint/no-unsafe-call`](./no-unsafe-call.md) | Disallows calling an any type value | :white_check_mark: | | :thought_balloon: |
75
- | [`@typescript-eslint/no-unsafe-member-access`](./no-unsafe-member-access.md) | Disallows member access on any typed variables | :white_check_mark: | | :thought_balloon: |
76
- | [`@typescript-eslint/no-unsafe-return`](./no-unsafe-return.md) | Disallows returning any from a function | :white_check_mark: | | :thought_balloon: |
77
- | [`@typescript-eslint/no-var-requires`](./no-var-requires.md) | Disallows the use of require statements except in import statements | :white_check_mark: | | |
78
- | [`@typescript-eslint/non-nullable-type-assertion-style`](./non-nullable-type-assertion-style.md) | Prefers a non-null assertion over explicit type cast when possible | | :wrench: | :thought_balloon: |
79
- | [`@typescript-eslint/prefer-as-const`](./prefer-as-const.md) | Prefer usage of `as const` over literal type | :white_check_mark: | :wrench: | |
80
- | [`@typescript-eslint/prefer-enum-initializers`](./prefer-enum-initializers.md) | Prefer initializing each enums member value | | | |
81
- | [`@typescript-eslint/prefer-for-of`](./prefer-for-of.md) | Prefer a ‘for-of’ loop over a standard ‘for’ loop if the index is only used to access the array being iterated | | | |
82
- | [`@typescript-eslint/prefer-function-type`](./prefer-function-type.md) | Use function types instead of interfaces with call signatures | | :wrench: | |
83
- | [`@typescript-eslint/prefer-includes`](./prefer-includes.md) | Enforce `includes` method over `indexOf` method | | :wrench: | :thought_balloon: |
84
- | [`@typescript-eslint/prefer-literal-enum-member`](./prefer-literal-enum-member.md) | Require that all enum members be literal values to prevent unintended enum member name shadow issues | | | |
85
- | [`@typescript-eslint/prefer-namespace-keyword`](./prefer-namespace-keyword.md) | Require the use of the `namespace` keyword instead of the `module` keyword to declare custom TypeScript modules | :white_check_mark: | :wrench: | |
86
- | [`@typescript-eslint/prefer-nullish-coalescing`](./prefer-nullish-coalescing.md) | Enforce the usage of the nullish coalescing operator instead of logical chaining | | | :thought_balloon: |
87
- | [`@typescript-eslint/prefer-optional-chain`](./prefer-optional-chain.md) | Prefer using concise optional chain expressions instead of chained logical ands | | | |
88
- | [`@typescript-eslint/prefer-readonly`](./prefer-readonly.md) | Requires that private members are marked as `readonly` if they're never modified outside of the constructor | | :wrench: | :thought_balloon: |
89
- | [`@typescript-eslint/prefer-readonly-parameter-types`](./prefer-readonly-parameter-types.md) | Requires that function parameters are typed as readonly to prevent accidental mutation of inputs | | | :thought_balloon: |
90
- | [`@typescript-eslint/prefer-reduce-type-parameter`](./prefer-reduce-type-parameter.md) | Prefer using type parameter when calling `Array#reduce` instead of casting | | :wrench: | :thought_balloon: |
91
- | [`@typescript-eslint/prefer-regexp-exec`](./prefer-regexp-exec.md) | Enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided | | :wrench: | :thought_balloon: |
92
- | [`@typescript-eslint/prefer-return-this-type`](./prefer-return-this-type.md) | Enforce that `this` is used when only `this` type is returned | | :wrench: | :thought_balloon: |
93
- | [`@typescript-eslint/prefer-string-starts-ends-with`](./prefer-string-starts-ends-with.md) | Enforce the use of `String#startsWith` and `String#endsWith` instead of other equivalent methods of checking substrings | | :wrench: | :thought_balloon: |
94
- | [`@typescript-eslint/prefer-ts-expect-error`](./prefer-ts-expect-error.md) | Recommends using `@ts-expect-error` over `@ts-ignore` | | :wrench: | |
95
- | [`@typescript-eslint/promise-function-async`](./promise-function-async.md) | Requires any function or method that returns a Promise to be marked async | | :wrench: | :thought_balloon: |
96
- | [`@typescript-eslint/require-array-sort-compare`](./require-array-sort-compare.md) | Requires `Array#sort` calls to always provide a `compareFunction` | | | :thought_balloon: |
97
- | [`@typescript-eslint/restrict-plus-operands`](./restrict-plus-operands.md) | When adding two variables, operands must both be of type number or of type string | :white_check_mark: | | :thought_balloon: |
98
- | [`@typescript-eslint/restrict-template-expressions`](./restrict-template-expressions.md) | Enforce template literal expressions to be of string type | :white_check_mark: | | :thought_balloon: |
99
- | [`@typescript-eslint/sort-type-union-intersection-members`](./sort-type-union-intersection-members.md) | Enforces that members of a type union/intersection are sorted alphabetically | | :wrench: | |
100
- | [`@typescript-eslint/strict-boolean-expressions`](./strict-boolean-expressions.md) | Restricts the types allowed in boolean expressions | | :wrench: | :thought_balloon: |
101
- | [`@typescript-eslint/switch-exhaustiveness-check`](./switch-exhaustiveness-check.md) | Exhaustiveness checking in switch with union type | | | :thought_balloon: |
102
- | [`@typescript-eslint/triple-slash-reference`](./triple-slash-reference.md) | Sets preference level for triple slash directives versus ES6-style import declarations | :white_check_mark: | | |
103
- | [`@typescript-eslint/type-annotation-spacing`](./type-annotation-spacing.md) | Require consistent spacing around type annotations | | :wrench: | |
104
- | [`@typescript-eslint/typedef`](./typedef.md) | Requires type annotations to exist | | | |
105
- | [`@typescript-eslint/unbound-method`](./unbound-method.md) | Enforces unbound methods are called with their expected scope | :white_check_mark: | | :thought_balloon: |
106
- | [`@typescript-eslint/unified-signatures`](./unified-signatures.md) | Warns for any two overloads that could be unified into one by using a union or an optional/rest parameter | | | |
14
+ import RulesTable from "@site/src/components/RulesTable";
107
15
 
108
- <!-- end base rule list -->
16
+ <RulesTable />
109
17
 
110
18
  ## Extension Rules
111
19
 
112
20
  In some cases, ESLint provides a rule itself, but it doesn't support TypeScript syntax; either it crashes, or it ignores the syntax, or it falsely reports against it.
113
21
  In these cases, we create what we call an extension rule; a rule within our plugin that has the same functionality, but also supports TypeScript.
114
22
 
115
- <!-- begin extension rule list -->
116
-
117
- **Key**: :white_check_mark: = recommended, :wrench: = fixable, :thought_balloon: = requires type information
118
-
119
- | Name | Description | :white_check_mark: | :wrench: | :thought_balloon: |
120
- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ------------------ | -------- | ----------------- |
121
- | [`@typescript-eslint/brace-style`](./brace-style.md) | Enforce consistent brace style for blocks | | :wrench: | |
122
- | [`@typescript-eslint/comma-dangle`](./comma-dangle.md) | Require or disallow trailing comma | | :wrench: | |
123
- | [`@typescript-eslint/comma-spacing`](./comma-spacing.md) | Enforces consistent spacing before and after commas | | :wrench: | |
124
- | [`@typescript-eslint/default-param-last`](./default-param-last.md) | Enforce default parameters to be last | | | |
125
- | [`@typescript-eslint/dot-notation`](./dot-notation.md) | enforce dot notation whenever possible | | :wrench: | :thought_balloon: |
126
- | [`@typescript-eslint/func-call-spacing`](./func-call-spacing.md) | Require or disallow spacing between function identifiers and their invocations | | :wrench: | |
127
- | [`@typescript-eslint/indent`](./indent.md) | Enforce consistent indentation | | :wrench: | |
128
- | [`@typescript-eslint/init-declarations`](./init-declarations.md) | require or disallow initialization in variable declarations | | | |
129
- | [`@typescript-eslint/keyword-spacing`](./keyword-spacing.md) | Enforce consistent spacing before and after keywords | | :wrench: | |
130
- | [`@typescript-eslint/lines-between-class-members`](./lines-between-class-members.md) | Require or disallow an empty line between class members | | :wrench: | |
131
- | [`@typescript-eslint/no-array-constructor`](./no-array-constructor.md) | Disallow generic `Array` constructors | :white_check_mark: | :wrench: | |
132
- | [`@typescript-eslint/no-dupe-class-members`](./no-dupe-class-members.md) | Disallow duplicate class members | | | |
133
- | [`@typescript-eslint/no-duplicate-imports`](./no-duplicate-imports.md) | Disallow duplicate imports | | | |
134
- | [`@typescript-eslint/no-empty-function`](./no-empty-function.md) | Disallow empty functions | :white_check_mark: | | |
135
- | [`@typescript-eslint/no-extra-parens`](./no-extra-parens.md) | Disallow unnecessary parentheses | | :wrench: | |
136
- | [`@typescript-eslint/no-extra-semi`](./no-extra-semi.md) | Disallow unnecessary semicolons | :white_check_mark: | :wrench: | |
137
- | [`@typescript-eslint/no-implied-eval`](./no-implied-eval.md) | Disallow the use of `eval()`-like methods | :white_check_mark: | | :thought_balloon: |
138
- | [`@typescript-eslint/no-invalid-this`](./no-invalid-this.md) | Disallow `this` keywords outside of classes or class-like objects | | | |
139
- | [`@typescript-eslint/no-loop-func`](./no-loop-func.md) | Disallow function declarations that contain unsafe references inside loop statements | | | |
140
- | [`@typescript-eslint/no-loss-of-precision`](./no-loss-of-precision.md) | Disallow literal numbers that lose precision | :white_check_mark: | | |
141
- | [`@typescript-eslint/no-magic-numbers`](./no-magic-numbers.md) | Disallow magic numbers | | | |
142
- | [`@typescript-eslint/no-redeclare`](./no-redeclare.md) | Disallow variable redeclaration | | | |
143
- | [`@typescript-eslint/no-restricted-imports`](./no-restricted-imports.md) | Disallow specified modules when loaded by `import` | | | |
144
- | [`@typescript-eslint/no-shadow`](./no-shadow.md) | Disallow variable declarations from shadowing variables declared in the outer scope | | | |
145
- | [`@typescript-eslint/no-throw-literal`](./no-throw-literal.md) | Disallow throwing literals as exceptions | | | :thought_balloon: |
146
- | [`@typescript-eslint/no-unused-expressions`](./no-unused-expressions.md) | Disallow unused expressions | | | |
147
- | [`@typescript-eslint/no-unused-vars`](./no-unused-vars.md) | Disallow unused variables | :white_check_mark: | | |
148
- | [`@typescript-eslint/no-use-before-define`](./no-use-before-define.md) | Disallow the use of variables before they are defined | | | |
149
- | [`@typescript-eslint/no-useless-constructor`](./no-useless-constructor.md) | Disallow unnecessary constructors | | | |
150
- | [`@typescript-eslint/object-curly-spacing`](./object-curly-spacing.md) | Enforce consistent spacing inside braces | | :wrench: | |
151
- | [`@typescript-eslint/padding-line-between-statements`](./padding-line-between-statements.md) | require or disallow padding lines between statements | | :wrench: | |
152
- | [`@typescript-eslint/quotes`](./quotes.md) | Enforce the consistent use of either backticks, double, or single quotes | | :wrench: | |
153
- | [`@typescript-eslint/require-await`](./require-await.md) | Disallow async functions which have no `await` expression | :white_check_mark: | | :thought_balloon: |
154
- | [`@typescript-eslint/return-await`](./return-await.md) | Enforces consistent returning of awaited values | | :wrench: | :thought_balloon: |
155
- | [`@typescript-eslint/semi`](./semi.md) | Require or disallow semicolons instead of ASI | | :wrench: | |
156
- | [`@typescript-eslint/space-before-function-paren`](./space-before-function-paren.md) | Enforces consistent spacing before function parenthesis | | :wrench: | |
157
- | [`@typescript-eslint/space-infix-ops`](./space-infix-ops.md) | This rule is aimed at ensuring there are spaces around infix operators. | | :wrench: | |
158
-
159
- <!-- end extension rule list -->
23
+ <RulesTable extensionRules />
@@ -22,6 +22,8 @@ To fill out: tell us more about this rule.
22
22
 
23
23
  ## Options
24
24
 
25
+ This rule is not configurable.
26
+
25
27
  ```jsonc
26
28
  // .eslintrc.json
27
29
  {
@@ -49,9 +51,3 @@ const defaultOptions: Options = {
49
51
 
50
52
  To fill out: why wouldn't you want to use this rule?
51
53
  For example if this rule requires a feature released in a certain TS version.
52
-
53
- ## Attributes
54
-
55
- - [ ] ✅ Recommended
56
- - [ ] 🔧 Fixable
57
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `adjacent-overload-signatures`
2
2
 
3
- Require that member overloads be consecutive.
3
+ Requires that member overloads be consecutive.
4
4
 
5
5
  Grouping overloaded members together can improve readability of the code.
6
6
 
@@ -100,13 +100,3 @@ This rule is not configurable.
100
100
  ## When Not To Use It
101
101
 
102
102
  If you don't care about the general structure of the code, then you will not need this rule.
103
-
104
- ## Related To
105
-
106
- - TSLint: [adjacent-overload-signatures](https://palantir.github.io/tslint/rules/adjacent-overload-signatures/)
107
-
108
- ## Attributes
109
-
110
- - [x] ✅ Recommended
111
- - [ ] 🔧 Fixable
112
- - [ ] 💭 Requires type information
@@ -118,13 +118,3 @@ This matrix lists all possible option combinations and their expected results fo
118
118
  | `generic` | `array` | `Array<number>` | `Array<Foo & Bar>` | `readonly number[]` | `readonly (Foo & Bar)[]` |
119
119
  | `generic` | `array-simple` | `Array<number>` | `Array<Foo & Bar>` | `readonly number[]` | `ReadonlyArray<Foo & Bar>` |
120
120
  | `generic` | `generic` | `Array<number>` | `Array<Foo & Bar>` | `ReadonlyArray<number>` | `ReadonlyArray<Foo & Bar>` |
121
-
122
- ## Related To
123
-
124
- - TSLint: [array-type](https://palantir.github.io/tslint/rules/array-type/)
125
-
126
- ## Attributes
127
-
128
- - [ ] ✅ Recommended
129
- - [x] 🔧 Fixable
130
- - [ ] 💭 Requires type information
@@ -46,13 +46,3 @@ This rule is not configurable.
46
46
 
47
47
  If you want to allow code to `await` non-Promise values.
48
48
  This is generally not preferred, but can sometimes be useful for visual consistency.
49
-
50
- ## Related To
51
-
52
- - TSLint: ['await-promise'](https://palantir.github.io/tslint/rules/await-promise)
53
-
54
- ## Attributes
55
-
56
- - [x] ✅ Recommended
57
- - [ ] 🔧 Fixable
58
- - [x] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `ban-ts-comment`
2
2
 
3
- Bans `@ts-<directive>` comments from being used or requires descriptions after directive.
3
+ Disallows `@ts-<directive>` comments or requires descriptions after directive.
4
4
 
5
5
  TypeScript provides several directive comments that can be used to alter how it processes files.
6
6
  Using these to suppress TypeScript Compiler Errors reduces the effectiveness of TypeScript overall.
@@ -22,11 +22,16 @@ By default, only `@ts-check` is allowed, as it enables rather than suppresses er
22
22
  The configuration looks like this:
23
23
 
24
24
  ```ts
25
+ type DirectiveConfig =
26
+ | boolean
27
+ | 'allow-with-description'
28
+ | { descriptionFormat: string };
29
+
25
30
  interface Options {
26
- 'ts-expect-error'?: boolean | 'allow-with-description';
27
- 'ts-ignore'?: boolean | 'allow-with-description';
28
- 'ts-nocheck'?: boolean | 'allow-with-description';
29
- 'ts-check'?: boolean | 'allow-with-description';
31
+ 'ts-expect-error'?: DirectiveConfig;
32
+ 'ts-ignore'?: DirectiveConfig;
33
+ 'ts-nocheck'?: DirectiveConfig;
34
+ 'ts-check'?: DirectiveConfig;
30
35
  minimumDescriptionLength?: number;
31
36
  }
32
37
 
@@ -105,6 +110,28 @@ if (false) {
105
110
  }
106
111
  ```
107
112
 
113
+ ### `descriptionFormat`
114
+
115
+ For each directive type, you can specify a custom format in the form of a regular expression. Only description that matches the pattern will be allowed.
116
+
117
+ For example, with `{ 'ts-expect-error': { descriptionFormat: '^: TS\\d+ because .+$' } }`:
118
+
119
+ <!--tabs-->
120
+
121
+ #### ❌ Incorrect
122
+
123
+ ```ts
124
+ // @ts-expect-error: the library definition is wrong
125
+ const a = doSomething('hello');
126
+ ```
127
+
128
+ #### ✅ Correct
129
+
130
+ ```ts
131
+ // @ts-expect-error: TS1234 because the library definition is wrong
132
+ const a = doSomething('hello');
133
+ ```
134
+
108
135
  ### `minimumDescriptionLength`
109
136
 
110
137
  Use `minimumDescriptionLength` to set a minimum length for descriptions when using the `allow-with-description` option for a directive.
@@ -138,13 +165,3 @@ If you want to use all of the TypeScript directives.
138
165
  ## Further Reading
139
166
 
140
167
  - TypeScript [Type Checking JavaScript Files](https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html)
141
-
142
- ## Related To
143
-
144
- - TSLint: [ban-ts-ignore](https://palantir.github.io/tslint/rules/ban-ts-ignore/)
145
-
146
- ## Attributes
147
-
148
- - [x] ✅ Recommended
149
- - [ ] 🔧 Fixable
150
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `ban-tslint-comment`
2
2
 
3
- Bans `// tslint:<rule-flag>` comments from being used.
3
+ Disallows `// tslint:<rule-flag>` comments.
4
4
 
5
5
  Useful when migrating from TSLint to ESLint. Once TSLint has been removed, this rule helps locate TSLint annotations (e.g. `// tslint:disable`).
6
6
 
@@ -30,12 +30,19 @@ someCode(); // tslint:disable-line
30
30
  someCode(); // This is a comment that just happens to mention tslint
31
31
  ```
32
32
 
33
- ## When Not To Use It
33
+ ## Options
34
34
 
35
- If you are still using TSLint.
35
+ ```jsonc
36
+ // .eslintrc.json
37
+ {
38
+ "rules": {
39
+ "@typescript-eslint/ban-tslint-comment": "warn"
40
+ }
41
+ }
42
+ ```
36
43
 
37
- ## Attributes
44
+ This rule is not configurable.
38
45
 
39
- - [ ] Recommended
40
- - [x] 🔧 Fixable
41
- - [ ] 💭 Requires type information
46
+ ## When Not To Use It
47
+
48
+ If you are still using TSLint.
@@ -1,6 +1,6 @@
1
1
  # `ban-types`
2
2
 
3
- Bans specific types from being used.
3
+ Disallows certain types.
4
4
 
5
5
  Some builtin types have aliases, some types are considered dangerous or harmful.
6
6
  It's often a good idea to ban certain types to help with consistency and safety.
@@ -27,17 +27,27 @@ type Options = {
27
27
  };
28
28
  ```
29
29
 
30
- The rule accepts a single object as options, with the following keys:
30
+ The rule accepts a single object as options.
31
31
 
32
- - `types` - An object whose keys are the types you want to ban, and the values are error messages.
33
- - The type can either be a type name literal (`Foo`), a type name with generic parameter instantiation(s) (`Foo<Bar>`), the empty object literal (`{}`), or the empty tuple type (`[]`).
34
- - The values can be a string, which is the error message to be reported, `false` to specifically disable this type
35
- or it can be an object with the following properties:
36
- - `message: string` - the message to display when the type is matched.
37
- - `fixWith?: string` - a string to replace the banned type with when the fixer is run. If this is omitted, no fix will be done.
38
- - `extendDefaults` - if you're specifying custom `types`, you can set this to `true` to extend the default `types` configuration.
39
- - This is a convenience option to save you copying across the defaults when adding another type.
40
- - If this is `false`, the rule will _only_ use the types defined in your configuration.
32
+ ### `types`
33
+
34
+ An object whose keys are the types you want to ban, and the values are error messages.
35
+
36
+ The type can either be a type name literal (`Foo`), a type name with generic parameter instantiation(s) (`Foo<Bar>`), the empty object literal (`{}`), or the empty tuple type (`[]`).
37
+
38
+ The values can be:
39
+
40
+ - A string, which is the error message to be reported; or
41
+ - `false` to specifically un-ban this type (useful when you are using `extendDefaults`); or
42
+ - An object with the following properties:
43
+ - `message: string` - the message to display when the type is matched.
44
+ - `fixWith?: string` - a string to replace the banned type with when the fixer is run. If this is omitted, no fix will be done.
45
+
46
+ ### `extendDefaults`
47
+
48
+ If you're specifying custom `types`, you can set this to `true` to extend the default `types` configuration. This is a convenience option to save you copying across the defaults when adding another type.
49
+
50
+ If this is `false`, the rule will _only_ use the types defined in your configuration.
41
51
 
42
52
  Example configuration:
43
53
 
@@ -51,16 +61,15 @@ Example configuration:
51
61
  "Foo": "Don't use Foo because it is unsafe",
52
62
 
53
63
  // add a custom message, AND tell the plugin how to fix it
54
- "String": {
55
- "message": "Use string instead",
56
- "fixWith": "string"
64
+ "OldAPI": {
65
+ "message": "Use NewAPI instead",
66
+ "fixWith": "NewAPI"
57
67
  },
58
68
 
59
- "{}": {
60
- "message": "Use object instead",
61
- "fixWith": "object"
62
- }
63
- }
69
+ // un-ban a type that's banned by default
70
+ "{}": false
71
+ },
72
+ "extendDefaults": true
64
73
  }
65
74
  ]
66
75
  }
@@ -105,6 +114,10 @@ const defaultTypes = {
105
114
  message: 'Use symbol instead',
106
115
  fixWith: 'symbol',
107
116
  },
117
+ BigInt: {
118
+ message: 'Use bigint instead',
119
+ fixWith: 'bigint',
120
+ },
108
121
 
109
122
  Function: {
110
123
  message: [
@@ -149,6 +162,7 @@ const str: String = 'foo';
149
162
  const bool: Boolean = true;
150
163
  const num: Number = 1;
151
164
  const symb: Symbol = Symbol('foo');
165
+ const bigInt: BigInt = 1n;
152
166
 
153
167
  // use a proper function type
154
168
  const func: Function = () => 1;
@@ -169,6 +183,7 @@ const str: string = 'foo';
169
183
  const bool: boolean = true;
170
184
  const num: number = 1;
171
185
  const symb: symbol = Symbol('foo');
186
+ const bigInt: bigint = 1n;
172
187
 
173
188
  // use a proper function type
174
189
  const func: () => number = () => 1;
@@ -182,13 +197,3 @@ const capitalObj2: { a: string } = { a: 'string' };
182
197
  const curly1: number = 1;
183
198
  const curly2: Record<'a', string> = { a: 'string' };
184
199
  ```
185
-
186
- ## Related To
187
-
188
- - TSLint: [ban-types](https://palantir.github.io/tslint/rules/ban-types)
189
-
190
- ## Attributes
191
-
192
- - [x] ✅ Recommended
193
- - [x] 🔧 Fixable
194
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `brace-style`
2
2
 
3
- Enforce consistent brace style for blocks.
3
+ Enforces consistent brace style for blocks.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -26,9 +26,3 @@ See [`eslint/brace-style` options](https://eslint.org/docs/rules/brace-style#opt
26
26
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/brace-style.md)
27
27
 
28
28
  </sup>
29
-
30
- ## Attributes
31
-
32
- - [ ] ✅ Recommended
33
- - [x] 🔧 Fixable
34
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `class-literal-property-style`
2
2
 
3
- Ensures that literals on classes are exposed in a consistent style.
3
+ Enforces that literals on classes are exposed in a consistent style.
4
4
 
5
5
  When writing TypeScript applications, it's typically safe to store literal values on classes using fields with the `readonly` modifier to prevent them from being reassigned.
6
6
  When writing TypeScript libraries that could be used by JavaScript users however, it's typically safer to expose these literals using `getter`s, since the `readonly` modifier is enforced at compile type.
@@ -108,9 +108,3 @@ class Mx {
108
108
 
109
109
  When you have no strong preference, or do not wish to enforce a particular style
110
110
  for how literal values are exposed by your classes.
111
-
112
- ## Attributes
113
-
114
- - [ ] ✅ Recommended
115
- - [x] 🔧 Fixable
116
- - [ ] 💭 Requires type information
@@ -1,6 +1,6 @@
1
1
  # `comma-dangle`
2
2
 
3
- Require or disallow trailing comma.
3
+ Requires or disallows trailing commas.
4
4
 
5
5
  ## Rule Details
6
6
 
@@ -9,7 +9,7 @@ It adds support for TypeScript syntax.
9
9
 
10
10
  See the [ESLint documentation](https://eslint.org/docs/rules/comma-dangle) for more details on the `comma-dangle` rule.
11
11
 
12
- ## Rule Changes
12
+ ## How to Use
13
13
 
14
14
  ```jsonc
15
15
  {
@@ -31,16 +31,10 @@ This rule has a string option and an object option.
31
31
  - `"generics"` is for trailing comma in generic. (e.g. `function foo<T,>() {}`)
32
32
  - `"tuples"` is for trailing comma in tuple. (e.g. `type Foo = [string,]`)
33
33
 
34
- - [See the other options allowed](https://github.com/eslint/eslint/blob/main/docs/rules/comma-dangle.md#options)
34
+ - [See the other options allowed](https://eslint.org/docs/rules/comma-dangle#options)
35
35
 
36
36
  <sup>
37
37
 
38
38
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/comma-dangle.md)
39
39
 
40
40
  </sup>
41
-
42
- ## Attributes
43
-
44
- - [ ] ✅ Recommended
45
- - [x] 🔧 Fixable
46
- - [ ] 💭 Requires type information
@@ -26,9 +26,3 @@ See [`eslint/comma-spacing` options](https://eslint.org/docs/rules/comma-spacing
26
26
  Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/comma-spacing.md)
27
27
 
28
28
  </sup>
29
-
30
- ## Attributes
31
-
32
- - [ ] ✅ Recommended
33
- - [x] 🔧 Fixable
34
- - [ ] 💭 Requires type information