Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] enforces-shorthand does not work for h- & w- when prefixed #378

Closed
Kamahl19 opened this issue Nov 25, 2024 · 0 comments · Fixed by Kamahl19/eslint-plugin-tailwindcss#1 or #379
Labels
bug Something isn't working

Comments

@Kamahl19
Copy link
Contributor

Describe the bug
When using a prefix such as ui-, the enforces-shorthand rule does not catch this class name ui-h-1 ui-w-1.

To Reproduce

  1. Set tailwind prefix
  2. Use prefixed w- and h- classes with the same value
  3. No rule triggered
@Kamahl19 Kamahl19 added the bug Something isn't working label Nov 25, 2024
Kamahl19 added a commit to Kamahl19/eslint-plugin-tailwindcss that referenced this issue Nov 25, 2024
Kamahl19 added a commit to Kamahl19/eslint-plugin-tailwindcss that referenced this issue Nov 25, 2024
Fix francoismassart#378 - enforces-shorthand does not work for h- & w- when prefixed
francoismassart added a commit that referenced this issue Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant