Skip to content

Commit

Permalink
[INTERNAL] Bump eslint from 8.57.0 to 9.8.0 (#696)
Browse files Browse the repository at this point in the history
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/releases">eslint's
releases</a>.</em></p>
<blockquote>
<h2>v9.8.0</h2>
<h2>Features</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/13d0bd371eb8eb4aa1601c8727212a62ab923d0e"><code>13d0bd3</code></a>
feat: Add and use SourceCode#getLoc/getRange (<a
href="https://redirect.github.com/eslint/eslint/issues/18703">#18703</a>)
(Nicholas C. Zakas)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/ab0ff2755d6950d7e7fb92944771c1c30f933e02"><code>ab0ff27</code></a>
fix: Throw error when invalid flags passed (<a
href="https://redirect.github.com/eslint/eslint/issues/18705">#18705</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/70dc80337328338f3811040e3f1a1bd5674ecbd2"><code>70dc803</code></a>
fix: <code>basePath</code> directory can never be ignored (<a
href="https://redirect.github.com/eslint/eslint/issues/18711">#18711</a>)
(Milos Djermanovic)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/282df1aef3c3e62f2617c6c2944944510f287a07"><code>282df1a</code></a>
docs: Add system theme option (<a
href="https://redirect.github.com/eslint/eslint/issues/18617">#18617</a>)
(Amaresh S M)</li>
<li><a
href="https://github.com/eslint/eslint/commit/53b1ff047948e36682fade502c949f4e371e53cd"><code>53b1ff0</code></a>
docs: Debug config docs (<a
href="https://redirect.github.com/eslint/eslint/issues/18698">#18698</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/a7016a50d88011f279d52b9355a5662e561c414c"><code>a7016a5</code></a>
docs: fix search input stylings (<a
href="https://redirect.github.com/eslint/eslint/issues/18682">#18682</a>)
(Amaresh S M)</li>
</ul>
<h2>Build Related</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/45144243f3b5762bd8e19e41749a7d330a723ada"><code>4514424</code></a>
build: Enable JSON linting (<a
href="https://redirect.github.com/eslint/eslint/issues/18681">#18681</a>)
(Nicholas C. Zakas)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/deee4480def929cfa7f5b75f315d84f23eaba592"><code>deee448</code></a>
chore: upgrade to <code>@eslint/[email protected]</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/18720">#18720</a>)
(Francesco Trotta)</li>
<li><a
href="https://github.com/eslint/eslint/commit/4aaf2b39ba3659aff0c769de4ccefa3d5379ff93"><code>4aaf2b3</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="https://github.com/eslint/eslint/commit/8e1a627a6784380ca7e7670e336bbe9630da2da1"><code>8e1a627</code></a>
chore: update dependency <code>@​eslint/core</code> to ^0.2.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/18700">#18700</a>)
(renovate[bot])</li>
</ul>
<h2>v9.7.0</h2>
<h2>Features</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/7bd98398f112da020eddcda2c26cf4cc563af004"><code>7bd9839</code></a>
feat: add support for es2025 duplicate named capturing groups (<a
href="https://redirect.github.com/eslint/eslint/issues/18630">#18630</a>)
(Yosuke Ota)</li>
<li><a
href="https://github.com/eslint/eslint/commit/1381394a75b5902ce588455765a3919e2f138a7a"><code>1381394</code></a>
feat: add <code>regex</code> option in
<code>no-restricted-imports</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/18622">#18622</a>)
(Nitin Kumar)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/14e9f81ccdb51d2b915b68f442d48ced0a691646"><code>14e9f81</code></a>
fix: destructuring in catch clause in <code>no-unused-vars</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/18636">#18636</a>)
(Francesco Trotta)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/9f416db680ad01716a769296085bf3eb93f76424"><code>9f416db</code></a>
docs: Add Powered by Algolia label to the search. (<a
href="https://redirect.github.com/eslint/eslint/issues/18633">#18633</a>)
(Amaresh S M)</li>
<li><a
href="https://github.com/eslint/eslint/commit/c8d26cb4a2f9d89bfc1914167d3e9f1d3314ffe7"><code>c8d26cb</code></a>
docs: Open JS Foundation -&gt; OpenJS Foundation (<a
href="https://redirect.github.com/eslint/eslint/issues/18649">#18649</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/6e79ac76f44b34c24a3e92c20713fbafe1dcbae2"><code>6e79ac7</code></a>
docs: <code>loadESLint</code> does not support option <code>cwd</code>
(<a
href="https://redirect.github.com/eslint/eslint/issues/18641">#18641</a>)
(Francesco Trotta)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/793b7180119e7e440d685defb2ee01597574ef1e"><code>793b718</code></a>
chore: upgrade <code>@​eslint/js</code><a
href="https://github.com/9"><code>@​9</code></a>.7.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/18680">#18680</a>)
(Francesco Trotta)</li>
<li><a
href="https://github.com/eslint/eslint/commit/7ed6f9a4db702bbad941422f456451a8dba7a450"><code>7ed6f9a</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="https://github.com/eslint/eslint/commit/7bcda760369c44d0f1131fccaaf1ccfed5af85f1"><code>7bcda76</code></a>
refactor: Add type references (<a
href="https://redirect.github.com/eslint/eslint/issues/18652">#18652</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/51bf57c493a65baeee3a935f2d0e52e27271fb48"><code>51bf57c</code></a>
chore: add tech sponsors through actions (<a
href="https://redirect.github.com/eslint/eslint/issues/18624">#18624</a>)
(Strek)</li>
<li><a
href="https://github.com/eslint/eslint/commit/6320732c3e2a52a220552e348108c53c60f9ef7a"><code>6320732</code></a>
refactor: don't use <code>parent</code> property in
<code>NodeEventGenerator</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/18653">#18653</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/9e6d6405c3ee774c2e716a3453ede9696ced1be7"><code>9e6d640</code></a>
refactor: move &quot;Parsing error&quot; prefix adding to Linter (<a
href="https://redirect.github.com/eslint/eslint/issues/18650">#18650</a>)
(Milos Djermanovic)</li>
</ul>
<h2>v9.6.0</h2>
<h2>Features</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/e2b16e2b72606162dce3d804bc80186b6c5ec0f9"><code>e2b16e2</code></a>
feat: Implement feature flags (<a
href="https://redirect.github.com/eslint/eslint/issues/18516">#18516</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/8824aa1469ffc572c5e5c1765d1b6da113dfba19"><code>8824aa1</code></a>
feat: add <code>ecmaVersion: 2025</code>, parsing duplicate named
capturing groups (<a
href="https://redirect.github.com/eslint/eslint/issues/18596">#18596</a>)
(Milos Djermanovic)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/1613e2e586423ec7871617aec4dce5c433f0e9f0"><code>1613e2e</code></a>
fix: Allow escaping characters in config patterns on Windows (<a
href="https://redirect.github.com/eslint/eslint/issues/18628">#18628</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/21d3766c3f4efd981d3cc294c2c82c8014815e6e"><code>21d3766</code></a>
fix: <code>no-unused-vars</code> include caught errors pattern in report
message (<a
href="https://redirect.github.com/eslint/eslint/issues/18609">#18609</a>)
(Kirk Waiblinger)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md">eslint's
changelog</a>.</em></p>
<blockquote>
<p>v9.8.0 - July 26, 2024</p>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/deee4480def929cfa7f5b75f315d84f23eaba592"><code>deee448</code></a>
chore: upgrade to <code>@eslint/[email protected]</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/18720">#18720</a>)
(Francesco Trotta)</li>
<li><a
href="https://github.com/eslint/eslint/commit/4aaf2b39ba3659aff0c769de4ccefa3d5379ff93"><code>4aaf2b3</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="https://github.com/eslint/eslint/commit/8e1a627a6784380ca7e7670e336bbe9630da2da1"><code>8e1a627</code></a>
chore: update dependency <code>@​eslint/core</code> to ^0.2.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/18700">#18700</a>)
(renovate[bot])</li>
<li><a
href="https://github.com/eslint/eslint/commit/13d0bd371eb8eb4aa1601c8727212a62ab923d0e"><code>13d0bd3</code></a>
feat: Add and use SourceCode#getLoc/getRange (<a
href="https://redirect.github.com/eslint/eslint/issues/18703">#18703</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/282df1aef3c3e62f2617c6c2944944510f287a07"><code>282df1a</code></a>
docs: Add system theme option (<a
href="https://redirect.github.com/eslint/eslint/issues/18617">#18617</a>)
(Amaresh S M)</li>
<li><a
href="https://github.com/eslint/eslint/commit/ab0ff2755d6950d7e7fb92944771c1c30f933e02"><code>ab0ff27</code></a>
fix: Throw error when invalid flags passed (<a
href="https://redirect.github.com/eslint/eslint/issues/18705">#18705</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/70dc80337328338f3811040e3f1a1bd5674ecbd2"><code>70dc803</code></a>
fix: <code>basePath</code> directory can never be ignored (<a
href="https://redirect.github.com/eslint/eslint/issues/18711">#18711</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/53b1ff047948e36682fade502c949f4e371e53cd"><code>53b1ff0</code></a>
docs: Debug config docs (<a
href="https://redirect.github.com/eslint/eslint/issues/18698">#18698</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/45144243f3b5762bd8e19e41749a7d330a723ada"><code>4514424</code></a>
build: Enable JSON linting (<a
href="https://redirect.github.com/eslint/eslint/issues/18681">#18681</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/a7016a50d88011f279d52b9355a5662e561c414c"><code>a7016a5</code></a>
docs: fix search input stylings (<a
href="https://redirect.github.com/eslint/eslint/issues/18682">#18682</a>)
(Amaresh S M)</li>
</ul>
<p>v9.7.0 - July 12, 2024</p>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/793b7180119e7e440d685defb2ee01597574ef1e"><code>793b718</code></a>
chore: upgrade <code>@​eslint/js</code><a
href="https://github.com/9"><code>@​9</code></a>.7.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/18680">#18680</a>)
(Francesco Trotta)</li>
<li><a
href="https://github.com/eslint/eslint/commit/7ed6f9a4db702bbad941422f456451a8dba7a450"><code>7ed6f9a</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="https://github.com/eslint/eslint/commit/14e9f81ccdb51d2b915b68f442d48ced0a691646"><code>14e9f81</code></a>
fix: destructuring in catch clause in <code>no-unused-vars</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/18636">#18636</a>)
(Francesco Trotta)</li>
<li><a
href="https://github.com/eslint/eslint/commit/7bcda760369c44d0f1131fccaaf1ccfed5af85f1"><code>7bcda76</code></a>
refactor: Add type references (<a
href="https://redirect.github.com/eslint/eslint/issues/18652">#18652</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/51bf57c493a65baeee3a935f2d0e52e27271fb48"><code>51bf57c</code></a>
chore: add tech sponsors through actions (<a
href="https://redirect.github.com/eslint/eslint/issues/18624">#18624</a>)
(Strek)</li>
<li><a
href="https://github.com/eslint/eslint/commit/9f416db680ad01716a769296085bf3eb93f76424"><code>9f416db</code></a>
docs: Add Powered by Algolia label to the search. (<a
href="https://redirect.github.com/eslint/eslint/issues/18633">#18633</a>)
(Amaresh S M)</li>
<li><a
href="https://github.com/eslint/eslint/commit/6320732c3e2a52a220552e348108c53c60f9ef7a"><code>6320732</code></a>
refactor: don't use <code>parent</code> property in
<code>NodeEventGenerator</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/18653">#18653</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/7bd98398f112da020eddcda2c26cf4cc563af004"><code>7bd9839</code></a>
feat: add support for es2025 duplicate named capturing groups (<a
href="https://redirect.github.com/eslint/eslint/issues/18630">#18630</a>)
(Yosuke Ota)</li>
<li><a
href="https://github.com/eslint/eslint/commit/1381394a75b5902ce588455765a3919e2f138a7a"><code>1381394</code></a>
feat: add <code>regex</code> option in
<code>no-restricted-imports</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/18622">#18622</a>)
(Nitin Kumar)</li>
<li><a
href="https://github.com/eslint/eslint/commit/9e6d6405c3ee774c2e716a3453ede9696ced1be7"><code>9e6d640</code></a>
refactor: move &quot;Parsing error&quot; prefix adding to Linter (<a
href="https://redirect.github.com/eslint/eslint/issues/18650">#18650</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/c8d26cb4a2f9d89bfc1914167d3e9f1d3314ffe7"><code>c8d26cb</code></a>
docs: Open JS Foundation -&gt; OpenJS Foundation (<a
href="https://redirect.github.com/eslint/eslint/issues/18649">#18649</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/6e79ac76f44b34c24a3e92c20713fbafe1dcbae2"><code>6e79ac7</code></a>
docs: <code>loadESLint</code> does not support option <code>cwd</code>
(<a
href="https://redirect.github.com/eslint/eslint/issues/18641">#18641</a>)
(Francesco Trotta)</li>
</ul>
<p>v9.6.0 - June 28, 2024</p>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/b15ee302742e280e8cd019b49e7b50a4f3b88bc0"><code>b15ee30</code></a>
chore: upgrade <code>@​eslint/js</code><a
href="https://github.com/9"><code>@​9</code></a>.6.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/18632">#18632</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/d655503b1fc97acfb4e7c61b3d9b557733c189b7"><code>d655503</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="https://github.com/eslint/eslint/commit/1613e2e586423ec7871617aec4dce5c433f0e9f0"><code>1613e2e</code></a>
fix: Allow escaping characters in config patterns on Windows (<a
href="https://redirect.github.com/eslint/eslint/issues/18628">#18628</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/13dbecdea749abf51951ce61662eec2621a4b9af"><code>13dbecd</code></a>
docs: Limit search to just docs (<a
href="https://redirect.github.com/eslint/eslint/issues/18627">#18627</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/7c78ad9d9f896354d557f24e2d37710cf79a27bf"><code>7c78ad9</code></a>
refactor: Use language.visitorKeys and check for non-JS SourceCode (<a
href="https://redirect.github.com/eslint/eslint/issues/18625">#18625</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/e2b16e2b72606162dce3d804bc80186b6c5ec0f9"><code>e2b16e2</code></a>
feat: Implement feature flags (<a
href="https://redirect.github.com/eslint/eslint/issues/18516">#18516</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/69ff64e638c0a56628afbc271dda5c963724aca4"><code>69ff64e</code></a>
refactor: Return value of applyInlineConfig() (<a
href="https://redirect.github.com/eslint/eslint/issues/18623">#18623</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/375227f94da3c1c4ff6c61a29b272889fa48ca79"><code>375227f</code></a>
docs: Update getting-started.md - add pnpm to init eslint config (<a
href="https://redirect.github.com/eslint/eslint/issues/18599">#18599</a>)
(Kostiantyn Ochenash)</li>
<li><a
href="https://github.com/eslint/eslint/commit/44915bb95dfa21f946021d77b3b361e7e9b140e0"><code>44915bb</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="https://github.com/eslint/eslint/commit/d2d06f7a70d9b96b125ecf2de8951bea549db4da"><code>d2d06f7</code></a>
refactor: use <code>/</code> separator when adjusting
<code>ignorePatterns</code> on Windows (<a
href="https://redirect.github.com/eslint/eslint/issues/18613">#18613</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/21d3766c3f4efd981d3cc294c2c82c8014815e6e"><code>21d3766</code></a>
fix: <code>no-unused-vars</code> include caught errors pattern in report
message (<a
href="https://redirect.github.com/eslint/eslint/issues/18609">#18609</a>)
(Kirk Waiblinger)</li>
<li><a
href="https://github.com/eslint/eslint/commit/642197346bf02d277c2014144537aa21ab57dc59"><code>6421973</code></a>
refactor: fix disable directives for languages with 0-based lines (<a
href="https://redirect.github.com/eslint/eslint/issues/18605">#18605</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/d7a7736937981befc5dfd68ce512f1a6ebf93e68"><code>d7a7736</code></a>
fix: improve <code>no-unused-vars</code> message on unused caught errors
(<a
href="https://redirect.github.com/eslint/eslint/issues/18608">#18608</a>)
(Kirk Waiblinger)</li>
<li><a
href="https://github.com/eslint/eslint/commit/0a135395aca72461eb8b4c6f0866290bcf59916e"><code>0a13539</code></a>
refactor: Allow optional methods for languages (<a
href="https://redirect.github.com/eslint/eslint/issues/18604">#18604</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/f9e95d2d06c0a7017417a3de4929b14d1008c63c"><code>f9e95d2</code></a>
fix: correct locations of invalid <code>/* eslint */</code> comments (<a
href="https://redirect.github.com/eslint/eslint/issues/18593">#18593</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/8824aa1469ffc572c5e5c1765d1b6da113dfba19"><code>8824aa1</code></a>
feat: add <code>ecmaVersion: 2025</code>, parsing duplicate named
capturing groups (<a
href="https://redirect.github.com/eslint/eslint/issues/18596">#18596</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/c7ddee0d089e4db7be3f1a09f1a5731dd90b81b1"><code>c7ddee0</code></a>
chore: make internal-rules not being a package (<a
href="https://redirect.github.com/eslint/eslint/issues/18601">#18601</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/3379164e8b0cee57caf7da34226982075ebef51a"><code>3379164</code></a>
chore: remove <code>.eslintrc.js</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/18011">#18011</a>)
(唯然)</li>
<li><a
href="https://github.com/eslint/eslint/commit/d0c3a322fbcc2f70cfcd9d5010efef721245c382"><code>d0c3a32</code></a>
chore: update knip (with webdriver-io plugin) (<a
href="https://redirect.github.com/eslint/eslint/issues/18594">#18594</a>)
(Lars Kappert)</li>
<li><a
href="https://github.com/eslint/eslint/commit/d50db7bcb4c19c0631ab80b120249ecf155824ce"><code>d50db7b</code></a>
docs: Update vscode-eslint info (<a
href="https://redirect.github.com/eslint/eslint/issues/18595">#18595</a>)
(Nicholas C. Zakas)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/63881dc11299aba1d0960747c199a4cf48d6b9c8"><code>63881dc</code></a>
9.8.0</li>
<li><a
href="https://github.com/eslint/eslint/commit/de36d1d286ca4147e0b1ec3e6a3a6a873dd728eb"><code>de36d1d</code></a>
Build: changelog update for 9.8.0</li>
<li><a
href="https://github.com/eslint/eslint/commit/deee4480def929cfa7f5b75f315d84f23eaba592"><code>deee448</code></a>
chore: upgrade to <code>@eslint/[email protected]</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/18720">#18720</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/4aaf2b39ba3659aff0c769de4ccefa3d5379ff93"><code>4aaf2b3</code></a>
chore: package.json update for <code>@​eslint/js</code> release</li>
<li><a
href="https://github.com/eslint/eslint/commit/25700517a118141936b0b5a18bb51ad04a4869a8"><code>2570051</code></a>
chore: package.json revert <code>@​eslint/js</code> version to 9.7.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/18719">#18719</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/d73b203210c320dd641444359cef09060ffa7459"><code>d73b203</code></a>
chore: package.json update for <code>@​eslint/js</code> release</li>
<li><a
href="https://github.com/eslint/eslint/commit/8e1a627a6784380ca7e7670e336bbe9630da2da1"><code>8e1a627</code></a>
chore: update dependency <code>@​eslint/core</code> to ^0.2.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/18700">#18700</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/13d0bd371eb8eb4aa1601c8727212a62ab923d0e"><code>13d0bd3</code></a>
feat: Add and use SourceCode#getLoc/getRange (<a
href="https://redirect.github.com/eslint/eslint/issues/18703">#18703</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/282df1aef3c3e62f2617c6c2944944510f287a07"><code>282df1a</code></a>
docs: Add system theme option (<a
href="https://redirect.github.com/eslint/eslint/issues/18617">#18617</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/ab0ff2755d6950d7e7fb92944771c1c30f933e02"><code>ab0ff27</code></a>
fix: Throw error when invalid flags passed (<a
href="https://redirect.github.com/eslint/eslint/issues/18705">#18705</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/eslint/eslint/compare/v8.57.0...v9.8.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint&package-manager=npm_and_yarn&previous-version=8.57.0&new-version=9.8.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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yavor Ivanov <[email protected]>
  • Loading branch information
dependabot[bot] and d3xter666 authored Aug 2, 2024
1 parent dc07ef3 commit 71ecf9b
Show file tree
Hide file tree
Showing 5 changed files with 2,031 additions and 671 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

102 changes: 0 additions & 102 deletions .eslintrc.cjs

This file was deleted.

125 changes: 125 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
import jsdoc from "eslint-plugin-jsdoc";
import globals from "globals";
import js from "@eslint/js";
import google from "eslint-config-google";

export default [
js.configs.recommended,
google,
{
ignores: ["**/dist/", "**/coverage/", "**/docs/"],
},
{
plugins: {
jsdoc,
},

languageOptions: {
globals: {
...globals.node,
},

ecmaVersion: 2023,
sourceType: "module",
},

settings: {
jsdoc: {
tagNamePreference: {
return: "returns",
},
},
},

rules: {
"indent": ["error", "tab"],
"linebreak-style": ["error", "unix"],

"quotes": [
"error",
"double",
{
allowTemplateLiterals: true,
},
],

"semi": ["error", "always"],
"no-negated-condition": "off",
"require-jsdoc": "off",
"no-mixed-requires": "off",

"max-len": [
"error",
{
code: 120,
ignoreUrls: true,
ignoreRegExpLiterals: true,
},
],

"no-implicit-coercion": [
2,
{
allow: ["!!"],
},
],

"comma-dangle": "off",
"no-tabs": "off",
// This rule must be disabled as of ESLint 9. It's removed and causes issues when present.
// https://eslint.org/docs/latest/rules/valid-jsdoc
"valid-jsdoc": 0,
// Starting with ESLint v8, it needs to be disabled as it currently can't be supported
// See: https://github.com/eslint/eslint/issues/14745
"jsdoc/check-examples": 0,
"jsdoc/check-param-names": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 2,
"jsdoc/no-undefined-types": 0,
"jsdoc/require-description": 0,
"jsdoc/require-description-complete-sentence": 0,
"jsdoc/require-example": 0,
"jsdoc/require-hyphen-before-param-description": 0,
"jsdoc/require-param": 2,
"jsdoc/require-param-description": 0,
"jsdoc/require-param-name": 2,
"jsdoc/require-param-type": 2,
"jsdoc/require-returns": 0,
"jsdoc/require-returns-description": 0,
"jsdoc/require-returns-type": 2,

"jsdoc/tag-lines": [
2,
"any",
{
startLines: 1,
},
],

"jsdoc/valid-types": 0,
},
},
{
files: ["**/*.cjs"],

languageOptions: {
ecmaVersion: 2022,
sourceType: "script",
},
},
{
files: [
"lib/client/**",
"test/integration/*/webapp/**/*.js",
"test/integration/*/src/**/*.js",
"test/integration/*/test/**/*.js",
],

languageOptions: {
globals: {
...globals.browser,
sap: "readonly",
},
},
},
];
Loading

0 comments on commit 71ecf9b

Please sign in to comment.