-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix a11y-svg-has-accessible-name
considering whitespace JSXText
#508
Conversation
👋 Hello and thanks for pinging us! You've entered our first responder queue. An accessibility first responder will review this soon.
|
Hi @nnmrts thanks for your contribution! I'll be able to review this in the next day or so and let you know. Thanks for raising that this is causing issues for you and we certainly want to get you unblocked as soon as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good as a proposal. Can you add a test that validates for this whitespace scenario in tests/a11y-svg-has-accessible-name.js
and ensure the linters pass as well? I can get this approved after that.
Thanks for the suggestion!
Co-authored-by: Andri Alexandrou <andrialexandrou@github.com>
fix code style
@andrialexandrou Thanks for taking a look! Sorry that it took me 2 full days, I added a test now, which initially didn't pass until I fixed some prettier issues, so I had to change EDIT: I hope it's okay that I added the test as the second case, I felt like it's related to the first one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem at all, thanks for making these contributions. To your question, placement there seems just fine.
Approving!
@nnmrts your work is available in the latest release, which you can update via npm: |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint-plugin-github](https://github.com/github/eslint-plugin-github) | devDependencies | patch | [`4.10.1` -> `4.10.2`](https://renovatebot.com/diffs/npm/eslint-plugin-github/4.10.1/4.10.2) | --- ### Release Notes <details> <summary>github/eslint-plugin-github (eslint-plugin-github)</summary> ### [`v4.10.2`](https://github.com/github/eslint-plugin-github/releases/tag/v4.10.2) [Compare Source](https://github.com/github/eslint-plugin-github/compare/v4.10.1...v4.10.2) #### What's Changed ##### Functionality - Update no-then.md by [@​cefn](https://github.com/cefn) in [github/eslint-plugin-github#503 - fix `a11y-svg-has-accessible-name` considering whitespace JSXText by [@​nnmrts](https://github.com/nnmrts) in [github/eslint-plugin-github#508 ##### Dependancy updates - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#482 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#484 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#485 - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#486 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#487 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#489 - chore(deps): bump actions/setup-node from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#488 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#490 - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#491 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#492 - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#493 - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#494 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#495 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#496 - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#498 - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#499 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#500 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#501 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#502 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#504 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#507 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#509 #### New Contributors - [@​cefn](https://github.com/cefn) made their first contribution in [github/eslint-plugin-github#503 - [@​nnmrts](https://github.com/nnmrts) made their first contribution in [github/eslint-plugin-github#508 **Full Changelog**: github/eslint-plugin-github@v4.10.1...v4.10.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: Balvajs Renovate Bot <406530+balvajs-renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint-plugin-github](https://github.com/github/eslint-plugin-github) | devDependencies | patch | [`4.10.1` -> `4.10.2`](https://renovatebot.com/diffs/npm/eslint-plugin-github/4.10.1/4.10.2) | --- ### Release Notes <details> <summary>github/eslint-plugin-github (eslint-plugin-github)</summary> ### [`v4.10.2`](https://github.com/github/eslint-plugin-github/releases/tag/v4.10.2) [Compare Source](https://github.com/github/eslint-plugin-github/compare/v4.10.1...v4.10.2) #### What's Changed ##### Functionality - Update no-then.md by [@​cefn](https://github.com/cefn) in [github/eslint-plugin-github#503 - fix `a11y-svg-has-accessible-name` considering whitespace JSXText by [@​nnmrts](https://github.com/nnmrts) in [github/eslint-plugin-github#508 ##### Dependancy updates - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#482 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#484 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#485 - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#486 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#487 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#489 - chore(deps): bump actions/setup-node from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#488 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#490 - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#491 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#492 - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#493 - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#494 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#495 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#496 - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#498 - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#499 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#500 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#501 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#502 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#504 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#507 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#509 #### New Contributors - [@​cefn](https://github.com/cefn) made their first contribution in [github/eslint-plugin-github#503 - [@​nnmrts](https://github.com/nnmrts) made their first contribution in [github/eslint-plugin-github#508 **Full Changelog**: github/eslint-plugin-github@v4.10.1...v4.10.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: Balvajs Renovate Bot <406530+balvajs-renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-github](https://github.com/github/eslint-plugin-github) | [`4.10.1` -> `4.10.2`](https://renovatebot.com/diffs/npm/eslint-plugin-github/4.10.1/4.10.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-github/4.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-github/4.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-github/4.10.1/4.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-github/4.10.1/4.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>github/eslint-plugin-github (eslint-plugin-github)</summary> ### [`v4.10.2`](https://github.com/github/eslint-plugin-github/releases/tag/v4.10.2) [Compare Source](https://github.com/github/eslint-plugin-github/compare/v4.10.1...v4.10.2) #### What's Changed ##### Functionality - Update no-then.md by [@​cefn](https://github.com/cefn) in [github/eslint-plugin-github#503 - fix `a11y-svg-has-accessible-name` considering whitespace JSXText by [@​nnmrts](https://github.com/nnmrts) in [github/eslint-plugin-github#508 ##### Dependancy updates - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#482 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#484 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#485 - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#486 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#487 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#489 - chore(deps): bump actions/setup-node from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#488 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#490 - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#491 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#492 - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#493 - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#494 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#495 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#496 - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#498 - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#499 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#500 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#501 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#502 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#504 - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#507 - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [github/eslint-plugin-github#509 #### New Contributors - [@​cefn](https://github.com/cefn) made their first contribution in [github/eslint-plugin-github#503 - [@​nnmrts](https://github.com/nnmrts) made their first contribution in [github/eslint-plugin-github#508 **Full Changelog**: github/eslint-plugin-github@v4.10.1...v4.10.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/WtfJoke/setup-tectonic). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest)) | [`29.5.6` -> `29.5.12`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.6/29.5.12) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fjest/29.5.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fjest/29.5.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fjest/29.5.6/29.5.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fjest/29.5.6/29.5.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/make-fetch-happen](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/make-fetch-happen) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/make-fetch-happen)) | [`10.0.3` -> `10.0.4`](https://renovatebot.com/diffs/npm/@types%2fmake-fetch-happen/10.0.3/10.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fmake-fetch-happen/10.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fmake-fetch-happen/10.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fmake-fetch-happen/10.0.3/10.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fmake-fetch-happen/10.0.3/10.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.10.0` -> `20.12.12`](https://renovatebot.com/diffs/npm/@types%2fnode/20.10.0/20.12.12) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.12.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.12.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.10.0/20.12.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.10.0/20.12.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`6.12.0` -> `6.21.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/6.12.0/6.21.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/6.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/6.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/6.12.0/6.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/6.12.0/6.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://typescript-eslint.io/packages/parser) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)) | [`6.12.0` -> `6.21.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/6.12.0/6.21.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/6.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/6.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/6.12.0/6.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/6.12.0/6.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`8.52.0` -> `8.57.0`](https://renovatebot.com/diffs/npm/eslint/8.52.0/8.57.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.52.0/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.52.0/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-github](https://github.com/github/eslint-plugin-github) | [`4.10.1` -> `4.10.2`](https://renovatebot.com/diffs/npm/eslint-plugin-github/4.10.1/4.10.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-github/4.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-github/4.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-github/4.10.1/4.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-github/4.10.1/4.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | [`5.0.1` -> `5.1.3`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/5.0.1/5.1.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-prettier/5.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-prettier/5.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-prettier/5.0.1/5.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-prettier/5.0.1/5.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) | [`0.37.0` -> `0.40.0`](https://renovatebot.com/diffs/npm/markdownlint-cli/0.37.0/0.40.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/markdownlint-cli/0.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/markdownlint-cli/0.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/markdownlint-cli/0.37.0/0.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/markdownlint-cli/0.37.0/0.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | [`3.0.3` -> `3.2.5`](https://renovatebot.com/diffs/npm/prettier/3.0.3/3.2.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.0.3/3.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.0.3/3.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [renovate](https://renovatebot.com) ([source](https://github.com/renovatebot/renovate)) | [`37.363.4` -> `37.371.0`](https://renovatebot.com/diffs/npm/renovate/37.363.4/37.371.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/renovate/37.371.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/renovate/37.371.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/renovate/37.363.4/37.371.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/renovate/37.363.4/37.371.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [sigstore](https://github.com/sigstore/sigstore-js/tree/main/packages/client#readme) ([source](https://github.com/sigstore/sigstore-js)) | [`2.2.2` -> `2.3.1`](https://renovatebot.com/diffs/npm/sigstore/2.2.2/2.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/sigstore/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sigstore/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sigstore/2.2.2/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sigstore/2.2.2/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [ts-jest](https://kulshekhar.github.io/ts-jest) ([source](https://github.com/kulshekhar/ts-jest)) | [`29.1.1` -> `29.1.3`](https://renovatebot.com/diffs/npm/ts-jest/29.1.1/29.1.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/ts-jest/29.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ts-jest/29.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ts-jest/29.1.1/29.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ts-jest/29.1.1/29.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | [`5.2.2` -> `5.4.5`](https://renovatebot.com/diffs/npm/typescript/5.2.2/5.4.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.2.2/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.2.2/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v6.21.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6210-2024-02-05) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.20.0...v6.21.0) ##### 🚀 Features - export plugin metadata - allow `parserOptions.project: false` - **eslint-plugin:** add rule prefer-find ##### 🩹 Fixes - **eslint-plugin:** \[no-unused-vars] don't report on types referenced in export assignment expression - **eslint-plugin:** \[switch-exhaustiveness-check] better support for intersections, infinite types, non-union values - **eslint-plugin:** \[consistent-type-imports] dont report on types used in export assignment expressions - **eslint-plugin:** \[no-unnecessary-condition] handle left-hand optional with exactOptionalPropertyTypes option - **eslint-plugin:** \[class-literal-property-style] allow getter when same key setter exists - **eslint-plugin:** \[no-unnecessary-type-assertion] provide valid fixes for assertions with extra tokens before `as` keyword ##### ❤️ Thank You - auvred - Brad Zacher - Kirk Waiblinger - Pete Gonzalez - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.20.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6200-2024-01-29) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.19.1...v6.20.0) ##### 🚀 Features - **eslint-plugin:** \[member-ordering] allow easy reuse of the default ordering ##### 🩹 Fixes - **eslint-plugin:** \[no-useless-template-literals] incorrect bigint autofix result - **eslint-plugin:** \[prefer-nullish-coalescing] treat any/unknown as non-nullable - **eslint-plugin:** \[no-useless-template-literals] report Infinity & NaN - **eslint-plugin:** \[prefer-readonly] disable checking accessors ##### ❤️ Thank You - Alex Parloti - auvred - James Browning - StyleShit - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.19.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6191-2024-01-22) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.19.0...v6.19.1) ##### 🩹 Fixes - **type-utils:** preventing isUnsafeAssignment infinite recursive calls - **eslint-plugin:** \[no-unnecessary-condition] fix false positive for type variable ##### ❤️ Thank You - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.19.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6190-2024-01-15) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.18.1...v6.19.0) ##### 🚀 Features - **eslint-plugin:** \[prefer-promise-reject-errors] add rule - **eslint-plugin:** \[no-array-delete] add new rule - **eslint-plugin:** \[no-useless-template-literals] add fix suggestions ##### 🩹 Fixes - **eslint-plugin:** \[no-unnecessary-type-assertion] detect unnecessary non-null-assertion on a call expression - **eslint-plugin:** \[no-unnecesary-type-assertion] treat unknown/any as nullable ##### ❤️ Thank You - auvred - Brad Zacher - Josh Goldberg ✨ - Joshua Chen - LJX - Steven - StyleShit You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.18.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6181-2024-01-08) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.18.0...v6.18.1) ##### 🩹 Fixes - **eslint-plugin:** \[no-non-null-assertion] provide valid fix when member access is on next line - **eslint-plugin:** \[no-unnecessary-condition] improve checking optional callee - **eslint-plugin:** \[prefer-readonly] support modifiers of unions and intersections - **eslint-plugin:** \[switch-exhaustiveness-check] fix new allowDefaultCaseForExhaustiveSwitch option ##### ❤️ Thank You - auvred - James - Josh Goldberg ✨ - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.18.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6180-2024-01-06) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.17.0...v6.18.0) ##### 🚀 Features - **typescript-estree:** throw on invalid update expressions - **eslint-plugin:** \[no-var-requires, no-require-imports] allow option ##### ❤️ Thank You - auvred - Joshua Chen You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.17.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6170-2024-01-01) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.16.0...v6.17.0) ##### Bug Fixes - **eslint-plugin:** \[no-restricted-imports] prevent crash when `patterns` or `paths` in options are empty ([#​8108](https://github.com/typescript-eslint/typescript-eslint/issues/8108)) ([675e987](https://github.com/typescript-eslint/typescript-eslint/commit/675e987ca1d13244c03d7e09d4e42c6539689d9a)) ##### Features - **eslint-plugin:** \[no-floating-promises] flag result of .map(async) ([#​7897](https://github.com/typescript-eslint/typescript-eslint/issues/7897)) ([5857356](https://github.com/typescript-eslint/typescript-eslint/commit/5857356962060b19aa792bee778f9167ee54154b)) - **eslint-plugin:** \[switch-exhaustiveness-check] add an option to warn against a `default` case on an already exhaustive `switch` ([#​7539](https://github.com/typescript-eslint/typescript-eslint/issues/7539)) ([6a219bd](https://github.com/typescript-eslint/typescript-eslint/commit/6a219bdfe6fcf86aae28158e0d855f87a8bac719)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.16.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6160-2023-12-25) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.15.0...v6.16.0) ##### Bug Fixes - **eslint-plugin:** \[unbound-method] exempt all non-Promise built-in statics ([#​8096](https://github.com/typescript-eslint/typescript-eslint/issues/8096)) ([3182959](https://github.com/typescript-eslint/typescript-eslint/commit/31829591e2c5cf6bdbdd5da23b12c5782f710fa5)) ##### Features - **eslint-plugin:** deprecate formatting (meta.type: layout) rules ([#​8073](https://github.com/typescript-eslint/typescript-eslint/issues/8073)) ([04dea84](https://github.com/typescript-eslint/typescript-eslint/commit/04dea84e8e934a415ec1381a90de3cde670d0dc3)) - **eslint-plugin:** deprecate no-extra-semi in favor of ESLint Stylistic equivalent ([#​8123](https://github.com/typescript-eslint/typescript-eslint/issues/8123)) ([9368bf3](https://github.com/typescript-eslint/typescript-eslint/commit/9368bf390afc58a19123782f8dff2bb5cdd3cccc)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.15.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6150-2023-12-18) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.14.0...v6.15.0) ##### Features - **eslint-plugin:** \[no-useless-template-literals] add new rule ([#​7957](https://github.com/typescript-eslint/typescript-eslint/issues/7957)) ([ff75785](https://github.com/typescript-eslint/typescript-eslint/commit/ff75785f4c6cc41999f8ce946bfca469d6e40e50)), closes [#​2846](https://github.com/typescript-eslint/typescript-eslint/issues/2846) - require-array-sort-compare + toSorted ([#​8052](https://github.com/typescript-eslint/typescript-eslint/issues/8052)) ([c9661c8](https://github.com/typescript-eslint/typescript-eslint/commit/c9661c8bbf048e9fa3ef55985e1e2e82bc098b1a)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.14.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6140-2023-12-11) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.13.2...v6.14.0) ##### Bug Fixes - **eslint-plugin:** add no-unsafe-unary-minus, prefer-destructuring to disable-type-checked ([#​8038](https://github.com/typescript-eslint/typescript-eslint/issues/8038)) ([431cd15](https://github.com/typescript-eslint/typescript-eslint/commit/431cd1559f91795e958e03fd060ceaf79fb96f3a)) - **eslint-plugin:** correct message for `no-unsafe-unary-minus` ([#​7998](https://github.com/typescript-eslint/typescript-eslint/issues/7998)) ([705370a](https://github.com/typescript-eslint/typescript-eslint/commit/705370ac0d9c54081657b8855b398e57d6ea4ddb)) ##### Features - **eslint-plugin:** \[explicit-function-return-type] add support for typed class property definitions ([#​8027](https://github.com/typescript-eslint/typescript-eslint/issues/8027)) ([bff47d7](https://github.com/typescript-eslint/typescript-eslint/commit/bff47d7885bee3bbcb3a81eff273fe2f48580940)) - **eslint-plugin:** \[require-await] allow yielding Promise in async generators ([#​8003](https://github.com/typescript-eslint/typescript-eslint/issues/8003)) ([4c3e704](https://github.com/typescript-eslint/typescript-eslint/commit/4c3e704b97e698df7f72174c2d20714836d4d243)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.13.2](https://github.com/typescript-eslint/typescript-eslint/compare/v6.13.1...v6.13.2) (2023-12-04) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.13.1](https://github.com/typescript-eslint/typescript-eslint/compare/v6.13.0...v6.13.1) (2023-11-28) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.13.2`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6132-2023-12-04) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.13.1...v6.13.2) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.13.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6131-2023-11-28) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.13.0...v6.13.1) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.13.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6130-2023-11-27) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.12.0...v6.13.0) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v6.21.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6210-2024-02-05) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.20.0...v6.21.0) ##### 🚀 Features - allow `parserOptions.project: false` ##### ❤️ Thank You - auvred - Brad Zacher - Kirk Waiblinger - Pete Gonzalez - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.20.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6200-2024-01-29) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.19.1...v6.20.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.19.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6191-2024-01-22) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.19.0...v6.19.1) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.19.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6190-2024-01-15) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.18.1...v6.19.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.18.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6181-2024-01-08) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.18.0...v6.18.1) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.18.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6180-2024-01-06) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.17.0...v6.18.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.17.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6170-2024-01-01) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.16.0...v6.17.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.16.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6160-2023-12-25) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.15.0...v6.16.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.15.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6150-2023-12-18) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.14.0...v6.15.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.14.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6140-2023-12-11) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.13.2...v6.14.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.13.2](https://github.com/typescript-eslint/typescript-eslint/compare/v6.13.1...v6.13.2) (2023-12-04) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.13.1](https://github.com/typescript-eslint/typescript-eslint/compare/v6.13.0...v6.13.1) (2023-11-28) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.13.2`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6132-2023-12-04) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.13.1...v6.13.2) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.13.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6131-2023-11-28) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.13.0...v6.13.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.13.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6130-2023-11-27) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v6.12.0...v6.13.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.57.0`](https://github.com/eslint/eslint/releases/tag/v8.57.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0) #### Features - [`1120b9b`](https://github.com/eslint/eslint/commit/1120b9b7b97f10f059d8b7ede19de2572f892366) feat: Add loadESLint() API method for v8 ([#​18098](https://github.com/eslint/eslint/issues/18098)) (Nicholas C. Zakas) - [`dca7d0f`](https://github.com/eslint/eslint/commit/dca7d0f1c262bc72310147bcefe1d04ecf60acbc) feat: Enable `eslint.config.mjs` and `eslint.config.cjs` ([#​18066](https://github.com/eslint/eslint/issues/18066)) (Nitin Kumar) #### Bug Fixes - [`2196d97`](https://github.com/eslint/eslint/commit/2196d97094ba94d6d750828879a29538d1600de5) fix: handle absolute file paths in `FlatRuleTester` ([#​18064](https://github.com/eslint/eslint/issues/18064)) (Nitin Kumar) - [`69dd1d1`](https://github.com/eslint/eslint/commit/69dd1d1387b7b53617548d1f9f2c149f179e6e17) fix: Ensure config keys are printed for config errors ([#​18067](https://github.com/eslint/eslint/issues/18067)) (Nitin Kumar) - [`9852a31`](https://github.com/eslint/eslint/commit/9852a31edcf054bd5d15753ef18e2ad3216b1b71) fix: deep merge behavior in flat config ([#​18065](https://github.com/eslint/eslint/issues/18065)) (Nitin Kumar) - [`4c7e9b0`](https://github.com/eslint/eslint/commit/4c7e9b0b539ba879ac1799e81f3b6add2eed4b2f) fix: allow circular references in config ([#​18056](https://github.com/eslint/eslint/issues/18056)) (Milos Djermanovic) #### Documentation - [`84922d0`](https://github.com/eslint/eslint/commit/84922d0bfa10689a34a447ab8e55975ff1c1c708) docs: Show prerelease version in dropdown ([#​18139](https://github.com/eslint/eslint/issues/18139)) (Nicholas C. Zakas) - [`5b8c363`](https://github.com/eslint/eslint/commit/5b8c3636a3d7536535a6878eca0e5b773e4829d4) docs: Switch to Ethical Ads ([#​18117](https://github.com/eslint/eslint/issues/18117)) (Milos Djermanovic) - [`77dbfd9`](https://github.com/eslint/eslint/commit/77dbfd9887b201a46fc68631cbde50c08e1a8dbf) docs: show NEXT in version selectors ([#​18052](https://github.com/eslint/eslint/issues/18052)) (Milos Djermanovic) #### Chores - [`1813aec`](https://github.com/eslint/eslint/commit/1813aecc4660582b0678cf32ba466eb9674266c4) chore: upgrade [@​eslint/js](https://github.com/eslint/js)[@​8](https://github.com/8).57.0 ([#​18143](https://github.com/eslint/eslint/issues/18143)) (Milos Djermanovic) - [`5c356bb`](https://github.com/eslint/eslint/commit/5c356bb0c6f53c570224f8e9f02c4baca8fc6d2f) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (Jenkins) - [`f4a1fe2`](https://github.com/eslint/eslint/commit/f4a1fe2e45aa1089fe775290bf530de82f34bf16) test: add more tests for ignoring files and directories ([#​18068](https://github.com/eslint/eslint/issues/18068)) (Nitin Kumar) - [`42c0aef`](https://github.com/eslint/eslint/commit/42c0aefaf6ea8b998b1c6db61906a79c046d301a) ci: Enable CI for `v8.x` branch ([#​18047](https://github.com/eslint/eslint/issues/18047)) (Milos Djermanovic) ### [`v8.56.0`](https://github.com/eslint/eslint/releases/tag/v8.56.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.55.0...v8.56.0) ##### Features - [`0dd9704`](https://github.com/eslint/eslint/commit/0dd9704c4751e1cd02039f7d6485fee09bbccbf6) feat: Support custom severity when reporting unused disable directives ([#​17212](https://github.com/eslint/eslint/issues/17212)) (Bryan Mishkin) - [`31a7e3f`](https://github.com/eslint/eslint/commit/31a7e3fde491e36496b54e8905c766b31162d776) feat: fix no-restricted-properties false negatives with unknown objects ([#​17818](https://github.com/eslint/eslint/issues/17818)) (Arka Pratim Chaudhuri) ##### Bug Fixes - [`7d5e5f6`](https://github.com/eslint/eslint/commit/7d5e5f68849ae80caec0fc96ecceebccd348deec) fix: `TypeError: fs.exists is not a function` on read-only file system ([#​17846](https://github.com/eslint/eslint/issues/17846)) (Francesco Trotta) - [`74739c8`](https://github.com/eslint/eslint/commit/74739c849bbb6547b0e555ed8bb2ba1cbe0fdce4) fix: suggestion with invalid syntax in no-promise-executor-return rule ([#​17812](https://github.com/eslint/eslint/issues/17812)) (Bryan Mishkin) ##### Documentation - [`9007719`](https://github.com/eslint/eslint/commit/90077199fe519953f9af8664bf947db4e4958514) docs: update link in ways-to-extend.md ([#​17839](https://github.com/eslint/eslint/issues/17839)) (Amel SELMANE) - [`3a22236`](https://github.com/eslint/eslint/commit/3a22236f8d10af8a5bcafe56092651d3d681c99d) docs: Update README (GitHub Actions Bot) - [`54c3ca6`](https://github.com/eslint/eslint/commit/54c3ca6f2dcd2a7afd53f42fc32055a25587259e) docs: fix migration-guide example ([#​17829](https://github.com/eslint/eslint/issues/17829)) (Tanuj Kanti) - [`4391b71`](https://github.com/eslint/eslint/commit/4391b71e62b15e54b0493f0dce1ea053ebbc0689) docs: check config comments in rule examples ([#​17815](https://github.com/eslint/eslint/issues/17815)) (Francesco Trotta) - [`fd28363`](https://github.com/eslint/eslint/commit/fd2836342c2be4751b05fe0ba7cece17d1edecc8) docs: remove mention about ESLint stylistic rules in readme ([#​17810](https://github.com/eslint/eslint/issues/17810)) (Zwyx) - [`48ed5a6`](https://github.com/eslint/eslint/commit/48ed5a6dad478a14d3e823f137455c523f373e0b) docs: Update README (GitHub Actions Bot) ##### Chores - [`ba6af85`](https://github.com/eslint/eslint/commit/ba6af85c7d8ba55d37f8663aee949d148e441c1a) chore: upgrade [@​eslint/js](https://github.com/eslint/js)[@​8](https://github.com/8).56.0 ([#​17864](https://github.com/eslint/eslint/issues/17864)) (Milos Djermanovic) - [`60a531a`](https://github.com/eslint/eslint/commit/60a531a9c0811ddf718e26b9136e133f580b6c36) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (Jenkins) - [`ba87a06`](https://github.com/eslint/eslint/commit/ba87a0651a65b52c3ac442b512dd9f4c2b4c5f57) chore: update dependency markdownlint to ^0.32.0 ([#​17783](https://github.com/eslint/eslint/issues/17783)) (renovate\[bot]) - [`9271d10`](https://github.com/eslint/eslint/commit/9271d10d9eabeafb0129a090f29191bfd14273c0) chore: add GitHub issue template for docs issues ([#​17845](https://github.com/eslint/eslint/issues/17845)) (Josh Goldberg ✨) - [`70a686b`](https://github.com/eslint/eslint/commit/70a686b3c1feac5eca98bbff9bd67175f550d5db) chore: Convert rule tests to FlatRuleTester ([#​17819](https://github.com/eslint/eslint/issues/17819)) (Nicholas C. Zakas) - [`f3a599d`](https://github.com/eslint/eslint/commit/f3a599d34c7080fc0b2c9a60b5e54dc98c22867c) chore: upgrade eslint-plugin-unicorn to v49.0.0 ([#​17837](https://github.com/eslint/eslint/issues/17837)) (唯然) - [`905d4b7`](https://github.com/eslint/eslint/commit/905d4b75ab2df42aba30622cee0f66b511397e2c) chore: upgrade eslint-plugin-eslint-plugin v5.2.1 ([#​17838](https://github.com/eslint/eslint/issues/17838)) (唯然) - [`4d7c3ce`](https://github.com/eslint/eslint/commit/4d7c3ce246e6b499f472342ef59496a47cc033d6) chore: update eslint-plugin-n v16.4.0 ([#​17836](https://github.com/eslint/eslint/issues/17836)) (唯然) - [`fd0c60c`](https://github.com/eslint/eslint/commit/fd0c60c3be1f213e5a6d69d8a3248e963619e155) ci: unpin Node.js 21.2.0 ([#​17821](https://github.com/eslint/eslint/issues/17821)) (Francesco Trotta) ### [`v8.55.0`](https://github.com/eslint/eslint/releases/tag/v8.55.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.54.0...v8.55.0) #### Features - [`8c9e6c1`](https://github.com/eslint/eslint/commit/8c9e6c100a6eb69da292463293b3b48cff911a01) feat: importNamePattern option in no-restricted-imports ([#​17721](https://github.com/eslint/eslint/issues/17721)) (Tanuj Kanti) #### Documentation - [`83ece2a`](https://github.com/eslint/eslint/commit/83ece2afc2dc6c49efe82678663fe4cba590c0e5) docs: fix typo `--rules` -> `--rule` ([#​17806](https://github.com/eslint/eslint/issues/17806)) (OKURA Masafumi) - [`fffca5c`](https://github.com/eslint/eslint/commit/fffca5c362bcd205dbf79d1bb52834f8a98fc6bd) docs: remove "Open in Playground" buttons for removed rules ([#​17791](https://github.com/eslint/eslint/issues/17791)) (Francesco Trotta) - [`a6d9442`](https://github.com/eslint/eslint/commit/a6d9442a9ab34d5d19f78d8c8fd0767a1237bfe3) docs: fix correct/incorrect examples of rules ([#​17789](https://github.com/eslint/eslint/issues/17789)) (Tanuj Kanti) - [`383e999`](https://github.com/eslint/eslint/commit/383e99928d7ce649ec9030c9856b03fbac0c3501) docs: update and fix examples for `no-unused-vars` ([#​17788](https://github.com/eslint/eslint/issues/17788)) (Tanuj Kanti) - [`5a8efd5`](https://github.com/eslint/eslint/commit/5a8efd5b7ad13eb320a1f468d1d4ab3c8ab99214) docs: add specific stylistic rule for each deprecated rule ([#​17778](https://github.com/eslint/eslint/issues/17778)) (Etienne) #### Chores - [`eb8950c`](https://github.com/eslint/eslint/commit/eb8950c3b811c9163b9aae23af8b6266ad98b295) chore: upgrade [@​eslint/js](https://github.com/eslint/js)[@​8](https://github.com/8).55.0 ([#​17811](https://github.com/eslint/eslint/issues/17811)) (Milos Djermanovic) - [`93df384`](https://github.com/eslint/eslint/commit/93df3849a7a25ebe0502000bf0bfb80a6613a5ae) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (Jenkins) - [`fe4b954`](https://github.com/eslint/eslint/commit/fe4b9545a83e9aca7ba4bb77bc9c868d57de777f) chore: upgrade [@​eslint/eslintrc](https://github.com/eslint/eslintrc)[@​2](https://github.com/2).1.4 ([#​17799](https://github.com/eslint/eslint/issues/17799)) (Milos Djermanovic) - [`bd8911d`](https://github.com/eslint/eslint/commit/bd8911db85c7a1127543c9212c8cea47a5cb687d) ci: pin Node.js 21.2.0 ([#​17809](https://github.com/eslint/eslint/issues/17809)) (Milos Djermanovic) - [`b29a16b`](https://github.com/eslint/eslint/commit/b29a16b22f234f6134475efb6c7be5ac946556ee) chore: fix several `cli` tests to run in the intended flat config mode ([#​17797](https://github.com/eslint/eslint/issues/17797)) (Milos Djermanovic) - [`de165c1`](https://github.com/eslint/eslint/commit/de165c108203c6703516ac651f5b4cac5b241804) chore: remove unused config-extends fixtures ([#​17781](https://github.com/eslint/eslint/issues/17781)) (Milos Djermanovic) - [`d4304b8`](https://github.com/eslint/eslint/commit/d4304b8b66eac870ffbf4840d84add8a123b25fc) chore: remove formatting/stylistic rules from new rule templates ([#​17780](https://github.com/eslint/eslint/issues/17780)) (Francesco Trotta) - [`21024fe`](https://github.com/eslint/eslint/commit/21024fe2029420b413bed11d23761c87e9a02a1a) chore: check rule examples for syntax errors ([#​17718](https://github.com/eslint/eslint/issues/17718)) (Francesco Trotta) ### [`v8.54.0`](https://github.com/eslint/eslint/releases/tag/v8.54.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.53.0...v8.54.0) #### Features - [`a7a883b`](https://github.com/eslint/eslint/commit/a7a883bd6ba4f140b60cbbb2be5b53d750f6c8db) feat: for-direction rule add check for condition in reverse order ([#​17755](https://github.com/eslint/eslint/issues/17755)) (Angelo Annunziata) - [`1452dc9`](https://github.com/eslint/eslint/commit/1452dc9f12c45c05d7c569f737221f0d988ecef1) feat: Add suggestions to no-console ([#​17680](https://github.com/eslint/eslint/issues/17680)) (Joel Mathew Koshy) - [`21ebf8a`](https://github.com/eslint/eslint/commit/21ebf8a811be9f4b009cf70a10be5062d4fdc736) feat: update `no-array-constructor` rule ([#​17711](https://github.com/eslint/eslint/issues/17711)) (Francesco Trotta) #### Bug Fixes - [`98926e6`](https://github.com/eslint/eslint/commit/98926e6e7323e5dd12a9f016cb558144296665af) fix: Ensure that extra data is not accidentally stored in the cache file ([#​17760](https://github.com/eslint/eslint/issues/17760)) (Milos Djermanovic) - [`e8cf9f6`](https://github.com/eslint/eslint/commit/e8cf9f6a524332293f8b2c90a2db4a532e47d919) fix: Make dark scroll bar in dark theme ([#​17753](https://github.com/eslint/eslint/issues/17753)) (Pavel) - [`3cbeaad`](https://github.com/eslint/eslint/commit/3cbeaad7b943c153937ce34365cec2c406f2b98b) fix: Use `cwd` constructor option as config `basePath` in Linter ([#​17705](https://github.com/eslint/eslint/issues/17705)) (Milos Djermanovic) #### Documentation - [`becfdd3`](https://github.com/eslint/eslint/commit/becfdd39b25d795e56c9a13eb3e77af6b9c86e8a) docs: Make clear when rules are removed ([#​17728](https://github.com/eslint/eslint/issues/17728)) (Nicholas C. Zakas) - [`05d6e99`](https://github.com/eslint/eslint/commit/05d6e99153ed6d94eb30f46c57609371918a41f3) docs: update "Submit a Pull Request" page ([#​17712](https://github.com/eslint/eslint/issues/17712)) (Francesco Trotta) - [`eb2279e`](https://github.com/eslint/eslint/commit/eb2279e5148cee8fdea7dae614f4f8af7a2d06c3) docs: display info about deprecated rules ([#​17749](https://github.com/eslint/eslint/issues/17749)) (Percy Ma) - [`d245326`](https://github.com/eslint/eslint/commit/d24532601e64714ac5d08507e05aa5c14ecd1d5a) docs: Correct working in migrating plugin docs ([#​17722](https://github.com/eslint/eslint/issues/17722)) (Filip Tammergård) #### Chores - [`d644de9`](https://github.com/eslint/eslint/commit/d644de9a4b593b565617303a095bc9aa69e7b768) chore: upgrade [@​eslint/js](https://github.com/eslint/js)[@​8](https://github.com/8).54.0 ([#​17773](https://github.com/eslint/eslint/issues/17773)) (Milos Djermanovic) - [`1e6e314`](https://github.com/eslint/eslint/commit/1e6e31415cc429a3a9fc64b2ec03df0e0ec0c91b) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (Jenkins) - [`6fb8805`](https://github.com/eslint/eslint/commit/6fb8805310afe7476d6c404f172177a6d15fcf11) chore: Fixed grammar in issue_templates/rule_change ([#​17770](https://github.com/eslint/eslint/issues/17770)) (Joel Mathew Koshy) - [`85db724`](https://github.com/eslint/eslint/commit/85db7243ddb8706ed60ab64a7ddf604d0d7de493) chore: upgrade `markdownlint` to 0.31.1 ([#​17754](https://github.com/eslint/eslint/issues/17754)) (Nitin Kumar) - [`6d470d2`](https://github.com/eslint/eslint/commit/6d470d2e74535761bd56dcb1c021b463ef9e8a9c) chore: update dependency recast to ^0.23.0 ([#​17736](https://github.com/eslint/eslint/issues/17736)) (renovate\[bot]) - [`b7121b5`](https://github.com/eslint/eslint/commit/b7121b590d578c9c9b38ee481313317f30e54817) chore: update dependency markdownlint-cli to ^0.37.0 ([#​17735](https://github.com/eslint/eslint/issues/17735)) (renovate\[bot]) - [`633b9a1`](https://github.com/eslint/eslint/commit/633b9a19752b6a22ab4d6c824f27a75ac0e4151b) chore: update dependency regenerator-runtime to ^0.14.0 ([#​17739](https://github.com/eslint/eslint/issues/17739)) (renovate\[bot]) - [`acac16f`](https://github.com/eslint/eslint/commit/acac16fdf8540f7ba86cf637e3c1b253bd35a268) chore: update dependency vite-plugin-commonjs to ^0.10.0 ([#​17740](https://github.com/eslint/eslint/issues/17740)) (renovate\[bot]) - [`ba8ca7e`](https://github.com/eslint/eslint/commit/ba8ca7e3debcba68ee7015b9221cf5acd7870206) chore: add .github/renovate.json5 ([#​17567](https://github.com/eslint/eslint/issues/17567)) (Josh Goldberg ✨) ### [`v8.53.0`](https://github.com/eslint/eslint/releases/tag/v8.53.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.52.0...v8.53.0) #### Features - [`528e1c0`](https://github.com/eslint/eslint/commit/528e1c00dc2aa8636e5b706c4270dc655cfa17e3) feat: Deprecate formatting rules ([#​17696](https://github.com/eslint/eslint/issues/17696)) (Nicholas C. Zakas) - [`c0b11dd`](https://github.com/eslint/eslint/commit/c0b11ddb9f8aacc64c3933b9f278939aa7bea481) feat: Add suggestions for no-prototype-builtins ([#​17677](https://github.com/eslint/eslint/issues/17677)) (Yonathan Randolph) #### Bug Fixes - [`1ad6257`](https://github.com/eslint/eslint/commit/1ad6257744d63281235fcc33288394b1d69b34ce) fix: ensure that exit code for fatal errors is not overwritten ([#​17683](https://github.com/eslint/eslint/issues/17683)) (Milos Djermanovic) - [`b329ea7`](https://github.com/eslint/eslint/commit/b329ea748dff45f11c7e218208244dc24fcb5c8f) fix: add `;` after JSX nodes in `no-object-constructor` autofix ([#​17672](https://github.com/eslint/eslint/issues/17672)) (Francesco Trotta) #### Documentation - [`ab8c60d`](https://github.com/eslint/eslint/commit/ab8c60d4f859cec787b5a12f7271b40e666235f5) docs: change position of return to top button ([#​17688](https://github.com/eslint/eslint/issues/17688)) (Tanuj Kanti) - [`4fc44c0`](https://github.com/eslint/eslint/commit/4fc44c0b8c5dca466bffdfe01dfd80794d7762b7) docs: update twitter icon to new X icon ([#​17687](https://github.com/eslint/eslint/issues/17687)) (Tanuj Kanti) - [`4164b2c`](https://github.com/eslint/eslint/commit/4164b2ceec89726b18ea0b0e34fab05735d55a09) docs: Update README (GitHub Actions Bot) - [`8651895`](https://github.com/eslint/eslint/commit/8651895ca7ae15e13d74c8be67d9eebd63a7ce1f) docs: Fix tabs in rule examples ([#​17653](https://github.com/eslint/eslint/issues/17653)) (Francesco Trotta) - [`3aec1c5`](https://github.com/eslint/eslint/commit/3aec1c55ba2c6d2833e1c0afe0a58f0cc6bbc0a4) docs: explained rule fixers and suggestions ([#​17657](https://github.com/eslint/eslint/issues/17657)) (Josh Goldberg ✨) #### Chores - [`ba4d4d5`](https://github.com/eslint/eslint/commit/ba4d4d567a82554250dd8c7933322824e6a73944) chore: remove metascraper ([#​17707](https://github.com/eslint/eslint/issues/17707)) (Milos Djermanovic) - [`0d07338`](https://github.com/eslint/eslint/commit/0d0733882944b4849d71a40723c251213698cef9) chore: Update dependencies ([#​17706](https://github.com/eslint/eslint/issues/17706)) (Milos Djermanovic) - [`93256a3`](https://github.com/eslint/eslint/commit/93256a32e312f3f4e5c532762df71bdc06bded20) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (ESLint Jenkins) - [`485ec7d`](https://github.com/eslint/eslint/commit/485ec7d08ed2040c292f52bf9b9152f6c8ef4809) test: fix ESLint tests for caching ([#​17699](https://github.com/eslint/eslint/issues/17699)) (Milos Djermanovic) - [`db06a7f`](https://github.com/eslint/eslint/commit/db06a7ff7992a74368f03d1f21beb00df0407021) ci: bump actions/setup-node from 3 to 4 ([#​17676](https://github.com/eslint/eslint/issues/17676)) (dependabot\[bot]) - [`994596b`](https://github.com/eslint/eslint/commit/994596b07f5ff20a615a4be1ea03e5fd59cdb84b) ci: run tests in Node.js 21 ([#​17673](https://github.com/eslint/eslint/issues/17673)) (Francesco Trotta) </details> <details> <summary>github/eslint-plugin-github (eslint-plugin-github)</summary> ### [`v4.10.2`](https://github.com/github/eslint-plugin-github/releases/tag/v4.10.2) [Compare Source](https://github.com/github/eslint-plugin-github/compare/v4.10.1...v4.10.2) #### What's Changed ##### Functionality - Update no-then.md by [@​cefn](https://github.com/cefn) in [https://github.com/github/eslint-plugin-github/pull/503](https://github.com/github/eslint-plugin-github/pull/503) - fix `a11y-svg-has-accessible-name` considering whitespace JSXText by [@​nnmrts](https://github.com/nnmrts) in [https://github.com/github/eslint-plugin-github/pull/508](https://github.com/github/eslint-plugin-github/pull/508) ##### Dependancy updates - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/482](https://github.com/github/eslint-plugin-github/pull/482) - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/484](https://github.com/github/eslint-plugin-github/pull/484) - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/485](https://github.com/github/eslint-plugin-github/pull/485) - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/486](https://github.com/github/eslint-plugin-github/pull/486) - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/487](https://github.com/github/eslint-plugin-github/pull/487) - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/489](https://github.com/github/eslint-plugin-github/pull/489) - chore(deps): bump actions/setup-node from 3 to 4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/488](https://github.com/github/eslint-plugin-github/pull/488) - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/490](https://github.com/github/eslint-plugin-github/pull/490) - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/491](https://github.com/github/eslint-plugin-github/pull/491) - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/492](https://github.com/github/eslint-plugin-github/pull/492) - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/493](https://github.com/github/eslint-plugin-github/pull/493) - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/494](https://github.com/github/eslint-plugin-github/pull/494) - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/495](https://github.com/github/eslint-plugin-github/pull/495) - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/496](https://github.com/github/eslint-plugin-github/pull/496) - chore(deps): bump the all-dependencies group with 4 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/498](https://github.com/github/eslint-plugin-github/pull/498) - chore(deps): bump the all-dependencies group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/499](https://github.com/github/eslint-plugin-github/pull/499) - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/500](https://github.com/github/eslint-plugin-github/pull/500) - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/501](https://github.com/github/eslint-plugin-github/pull/501) - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/502](https://github.com/github/eslint-plugin-github/pull/502) - chore(deps): bump the all-dependencies group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/github/eslint-plugin-github/pull/504](https://github.com/github/eslint-plugin-github/pull/504) - chore(deps): bump the all-dependencies group with 5 updates by [@​dependabot](https://github.com/dep </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slsa-framework/slsa-github-generator). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2OC4xMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> --------- Signed-off-by: Mend Renovate <bot@renovateapp.com> Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: Ramon Petgrave <32398091+ramonpetgrave64@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com>
Hello!
This PR fixes an issue I encountered with
a11y-svg-has-accessible-name
. I'm not sure if it's relevant to any "vanilla" use-cases of this plugin, eslint and/or react. My stack is probably very different (deno, fresh, preact) from many users of this plugin and the sole reason I encounter this issue (it's probably Preact, right?), but this PR shouldn't introduce any breaking change to "normal" users.In my case, the issue was the following:
Even though I added a title element here, this plugin errored
a11y-svg-has-accessible-name
. After inspecting how this rule is implemented, I saw that it checks if the first child is of typeJSXElement
andopeningElement?.name?.name === 'title'
.For some reason the JSX parser, whichever it is in my case, inserts a node of type
JSXText
with a value of\n\t\t\t
as the first child of thesvg
element. I get where it's coming from, since there is actual whitespace in my source code, but I feel like whichever parser does this, should just ignore whitespace here. Maybe this is an upstream issue, but this PR, which filters these empty nodes out before checking, seemed like a quicker fix.