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
no-unnecessary-arbitrary-value
Hello,
Could use some guidance on how to maybe apply the no-unnecessary-arbitrary-value rule to this scenario.
Say I have a tailwind.config.cjs with...
tailwind.config.cjs
theme: { spacing: { 80: '5rem', // 80px } }
The linter will error (per my lint config) when it finds className="p-[5rem]" for example.
error
className="p-[5rem]"
Is it possible for the linter to also error when it finds className="p-[80px]"?
className="p-[80px]"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
Could use some guidance on how to maybe apply the
no-unnecessary-arbitrary-value
rule to this scenario.Say I have a
tailwind.config.cjs
with...The linter will
error
(per my lint config) when it findsclassName="p-[5rem]"
for example.Is it possible for the linter to also
error
when it findsclassName="p-[80px]"
?The text was updated successfully, but these errors were encountered: