Skip to content

Commit

Permalink
chore(deps-dev): bump the eslint group across 1 directory with 4 upda…
Browse files Browse the repository at this point in the history
…tes (#241)

Bumps the eslint group with 4 updates in the / directory:
[@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin),
[@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser),
[@typescript-eslint/rule-tester](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/rule-tester)
and
[@typescript-eslint/utils](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/utils).

Updates `@typescript-eslint/eslint-plugin` from 6.10.0 to 8.12.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v8.12.2</h2>
<h2>8.12.2 (2024-10-29)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] invert
<code>considerDefaultExhaustiveForUnions</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10223">#10223</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v8.12.1</h2>
<h2>8.12.1 (2024-10-28)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] add
support for assignment expressions (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10152">#10152</a>)</li>
<li><strong>eslint-plugin:</strong> [consistent-indexed-object-style]
report mapped types (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10160">#10160</a>)</li>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] add
considerDefaultExhaustiveForUnions option (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9954">#9954</a>)</li>
<li><strong>eslint-plugin:</strong> [no-base-to-string] handle String()
(<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10005">#10005</a>)</li>
<li><strong>typescript-eslint:</strong> improve undefined extension
handling (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10177">#10177</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unsafe-return] don't reiterate
through all type parts for each part (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10203">#10203</a>)</li>
<li><strong>website:</strong> enable <code>noImplicitAny</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10175">#10175</a>)</li>
<li><strong>rule-tester:</strong> use cwd option to set base path for
tests with file name (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10201">#10201</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Abraham Guo</li>
<li>Dave <a
href="https://github.com/reduckted"><code>@​reduckted</code></a></li>
<li>Kim Sang Du <a
href="https://github.com/developer-bandi"><code>@​developer-bandi</code></a></li>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
<li>Maxim Stykow <a
href="https://github.com/mstykow"><code>@​mstykow</code></a></li>
<li>Terry Fu</li>
<li>YeonJuan <a
href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v8.12.0</h2>
<p>See <a
href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.12.1">https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.12.1</a></p>
<h2>v8.11.0</h2>
<h2>8.11.0 (2024-10-21)</h2>
<h3>🚀 Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>8.12.2 (2024-10-29)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] invert
<code>considerDefaultExhaustiveForUnions</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10223">#10223</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.12.1 (2024-10-28)</h2>
<p>This was a version bump only for eslint-plugin to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.12.0 (2024-10-28)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-base-to-string] handle String()
(<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10005">#10005</a>)</li>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] add
allowDefaultCaseMatchUnionMember option (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9954">#9954</a>)</li>
<li><strong>eslint-plugin:</strong> [consistent-indexed-object-style]
report mapped types (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10160">#10160</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] add
support for assignment expressions (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10152">#10152</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Abraham Guo</li>
<li>Kim Sang Du <a
href="https://github.com/developer-bandi"><code>@​developer-bandi</code></a></li>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
<li>YeonJuan <a
href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.11.0 (2024-10-21)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unnecessary-type-parameters] add
suggestion fixer (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10149">#10149</a>)</li>
<li><strong>eslint-plugin:</strong> [no-base-to-string] add support for
catching toLocaleString (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10138">#10138</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [class-literal-property-style] don't
report nodes with <code>override</code> keyword (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10135">#10135</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/4af866a6642502117c32b49e64d7012a027c42f5"><code>4af866a</code></a>
chore(release): publish 8.12.2</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/cc7177c2f3841da2148e46d7d9e97fa3c59621c3"><code>cc7177c</code></a>
fix(eslint-plugin): [switch-exhaustiveness-check] invert
`considerDefaultExha...</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/1edec1d56ccad98fa65f57ac54fe8abbb1d3a922"><code>1edec1d</code></a>
chore(release): publish 8.12.1</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/3413a2d5bfb1641de86677ed25f1fd66045ac068"><code>3413a2d</code></a>
chore(release): publish 8.12.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/ac187498bc5756d50e65620d8a87a738a6566b8a"><code>ac18749</code></a>
feat(eslint-plugin): [no-base-to-string] handle String() (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/10005">#10005</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/3c8978d39e9655845ecefb9ceb58c88f4078f65a"><code>3c8978d</code></a>
feat(eslint-plugin): [switch-exhaustiveness-check] add
allowDefaultCaseMatchU...</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/af4743fd20a788f2d5ec4fb87e9ea368c10d76ac"><code>af4743f</code></a>
test(eslint-plugin): fix a typo in a test, causing it to test the
<code>error</code> typ...</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/9c956ee1ca1330c312ee51bf26c01c281b7665e0"><code>9c956ee</code></a>
feat(eslint-plugin): [consistent-indexed-object-style] report mapped
types (#...</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/e765033b4271458d7dad08cf615001fa2ed0a065"><code>e765033</code></a>
feat(eslint-plugin): [prefer-nullish-coalescing] add support for
assignment e...</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/79c27a822ee9d5e955b6bcd41a6a8c320938cdaf"><code>79c27a8</code></a>
chore(release): publish 8.11.0</li>
<li>Additional commits viewable in <a
href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.2/packages/eslint-plugin">compare
view</a></li>
</ul>
</details>
<br />

Updates `@typescript-eslint/parser` from 6.10.0 to 8.12.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/parser</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v8.12.2</h2>
<h2>8.12.2 (2024-10-29)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] invert
<code>considerDefaultExhaustiveForUnions</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10223">#10223</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v8.12.1</h2>
<h2>8.12.1 (2024-10-28)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] add
support for assignment expressions (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10152">#10152</a>)</li>
<li><strong>eslint-plugin:</strong> [consistent-indexed-object-style]
report mapped types (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10160">#10160</a>)</li>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] add
considerDefaultExhaustiveForUnions option (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9954">#9954</a>)</li>
<li><strong>eslint-plugin:</strong> [no-base-to-string] handle String()
(<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10005">#10005</a>)</li>
<li><strong>typescript-eslint:</strong> improve undefined extension
handling (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10177">#10177</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unsafe-return] don't reiterate
through all type parts for each part (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10203">#10203</a>)</li>
<li><strong>website:</strong> enable <code>noImplicitAny</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10175">#10175</a>)</li>
<li><strong>rule-tester:</strong> use cwd option to set base path for
tests with file name (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10201">#10201</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Abraham Guo</li>
<li>Dave <a
href="https://github.com/reduckted"><code>@​reduckted</code></a></li>
<li>Kim Sang Du <a
href="https://github.com/developer-bandi"><code>@​developer-bandi</code></a></li>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
<li>Maxim Stykow <a
href="https://github.com/mstykow"><code>@​mstykow</code></a></li>
<li>Terry Fu</li>
<li>YeonJuan <a
href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v8.12.0</h2>
<p>See <a
href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.12.1">https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.12.1</a></p>
<h2>v8.11.0</h2>
<h2>8.11.0 (2024-10-21)</h2>
<h3>🚀 Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@​typescript-eslint/parser</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>8.12.2 (2024-10-29)</h2>
<p>This was a version bump only for parser to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.12.1 (2024-10-28)</h2>
<p>This was a version bump only for parser to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.12.0 (2024-10-28)</h2>
<p>This was a version bump only for parser to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.11.0 (2024-10-21)</h2>
<p>This was a version bump only for parser to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.10.0 (2024-10-17)</h2>
<h3>🚀 Features</h3>
<ul>
<li>support TypeScript 5.6 (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9972">#9972</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Josh Goldberg ✨</li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.9.0 (2024-10-14)</h2>
<p>This was a version bump only for parser to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.8.1 (2024-10-07)</h2>
<p>This was a version bump only for parser to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.8.0 (2024-09-30)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/4af866a6642502117c32b49e64d7012a027c42f5"><code>4af866a</code></a>
chore(release): publish 8.12.2</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/1edec1d56ccad98fa65f57ac54fe8abbb1d3a922"><code>1edec1d</code></a>
chore(release): publish 8.12.1</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/3413a2d5bfb1641de86677ed25f1fd66045ac068"><code>3413a2d</code></a>
chore(release): publish 8.12.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/79c27a822ee9d5e955b6bcd41a6a8c320938cdaf"><code>79c27a8</code></a>
chore(release): publish 8.11.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/8d35958494eb0c97cc36c3fc0844aea377542315"><code>8d35958</code></a>
chore: enable eslint-plugin-perfectionist on typescript-estree package
(<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser/issues/9852">#9852</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/7effdea4307f44dcb2ad21529d42af0250907fad"><code>7effdea</code></a>
chore(release): publish 8.10.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/f9c49e3989468768ca7da5833d6f8cb226e420c0"><code>f9c49e3</code></a>
feat: support TypeScript 5.6 (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser/issues/9972">#9972</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/4666ed4e0c4b6d4d57aee85f4f1962f914dd53b3"><code>4666ed4</code></a>
chore(release): publish 8.9.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/f898248934fe8bba8a1a961373b86d508a9fca9c"><code>f898248</code></a>
chore(release): publish 8.8.1</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/2055cfbbdef5d9b7ee4ed7180f0af93eed245235"><code>2055cfb</code></a>
chore(release): publish 8.8.0</li>
<li>Additional commits viewable in <a
href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.2/packages/parser">compare
view</a></li>
</ul>
</details>
<br />

Updates `@typescript-eslint/rule-tester` from 6.10.0 to 8.12.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/rule-tester</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v8.12.2</h2>
<h2>8.12.2 (2024-10-29)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] invert
<code>considerDefaultExhaustiveForUnions</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10223">#10223</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v8.12.1</h2>
<h2>8.12.1 (2024-10-28)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] add
support for assignment expressions (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10152">#10152</a>)</li>
<li><strong>eslint-plugin:</strong> [consistent-indexed-object-style]
report mapped types (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10160">#10160</a>)</li>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] add
considerDefaultExhaustiveForUnions option (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9954">#9954</a>)</li>
<li><strong>eslint-plugin:</strong> [no-base-to-string] handle String()
(<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10005">#10005</a>)</li>
<li><strong>typescript-eslint:</strong> improve undefined extension
handling (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10177">#10177</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unsafe-return] don't reiterate
through all type parts for each part (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10203">#10203</a>)</li>
<li><strong>website:</strong> enable <code>noImplicitAny</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10175">#10175</a>)</li>
<li><strong>rule-tester:</strong> use cwd option to set base path for
tests with file name (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10201">#10201</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Abraham Guo</li>
<li>Dave <a
href="https://github.com/reduckted"><code>@​reduckted</code></a></li>
<li>Kim Sang Du <a
href="https://github.com/developer-bandi"><code>@​developer-bandi</code></a></li>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
<li>Maxim Stykow <a
href="https://github.com/mstykow"><code>@​mstykow</code></a></li>
<li>Terry Fu</li>
<li>YeonJuan <a
href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v8.12.0</h2>
<p>See <a
href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.12.1">https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.12.1</a></p>
<h2>v8.11.0</h2>
<h2>8.11.0 (2024-10-21)</h2>
<h3>🚀 Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/rule-tester/CHANGELOG.md"><code>@​typescript-eslint/rule-tester</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>8.12.2 (2024-10-29)</h2>
<p>This was a version bump only for rule-tester to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.12.1 (2024-10-28)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>rule-tester:</strong> use cwd option to set base path for
tests with file name (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10201">#10201</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Dave <a
href="https://github.com/reduckted"><code>@​reduckted</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.12.0 (2024-10-28)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] add
support for assignment expressions (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10152">#10152</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Abraham Guo</li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.11.0 (2024-10-21)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>rule-tester:</strong> allow custom filename outside
directory (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10147">#10147</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Lotfi Meklati <a
href="https://github.com/lotmek"><code>@​lotmek</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.10.0 (2024-10-17)</h2>
<p>This was a version bump only for rule-tester to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.9.0 (2024-10-14)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/4af866a6642502117c32b49e64d7012a027c42f5"><code>4af866a</code></a>
chore(release): publish 8.12.2</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/1edec1d56ccad98fa65f57ac54fe8abbb1d3a922"><code>1edec1d</code></a>
chore(release): publish 8.12.1</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/bda3444b718d230682d4ec273ecb203de9df611e"><code>bda3444</code></a>
fix(rule-tester): use cwd option to set base path for tests with file
name (#...</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/3413a2d5bfb1641de86677ed25f1fd66045ac068"><code>3413a2d</code></a>
chore(release): publish 8.12.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/e765033b4271458d7dad08cf615001fa2ed0a065"><code>e765033</code></a>
feat(eslint-plugin): [prefer-nullish-coalescing] add support for
assignment e...</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/79c27a822ee9d5e955b6bcd41a6a8c320938cdaf"><code>79c27a8</code></a>
chore(release): publish 8.11.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/70a381d24da3ac450cc48985eaa904561845ff14"><code>70a381d</code></a>
fix(rule-tester): allow custom filename outside directory (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/rule-tester/issues/10147">#10147</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/8d35958494eb0c97cc36c3fc0844aea377542315"><code>8d35958</code></a>
chore: enable eslint-plugin-perfectionist on typescript-estree package
(<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/rule-tester/issues/9852">#9852</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/7effdea4307f44dcb2ad21529d42af0250907fad"><code>7effdea</code></a>
chore(release): publish 8.10.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/38ad9e2ff1ff0aeb1111786c9eaf0732bd6f8880"><code>38ad9e2</code></a>
chore(rule-tester): rethrow exceptions in RuleTester to avoid circular
JSON i...</li>
<li>Additional commits viewable in <a
href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.2/packages/rule-tester">compare
view</a></li>
</ul>
</details>
<br />

Updates `@typescript-eslint/utils` from 6.10.0 to 8.12.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/utils</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v8.12.2</h2>
<h2>8.12.2 (2024-10-29)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] invert
<code>considerDefaultExhaustiveForUnions</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10223">#10223</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v8.12.1</h2>
<h2>8.12.1 (2024-10-28)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] add
support for assignment expressions (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10152">#10152</a>)</li>
<li><strong>eslint-plugin:</strong> [consistent-indexed-object-style]
report mapped types (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10160">#10160</a>)</li>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] add
considerDefaultExhaustiveForUnions option (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9954">#9954</a>)</li>
<li><strong>eslint-plugin:</strong> [no-base-to-string] handle String()
(<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10005">#10005</a>)</li>
<li><strong>typescript-eslint:</strong> improve undefined extension
handling (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10177">#10177</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unsafe-return] don't reiterate
through all type parts for each part (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10203">#10203</a>)</li>
<li><strong>website:</strong> enable <code>noImplicitAny</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10175">#10175</a>)</li>
<li><strong>rule-tester:</strong> use cwd option to set base path for
tests with file name (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10201">#10201</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Abraham Guo</li>
<li>Dave <a
href="https://github.com/reduckted"><code>@​reduckted</code></a></li>
<li>Kim Sang Du <a
href="https://github.com/developer-bandi"><code>@​developer-bandi</code></a></li>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
<li>Maxim Stykow <a
href="https://github.com/mstykow"><code>@​mstykow</code></a></li>
<li>Terry Fu</li>
<li>YeonJuan <a
href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v8.12.0</h2>
<p>See <a
href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.12.1">https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.12.1</a></p>
<h2>v8.11.0</h2>
<h2>8.11.0 (2024-10-21)</h2>
<h3>🚀 Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/utils/CHANGELOG.md"><code>@​typescript-eslint/utils</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>8.12.2 (2024-10-29)</h2>
<p>This was a version bump only for utils to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.12.1 (2024-10-28)</h2>
<p>This was a version bump only for utils to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.12.0 (2024-10-28)</h2>
<p>This was a version bump only for utils to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.11.0 (2024-10-21)</h2>
<p>This was a version bump only for utils to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.10.0 (2024-10-17)</h2>
<p>This was a version bump only for utils to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.9.0 (2024-10-14)</h2>
<p>This was a version bump only for utils to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.8.1 (2024-10-07)</h2>
<p>This was a version bump only for utils to align it with other
projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>8.8.0 (2024-09-30)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li>
<p>remove <code>export type *</code> in d.ts to support TS&lt;5.0</p>
</li>
<li>
<p><strong>utils:</strong> update missing type information message</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/4af866a6642502117c32b49e64d7012a027c42f5"><code>4af866a</code></a>
chore(release): publish 8.12.2</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/1edec1d56ccad98fa65f57ac54fe8abbb1d3a922"><code>1edec1d</code></a>
chore(release): publish 8.12.1</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/3413a2d5bfb1641de86677ed25f1fd66045ac068"><code>3413a2d</code></a>
chore(release): publish 8.12.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/79c27a822ee9d5e955b6bcd41a6a8c320938cdaf"><code>79c27a8</code></a>
chore(release): publish 8.11.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/8d35958494eb0c97cc36c3fc0844aea377542315"><code>8d35958</code></a>
chore: enable eslint-plugin-perfectionist on typescript-estree package
(<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/utils/issues/9852">#9852</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/7effdea4307f44dcb2ad21529d42af0250907fad"><code>7effdea</code></a>
chore(release): publish 8.10.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/4666ed4e0c4b6d4d57aee85f4f1962f914dd53b3"><code>4666ed4</code></a>
chore(release): publish 8.9.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/7ea2074ec74de1a4a9699ad96602b129c6f66762"><code>7ea2074</code></a>
chore(deps): update dependency eslint-plugin-perfectionist to v3.8.0 (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/utils/issues/9976">#9976</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/f898248934fe8bba8a1a961373b86d508a9fca9c"><code>f898248</code></a>
chore(release): publish 8.8.1</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/2055cfbbdef5d9b7ee4ed7180f0af93eed245235"><code>2055cfb</code></a>
chore(release): publish 8.8.0</li>
<li>Additional commits viewable in <a
href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.2/packages/utils">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
Dependabot will merge this PR once CI passes on it, as requested by
@lichtblick-bot.

[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Neuwald <[email protected]>
  • Loading branch information
dependabot[bot] and aneuwald-ctw authored Nov 26, 2024
1 parent 6c9781d commit af80468
Show file tree
Hide file tree
Showing 396 changed files with 1,200 additions and 1,073 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ overrides:
"@typescript-eslint/no-inferrable-types": off # It's sometimes useful to explicitly name to guard against future changes
"@typescript-eslint/no-empty-function": off

"@typescript-eslint/no-unnecessary-type-parameters": off # Turn off to keep generic methods as it is
"@typescript-eslint/switch-exhaustiveness-check": off # Turn off to keep switch statements as it is
"@typescript-eslint/no-unsafe-enum-comparison": off # Turn off to keep enum comparison as it is

# These are related to `any` types, which we generally don't have except from imports
"@typescript-eslint/no-unsafe-member-access": off
"@typescript-eslint/no-unsafe-return": off
Expand All @@ -168,7 +172,6 @@ overrides:
args: after-used
varsIgnorePattern: "^_."
argsIgnorePattern: "^_."
"@typescript-eslint/no-unsafe-enum-comparison": off

- rules:
"@typescript-eslint/no-explicit-any": off
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 16.17
node-version: 20
- run: corepack enable yarn

- name: Restore cache
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:

- uses: actions/[email protected]
with:
node-version: 16.17
node-version: 20
- run: corepack enable yarn

- name: Restore cache
Expand All @@ -98,17 +98,17 @@ jobs:

- run: yarn install --immutable

- name: test:integration
- name: test:integration (ubuntu)
if: matrix.os == 'ubuntu-20.04'
uses: GabrielBB/xvfb-action@v1.6
uses: coactions/setup-xvfb@v1
with:
working-directory: ./
run: yarn run test:integration

- name: test:integration (windows and macOS)
if: matrix.os != 'ubuntu-20.04'
run: yarn run test:integration

- name: test:web-integration
if: matrix.os == 'ubuntu-20.04'
run: yarn run test:web-integration

- name: test:integration
if: matrix.os != 'ubuntu-20.04'
run: yarn run test:integration
11 changes: 7 additions & 4 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function useCombinedReadySignal(
function StudioContextProviders({
children,
ctx,
}: React.PropsWithChildren<{ ctx: StoryContext }>): JSX.Element {
}: React.PropsWithChildren<{ ctx: StoryContext }>): React.JSX.Element {
if (ctx.parameters.useReadySignal === true) {
const condvar = new Condvar();
ctx.parameters.storyReady = condvar.wait();
Expand Down Expand Up @@ -166,7 +166,7 @@ function StudioContextProviders({
);
}

function WithContextProviders(Child: Story, ctx: StoryContext): JSX.Element {
function WithContextProviders(Child: Story, ctx: StoryContext): React.JSX.Element {
if (
(ctx.parameters.fileName as string).includes("/packages/suite-base/") ||
(ctx.parameters.fileName as string).includes("/packages/theme/")
Expand All @@ -180,7 +180,10 @@ function WithContextProviders(Child: Story, ctx: StoryContext): JSX.Element {
return <Child />;
}

function WithI18n({ ctx, children }: React.PropsWithChildren<{ ctx: StoryContext }>): JSX.Element {
function WithI18n({
ctx,
children,
}: React.PropsWithChildren<{ ctx: StoryContext }>): React.JSX.Element {
const lang = ctx.parameters.forceLanguage ?? "en";
const { i18n } = useTranslation();
useEffect(() => {
Expand All @@ -189,7 +192,7 @@ function WithI18n({ ctx, children }: React.PropsWithChildren<{ ctx: StoryContext
return <>{children}</>;
}

function WithI18nUnlessDisabled(Child: Story, ctx: StoryContext): JSX.Element {
function WithI18nUnlessDisabled(Child: Story, ctx: StoryContext): React.JSX.Element {
const { disableI18n = false }: { disableI18n?: boolean } = ctx.parameters;
if (disableI18n) {
return <Child />;
Expand Down
10 changes: 5 additions & 5 deletions .vscode/snippets.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"const [...] = useState(...)": {
"scope": "typescript, typescriptreact",
"prefix": "useState",
"body": "const [${1:thing}, set${1/(.*)/${1:/capitalize}/}] = useState($3);"
"body": "const [${1:thing}, set${1/(.*)/${1:/capitalize}/}] = useState($3);",
},
"const fn = useCallback(...)": {
"scope": "typescript, typescriptreact",
"prefix": "useCallback",
"body": "const ${1:func} = useCallback(($2) => {$3}, [$4]);"
"body": "const ${1:func} = useCallback(($2) => {$3}, [$4]);",
},

// Intellisense can give you hints inside {}, so it's helpful to type the object before the
Expand All @@ -24,12 +24,12 @@
"scope": "typescript, typescriptreact",
"prefix": "const",
"body": "const {$2} = $1;",
"description": "Destructure object"
"description": "Destructure object",
},

"React component": {
"scope": "typescriptreact",
"prefix": "component",
"body": "export default function ${1:$TM_FILENAME_BASE}({ children }: React.PropsWithChildren<${2:unknown}>): JSX.Element {\n\t$0\n}"
}
"body": "export default function ${1:$TM_FILENAME_BASE}({ children }: React.PropsWithChildren<${2:unknown}>): React.JSX.Element {\n\t$0\n}",
},
}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const myComponent = {

import { useTranslation } from "react-i18next";

function MyComponent(props: Props): JSX.Element {
function MyComponent(props: Props): React.JSX.Element {
const { t } = useTranslation("myComponent");

return <p>{t("hello")}</p>;
Expand Down
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"mathjs": "11.11.1",
"react": "18.3.1",
"react-dom": "18.2.0",
"webpack": "5.95.0",
"webpack": "5.96.1",
"webpack-dev-server": "5.1.0"
}
}
2 changes: 1 addition & 1 deletion benchmark/src/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
} from "./players";
import { MemoryAppConfiguration } from "./services";

export function Root(): JSX.Element {
export function Root(): React.JSX.Element {
const [appConfiguration] = useState(
() =>
new MemoryAppConfiguration({
Expand Down
9 changes: 7 additions & 2 deletions benchmark/src/players/BenchmarkPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ class BenchmarkPlayer implements Player {
minBlockDurationNs: MIN_MEM_CACHE_BLOCK_SIZE_NS,
problemManager: this.#problemManager,
});
} catch (err) {
} catch (e: unknown) {
const err = e as Error;
log.error(err);

const startStr = toRFC3339String(startTime);
Expand Down Expand Up @@ -276,7 +277,11 @@ class BenchmarkPlayer implements Player {
const endFrame = performance.now();
seekFramesMs.push(endFrame - startFrame);
}
seekFramesMs.forEach((ms, i) => (seekFramesMsTotals[i]! += ms));
seekFramesMs.forEach((ms, i) => {
if (seekFramesMsTotals[i] != undefined) {
seekFramesMsTotals[i] += ms;
}
});
}

log.info(
Expand Down
16 changes: 14 additions & 2 deletions benchmark/src/players/TransformPreloadingPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,13 @@ class TransformPreloadingPlayer implements Player {
seekFramesMs.push(endFrame - startFrame);
}
// eslint-disable-next-line no-loop-func
seekFramesMs.forEach((ms, i) => (seekFramesMsTotals[i]! += ms));
seekFramesMs.forEach((ms, i) => {
if (typeof seekFramesMsTotals[i] === "number") {
seekFramesMsTotals[i] += ms;
} else {
seekFramesMsTotals[i] = ms;
}
});
}

log.info(`Number of messages: ${allMessages.length}`);
Expand Down Expand Up @@ -295,7 +301,13 @@ class TransformPreloadingPlayer implements Player {
const endFrame = performance.now();
seekFramesMs.push(endFrame - startFrame);
}
seekFramesMs.forEach((ms, i) => (seekFramesMsTotals[i]! += ms));
seekFramesMs.forEach((ms, i) => {
if (typeof seekFramesMsTotals[i] === "number") {
seekFramesMsTotals[i] += ms;
} else {
seekFramesMsTotals[i] = ms;
}
});
}

log.info(
Expand Down
2 changes: 1 addition & 1 deletion ci/bump-nightly-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function main(): Promise<void> {
}

if (require.main === module) {
main().catch((e) => {
main().catch((e: unknown) => {
console.error(e);
process.exit(1);
});
Expand Down
2 changes: 1 addition & 1 deletion ci/license-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function main() {
console.log((checker as any).asSummary(output));
}

main().catch((err) => {
main().catch((err: unknown) => {
console.error(err);
process.exit(1);
});
14 changes: 7 additions & 7 deletions ci/lint-dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ async function getAllWorkspacePackages(roots: string[]) {
const results: { name: string; path: string }[] = [];
const workspacePackages: string[] = [];
for (const workspaceRoot of roots) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const workspaceInfo = require(path.resolve(process.cwd(), workspaceRoot, "package.json"));
const workspaceInfo = await import(path.resolve(process.cwd(), workspaceRoot, "package.json"));
const patterns: string[] = Array.isArray(workspaceInfo.workspaces)
? workspaceInfo.workspaces
: Array.isArray(workspaceInfo.workspaces?.packages)
Expand All @@ -129,8 +128,7 @@ async function getAllWorkspacePackages(roots: string[]) {
}
for (const packagePath of workspacePackages) {
try {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const packageInfo = require(path.join(packagePath, "package.json"));
const packageInfo = await import(path.join(packagePath, "package.json"));
const name = packageInfo.name;
if (typeof name !== "string") {
warning(`No name in package.json at ${packagePath}`);
Expand All @@ -141,8 +139,8 @@ async function getAllWorkspacePackages(roots: string[]) {
continue;
}
results.push({ path: packagePath, name });
} catch (err) {
// skip directories without package.json
} catch (err: unknown) {
console.error(err);
}
}
return results;
Expand Down Expand Up @@ -173,4 +171,6 @@ async function main() {
}
}

main().catch(console.error);
main().catch((err: unknown) => {
console.error(err);
});
2 changes: 1 addition & 1 deletion ci/lint-unused-exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async function main(): Promise<void> {
}

if (require.main === module) {
main().catch((e) => {
main().catch((e: unknown) => {
console.error(e);
process.exit(1);
});
Expand Down
2 changes: 1 addition & 1 deletion desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@types/ws": "^8",
"electron": "25.8.4",
"playwright": "1.37.1",
"webpack": "5.95.0",
"webpack": "5.96.1",
"ws": "8.18.0"
}
}
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"homepage": "https://github.com/lichtblick-suite",
"engines": {
"node": ">=16"
"node": ">=20"
},
"scripts": {
"clean": "bash ci/clean-build.sh",
Expand Down Expand Up @@ -93,17 +93,19 @@
"@types/case-sensitive-paths-webpack-plugin": "2.1.9",
"@types/jest": "29.5.12",
"@types/license-checker": "^25.0.6",
"@types/node": "22.9.3",
"@types/react-refresh": "^0",
"@types/semver": "^7.5.3",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"@typescript-eslint/eslint-plugin": "8.15.0",
"@typescript-eslint/parser": "8.15.0",
"@typescript-eslint/utils": "8.15.0",
"assert": "2.1.0",
"babel-plugin-transform-import-meta": "2.2.1",
"cross-env": "7.0.3",
"depcheck": "1.4.7",
"electron": "25.8.4",
"electron-builder": "24.13.3",
"eslint": "8.50.0",
"eslint": "8.57",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-webpack": "0.13.8",
"eslint-plugin-es": "4.1.0",
Expand All @@ -116,6 +118,7 @@
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-storybook": "0.6.15",
"eslint-plugin-tss-unused-classes": "1.0.2",
"globals": "15.12.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"license-checker": "25.0.1",
Expand All @@ -124,11 +127,12 @@
"rimraf": "5.0.5",
"semver": "7.5.4",
"storybook": "8.4.0",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"ts-unused-exports": "10.0.1",
"tslib": "2.6.2",
"typescript": "5.3.3",
"webpack": "5.95.0",
"webpack": "5.96.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.1.0",
"webpack-hot-middleware": "2.26.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/@types/react-hover-observer/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

declare module "react-hover-observer" {
const ReactHoverObserver: React.ComponentType<{
children: (_: { isHovering: boolean }) => React.ReactChild;
children: (_: { isHovering: boolean }) => React.ReactNode;
className?: string;
}>;
export default ReactHoverObserver;
Expand Down
2 changes: 1 addition & 1 deletion packages/den/async/debouncePromise.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe("debouncePromise", () => {
const finishedSignal = callsFinished[prevExpectedCallsStarted];
debouncedFn.currentPromise?.then(
() => finishedSignal?.resolve(),
(err: Error) => finishedSignal?.reject(err),
(err: unknown) => finishedSignal?.reject(err as Error),
);
}
prevExpectedCallsStarted = expectedNum;
Expand Down
10 changes: 7 additions & 3 deletions packages/den/async/promiseTimeout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@ async function promiseTimeout<T>(promise: Promise<T>, ms: number): Promise<T> {
const id = setTimeout(() => {
reject(new PromiseTimeoutError(`Promise timed out after ${ms}ms`));
}, ms);
promise.then(resolve, reject).finally(() => {
clearTimeout(id);
});
promise
.then(resolve, (reason: unknown) => {
reject(reason as Error);
})
.finally(() => {
clearTimeout(id);
});
});
}

Expand Down
Loading

0 comments on commit af80468

Please sign in to comment.