diff --git a/.changeset/design-motion-a11y-rules.md b/.changeset/design-motion-a11y-rules.md new file mode 100644 index 000000000..e15e02102 --- /dev/null +++ b/.changeset/design-motion-a11y-rules.md @@ -0,0 +1,34 @@ +--- +"oxlint-plugin-react-doctor": patch +"@react-doctor/core": patch +"react-doctor": patch +--- + +Add 10 design-quality lint rules distilled from a cross-resource design reference, spanning motion performance, accessibility, and Tailwind/JSX hygiene. + +**Motion** + +- **`no-transition-all`** (extended) — now also flags the Tailwind `transition-all` class (was inline-`style`-only). Animating every property that changes includes expensive layout properties and instant ones like focus rings; name the properties (`transition-colors`, `transition-transform`). +- **`no-tailwind-layout-transition`** — Tailwind arbitrary `transition-[width|height|top|left|right|bottom|margin|padding]`, which animates layout properties the browser recomputes every frame. Animate `transform`/`opacity` instead. + +**Accessibility** + +- **`no-autoplay-without-muted`** — `