[BUG] no-custom-classname
rules prevents migration-from-tailwind-2
rule
#88
Labels
bug
Something isn't working
Describe the bug
You will not get errors messages from
migration-from-tailwind-2
likeClassname 'flex-shrink-0' should be updated to ' shrink-0' in Tailwind CSS v3!
To Reproduce
Having both rules enabled:
no-custom-classname
migration-from-tailwind-2
You will not get errors messages from
migration-from-tailwind-2
likeClassname 'flex-shrink-0' should be updated to ' shrink-0' in Tailwind CSS v3!
Expected behavior
Rule
migration-from-tailwind-2
should detect ifno-custom-classname
is enabled, if so, it should add specific values (outdated classnames from TailwindCSS v2 to thewhitelist
option of theno-custom-classname
rule.Additional context
Another workaround is to:
no-custom-classname
rulemigration-from-tailwind-2
no-custom-classname
ruleThe text was updated successfully, but these errors were encountered: