Skip to content

Bug: slight class sorting inconsistency with eslint-plugin-tailwindcss and prettier-plugin-tailwindcss #172

@andreww2012

Description

@andreww2012

Hello. In this specific case, better-tailwindcss/enforce-consistent-class-order suggests a different class order than eslint-plugin-tailwindcss and prettier-plugin-tailwindcss:

// Note the typo in `text-red-900`
'custom-class hover:text-redd-900 text-red-500'

Full reproduction: https://github.com/andreww2012/eslint-plugin-better-tailwindcss-inconsistency-with-other-plugin-and-prettier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions