@askviraj/linter 1.1.4 → 1.1.6

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 (821) hide show
  1. package/node_modules/@astrojs/compiler-binding/package.json +10 -10
  2. package/node_modules/@astrojs/compiler-binding-darwin-arm64/README.md +3 -0
  3. package/node_modules/@astrojs/compiler-binding-darwin-arm64/astro.darwin-arm64.node +0 -0
  4. package/node_modules/@astrojs/compiler-binding-darwin-arm64/package.json +37 -0
  5. package/node_modules/@astrojs/compiler-binding-darwin-x64/README.md +3 -0
  6. package/node_modules/@astrojs/compiler-binding-darwin-x64/astro.darwin-x64.node +0 -0
  7. package/node_modules/@astrojs/compiler-binding-darwin-x64/package.json +37 -0
  8. package/node_modules/@astrojs/compiler-binding-linux-arm64-gnu/README.md +3 -0
  9. package/node_modules/@astrojs/compiler-binding-linux-arm64-gnu/astro.linux-arm64-gnu.node +0 -0
  10. package/node_modules/@astrojs/compiler-binding-linux-arm64-gnu/package.json +40 -0
  11. package/node_modules/@astrojs/compiler-binding-linux-arm64-musl/README.md +3 -0
  12. package/node_modules/@astrojs/compiler-binding-linux-arm64-musl/astro.linux-arm64-musl.node +0 -0
  13. package/node_modules/@astrojs/compiler-binding-linux-arm64-musl/package.json +40 -0
  14. package/node_modules/@astrojs/compiler-binding-linux-x64-gnu/astro.linux-x64-gnu.node +0 -0
  15. package/node_modules/@astrojs/compiler-binding-linux-x64-gnu/package.json +1 -1
  16. package/node_modules/@astrojs/compiler-binding-linux-x64-musl/README.md +3 -0
  17. package/node_modules/@astrojs/compiler-binding-linux-x64-musl/astro.linux-x64-musl.node +0 -0
  18. package/node_modules/@astrojs/compiler-binding-linux-x64-musl/package.json +40 -0
  19. package/node_modules/@astrojs/compiler-binding-win32-arm64-msvc/README.md +3 -0
  20. package/node_modules/@astrojs/compiler-binding-win32-arm64-msvc/astro.win32-arm64-msvc.node +0 -0
  21. package/node_modules/@astrojs/compiler-binding-win32-arm64-msvc/package.json +37 -0
  22. package/node_modules/@astrojs/compiler-binding-win32-x64-msvc/README.md +3 -0
  23. package/node_modules/@astrojs/compiler-binding-win32-x64-msvc/astro.win32-x64-msvc.node +0 -0
  24. package/node_modules/@astrojs/compiler-binding-win32-x64-msvc/package.json +37 -0
  25. package/node_modules/@astrojs/compiler-rs/package.json +2 -2
  26. package/node_modules/@html-eslint/core/dist/index.js +2 -0
  27. package/node_modules/@html-eslint/core/dist/index.js.map +1 -1
  28. package/node_modules/@html-eslint/core/dist/index.mjs +2 -0
  29. package/node_modules/@html-eslint/core/dist/index.mjs.map +1 -1
  30. package/node_modules/@html-eslint/core/package.json +3 -3
  31. package/node_modules/@html-eslint/eslint-plugin/lib/rules/no-duplicate-attrs.js +140 -16
  32. package/node_modules/@html-eslint/eslint-plugin/lib/rules/no-duplicate-id.js +24 -5
  33. package/node_modules/@html-eslint/eslint-plugin/lib/rules/no-duplicate-in-head.js +17 -5
  34. package/node_modules/@html-eslint/eslint-plugin/lib/rules/utils/branch-segments.js +147 -0
  35. package/node_modules/@html-eslint/eslint-plugin/package.json +7 -7
  36. package/node_modules/@html-eslint/eslint-plugin/types/rules/no-duplicate-attrs.d.ts.map +1 -1
  37. package/node_modules/@html-eslint/eslint-plugin/types/rules/no-duplicate-id.d.ts.map +1 -1
  38. package/node_modules/@html-eslint/eslint-plugin/types/rules/no-duplicate-in-head.d.ts.map +1 -1
  39. package/node_modules/@html-eslint/eslint-plugin/types/rules/utils/branch-segments.d.ts +71 -0
  40. package/node_modules/@html-eslint/eslint-plugin/types/rules/utils/branch-segments.d.ts.map +1 -0
  41. package/node_modules/@html-eslint/parser/lib/branch-annotation.js +282 -0
  42. package/node_modules/@html-eslint/parser/lib/options.js +47 -2
  43. package/node_modules/@html-eslint/parser/lib/parser.js +62 -1
  44. package/node_modules/@html-eslint/parser/lib/template-engine-syntax-preset.js +117 -2
  45. package/node_modules/@html-eslint/parser/package.json +4 -4
  46. package/node_modules/@html-eslint/parser/types/branch-annotation.d.ts +93 -0
  47. package/node_modules/@html-eslint/parser/types/branch-annotation.d.ts.map +1 -0
  48. package/node_modules/@html-eslint/parser/types/options.d.ts +12 -1
  49. package/node_modules/@html-eslint/parser/types/options.d.ts.map +1 -1
  50. package/node_modules/@html-eslint/parser/types/parser.d.ts.map +1 -1
  51. package/node_modules/@html-eslint/parser/types/template-engine-syntax-preset.d.ts +76 -2
  52. package/node_modules/@html-eslint/parser/types/template-engine-syntax-preset.d.ts.map +1 -1
  53. package/node_modules/@html-eslint/template-parser/package.json +3 -3
  54. package/node_modules/@html-eslint/template-syntax-parser/package.json +3 -3
  55. package/node_modules/@html-eslint/types/package.json +2 -2
  56. package/node_modules/@humanwhocodes/momoa/dist/momoa.cjs +14 -1
  57. package/node_modules/@humanwhocodes/momoa/dist/momoa.js +14 -1
  58. package/node_modules/@humanwhocodes/momoa/package.json +4 -4
  59. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +115 -71
  60. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +2 -2
  61. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +115 -71
  62. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +2 -2
  63. package/node_modules/@jridgewell/sourcemap-codec/package.json +2 -1
  64. package/node_modules/@jridgewell/sourcemap-codec/src/range-mappings.ts +47 -0
  65. package/node_modules/@jridgewell/sourcemap-codec/src/scopes.ts +66 -46
  66. package/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts +27 -11
  67. package/node_modules/@jridgewell/sourcemap-codec/src/vlq.ts +13 -17
  68. package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.cts +5 -0
  69. package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.cts.map +1 -0
  70. package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +5 -0
  71. package/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts.map +1 -0
  72. package/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map +1 -1
  73. package/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map +1 -1
  74. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts +2 -0
  75. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map +1 -1
  76. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +2 -0
  77. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map +1 -1
  78. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts +4 -2
  79. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map +1 -1
  80. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +4 -2
  81. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map +1 -1
  82. package/node_modules/@rviscomi/capo.js/README.md +18 -6
  83. package/node_modules/@rviscomi/capo.js/dist/adapters/adapter.cjs +8 -0
  84. package/node_modules/@rviscomi/capo.js/dist/adapters/browser.cjs +26 -2
  85. package/node_modules/@rviscomi/capo.js/dist/adapters/index.cjs +26 -2
  86. package/node_modules/@rviscomi/capo.js/dist/analyzer.cjs +300 -263
  87. package/node_modules/@rviscomi/capo.js/dist/chrome/README.md +5 -1
  88. package/node_modules/@rviscomi/capo.js/dist/chrome/background.js +1 -1
  89. package/node_modules/@rviscomi/capo.js/dist/chrome/capo.css +4 -11
  90. package/node_modules/@rviscomi/capo.js/dist/chrome/capo.html +2 -2
  91. package/node_modules/@rviscomi/capo.js/dist/chrome/capo.js +3 -3
  92. package/node_modules/@rviscomi/capo.js/dist/chrome/chrome.js +2 -9
  93. package/node_modules/@rviscomi/capo.js/dist/chrome/manifest.json +1 -1
  94. package/node_modules/@rviscomi/capo.js/dist/chrome/options/options.html +1 -1
  95. package/node_modules/@rviscomi/capo.js/dist/chrome/options/options.js +1 -1
  96. package/node_modules/@rviscomi/capo.js/dist/chrome/styles/open-props.css +16 -14
  97. package/node_modules/@rviscomi/capo.js/dist/chrome.zip +0 -0
  98. package/node_modules/@rviscomi/capo.js/dist/firefox/README.md +5 -1
  99. package/node_modules/@rviscomi/capo.js/dist/firefox/background.js +1 -1
  100. package/node_modules/@rviscomi/capo.js/dist/firefox/capo.css +4 -11
  101. package/node_modules/@rviscomi/capo.js/dist/firefox/capo.html +2 -2
  102. package/node_modules/@rviscomi/capo.js/dist/firefox/capo.js +3 -3
  103. package/node_modules/@rviscomi/capo.js/dist/firefox/chrome.js +2 -9
  104. package/node_modules/@rviscomi/capo.js/dist/firefox/manifest.json +1 -1
  105. package/node_modules/@rviscomi/capo.js/dist/firefox/options/options.html +1 -1
  106. package/node_modules/@rviscomi/capo.js/dist/firefox/options/options.js +1 -1
  107. package/node_modules/@rviscomi/capo.js/dist/firefox/styles/open-props.css +16 -14
  108. package/node_modules/@rviscomi/capo.js/dist/firefox.zip +0 -0
  109. package/node_modules/@rviscomi/capo.js/dist/index.cjs +378 -368
  110. package/node_modules/@rviscomi/capo.js/dist/lib/colors.cjs +1 -1
  111. package/node_modules/@rviscomi/capo.js/dist/lib/io.cjs +7 -5
  112. package/node_modules/@rviscomi/capo.js/dist/lib/options.cjs +7 -3
  113. package/node_modules/@rviscomi/capo.js/dist/lib/rules.cjs +25 -4
  114. package/node_modules/@rviscomi/capo.js/dist/lib/validation.cjs +326 -358
  115. package/node_modules/@rviscomi/capo.js/dist/source.zip +0 -0
  116. package/node_modules/@rviscomi/capo.js/dist/types/adapters/adapter.d.ts +6 -0
  117. package/node_modules/@rviscomi/capo.js/dist/types/adapters/browser.d.ts +8 -1
  118. package/node_modules/@rviscomi/capo.js/dist/types/adapters/index.d.ts +2 -2
  119. package/node_modules/@rviscomi/capo.js/dist/types/analyzer.d.ts +5 -0
  120. package/node_modules/@rviscomi/capo.js/dist/types/index.d.ts +5 -5
  121. package/node_modules/@rviscomi/capo.js/dist/types/lib/options.d.ts +1 -1
  122. package/node_modules/@rviscomi/capo.js/dist/types/lib/rules.d.ts +9 -2
  123. package/node_modules/@rviscomi/capo.js/dist/types/lib/validation.d.ts +4 -2
  124. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/charset.d.ts +28 -0
  125. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/content-type.d.ts +18 -0
  126. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/csp.d.ts +12 -0
  127. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/default-style.d.ts +18 -0
  128. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/head-elements.d.ts +52 -0
  129. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/http-equiv.d.ts +18 -0
  130. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/origin-trial.d.ts +19 -0
  131. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/preload.d.ts +41 -0
  132. package/node_modules/@rviscomi/capo.js/dist/types/lib/validations/viewport.d.ts +18 -0
  133. package/node_modules/@rviscomi/capo.js/dist/types/worker/worker.d.ts +16 -0
  134. package/node_modules/@rviscomi/capo.js/package.json +8 -12
  135. package/node_modules/@rviscomi/capo.js/src/adapters/adapter.js +37 -28
  136. package/node_modules/@rviscomi/capo.js/src/adapters/browser.js +41 -24
  137. package/node_modules/@rviscomi/capo.js/src/adapters/index.js +3 -3
  138. package/node_modules/@rviscomi/capo.js/src/adapters/test-suite.js +129 -129
  139. package/node_modules/@rviscomi/capo.js/src/analyzer.js +20 -25
  140. package/node_modules/@rviscomi/capo.js/src/extension/README.md +5 -1
  141. package/node_modules/@rviscomi/capo.js/src/extension/background.js +1 -1
  142. package/node_modules/@rviscomi/capo.js/src/extension/capo.css +4 -11
  143. package/node_modules/@rviscomi/capo.js/src/extension/capo.html +2 -2
  144. package/node_modules/@rviscomi/capo.js/src/extension/capo.js +21 -18
  145. package/node_modules/@rviscomi/capo.js/src/extension/chrome.js +2 -9
  146. package/node_modules/@rviscomi/capo.js/src/extension/manifest.json +2 -6
  147. package/node_modules/@rviscomi/capo.js/src/extension/options/options.html +1 -1
  148. package/node_modules/@rviscomi/capo.js/src/extension/options.js +16 -16
  149. package/node_modules/@rviscomi/capo.js/src/extension/styles/open-props.css +16 -14
  150. package/node_modules/@rviscomi/capo.js/src/index.js +10 -20
  151. package/node_modules/@rviscomi/capo.js/src/lib/colors.js +17 -17
  152. package/node_modules/@rviscomi/capo.js/src/lib/io.js +19 -17
  153. package/node_modules/@rviscomi/capo.js/src/lib/options.js +23 -20
  154. package/node_modules/@rviscomi/capo.js/src/lib/rules.js +124 -95
  155. package/node_modules/@rviscomi/capo.js/src/lib/validation.js +57 -857
  156. package/node_modules/@rviscomi/capo.js/src/lib/validations/content-type.js +94 -0
  157. package/node_modules/@rviscomi/capo.js/src/lib/validations/csp.js +68 -0
  158. package/node_modules/@rviscomi/capo.js/src/lib/validations/default-style.js +62 -0
  159. package/node_modules/@rviscomi/capo.js/src/lib/validations/http-equiv.js +138 -0
  160. package/node_modules/@rviscomi/capo.js/src/lib/validations/origin-trial.js +80 -0
  161. package/node_modules/@rviscomi/capo.js/src/lib/validations/preload.js +135 -0
  162. package/node_modules/@rviscomi/capo.js/src/lib/validations/viewport.js +183 -0
  163. package/node_modules/@rviscomi/capo.js/src/web/capo.js +12 -12
  164. package/node_modules/@rviscomi/capo.js/src/worker/worker.js +180 -0
  165. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.d.ts +2 -2
  166. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.js +1 -0
  167. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.js +1 -0
  168. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.js +1 -0
  169. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.js +1 -0
  170. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.d.ts +1 -1
  171. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.js +1 -0
  172. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked-only.js +1 -0
  173. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked.js +1 -0
  174. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended.js +1 -0
  175. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.js +1 -0
  176. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.js +1 -0
  177. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict.js +1 -0
  178. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked-only.js +1 -0
  179. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked.js +1 -0
  180. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic.js +1 -0
  181. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.d.ts +2 -2
  182. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.js +1 -0
  183. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.d.ts +2 -2
  184. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.js +1 -0
  185. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.d.ts +2 -2
  186. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.js +1 -0
  187. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.d.ts +2 -2
  188. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.js +1 -0
  189. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.d.ts +2 -2
  190. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.js +1 -0
  191. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.d.ts +2 -2
  192. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.js +1 -0
  193. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.d.ts +2 -2
  194. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.js +1 -0
  195. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.d.ts +2 -2
  196. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.js +1 -0
  197. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.d.ts +2 -2
  198. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.js +1 -0
  199. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.d.ts +2 -2
  200. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.js +1 -0
  201. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.d.ts +2 -2
  202. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.js +1 -0
  203. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.d.ts +2 -2
  204. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.js +1 -0
  205. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.d.ts +2 -2
  206. package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.js +1 -0
  207. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.d.ts +2 -2
  208. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +1 -0
  209. package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.d.ts +2 -2
  210. package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.js +1 -0
  211. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +1 -0
  212. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +1 -0
  213. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +1 -0
  214. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +1 -0
  215. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +1 -0
  216. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +12 -4
  217. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +1 -0
  218. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +1 -0
  219. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +1 -0
  220. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js +1 -0
  221. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +1 -0
  222. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +1 -0
  223. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +1 -0
  224. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.d.ts +2 -1
  225. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +1 -0
  226. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +1 -0
  227. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +1 -0
  228. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.d.ts +5 -0
  229. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +68 -0
  230. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +1 -0
  231. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +1 -0
  232. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +1 -0
  233. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.d.ts +1 -1
  234. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +1 -0
  235. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +1 -0
  236. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +1 -0
  237. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +1 -0
  238. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +1 -0
  239. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +1 -0
  240. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -0
  241. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js +1 -0
  242. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +1 -0
  243. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +1 -0
  244. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +1 -0
  245. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js +1 -0
  246. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +1 -0
  247. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +1 -0
  248. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +1 -0
  249. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js +1 -0
  250. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +1 -0
  251. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +1 -0
  252. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +8 -9
  253. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js +1 -0
  254. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +1 -0
  255. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +1 -0
  256. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +1 -0
  257. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +1 -0
  258. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +1 -0
  259. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +1 -0
  260. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-object-type.js +9 -4
  261. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +1 -0
  262. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +1 -0
  263. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +1 -0
  264. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +64 -55
  265. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +1 -0
  266. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +1 -0
  267. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +1 -0
  268. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +1 -0
  269. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +1 -0
  270. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +1 -0
  271. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +1 -0
  272. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +1 -0
  273. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +1 -0
  274. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +1 -0
  275. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +1 -0
  276. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +1 -0
  277. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js +1 -0
  278. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +1 -0
  279. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +1 -0
  280. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +1 -0
  281. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +1 -0
  282. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +1 -0
  283. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +1 -0
  284. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +1 -0
  285. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +1 -0
  286. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +1 -0
  287. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js +1 -0
  288. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +1 -0
  289. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +1 -0
  290. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +1 -0
  291. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +1 -0
  292. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +1 -0
  293. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-parameter-property-assignment.js +1 -0
  294. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +1 -0
  295. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +3 -14
  296. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +1 -0
  297. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.d.ts +1 -2
  298. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +14 -39
  299. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +1 -0
  300. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-conversion.js +2 -1
  301. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js +6 -0
  302. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +2 -91
  303. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +1 -0
  304. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +1 -0
  305. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +1 -0
  306. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +3 -113
  307. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-function-type.js +1 -0
  308. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +1 -0
  309. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +1 -0
  310. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js +1 -0
  311. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +1 -0
  312. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +1 -0
  313. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-private-class-members.js +1 -0
  314. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +1 -0
  315. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +1 -0
  316. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +1 -0
  317. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.js +15 -11
  318. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +1 -0
  319. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +1 -0
  320. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-wrapper-object-types.js +1 -0
  321. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +1 -0
  322. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js +1 -0
  323. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +1 -0
  324. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +1 -0
  325. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +1 -0
  326. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +1 -0
  327. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +1 -0
  328. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +1 -0
  329. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.d.ts +2 -2
  330. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +1 -0
  331. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +1 -0
  332. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +1 -0
  333. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +1 -0
  334. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +2 -1
  335. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +1 -0
  336. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +1 -0
  337. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js +1 -0
  338. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js +1 -0
  339. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +1 -0
  340. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +1 -0
  341. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js +1 -0
  342. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +1 -0
  343. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +1 -0
  344. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +1 -0
  345. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +1 -0
  346. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +1 -0
  347. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +1 -0
  348. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +1 -0
  349. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +1 -0
  350. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/related-getter-setter-pairs.js +1 -0
  351. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +1 -0
  352. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +1 -0
  353. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +1 -0
  354. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +1 -0
  355. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +13 -1
  356. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +1 -0
  357. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +1 -0
  358. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.d.ts +3 -2
  359. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.js +97 -5
  360. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +1 -0
  361. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +1 -0
  362. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +1 -0
  363. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +1 -0
  364. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.d.ts +1 -1
  365. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +73 -32
  366. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js +1 -0
  367. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.d.ts +15 -0
  368. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/FunctionSignature.js +123 -0
  369. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js +1 -0
  370. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +1 -0
  371. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.d.ts +2 -0
  372. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.js +17 -0
  373. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/classScopeAnalyzer.js +1 -0
  374. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/extractComputedName.js +1 -0
  375. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/types.js +1 -0
  376. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +1 -0
  377. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +1 -0
  378. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +1 -0
  379. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +1 -0
  380. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getBaseTypesOfClassMember.js +1 -0
  381. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js +1 -0
  382. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +1 -0
  383. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFixOrSuggest.js +1 -0
  384. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getForStatementHeadLoc.js +1 -0
  385. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +1 -0
  386. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getMemberHeadLoc.js +1 -0
  387. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +1 -0
  388. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getParentFunctionNode.js +1 -0
  389. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js +1 -0
  390. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +1 -0
  391. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getTextWithParentheses.js +1 -0
  392. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +1 -0
  393. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js +1 -0
  394. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js +1 -0
  395. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +1 -0
  396. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/hasOverloadSignatures.js +1 -0
  397. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.d.ts +3 -1
  398. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +4 -1
  399. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js +1 -0
  400. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isAssignee.js +1 -0
  401. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isConditionalTest.js +1 -0
  402. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isHigherPrecedenceThanAwait.js +1 -0
  403. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js +1 -0
  404. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +1 -0
  405. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isPromiseAggregatorMethod.js +1 -0
  406. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBody.d.ts +2 -0
  407. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfArrowFunctionBody.js +26 -0
  408. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js +1 -0
  409. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeImport.js +1 -0
  410. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js +1 -0
  411. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +1 -0
  412. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js +1 -0
  413. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js +1 -0
  414. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +1 -0
  415. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/promiseUtils.js +1 -0
  416. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/rangeToLoc.js +1 -0
  417. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypePredicate.js +1 -0
  418. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypeQuery.js +1 -0
  419. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/scopeUtils.js +1 -0
  420. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/skipChainExpression.js +1 -0
  421. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessUtils.js +1 -0
  422. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js +1 -0
  423. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/walkStatements.js +1 -0
  424. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/README.md +52 -0
  425. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/index.js +785 -129
  426. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/legacy.js +660 -98
  427. package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/package.json +10 -4
  428. package/node_modules/@typescript-eslint/eslint-plugin/package.json +13 -12
  429. package/node_modules/@typescript-eslint/parser/dist/index.js +1 -0
  430. package/node_modules/@typescript-eslint/parser/dist/parser.js +1 -0
  431. package/node_modules/@typescript-eslint/parser/package.json +8 -7
  432. package/node_modules/@typescript-eslint/project-service/dist/createProjectService.js +1 -0
  433. package/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js +1 -0
  434. package/node_modules/@typescript-eslint/project-service/dist/index.js +1 -0
  435. package/node_modules/@typescript-eslint/project-service/package.json +6 -5
  436. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +1 -0
  437. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +1 -0
  438. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +1 -0
  439. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +1 -0
  440. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +1 -0
  441. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +1 -0
  442. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +1 -0
  443. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +1 -0
  444. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +1 -0
  445. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +1 -0
  446. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +1 -0
  447. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +1 -0
  448. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +1 -0
  449. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +1 -0
  450. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +1 -0
  451. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +1 -0
  452. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +1 -0
  453. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +1 -0
  454. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +1 -0
  455. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +1 -0
  456. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +1 -0
  457. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +1 -0
  458. package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +1 -0
  459. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.asynciterable.js +1 -0
  460. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +1 -0
  461. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1 -0
  462. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +1 -0
  463. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +1 -0
  464. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +1 -0
  465. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +1 -0
  466. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +1 -0
  467. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +1 -0
  468. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +1 -0
  469. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +1 -0
  470. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +1 -0
  471. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +1 -0
  472. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +1 -0
  473. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +1 -0
  474. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.intl.js +1 -0
  475. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +1 -0
  476. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js +1 -0
  477. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js +1 -0
  478. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +1 -0
  479. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +1 -0
  480. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +1 -0
  481. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +1 -0
  482. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +1 -0
  483. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +1 -0
  484. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +1 -0
  485. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +1 -0
  486. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +1 -0
  487. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +1 -0
  488. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +1 -0
  489. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +1 -0
  490. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +1 -0
  491. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +1 -0
  492. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +1 -0
  493. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +1 -0
  494. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +1 -0
  495. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +1 -0
  496. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +1 -0
  497. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +1 -0
  498. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +1 -0
  499. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +1 -0
  500. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +1 -0
  501. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +1 -0
  502. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +1 -0
  503. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +1 -0
  504. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +1 -0
  505. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +1 -0
  506. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +1 -0
  507. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +1 -0
  508. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +1 -0
  509. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +1 -0
  510. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +1 -0
  511. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +1 -0
  512. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +1 -0
  513. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +1 -0
  514. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +1 -0
  515. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +1 -0
  516. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +1 -0
  517. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +1 -0
  518. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +1 -0
  519. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +1 -0
  520. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +1 -0
  521. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +1 -0
  522. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +1 -0
  523. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +1 -0
  524. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js +1 -0
  525. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +1 -0
  526. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.intl.js +1 -0
  527. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +1 -0
  528. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js +1 -0
  529. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js +1 -0
  530. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js +1 -0
  531. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js +1 -0
  532. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js +1 -0
  533. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js +1 -0
  534. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js +1 -0
  535. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js +1 -0
  536. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js +1 -0
  537. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.collection.js +1 -0
  538. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.float16.js +1 -0
  539. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.full.js +1 -0
  540. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.intl.js +1 -0
  541. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.iterator.js +1 -0
  542. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.js +1 -0
  543. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.promise.js +1 -0
  544. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.regexp.js +1 -0
  545. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +1 -0
  546. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +1 -0
  547. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +1 -0
  548. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +1 -0
  549. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +1 -0
  550. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +1 -0
  551. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +1 -0
  552. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.date.js +1 -0
  553. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js +1 -0
  554. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js +1 -0
  555. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.error.js +1 -0
  556. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.float16.js +1 -0
  557. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +1 -0
  558. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +1 -0
  559. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.iterator.js +1 -0
  560. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +1 -0
  561. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.object.js +1 -0
  562. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +1 -0
  563. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.regexp.js +1 -0
  564. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.sharedmemory.js +1 -0
  565. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +1 -0
  566. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +1 -0
  567. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.temporal.js +1 -0
  568. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.typedarrays.js +1 -0
  569. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +1 -0
  570. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +1 -0
  571. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +1 -0
  572. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +1 -0
  573. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.js +1 -0
  574. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +1 -0
  575. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +1 -0
  576. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +1 -0
  577. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +1 -0
  578. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +1 -0
  579. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +1 -0
  580. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +1 -0
  581. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +1 -0
  582. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +1 -0
  583. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +1 -0
  584. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +1 -0
  585. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +1 -0
  586. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +1 -0
  587. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +1 -0
  588. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +1 -0
  589. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +1 -0
  590. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +1 -0
  591. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +1 -0
  592. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +1 -0
  593. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +1 -0
  594. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +1 -0
  595. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +1 -0
  596. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +1 -0
  597. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +1 -0
  598. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +1 -0
  599. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +1 -0
  600. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +1 -0
  601. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +1 -0
  602. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +1 -0
  603. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +1 -0
  604. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +1 -0
  605. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +1 -0
  606. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +1 -0
  607. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -0
  608. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +1 -0
  609. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +1 -0
  610. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +1 -0
  611. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +1 -0
  612. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +1 -0
  613. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +1 -0
  614. package/node_modules/@typescript-eslint/scope-manager/package.json +8 -7
  615. package/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js +1 -0
  616. package/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js +1 -0
  617. package/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js +1 -0
  618. package/node_modules/@typescript-eslint/tsconfig-utils/package.json +3 -2
  619. package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts +19 -19
  620. package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +1 -0
  621. package/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +1 -0
  622. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +1 -0
  623. package/node_modules/@typescript-eslint/type-utils/dist/discriminateAnyType.js +1 -0
  624. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +1 -0
  625. package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +1 -0
  626. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +1 -0
  627. package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +1 -0
  628. package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +1 -0
  629. package/node_modules/@typescript-eslint/type-utils/dist/index.js +1 -0
  630. package/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js +1 -0
  631. package/node_modules/@typescript-eslint/type-utils/dist/isTypeBrandedLiteralLike.js +1 -0
  632. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts +19 -19
  633. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +1 -0
  634. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +1 -0
  635. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +1 -0
  636. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +1 -0
  637. package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +1 -0
  638. package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +1 -0
  639. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js +1 -0
  640. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js +1 -0
  641. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInLib.js +1 -0
  642. package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js +1 -0
  643. package/node_modules/@typescript-eslint/type-utils/package.json +9 -8
  644. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +9 -0
  645. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +1 -0
  646. package/node_modules/@typescript-eslint/types/dist/index.js +1 -0
  647. package/node_modules/@typescript-eslint/types/dist/lib.js +1 -0
  648. package/node_modules/@typescript-eslint/types/dist/parser-options.js +1 -0
  649. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +1 -0
  650. package/node_modules/@typescript-eslint/types/package.json +3 -5
  651. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +1 -0
  652. package/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js +1 -0
  653. package/node_modules/@typescript-eslint/typescript-estree/dist/check-syntax-errors.js +15 -0
  654. package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +1 -0
  655. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -0
  656. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +25 -1
  657. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +1 -0
  658. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +1 -0
  659. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +1 -0
  660. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js +1 -0
  661. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +1 -0
  662. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +1 -0
  663. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +1 -0
  664. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +1 -0
  665. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +1 -0
  666. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +1 -0
  667. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js +1 -0
  668. package/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +1 -0
  669. package/node_modules/@typescript-eslint/typescript-estree/dist/getImportClausePhaseModifier.js +1 -0
  670. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +1 -0
  671. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +1 -0
  672. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +1 -0
  673. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +1 -0
  674. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +1 -0
  675. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js +1 -0
  676. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +1 -0
  677. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +1 -0
  678. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js +1 -0
  679. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +1 -0
  680. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +1 -0
  681. package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +1 -0
  682. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +1 -0
  683. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -0
  684. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +1 -0
  685. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +1 -0
  686. package/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js +1 -0
  687. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +1 -0
  688. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +1 -0
  689. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +1 -0
  690. package/node_modules/@typescript-eslint/typescript-estree/dist/use-at-your-own-risk.js +1 -0
  691. package/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js +1 -0
  692. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +1 -1
  693. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +1 -0
  694. package/node_modules/@typescript-eslint/typescript-estree/dist/version.js +1 -0
  695. package/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js +1 -0
  696. package/node_modules/@typescript-eslint/typescript-estree/package.json +8 -7
  697. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +1 -0
  698. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +1 -0
  699. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +1 -0
  700. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +1 -0
  701. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +20 -20
  702. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +1 -0
  703. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +1 -0
  704. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +1 -0
  705. package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +1 -0
  706. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +1 -0
  707. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +1 -1
  708. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +1 -0
  709. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js +1 -0
  710. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +1 -0
  711. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +1 -0
  712. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +1 -0
  713. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +1 -0
  714. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +1 -0
  715. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +1 -1
  716. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +1 -0
  717. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js +1 -0
  718. package/node_modules/@typescript-eslint/utils/dist/index.js +1 -0
  719. package/node_modules/@typescript-eslint/utils/dist/json-schema.js +1 -0
  720. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +1 -0
  721. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js +1 -0
  722. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js +1 -0
  723. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +1 -0
  724. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js +1 -0
  725. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js +1 -0
  726. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js +1 -0
  727. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +17 -0
  728. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js +1 -0
  729. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js +1 -0
  730. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +1 -0
  731. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +1 -0
  732. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/ESLintShared.js +1 -0
  733. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js +1 -0
  734. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js +1 -0
  735. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +1 -0
  736. package/node_modules/@typescript-eslint/utils/dist/ts-estree.js +1 -0
  737. package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js +1 -0
  738. package/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js +1 -0
  739. package/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js +1 -0
  740. package/node_modules/@typescript-eslint/utils/package.json +6 -5
  741. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +1 -0
  742. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +1 -0
  743. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +1 -0
  744. package/node_modules/@typescript-eslint/visitor-keys/package.json +5 -4
  745. package/node_modules/astro-eslint-parser/lib/index.mjs +13 -37
  746. package/node_modules/astro-eslint-parser/package.json +7 -7
  747. package/node_modules/eslint/README.md +1 -6
  748. package/node_modules/eslint/lib/config/config-loader.js +2 -2
  749. package/node_modules/eslint/lib/config/config.js +2 -2
  750. package/node_modules/eslint/lib/eslint/eslint.js +1 -1
  751. package/node_modules/eslint/lib/languages/js/index.js +1 -1
  752. package/node_modules/eslint/lib/options.js +2 -2
  753. package/node_modules/eslint/lib/rules/accessor-pairs.js +1 -51
  754. package/node_modules/eslint/lib/rules/getter-return.js +4 -45
  755. package/node_modules/eslint/lib/rules/id-denylist.js +4 -0
  756. package/node_modules/eslint/lib/rules/id-match.js +2 -1
  757. package/node_modules/eslint/lib/rules/no-duplicate-imports.js +3 -3
  758. package/node_modules/eslint/lib/rules/no-loss-of-precision.js +7 -2
  759. package/node_modules/eslint/lib/rules/no-setter-return.js +1 -89
  760. package/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +21 -5
  761. package/node_modules/eslint/lib/rules/no-unused-labels.js +19 -0
  762. package/node_modules/eslint/lib/rules/no-unused-vars.js +115 -8
  763. package/node_modules/eslint/lib/rules/no-useless-escape.js +2 -2
  764. package/node_modules/eslint/lib/rules/no-var.js +87 -1
  765. package/node_modules/eslint/lib/rules/prefer-template.js +7 -1
  766. package/node_modules/eslint/lib/rules/utils/ast-utils.js +86 -0
  767. package/node_modules/eslint/lib/types/index.d.ts +1 -1
  768. package/node_modules/eslint/lib/types/rules.d.ts +10 -1
  769. package/node_modules/eslint/messages/config-file-missing.js +2 -2
  770. package/node_modules/eslint/package.json +9 -3
  771. package/node_modules/eslint-plugin-astro/README.md +22 -1
  772. package/node_modules/eslint-plugin-astro/lib/index.mjs +24 -19
  773. package/node_modules/eslint-plugin-astro/package.json +8 -4
  774. package/node_modules/eslint-plugin-yml/lib/index.mjs +220 -78
  775. package/node_modules/eslint-plugin-yml/package.json +5 -4
  776. package/node_modules/globals/globals.json +75 -0
  777. package/node_modules/globals/index.d.ts +77 -0
  778. package/node_modules/globals/package.json +2 -2
  779. package/node_modules/nanoid/README.md +3 -0
  780. package/node_modules/nanoid/async/index.browser.cjs +1 -0
  781. package/node_modules/nanoid/async/index.browser.js +1 -0
  782. package/node_modules/nanoid/async/index.cjs +4 -1
  783. package/node_modules/nanoid/async/index.js +4 -1
  784. package/node_modules/nanoid/async/index.native.js +4 -1
  785. package/node_modules/nanoid/index.browser.cjs +1 -0
  786. package/node_modules/nanoid/index.browser.js +1 -0
  787. package/node_modules/nanoid/index.cjs +1 -0
  788. package/node_modules/nanoid/index.js +1 -0
  789. package/node_modules/nanoid/package.json +1 -1
  790. package/node_modules/picomatch/lib/parse.js +10 -1
  791. package/node_modules/picomatch/lib/scan.js +30 -18
  792. package/node_modules/picomatch/package.json +1 -1
  793. package/node_modules/postcss/README.md +4 -1
  794. package/node_modules/postcss/lib/list.js +1 -1
  795. package/node_modules/postcss/lib/previous-map.js +14 -2
  796. package/node_modules/postcss/lib/processor.js +1 -1
  797. package/node_modules/postcss/package.json +2 -2
  798. package/node_modules/postcss-selector-parser/CHANGELOG.md +74 -65
  799. package/node_modules/postcss-selector-parser/dist/parser.js +25 -3
  800. package/node_modules/postcss-selector-parser/package.json +6 -3
  801. package/node_modules/typescript-eslint/dist/compatibility-types.js +1 -0
  802. package/node_modules/typescript-eslint/dist/config-helper.js +1 -0
  803. package/node_modules/typescript-eslint/dist/getTSConfigRootDirFromStack.js +1 -0
  804. package/node_modules/typescript-eslint/dist/globs.d.ts +123 -0
  805. package/node_modules/typescript-eslint/dist/globs.js +135 -0
  806. package/node_modules/typescript-eslint/dist/index.d.ts +12 -0
  807. package/node_modules/typescript-eslint/dist/index.js +8 -1
  808. package/node_modules/typescript-eslint/package.json +8 -6
  809. package/node_modules/vscode-languageserver-textdocument/eslint.config.js +13 -0
  810. package/node_modules/vscode-languageserver-textdocument/lib/esm/main.d.ts +20 -0
  811. package/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +26 -0
  812. package/node_modules/vscode-languageserver-textdocument/lib/umd/main.d.ts +20 -0
  813. package/node_modules/vscode-languageserver-textdocument/lib/umd/main.js +26 -0
  814. package/node_modules/vscode-languageserver-textdocument/package.json +2 -2
  815. package/node_modules/vscode-uri/lib/esm/index.mjs +1 -1
  816. package/node_modules/vscode-uri/lib/esm/index.mjs.map +1 -1
  817. package/node_modules/vscode-uri/lib/umd/index.d.ts +5 -0
  818. package/node_modules/vscode-uri/lib/umd/index.js +1 -1
  819. package/node_modules/vscode-uri/lib/umd/index.js.map +1 -1
  820. package/node_modules/vscode-uri/package.json +5 -1
  821. package/package.json +12 -12
@@ -22,7 +22,7 @@ const NAMESPACE_TYPES = [
22
22
  * Check if an import/export type belongs to (ImportSpecifier|ExportSpecifier) or (ImportNamespaceSpecifier|ExportNamespaceSpecifier).
23
23
  * @param {string} importExportType An import/export type to check.
24
24
  * @param {string} type Can be "named" or "namespace"
25
- * @returns {boolean} True if import/export type belongs to (ImportSpecifier|ExportSpecifier) or (ImportNamespaceSpecifier|ExportNamespaceSpecifier) and false if it doesn't.
25
+ * @returns {boolean} `true` if import/export type belongs to (ImportSpecifier|ExportSpecifier) or (ImportNamespaceSpecifier|ExportNamespaceSpecifier) and `false` if it doesn't.
26
26
  */
27
27
  function isImportExportSpecifier(importExportType, type) {
28
28
  const arrayToCheck = type === "named" ? NAMED_TYPES : NAMESPACE_TYPES;
@@ -60,7 +60,7 @@ function getImportExportType(node) {
60
60
  * Returns a boolean indicates if two (import|export) can be merged
61
61
  * @param {ASTNode} node1 A node to check.
62
62
  * @param {ASTNode} node2 A node to check.
63
- * @returns {boolean} True if two (import|export) can be merged, false if they can't.
63
+ * @returns {boolean} `true` if two (import|export) can be merged, `false` if they can't.
64
64
  */
65
65
  function isImportExportCanBeMerged(node1, node2) {
66
66
  const importExportType1 = getImportExportType(node1);
@@ -106,7 +106,7 @@ function isImportExportCanBeMerged(node1, node2) {
106
106
  * @param {ASTNode} node A node to be reported or not.
107
107
  * @param {[ASTNode]} previousNodes An array contains previous nodes of the module imported or exported.
108
108
  * @param {boolean} allowSeparateTypeImports Whether to allow separate type and value imports.
109
- * @returns {boolean} True if the (import|export) should be reported.
109
+ * @returns {boolean} `true` if the (import|export) should be reported.
110
110
  */
111
111
  function shouldReportImportExport(
112
112
  node,
@@ -178,11 +178,16 @@ function convertNumberToScientificNotation(stringNumber, parseAsFloat) {
178
178
  * @returns {boolean} true if they do not match
179
179
  */
180
180
  function baseTenLosesPrecision(node) {
181
- const rawNumber = getRaw(node).toLowerCase();
181
+ const rawNumber = getRaw(node).toLowerCase().replace(/\.$/u, "");
182
182
  const normalizedRawNumber = convertNumberToScientificNotation(
183
183
  rawNumber,
184
184
  false,
185
185
  );
186
+
187
+ if (node.value === 0) {
188
+ return !/^0+$/u.test(normalizedRawNumber.coefficient);
189
+ }
190
+
186
191
  const requestedPrecision = normalizedRawNumber.coefficient.length;
187
192
 
188
193
  if (requestedPrecision > 100) {
@@ -236,7 +241,7 @@ module.exports = {
236
241
  create(context) {
237
242
  return {
238
243
  Literal(node) {
239
- if (node.value && isNumber(node) && losesPrecision(node)) {
244
+ if (isNumber(node) && losesPrecision(node)) {
240
245
  context.report({
241
246
  messageId: "noLossOfPrecision",
242
247
  node,
@@ -15,94 +15,6 @@ const astUtils = require("./utils/ast-utils");
15
15
  // Helpers
16
16
  //------------------------------------------------------------------------------
17
17
 
18
- /**
19
- * Determines whether the given node is an argument of the specified global method call, at the given `index` position.
20
- * E.g., for given `index === 1`, this function checks for `objectName.methodName(foo, node)`, where objectName is a global variable.
21
- * @param {ASTNode} node The node to check.
22
- * @param {SourceCode} sourceCode Source code to which the node belongs.
23
- * @param {string} objectName Name of the global object.
24
- * @param {string} methodName Name of the method.
25
- * @param {number} index The given position.
26
- * @returns {boolean} `true` if the node is argument at the given position.
27
- */
28
- function isArgumentOfGlobalMethodCall(
29
- node,
30
- sourceCode,
31
- objectName,
32
- methodName,
33
- index,
34
- ) {
35
- const callNode = node.parent;
36
-
37
- return (
38
- callNode.type === "CallExpression" &&
39
- callNode.arguments[index] === node &&
40
- astUtils.isSpecificMemberAccess(
41
- callNode.callee,
42
- objectName,
43
- methodName,
44
- ) &&
45
- sourceCode.isGlobalReference(
46
- astUtils.skipChainExpression(callNode.callee).object,
47
- )
48
- );
49
- }
50
-
51
- /**
52
- * Determines whether the given node is used as a property descriptor.
53
- * @param {ASTNode} node The node to check.
54
- * @param {SourceCode} sourceCode Source code to which the node belongs.
55
- * @returns {boolean} `true` if the node is a property descriptor.
56
- */
57
- function isPropertyDescriptor(node, sourceCode) {
58
- if (
59
- isArgumentOfGlobalMethodCall(
60
- node,
61
- sourceCode,
62
- "Object",
63
- "defineProperty",
64
- 2,
65
- ) ||
66
- isArgumentOfGlobalMethodCall(
67
- node,
68
- sourceCode,
69
- "Reflect",
70
- "defineProperty",
71
- 2,
72
- )
73
- ) {
74
- return true;
75
- }
76
-
77
- const parent = node.parent;
78
-
79
- if (parent.type === "Property" && parent.value === node) {
80
- const grandparent = parent.parent;
81
-
82
- if (
83
- grandparent.type === "ObjectExpression" &&
84
- (isArgumentOfGlobalMethodCall(
85
- grandparent,
86
- sourceCode,
87
- "Object",
88
- "create",
89
- 1,
90
- ) ||
91
- isArgumentOfGlobalMethodCall(
92
- grandparent,
93
- sourceCode,
94
- "Object",
95
- "defineProperties",
96
- 1,
97
- ))
98
- ) {
99
- return true;
100
- }
101
- }
102
-
103
- return false;
104
- }
105
-
106
18
  /**
107
19
  * Determines whether the given function node is used as a setter function.
108
20
  * @param {ASTNode} node The node to check.
@@ -126,7 +38,7 @@ function isSetter(node, sourceCode) {
126
38
  parent.value === node &&
127
39
  astUtils.getStaticPropertyName(parent) === "set" &&
128
40
  parent.parent.type === "ObjectExpression" &&
129
- isPropertyDescriptor(parent.parent, sourceCode)
41
+ astUtils.isPropertyDescriptor(parent.parent, sourceCode)
130
42
  ) {
131
43
  // Setter in a property descriptor
132
44
  return true;
@@ -26,7 +26,6 @@ const Traverser = require("../shared/traverser"),
26
26
  const SENTINEL_PATTERN =
27
27
  /(?:(?:Call|Class|Function|Member|New|Yield)Expression|Statement|Declaration)$/u;
28
28
  const LOOP_PATTERN = /^(?:DoWhile|For|While)Statement$/u; // for-in/of statements don't have `test` property.
29
- const GROUP_PATTERN = /^(?:BinaryExpression|ConditionalExpression)$/u;
30
29
  const SKIP_PATTERN = /^(?:ArrowFunction|Class|Function)Expression$/u;
31
30
  const DYNAMIC_PATTERN = /^(?:Call|Member|New|TaggedTemplate|Yield)Expression$/u;
32
31
 
@@ -190,7 +189,19 @@ module.exports = {
190
189
  url: "https://eslint.org/docs/latest/rules/no-unmodified-loop-condition",
191
190
  },
192
191
 
193
- schema: [],
192
+ schema: [
193
+ {
194
+ type: "object",
195
+ properties: {
196
+ checkConditionalExpressions: {
197
+ type: "boolean",
198
+ },
199
+ },
200
+ additionalProperties: false,
201
+ },
202
+ ],
203
+
204
+ defaultOptions: [{ checkConditionalExpressions: false }],
194
205
 
195
206
  messages: {
196
207
  loopConditionNotModified:
@@ -199,6 +210,7 @@ module.exports = {
199
210
  },
200
211
 
201
212
  create(context) {
213
+ const [{ checkConditionalExpressions }] = context.options;
202
214
  const sourceCode = context.sourceCode;
203
215
  let groupMap = null;
204
216
 
@@ -305,10 +317,14 @@ module.exports = {
305
317
  }
306
318
 
307
319
  /*
308
- * If it's inside of a group, OK if either operand is modified.
309
- * So stores the group this reference belongs to.
320
+ * If it's inside of a group, OK if any reference in that group is
321
+ * modified. So stores the group this reference belongs to.
310
322
  */
311
- if (GROUP_PATTERN.test(node.type)) {
323
+ if (
324
+ node.type === "BinaryExpression" ||
325
+ (!checkConditionalExpressions &&
326
+ node.type === "ConditionalExpression")
327
+ ) {
312
328
  // If this expression is dynamic, no need to check.
313
329
  if (hasDynamicExpressions(node)) {
314
330
  break;
@@ -97,6 +97,25 @@ module.exports = {
97
97
  return false; // potential directive
98
98
  }
99
99
  }
100
+
101
+ /*
102
+ * Do not fix if removing the label would create an ASI hazard.
103
+ * e.g. `foo()\nLABEL: [1].forEach(x => x)` → `foo()\n[1].forEach(x => x)`
104
+ * would be parsed as `foo()[1].forEach(x => x)`.
105
+ */
106
+ const SAFE_TOKENS_BEFORE = /^[:;{]$/u;
107
+ const UNSAFE_FIRST_CHARS = /^[([\-+/`]/u;
108
+ const tokenBefore = sourceCode.getTokenBefore(node);
109
+ const firstBodyToken = sourceCode.getFirstToken(node.body);
110
+
111
+ if (
112
+ tokenBefore &&
113
+ !SAFE_TOKENS_BEFORE.test(tokenBefore.value) &&
114
+ UNSAFE_FIRST_CHARS.test(firstBodyToken.value)
115
+ ) {
116
+ return false;
117
+ }
118
+
100
119
  return true;
101
120
  }
102
121
 
@@ -1042,6 +1042,48 @@ module.exports = {
1042
1042
  return node.specifiers.some(e => e.type === type);
1043
1043
  }
1044
1044
 
1045
+ /**
1046
+ * Check whether a closing brace token belongs to a block-level
1047
+ * construct (safe for ASI) rather than an expression (unsafe).
1048
+ *
1049
+ * Block-level `}` (e.g., if/for/while/function declaration body)
1050
+ * always triggers ASI, so it's safe to have adjacent tokens.
1051
+ *
1052
+ * Expression-level `}` (e.g., object literal, function expression,
1053
+ * arrow function body) does NOT trigger ASI, so adjacent tokens
1054
+ * could merge and change the parse.
1055
+ * @param {Token} token The token to check
1056
+ * @returns {boolean} true if the token is `}` from a block construct
1057
+ */
1058
+ function isClosingBraceOfBlock(token) {
1059
+ if (!astUtils.isClosingBraceToken(token)) {
1060
+ return false;
1061
+ }
1062
+
1063
+ const node = sourceCode.getNodeByRangeIndex(token.range[0]);
1064
+
1065
+ switch (node.type) {
1066
+ case "BlockStatement":
1067
+ /*
1068
+ * Safe only if the block belongs to a statement construct,
1069
+ * not an expression (FunctionExpression, ArrowFunctionExpression)
1070
+ */
1071
+ return (
1072
+ node.parent.type !== "FunctionExpression" &&
1073
+ node.parent.type !== "ArrowFunctionExpression"
1074
+ );
1075
+
1076
+ case "ClassBody":
1077
+ return node.parent.type === "ClassDeclaration";
1078
+
1079
+ case "SwitchStatement":
1080
+ return true;
1081
+
1082
+ default:
1083
+ return false;
1084
+ }
1085
+ }
1086
+
1045
1087
  /**
1046
1088
  * Check whether declaration is safe to remove or not
1047
1089
  * @param {ASTNode} nextToken next token of unused variable
@@ -1053,7 +1095,8 @@ module.exports = {
1053
1095
  nextToken.type === "String" ||
1054
1096
  (prevToken &&
1055
1097
  !astUtils.isSemicolonToken(prevToken) &&
1056
- !astUtils.isOpeningBraceToken(prevToken))
1098
+ !astUtils.isOpeningBraceToken(prevToken) &&
1099
+ !isClosingBraceOfBlock(prevToken))
1057
1100
  );
1058
1101
  }
1059
1102
 
@@ -1137,6 +1180,36 @@ module.exports = {
1137
1180
  * fix 'let bar = "hello", { a } = foo;' to 'let bar = "hello";' if 'a' is unused, same for arrays.
1138
1181
  */
1139
1182
  if (getTokenBeforeValue(parentNode) === ",") {
1183
+ // If this is the last declarator, removing it may create an ASI hazard
1184
+ if (
1185
+ parentNode === parentNode.parent.declarations.at(-1)
1186
+ ) {
1187
+ const lastTokenOfDecl = sourceCode.getLastToken(
1188
+ parentNode.parent,
1189
+ );
1190
+
1191
+ // If the declaration has a trailing semicolon, the removal is safe
1192
+ if (!astUtils.isSemicolonToken(lastTokenOfDecl)) {
1193
+ const nextToken = sourceCode.getTokenAfter(
1194
+ parentNode.parent,
1195
+ );
1196
+ const lastRemainingToken =
1197
+ sourceCode.getTokenBefore(parentNode, {
1198
+ skip: 1,
1199
+ });
1200
+
1201
+ if (
1202
+ nextToken &&
1203
+ isDeclarationNotSafeToRemove(
1204
+ nextToken,
1205
+ lastRemainingToken,
1206
+ )
1207
+ ) {
1208
+ return null;
1209
+ }
1210
+ }
1211
+ }
1212
+
1140
1213
  return fixer.removeRange([
1141
1214
  getPreviousTokenStart(parentNode),
1142
1215
  parentNode.range[1],
@@ -1364,6 +1437,32 @@ module.exports = {
1364
1437
 
1365
1438
  // remove unused declared variable with multiple declaration except first one like 'var a = b, c = d;'
1366
1439
  if (tokenBefore.value === ",") {
1440
+ // If this is the last declarator, removing it may create an ASI hazard
1441
+ if (parent === parent.parent.declarations.at(-1)) {
1442
+ const lastTokenOfDecl = sourceCode.getLastToken(
1443
+ parent.parent,
1444
+ );
1445
+
1446
+ // If the declaration has a trailing semicolon, the removal is safe
1447
+ if (!astUtils.isSemicolonToken(lastTokenOfDecl)) {
1448
+ const nextToken = sourceCode.getTokenAfter(
1449
+ parent.parent,
1450
+ );
1451
+ const lastRemainingToken =
1452
+ sourceCode.getTokenBefore(parent, { skip: 1 });
1453
+
1454
+ if (
1455
+ nextToken &&
1456
+ isDeclarationNotSafeToRemove(
1457
+ nextToken,
1458
+ lastRemainingToken,
1459
+ )
1460
+ ) {
1461
+ return null;
1462
+ }
1463
+ }
1464
+ }
1465
+
1367
1466
  return fixer.removeRange([
1368
1467
  tokenBefore.range[0],
1369
1468
  parent.range[1],
@@ -1540,8 +1639,21 @@ module.exports = {
1540
1639
  }
1541
1640
  }
1542
1641
 
1543
- // remove unused functions
1544
- if (parentType === "FunctionDeclaration" && parent.id === id) {
1642
+ // remove unused functions and classes
1643
+ if (
1644
+ (parentType === "FunctionDeclaration" && parent.id === id) ||
1645
+ parentType === "ClassDeclaration"
1646
+ ) {
1647
+ const nextToken = sourceCode.getTokenAfter(parent);
1648
+ const prevToken = sourceCode.getTokenBefore(parent);
1649
+
1650
+ if (
1651
+ nextToken &&
1652
+ isDeclarationNotSafeToRemove(nextToken, prevToken)
1653
+ ) {
1654
+ return null;
1655
+ }
1656
+
1545
1657
  return fixer.removeRange(parent.range);
1546
1658
  }
1547
1659
 
@@ -1627,11 +1739,6 @@ module.exports = {
1627
1739
  return null;
1628
1740
  }
1629
1741
 
1630
- // remove unused declared classes
1631
- if (parentType === "ClassDeclaration") {
1632
- return fixer.removeRange(parent.range);
1633
- }
1634
-
1635
1742
  // remove unused variable that is in a sequence [a,b] fixes to [a]
1636
1743
  if (tokenBefore?.value === ",") {
1637
1744
  return fixer.removeRange([tokenBefore.range[0], id.range[1]]);
@@ -373,8 +373,8 @@ module.exports = {
373
373
 
374
374
  if (typeof node.value === "string" || isTemplateElement) {
375
375
  /*
376
- * JSXAttribute doesn't have any escape sequence: https://facebook.github.io/jsx/.
377
- * In addition, backticks are not supported by JSX yet: https://github.com/facebook/jsx/issues/25.
376
+ * JSXAttribute doesn't have any escape sequence: https://react.github.io/jsx/.
377
+ * In addition, backticks are not supported by JSX yet: https://github.com/react/jsx/issues/25.
378
378
  */
379
379
  if (
380
380
  node.parent.type === "JSXAttribute" ||
@@ -221,6 +221,80 @@ function hasReferenceBeforeDeclaration(variable) {
221
221
  });
222
222
  }
223
223
 
224
+ /**
225
+ * Checks whether a given variable is referenced inside a hoisted function
226
+ * declaration that is called before the variable's declaration.
227
+ * @param {Variable} variable The variable to check.
228
+ * @returns {boolean} `true` if the variable is referenced from a hoisted
229
+ * function called before its declaration.
230
+ */
231
+ function hasUnsafeHoistedFunctionReference(variable) {
232
+ const declarationNode = variable.defs[0].node;
233
+ const declarationStart = declarationNode.range[0];
234
+
235
+ for (const reference of variable.references) {
236
+ if (reference.init) {
237
+ continue;
238
+ }
239
+
240
+ if (reference.identifier.range[0] < declarationStart) {
241
+ continue;
242
+ }
243
+
244
+ let currentScope = reference.from.variableScope;
245
+
246
+ while (currentScope !== variable.scope) {
247
+ if (
248
+ currentScope.block.type === "FunctionDeclaration" &&
249
+ currentScope.block.id
250
+ ) {
251
+ const funcName = currentScope.block.id.name;
252
+ const funcVariable = currentScope.upper.set.get(funcName);
253
+
254
+ for (const funcRef of funcVariable.references) {
255
+ const refId = funcRef.identifier;
256
+
257
+ if (
258
+ refId.parent.type === "CallExpression" &&
259
+ refId.parent.callee === refId &&
260
+ refId.range[0] < declarationStart
261
+ ) {
262
+ return true;
263
+ }
264
+ }
265
+ }
266
+
267
+ currentScope = currentScope.upper.variableScope;
268
+ }
269
+ }
270
+
271
+ return false;
272
+ }
273
+
274
+ /**
275
+ * Checks whether a given variable is shadowed by the parameter of an enclosing
276
+ * `catch` clause.
277
+ *
278
+ * Scope analysis does not report this as a redeclaration, because the catch
279
+ * parameter and the `var` are distinct variables living in distinct scopes, so
280
+ * neither one has more than one definition.
281
+ *
282
+ * Resolving the name from the scope of the declaration is enough to detect it.
283
+ * A simple catch parameter is the only binding a `var` is allowed to shadow:
284
+ * any other block-scoped declaration of the same name makes the `var` itself a
285
+ * syntax error, and a function parameter shares its variable with the `var`, so
286
+ * that case is reported by `isRedeclared` instead.
287
+ * @param {ASTNode} node A `VariableDeclaration` node to check.
288
+ * @param {SourceCode} sourceCode The source code object.
289
+ * @returns {Function} The predicate function which checks whether a given
290
+ * variable is shadowed by a `catch` clause parameter.
291
+ */
292
+ function isShadowedByCatchParameter(node, sourceCode) {
293
+ return variable =>
294
+ astUtils.getVariableByName(sourceCode.getScope(node), variable.name) !==
295
+ variable;
296
+ }
297
+
224
298
  //------------------------------------------------------------------------------
225
299
  // Rule Definition
226
300
  //------------------------------------------------------------------------------
@@ -276,6 +350,7 @@ module.exports = {
276
350
  * - A variable is referenced before its declaration.
277
351
  * - A variable is declared in statement position (e.g. a single-line `IfStatement`)
278
352
  * - A variable has name that is disallowed for `let` declarations.
353
+ * - A variable is shadowed by a `catch` clause parameter.
279
354
  *
280
355
  * ## A variable is declared on a SwitchCase node.
281
356
  *
@@ -312,6 +387,15 @@ module.exports = {
312
387
  * the implementation simple, we only convert `var` to `let` within
313
388
  * loops when the variable is a loop assignee or the declaration has an
314
389
  * initializer.
390
+ *
391
+ * ## A variable is shadowed by a `catch` clause parameter.
392
+ *
393
+ * A `var` declaration may reuse the name of a simple catch clause
394
+ * parameter, but the equivalent `let` declaration may not. Directly
395
+ * inside the catch block, `let` would be a syntax error. In a nested
396
+ * block, `let` is valid but changes behavior: the `var` assigns to the
397
+ * catch parameter, while the `let` introduces a separate binding and
398
+ * leaves the catch parameter untouched.
315
399
  * @param {ASTNode} node A variable declaration node to check.
316
400
  * @returns {boolean} `true` if it can fix the node.
317
401
  */
@@ -330,7 +414,9 @@ module.exports = {
330
414
  variables.some(isRedeclared) ||
331
415
  variables.some(isUsedFromOutsideOf(scopeNode)) ||
332
416
  variables.some(hasNameDisallowedForLetDeclarations) ||
333
- variables.some(hasReferenceBeforeDeclaration)
417
+ variables.some(hasReferenceBeforeDeclaration) ||
418
+ variables.some(hasUnsafeHoistedFunctionReference) ||
419
+ variables.some(isShadowedByCatchParameter(node, sourceCode))
334
420
  ) {
335
421
  return false;
336
422
  }
@@ -299,9 +299,15 @@ module.exports = {
299
299
  return null;
300
300
  }
301
301
 
302
+ const prefix =
303
+ astUtils.isStartOfExpressionStatement(topBinaryExpr) &&
304
+ astUtils.needsPrecedingSemicolon(sourceCode, topBinaryExpr)
305
+ ? ";"
306
+ : "";
307
+
302
308
  return fixer.replaceText(
303
309
  topBinaryExpr,
304
- getTemplateLiteral(topBinaryExpr, null, null),
310
+ `${prefix}${getTemplateLiteral(topBinaryExpr, null, null)}`,
305
311
  );
306
312
  }
307
313
 
@@ -551,6 +551,91 @@ function isMethodWhichHasThisArg(node) {
551
551
  return isSpecificMemberAccess(node, null, arrayMethodWithThisArgPattern);
552
552
  }
553
553
 
554
+ /**
555
+ * Determines whether the given node is an argument of the specified global method call, at the given `index` position.
556
+ * E.g., for given `index === 1`, this function checks for `objectName.methodName(foo, node)`, where objectName is a global variable.
557
+ * @param {ASTNode} node The node to check.
558
+ * @param {SourceCode} sourceCode Source code to which the node belongs.
559
+ * @param {string} objectName Name of the global object.
560
+ * @param {string} methodName Name of the method.
561
+ * @param {number} index The given position.
562
+ * @returns {boolean} `true` if the node is argument at the given position.
563
+ * @private
564
+ */
565
+ function isArgumentOfGlobalMethodCall(
566
+ node,
567
+ sourceCode,
568
+ objectName,
569
+ methodName,
570
+ index,
571
+ ) {
572
+ const callNode = node.parent;
573
+
574
+ return (
575
+ callNode.type === "CallExpression" &&
576
+ callNode.arguments[index] === node &&
577
+ isSpecificMemberAccess(callNode.callee, objectName, methodName) &&
578
+ sourceCode.isGlobalReference(
579
+ skipChainExpression(callNode.callee).object,
580
+ )
581
+ );
582
+ }
583
+
584
+ /**
585
+ * Determines whether the given node is used as a property descriptor.
586
+ * @param {ASTNode} node The node to check.
587
+ * @param {SourceCode} sourceCode Source code to which the node belongs.
588
+ * @returns {boolean} `true` if the node is a property descriptor.
589
+ */
590
+ function isPropertyDescriptor(node, sourceCode) {
591
+ if (
592
+ isArgumentOfGlobalMethodCall(
593
+ node,
594
+ sourceCode,
595
+ "Object",
596
+ "defineProperty",
597
+ 2,
598
+ ) ||
599
+ isArgumentOfGlobalMethodCall(
600
+ node,
601
+ sourceCode,
602
+ "Reflect",
603
+ "defineProperty",
604
+ 2,
605
+ )
606
+ ) {
607
+ return true;
608
+ }
609
+
610
+ const parent = node.parent;
611
+
612
+ if (parent.type === "Property" && parent.value === node) {
613
+ const grandparent = parent.parent;
614
+
615
+ if (
616
+ grandparent.type === "ObjectExpression" &&
617
+ (isArgumentOfGlobalMethodCall(
618
+ grandparent,
619
+ sourceCode,
620
+ "Object",
621
+ "create",
622
+ 1,
623
+ ) ||
624
+ isArgumentOfGlobalMethodCall(
625
+ grandparent,
626
+ sourceCode,
627
+ "Object",
628
+ "defineProperties",
629
+ 1,
630
+ ))
631
+ ) {
632
+ return true;
633
+ }
634
+ }
635
+
636
+ return false;
637
+ }
638
+
554
639
  /**
555
640
  * Creates the negate function of the given function.
556
641
  * @param {Function} f The function to negate.
@@ -1510,6 +1595,7 @@ module.exports = {
1510
1595
  isInLoop,
1511
1596
  isArrayFromMethod,
1512
1597
  isArrayFromAsyncMethod,
1598
+ isPropertyDescriptor,
1513
1599
  isParenthesised,
1514
1600
  createGlobalLinebreakMatcher,
1515
1601
  equalTokens,
@@ -968,7 +968,7 @@ export namespace Linter {
968
968
  */
969
969
  impliedStrict?: boolean | undefined;
970
970
  /**
971
- * Enable [JSX](https://facebook.github.io/jsx/).
971
+ * Enable [JSX](https://react.github.io/jsx/).
972
972
  *
973
973
  * @default false
974
974
  */
@@ -4040,7 +4040,16 @@ export interface ESLintRules extends Linter.RulesRecord {
4040
4040
  * @since 2.0.0-alpha-2
4041
4041
  * @see https://eslint.org/docs/latest/rules/no-unmodified-loop-condition
4042
4042
  */
4043
- "no-unmodified-loop-condition": Linter.RuleEntry<[]>;
4043
+ "no-unmodified-loop-condition": Linter.RuleEntry<
4044
+ [
4045
+ Partial<{
4046
+ /**
4047
+ * @default false
4048
+ */
4049
+ checkConditionalExpressions: boolean;
4050
+ }>,
4051
+ ]
4052
+ >;
4044
4053
 
4045
4054
  /**
4046
4055
  * Rule to disallow ternary operators when simpler alternatives exist.
@@ -2,9 +2,9 @@
2
2
 
3
3
  module.exports = function () {
4
4
  return `
5
- ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
5
+ ESLint couldn't find an eslint.config.* file.
6
6
 
7
- From ESLint v9.0.0, the default configuration file is now eslint.config.js.
7
+ From ESLint v9.0.0, the default configuration file is now eslint.config.*.
8
8
  If you are using a .eslintrc.* file, please follow the migration guide
9
9
  to update your configuration file to the new format:
10
10