Currently, compoundVariants and defaultVariants are set by default for ignoredKeys, but tailwind-variants has other responsiveVariants.
Thinking this plugin has tv by default in callees, this should not be Warned either, so I added responsiveVariants to default ignoredKeys.
Fixes #323
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
[ ] 2 unit tests in tests/lib/rules/no-custom-classname
Test Configuration:
OS + version: WSL2 Ubuntu 22.04 in Windows 11
NPM version: 10.2.5
Node version: 21.6.2
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings
Add
responsiveVariants
to ignoredKeys by defaultDescription
Currently,
compoundVariants
anddefaultVariants
are set by default for ignoredKeys, but tailwind-variants has other responsiveVariants. Thinking this plugin hastv
by default in callees, this should not be Warned either, so I addedresponsiveVariants
to default ignoredKeys.Fixes #323
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
tests/lib/rules/no-custom-classname
Test Configuration:
Checklist: