-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The sidebar-16.tsx component in the registry contains multiple Tailwind CSS class ordering violations that trigger ESLint errors. The component has over 20 instances where classes don't follow the project's established ordering convention enforced by the eslint(tailwindcss/classnames-order)
rule. This creates linting errors in development environments and prevents clean builds in strict CI/CD pipelines.
I intend to submit a PR to fix this by running ESLint auto-fix to reorder all classes according to the project's standards.
Affected component/components
Sidebar
How to reproduce
- Navigate to
/apps/www/registry/new-york/v0/sidebar-16.tsx
- Open the file in VS Code or run ESLint on the file
- Observe multiple
tailwindcss/classnames-order
errors in the Problems panel - Errors appear on lines 270, 271, 282, 297, 304, 314, 318, 328, 332, 342, 346, and many others
Codesandbox/StackBlitz link
No response
Logs
Invalid Tailwind CSS classnames order. eslint(tailwindcss/classnames-order) [Ln 270, Col 15]
Invalid Tailwind CSS classnames order. eslint(tailwindcss/classnames-order) [Ln 271, Col 14]
Invalid Tailwind CSS classnames order. eslint(tailwindcss/classnames-order) [Ln 282, Col 18]
Invalid Tailwind CSS classnames order. eslint(tailwindcss/classnames-order) [Ln 297, Col 29]
Missing "key" prop for element in iterator. eslint(react/jsx-key) [Ln 362, Col 25]
Invalid Tailwind CSS classnames order. eslint(tailwindcss/classnames-order) [Ln 364, Col 32]
System Info
Ubuntu, Brave Browser
Before submitting
- I've made research efforts and searched the documentation
- I've searched for existing issues
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working