Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump eslint-plugin-import from 2.30.0 to 2.31.0 in /frontend (#932)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.30.0 to 2.31.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/import-js/eslint-plugin-import/releases">eslint-plugin-import's releases</a>.</em></p> <blockquote> <h2>v2.31.0</h2> <h3>Added</h3> <ul> <li>support eslint v9 (<a href="https://github.com/import-js/eslint-plugin-import/issues/2996">#2996</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>] [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li><a href="./docs/rules/order.md"><code>order</code></a>: allow validating named imports (<a href="https://github.com/import-js/eslint-plugin-import/issues/3043">#3043</a>, thanks [<a href="https://github.com/manuth"><code>@manuth</code></a>])</li> <li><a href="./docs/rules/extensions.md"><code>extensions</code></a>: add the <code>checkTypeImports</code> option (<a href="https://github.com/import-js/eslint-plugin-import/issues/2817">#2817</a>, thanks [<a href="https://github.com/phryneas"><code>@phryneas</code></a>])</li> </ul> <h3>Fixed</h3> <ul> <li><code>ExportMap</code> / flat config: include <code>languageOptions</code> in context (<a href="https://github.com/import-js/eslint-plugin-import/issues/3052">#3052</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li><a href="./docs/rules/no-named-as-default.md"><code>no-named-as-default</code></a>: Allow using an identifier if the export is both a named and a default export (<a href="https://github.com/import-js/eslint-plugin-import/issues/3032">#3032</a>, thanks [<a href="https://github.com/akwodkiewicz"><code>@akwodkiewicz</code></a>])</li> <li><a href="./docs/rules/export.md"><code>export</code></a>: False positive for exported overloaded functions in TS (<a href="https://github.com/import-js/eslint-plugin-import/issues/3065">#3065</a>, thanks [<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>])</li> <li><code>exportMap</code>: export map cache is tainted by unreliable parse results (<a href="https://github.com/import-js/eslint-plugin-import/issues/3062">#3062</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li><code>exportMap</code>: improve cacheKey when using flat config (<a href="https://github.com/import-js/eslint-plugin-import/issues/3072">#3072</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li>adjust "is source type module" checks for flat config (<a href="https://github.com/import-js/eslint-plugin-import/issues/2996">#2996</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> </ul> <h3>Changed</h3> <ul> <li>[Docs] <a href="./docs/rules/no-relative-packages.md"><code>no-relative-packages</code></a>: fix typo (<a href="https://github.com/import-js/eslint-plugin-import/issues/3066">#3066</a>, thanks [<a href="https://github.com/joshuaobrien"><code>@joshuaobrien</code></a>])</li> <li>[Performance] <a href="./docs/rules/no-cycle.md"><code>no-cycle</code></a>: dont scc for each linted file (<a href="https://github.com/import-js/eslint-plugin-import/issues/3068">#3068</a>, thanks [<a href="https://github.com/soryy708"><code>@soryy708</code></a>])</li> <li>[Docs] <a href="./docs/rules/no-cycle.md"><code>no-cycle</code></a>: add <code>disableScc</code> to docs (<a href="https://github.com/import-js/eslint-plugin-import/issues/3070">#3070</a>, thanks [<a href="https://github.com/soryy708"><code>@soryy708</code></a>])</li> <li>[Tests] use re-exported <code>RuleTester</code> (<a href="https://github.com/import-js/eslint-plugin-import/issues/3071">#3071</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> <li>[Docs] <a href="./docs/rules/no-restricted-paths.md"><code>no-restricted-paths</code></a>: fix grammar (<a href="https://github.com/import-js/eslint-plugin-import/issues/3073">#3073</a>, thanks [<a href="https://github.com/unbeauvoyage"><code>@unbeauvoyage</code></a>])</li> <li>[Tests] <a href="./docs/rules/no-default-export.md"><code>no-default-export</code></a>, <a href="./docs/rules/no-named-export.md"><code>no-named-export</code></a>: add test case (thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> </ul> <p><a href="https://github.com/import-js/eslint-plugin-import/issues/3073">#3073</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3073">import-js/eslint-plugin-import#3073</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/3072">#3072</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3072">import-js/eslint-plugin-import#3072</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/3071">#3071</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3071">import-js/eslint-plugin-import#3071</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/3070">#3070</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3070">import-js/eslint-plugin-import#3070</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/3068">#3068</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3068">import-js/eslint-plugin-import#3068</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/3066">#3066</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3066">import-js/eslint-plugin-import#3066</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/3065">#3065</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3065">import-js/eslint-plugin-import#3065</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/3062">#3062</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3062">import-js/eslint-plugin-import#3062</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/3052">#3052</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3052">import-js/eslint-plugin-import#3052</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/3043">#3043</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3043">import-js/eslint-plugin-import#3043</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/3032">#3032</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/3032">import-js/eslint-plugin-import#3032</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/2996">#2996</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/2996">import-js/eslint-plugin-import#2996</a> <a href="https://github.com/import-js/eslint-plugin-import/issues/2817">#2817</a>: <a href="https://github.com/import-js/eslint-plugin-import/pull/2817">import-js/eslint-plugin-import#2817</a> [<a href="https://github.com/akwodkiewicz"><code>@akwodkiewicz</code></a>]: <a href="https://github.com/akwodkiewicz">https://github.com/akwodkiewicz</a> [<a href="https://github.com/joshuaobrien"><code>@joshuaobrien</code></a>]: <a href="https://github.com/joshuaobrien">https://github.com/joshuaobrien</a> [<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>]: <a href="https://github.com/liuxingbaoyu">https://github.com/liuxingbaoyu</a> [<a href="https://github.com/manuth"><code>@manuth</code></a>]: <a href="https://github.com/manuth">https://github.com/manuth</a> [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>]: <a href="https://github.com/michaelfaith">https://github.com/michaelfaith</a> [<a href="https://github.com/phryneas"><code>@phryneas</code></a>]: <a href="https://github.com/phryneas">https://github.com/phryneas</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md">eslint-plugin-import's changelog</a>.</em></p> <blockquote> <h2>[2.31.0] - 2024-10-03</h2> <h3>Added</h3> <ul> <li>support eslint v9 (<a href="https://github.com/import-js/eslint-plugin-import/issues/2996">#2996</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>] [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li>[<code>order</code>]: allow validating named imports (<a href="https://github.com/import-js/eslint-plugin-import/issues/3043">#3043</a>, thanks [<a href="https://github.com/manuth"><code>@manuth</code></a>])</li> <li>[<code>extensions</code>]: add the <code>checkTypeImports</code> option (<a href="https://github.com/import-js/eslint-plugin-import/issues/2817">#2817</a>, thanks [<a href="https://github.com/phryneas"><code>@phryneas</code></a>])</li> </ul> <h3>Fixed</h3> <ul> <li><code>ExportMap</code> / flat config: include <code>languageOptions</code> in context (<a href="https://github.com/import-js/eslint-plugin-import/issues/3052">#3052</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li>[<code>no-named-as-default</code>]: Allow using an identifier if the export is both a named and a default export (<a href="https://github.com/import-js/eslint-plugin-import/issues/3032">#3032</a>, thanks [<a href="https://github.com/akwodkiewicz"><code>@akwodkiewicz</code></a>])</li> <li>[<code>export</code>]: False positive for exported overloaded functions in TS (<a href="https://github.com/import-js/eslint-plugin-import/issues/3065">#3065</a>, thanks [<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>])</li> <li><code>exportMap</code>: export map cache is tainted by unreliable parse results (<a href="https://github.com/import-js/eslint-plugin-import/issues/3062">#3062</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li><code>exportMap</code>: improve cacheKey when using flat config (<a href="https://github.com/import-js/eslint-plugin-import/issues/3072">#3072</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li>adjust "is source type module" checks for flat config (<a href="https://github.com/import-js/eslint-plugin-import/issues/2996">#2996</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> </ul> <h3>Changed</h3> <ul> <li>[Docs] [<code>no-relative-packages</code>]: fix typo (<a href="https://github.com/import-js/eslint-plugin-import/issues/3066">#3066</a>, thanks [<a href="https://github.com/joshuaobrien"><code>@joshuaobrien</code></a>])</li> <li>[Performance] [<code>no-cycle</code>]: dont scc for each linted file (<a href="https://github.com/import-js/eslint-plugin-import/issues/3068">#3068</a>, thanks [<a href="https://github.com/soryy708"><code>@soryy708</code></a>])</li> <li>[Docs] [<code>no-cycle</code>]: add <code>disableScc</code> to docs (<a href="https://github.com/import-js/eslint-plugin-import/issues/3070">#3070</a>, thanks [<a href="https://github.com/soryy708"><code>@soryy708</code></a>])</li> <li>[Tests] use re-exported <code>RuleTester</code> (<a href="https://github.com/import-js/eslint-plugin-import/issues/3071">#3071</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> <li>[Docs] [<code>no-restricted-paths</code>]: fix grammar (<a href="https://github.com/import-js/eslint-plugin-import/issues/3073">#3073</a>, thanks [<a href="https://github.com/unbeauvoyage"><code>@unbeauvoyage</code></a>])</li> <li>[Tests] [<code>no-default-export</code>], [<code>no-named-export</code>]: add test case (thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/91f809b28323bfbd27749bae84daed00511b07e5"><code>91f809b</code></a> v2.31.0</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/3f1ac249272db87f0191727beeaa368fcbe7aab4"><code>3f1ac24</code></a> [utils] [refactor] <code>parse</code>: avoid using a regex here</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/d225176343d491db07a1c9e6e521ea90f169c928"><code>d225176</code></a> [New] <code>extensions</code>: add the <code>checkTypeImports</code> option</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/5a51b9a4ca13cb5fa5cfa349a99999826b5e2aed"><code>5a51b9a</code></a> [Tests] <code>rule-tester</code>: try this babel class workaround</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/d66cde00ee15c49951071636ccf0b3c4ed8ba831"><code>d66cde0</code></a> [New] support eslint v9</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/d27a639f338a77a6a0de87cb40c17d7b81a65b41"><code>d27a639</code></a> [Fix] adjust "is source type module" checks for flat config</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/1fa8a07a791b2497c8003e63e45f359eb65b1508"><code>1fa8a07</code></a> [Refactor] create <code>sourceType</code> helper</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/0bc13553d44e962b416d602da779364515d3df28"><code>0bc1355</code></a> [Tests] <code>no-default-export</code>, <code>no-named-export</code>: add test cases with non-modu...</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/55fa203518fe71a28c697407b436619961009166"><code>55fa203</code></a> [Tests] <code>no-default-export</code>, <code>no-named-export</code>: add test case</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/6be20dfa1170c9c5f3cf12f328c1a7cc5cd04c13"><code>6be20df</code></a> [Docs] <code>no-restricted-paths</code>: fix grammar</li> <li>Additional commits viewable in <a href="https://github.com/import-js/eslint-plugin-import/compare/v2.30.0...v2.31.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-import&package-manager=npm_and_yarn&previous-version=2.30.0&new-version=2.31.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information