mirror of
https://github.com/evroon/bracket.git
synced 2026-04-19 06:47:00 -04:00
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.31.0 to 2.32.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.32.0</h2> <h3>Added</h3> <ul> <li>add <a href="./docs/rules/enforce-node-protocol-usage.md"><code>enforce-node-protocol-usage</code></a> rule and <code>import/node-version</code> setting (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3024">#3024</a>, thanks [<a href="https://github.com/GoldStrikeArch"><code>@GoldStrikeArch</code></a>] and [<a href="https://github.com/sevenc-nanashi"><code>@sevenc-nanashi</code></a>])</li> <li>add TypeScript types (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3097">#3097</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> <li><a href="./docs/rules/extensions.md"><code>extensions</code></a>: add `pathGroupOverrides to allow enforcement decision overrides based on specifier (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3105">#3105</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[<code>order</code>]: add <code>sortTypesGroup</code> option to allow intragroup sorting of type-only imports (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3104">#3104</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[<code>order</code>]: add <code>newlines-between-types</code> option to control intragroup sorting of type-only imports (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3127">#3127</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[<code>order</code>]: add <code>consolidateIslands</code> option to collapse excess spacing for aesthetically pleasing imports (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3129">#3129</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> </ul> <h3>Fixed</h3> <ul> <li>[<code>no-unused-modules</code>]: provide more meaningful error message when no .eslintrc is present (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3116">#3116</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li>configs: added missing name attribute for eslint config inspector (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3151">#3151</a>, thanks [<a href="https://github.com/NishargShah"><code>@NishargShah</code></a>])</li> <li>[<code>order</code>]: ensure arcane imports do not cause undefined behavior (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3128">#3128</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[<code>order</code>]: resolve undefined property access issue when using <code>named</code> ordering (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3166">#3166</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li><a href="./docs/rules/enforce-node-protocol-usage.md"><code>enforce-node-protocol-usage</code></a>: avoid a crash with some TS code (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3173">#3173</a>, thanks [<a href="https://github.com/ljharb"><code>@ljharb</code></a>])</li> <li>[<code>order</code>]: codify invariants from docs into config schema (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3152">#3152</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> </ul> <h3>Changed</h3> <ul> <li>[Docs] <a href="./docs/rules/extensions.md"><code>extensions</code></a>, [<code>order</code>]: improve documentation (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3106">#3106</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[Docs] add flat config guide for using <code>tseslint.config()</code> (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3125">#3125</a>, thanks [<a href="https://github.com/lnuvy"><code>@lnuvy</code></a>])</li> <li>[Docs] add missing comma (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3122">#3122</a>, thanks [<a href="https://github.com/RyanGst"><code>@RyanGst</code></a>])</li> <li>[readme] Update flatConfig example to include typescript config (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3138">#3138</a>, thanks [<a href="https://github.com/intellix"><code>@intellix</code></a>])</li> <li>[Refactor] [<code>order</code>]: remove unnecessary negative check (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3167">#3167</a>, thanks [<a href="https://github.com/JounQin"><code>@JounQin</code></a>])</li> <li>[Docs] [<code>no-unused-modules</code>]: add missing double quote (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3191">#3191</a>, thanks [<a href="https://github.com/albertpastrana"><code>@albertpastrana</code></a>])</li> <li>[Docs] <code>no-restricted-paths</code>: clarify wording and fix errors (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3172">#3172</a>, thanks [<a href="https://github.com/greim"><code>@greim</code></a>])</li> </ul> <!-- 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.32.0] - 2025-06-20</h2> <h3>Added</h3> <ul> <li>add [<code>enforce-node-protocol-usage</code>] rule and <code>import/node-version</code> setting (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3024">#3024</a>, thanks [<a href="https://github.com/GoldStrikeArch"><code>@GoldStrikeArch</code></a>] and [<a href="https://github.com/sevenc-nanashi"><code>@sevenc-nanashi</code></a>])</li> <li>add TypeScript types (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3097">#3097</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> <li>[<code>extensions</code>]: add `pathGroupOverrides to allow enforcement decision overrides based on specifier (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3105">#3105</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[<code>order</code>]: add <code>sortTypesGroup</code> option to allow intragroup sorting of type-only imports (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3104">#3104</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[<code>order</code>]: add <code>newlines-between-types</code> option to control intragroup sorting of type-only imports (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3127">#3127</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[<code>order</code>]: add <code>consolidateIslands</code> option to collapse excess spacing for aesthetically pleasing imports (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3129">#3129</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> </ul> <h3>Fixed</h3> <ul> <li>[<code>no-unused-modules</code>]: provide more meaningful error message when no .eslintrc is present (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3116">#3116</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li>configs: added missing name attribute for eslint config inspector (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3151">#3151</a>, thanks [<a href="https://github.com/NishargShah"><code>@NishargShah</code></a>])</li> <li>[<code>order</code>]: ensure arcane imports do not cause undefined behavior (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3128">#3128</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[<code>order</code>]: resolve undefined property access issue when using <code>named</code> ordering (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3166">#3166</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[<code>enforce-node-protocol-usage</code>]: avoid a crash with some TS code (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3173">#3173</a>, thanks [<a href="https://github.com/ljharb"><code>@ljharb</code></a>])</li> <li>[<code>order</code>]: codify invariants from docs into config schema (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3152">#3152</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> </ul> <h3>Changed</h3> <ul> <li>[Docs] [<code>extensions</code>], [<code>order</code>]: improve documentation (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3106">#3106</a>, thanks [<a href="https://github.com/Xunnamius"><code>@Xunnamius</code></a>])</li> <li>[Docs] add flat config guide for using <code>tseslint.config()</code> (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3125">#3125</a>, thanks [<a href="https://github.com/lnuvy"><code>@lnuvy</code></a>])</li> <li>[Docs] add missing comma (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3122">#3122</a>, thanks [<a href="https://github.com/RyanGst"><code>@RyanGst</code></a>])</li> <li>[readme] Update flatConfig example to include typescript config (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3138">#3138</a>, thanks [<a href="https://github.com/intellix"><code>@intellix</code></a>])</li> <li>[Refactor] [<code>order</code>]: remove unnecessary negative check (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3167">#3167</a>, thanks [<a href="https://github.com/JounQin"><code>@JounQin</code></a>])</li> <li>[Docs] [<code>no-unused-modules</code>]: add missing double quote (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3191">#3191</a>, thanks [<a href="https://github.com/albertpastrana"><code>@albertpastrana</code></a>])</li> <li>[Docs] <code>no-restricted-paths</code>: clarify wording and fix errors (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3172">#3172</a>, thanks [<a href="https://github.com/greim"><code>@greim</code></a>])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="01c9eb0433"><code>01c9eb0</code></a> v2.32.0</li> <li><a href="ae57cc12a4"><code>ae57cc1</code></a> [Deps] update <code>array-includes</code>, <code>array.prototype.findlastindex</code>, `eslint-modu...</li> <li><a href="9e1ad6bef9"><code>9e1ad6b</code></a> [Fix] <code>order</code>: codify invariants from docs into config schema</li> <li><a href="f017790a1a"><code>f017790</code></a> [Docs] <code>no-restricted-paths</code>: clarify wording and fix errors</li> <li><a href="7d83a5770d"><code>7d83a57</code></a> [Docs] <code>no-unused-modules</code>: add missing double quote</li> <li><a href="519eb94f89"><code>519eb94</code></a> [utils] v2.12.1</li> <li><a href="71ad145db5"><code>71ad145</code></a> [actions] split out tests into new vs old eslint</li> <li><a href="9b096c459e"><code>9b096c4</code></a> [utils] [dev deps] update <code>@arethetypeswrong/cli</code>, <code>@ljharb/tsconfig</code>, `@type...</li> <li><a href="da5f6ec131"><code>da5f6ec</code></a> [Fix] <code>enforce-node-protocol-usage</code>: avoid a crash with some TS code</li> <li><a href="6e49a58751"><code>6e49a58</code></a> [Refactor] <code>order</code>: remove unnecessary negative check</li> <li>Additional commits viewable in <a href="https://github.com/import-js/eslint-plugin-import/compare/v2.31.0...v2.32.0">compare view</a></li> </ul> </details> <br /> [](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>