Add ESLint rule to prevent usage of the order CSS property #61247
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Type] Code Quality
Issues or PRs that relate to code quality
Description
See #61241
Some components come with CSS in JS.
#61241 and #61243 aim to introduce a
stylelint
rule to prevent usage of theorder
CSS property, which is impactful for accessibility.In the same way, it would be nice to add an ESLint rule to prevent usage of the
order
CSS property in any *.js file.Unfortunately this isn't exactly my area of expertise so that I'd appreciate some guidance. I did see a similar rule added in #58130
Step-by-step reproduction instructions
order
CSS property e.g.order: 1;
to any CSS-in-JS for example in this file..npm run lint:js
.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: