Skip to content

[internal] Update eslint-plugin-jsx-a11y#44701

Merged
ZeeshanTamboli merged 5 commits intomui:masterfrom
ZeeshanTamboli:update-eslint-plugin-jsx-a11y
Dec 16, 2024
Merged

[internal] Update eslint-plugin-jsx-a11y#44701
ZeeshanTamboli merged 5 commits intomui:masterfrom
ZeeshanTamboli:update-eslint-plugin-jsx-a11y

Conversation

@ZeeshanTamboli
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli commented Dec 9, 2024

Closes #39752. The CI linting test fails for td and th elements.

I was waiting for this issue to be resolved, but since we use airbnb base config, the Airbnb config would need updating. I’ve opened a new issue for that: airbnb/javascript#3069. But it won't be updated sooner and it is suggested to override configs.

To unblock the eslint-plugin-jsx-a11y update, this PR overrides the rule by adding td and th to the ignoreElements list.

@ZeeshanTamboli ZeeshanTamboli added the internal Behind-the-scenes enhancement. Formerly called “core”. label Dec 9, 2024
@ZeeshanTamboli ZeeshanTamboli changed the title Update eslint plugin jsx a11y Update eslint-plugin-jsx-a11y Dec 9, 2024
@mui-bot
Copy link

mui-bot commented Dec 9, 2024

Netlify deploy preview

https://deploy-preview-44701--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against df0d0d1

@ZeeshanTamboli ZeeshanTamboli marked this pull request as ready for review December 9, 2024 08:39
@ZeeshanTamboli ZeeshanTamboli changed the title Update eslint-plugin-jsx-a11y [core] Update eslint-plugin-jsx-a11y Dec 9, 2024
@ZeeshanTamboli ZeeshanTamboli requested a review from a team December 9, 2024 08:41
@ZeeshanTamboli
Copy link
Member Author

@mui/code-infra Can this be reviewed?

ZeeshanTamboli and others added 2 commits December 16, 2024 14:26
Co-authored-by: Jose C Quintas Jr <juniorquintas@gmail.com>
Signed-off-by: Zeeshan Tamboli <zeeshan.tamboli@gmail.com>
Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

// We are a library, we need to support it too
'jsx-a11y/no-autofocus': 'off',
// Remove when issues are fixed
// https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/959
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ZeeshanTamboli ZeeshanTamboli merged commit 86cc01d into mui:master Dec 16, 2024
@ZeeshanTamboli ZeeshanTamboli deleted the update-eslint-plugin-jsx-a11y branch December 16, 2024 09:47
@oliviertassinari oliviertassinari changed the title [core] Update eslint-plugin-jsx-a11y [internal] Update eslint-plugin-jsx-a11y Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Behind-the-scenes enhancement. Formerly called “core”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants