We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The auto-fix for enforces-shorthand rewrites p-2 pl-2 pr-2 to just px-2, although p-2 would be correct.
enforces-shorthand
p-2 pl-2 pr-2
px-2
p-2
To Reproduce Steps to reproduce the behavior:
Expected behavior The resulting class name should be p-2
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information): eslint-plugin-tailwindcss version 3.7.0
eslint-plugin-tailwindcss
The text was updated successfully, but these errors were encountered:
381af70
Hi @cmlenz, thank you for reporting the issue.
This was an easy fix.
Available via the latest release
npm i eslint-plugin-tailwindcss@3.7.1
https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v3.7.1
Sorry, something went wrong.
That was quick, thanks for the fix!
No branches or pull requests
Describe the bug
The auto-fix for
enforces-shorthand
rewritesp-2 pl-2 pr-2
to justpx-2
, althoughp-2
would be correct.To Reproduce
Steps to reproduce the behavior:
p-2 pl-2 pr-2
px-2
Expected behavior
The resulting class name should be
p-2
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
eslint-plugin-tailwindcss
version 3.7.0The text was updated successfully, but these errors were encountered: