Skip to content

Commit

Permalink
deps: Bump the typescript-eslint group with 2 updates (#299)
Browse files Browse the repository at this point in the history
Bumps the typescript-eslint group with 2 updates:
[@typescript-eslint/utils](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/utils)
and
[typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint).

Updates `@typescript-eslint/utils` from 8.12.2 to 8.13.0
<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.13.0</h2>
<h2>8.13.0 (2024-11-04)</h2>
<h3>🚀 Features</h3>
<ul>
<li>add <code>options</code> property to <code>ImportExpression</code>
node (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10255">#10255</a>)</li>
<li><strong>eslint-plugin:</strong> disable <code>no-class-assign</code>
rule in <code>eslint-recommended</code> config (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10250">#10250</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] add
option <code>ignoreBooleanCoercion</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9924">#9924</a>)</li>
<li><strong>eslint-plugin:</strong> [only-throw-error] add allow option
(<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10221">#10221</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>deps:</strong> update dependency
<code>@​eslint-community/regexpp</code> to v4.12.1 (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10269">#10269</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unnecessary-condition] falsey
bigint should be falsey (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10205">#10205</a>)</li>
<li><strong>eslint-plugin:</strong> [no-deprecated] report on deprecated
variables used inside dynamic imports (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10261">#10261</a>)</li>
<li><strong>eslint-plugin:</strong> [no-deprecated] report when exported
class implements/extends deprecated entity (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10259">#10259</a>)</li>
<li><strong>eslint-plugin:</strong> [consistent-type-definitions] don't
leave trailing parens when fixing type to interface (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10235">#10235</a>)</li>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] add
support for covering a missing property with <code>undefined</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10232">#10232</a>)</li>
<li><strong>types:</strong> parent property type annotation in the
ImportAttribute node (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10258">#10258</a>)</li>
<li><strong>utils:</strong> allow an array for the values of
SharedConfig (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10217">#10217</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>auvred <a
href="https://github.com/auvred"><code>@​auvred</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>Mark de Dios <a
href="https://github.com/peanutenthusiast"><code>@​peanutenthusiast</code></a></li>
<li>Ronen Amiel</li>
<li>Trygve Aaberge</li>
<li>YeonJuan <a
href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
<li>Yosuke Ota <a
href="https://github.com/ota-meshi"><code>@​ota-meshi</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>
</blockquote>
</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.13.0 (2024-11-04)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>utils:</strong> allow an array for the values of
SharedConfig (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10217">#10217</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Trygve Aaberge</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>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/ac1f63250859313a3dc330d6e0c4c3f7fc234959"><code>ac1f632</code></a>
chore(release): publish 8.13.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/3b97b550b5f2c02948717265b167fda40fab6b62"><code>3b97b55</code></a>
chore: enable eslint-plugin-perfectionist on the rest of the repo (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/utils/issues/10189">#10189</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/3f3449055d0403ee6ac73ea0fe469fa4cb0ab34b"><code>3f34490</code></a>
fix(utils): allow an array for the values of SharedConfig (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/utils/issues/10217">#10217</a>)</li>
<li>See full diff in <a
href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/utils">compare
view</a></li>
</ul>
</details>
<br />

Updates `typescript-eslint` from 8.12.2 to 8.13.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/releases">typescript-eslint's
releases</a>.</em></p>
<blockquote>
<h2>v8.13.0</h2>
<h2>8.13.0 (2024-11-04)</h2>
<h3>🚀 Features</h3>
<ul>
<li>add <code>options</code> property to <code>ImportExpression</code>
node (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10255">#10255</a>)</li>
<li><strong>eslint-plugin:</strong> disable <code>no-class-assign</code>
rule in <code>eslint-recommended</code> config (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10250">#10250</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] add
option <code>ignoreBooleanCoercion</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9924">#9924</a>)</li>
<li><strong>eslint-plugin:</strong> [only-throw-error] add allow option
(<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10221">#10221</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>deps:</strong> update dependency
<code>@​eslint-community/regexpp</code> to v4.12.1 (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10269">#10269</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unnecessary-condition] falsey
bigint should be falsey (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10205">#10205</a>)</li>
<li><strong>eslint-plugin:</strong> [no-deprecated] report on deprecated
variables used inside dynamic imports (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10261">#10261</a>)</li>
<li><strong>eslint-plugin:</strong> [no-deprecated] report when exported
class implements/extends deprecated entity (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10259">#10259</a>)</li>
<li><strong>eslint-plugin:</strong> [consistent-type-definitions] don't
leave trailing parens when fixing type to interface (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10235">#10235</a>)</li>
<li><strong>eslint-plugin:</strong> [switch-exhaustiveness-check] add
support for covering a missing property with <code>undefined</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10232">#10232</a>)</li>
<li><strong>types:</strong> parent property type annotation in the
ImportAttribute node (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10258">#10258</a>)</li>
<li><strong>utils:</strong> allow an array for the values of
SharedConfig (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10217">#10217</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>auvred <a
href="https://github.com/auvred"><code>@​auvred</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>Mark de Dios <a
href="https://github.com/peanutenthusiast"><code>@​peanutenthusiast</code></a></li>
<li>Ronen Amiel</li>
<li>Trygve Aaberge</li>
<li>YeonJuan <a
href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
<li>Yosuke Ota <a
href="https://github.com/ota-meshi"><code>@​ota-meshi</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>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md">typescript-eslint's
changelog</a>.</em></p>
<blockquote>
<h2>8.13.0 (2024-11-04)</h2>
<p>This was a version bump only for typescript-eslint 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>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/ac1f63250859313a3dc330d6e0c4c3f7fc234959"><code>ac1f632</code></a>
chore(release): publish 8.13.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/3b97b550b5f2c02948717265b167fda40fab6b62"><code>3b97b55</code></a>
chore: enable eslint-plugin-perfectionist on the rest of the repo (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint/issues/10189">#10189</a>)</li>
<li>See full diff in <a
href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/typescript-eslint">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-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]>
Signed-off-by: Dirk de Visser <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dirk de Visser <[email protected]>
  • Loading branch information
dependabot[bot] and dirkdev98 authored Nov 11, 2024
1 parent f212e90 commit af7f7c0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"@eslint/js": "9.14.0",
"@typescript-eslint/utils": "8.12.2",
"@typescript-eslint/utils": "8.13.0",
"diff-match-patch": "1.0.5",
"eslint": "9.14.0",
"eslint-config-flat-gitignore": "0.3.0",
Expand All @@ -44,7 +44,7 @@
"globals": "15.12.0",
"prettier": "3.3.3",
"synckit": "0.9.2",
"typescript-eslint": "8.12.2"
"typescript-eslint": "8.13.0"
},
"peerDependencies": {
"@next/eslint-plugin-next": "^15.0.0",
Expand Down
15 changes: 10 additions & 5 deletions packages/eslint-config/src/react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ export async function react(config: ReactConfig): Promise<Array<FlatConfig.Confi
(await import(
// @ts-expect-error no types available
"@next/eslint-plugin-next"
)) as unknown as { default: FlatConfig.Plugin }
)) as unknown as {
default: FlatConfig.Plugin & {
configs: Record<string, FlatConfig.Config>;
};
}
).default
: undefined;

Expand Down Expand Up @@ -67,10 +71,11 @@ export async function react(config: ReactConfig): Promise<Array<FlatConfig.Confi
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",

...((pluginJSXA11y as FlatConfig.Plugin).configs?.strict?.rules as Record<
string,
string
>),
...((
pluginJSXA11y as FlatConfig.Plugin & {
configs: Record<string, FlatConfig.Config>;
}
).configs?.strict?.rules as Record<string, string>),

"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
Expand Down

0 comments on commit af7f7c0

Please sign in to comment.