Skip to content

[Feature request] Adding no-unnecessary-arbitrary-value rule #202

@JeromeDeLeon

Description

@JeromeDeLeon

Hello, thanks for the excellent library, by the way. It helps migrating to TW v4 smoothly. 💪

I have a feature request (if it doesn't exist yet) coming from the eslint-plugin-tailwindcss library. I'm wondering if it's possible to add no-unnecessary-arbitrary-value.

For example, instead of h-[0], it will be h-0 or top-[50%] to top-1/2 or translate-[-50%] to -translate-1/2 instead. 🙇

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions