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

[Feature request] Option to enable/disable features from migration-from-tailwind-2 rule #224

Open
lachieh opened this issue Mar 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@lachieh
Copy link

lachieh commented Mar 16, 2023

Is your feature request related to a problem? Please describe.
At the moment, it seems like the different features for migration-from-tailwind-2 are all or nothing. This is problematic when I want to actually use .overflow-clip { overflow: clip } but it keeps getting transformed incorrectly into text-clip due to auto-fix. I would rather not disable the rule and/or auto-fix for all the other benefits it has.

Since this change is not just a syntactic one, but it actually changes the outcome of the css, I wouldn't really consider it auto-fixable in the first place

Describe the solution you'd like
It would be ideal if the rule options allowed for enabling/disabling specific migration features. For example, I want to keep/auto-fix the opacity feature but not the overflow-clip/text-clip one. Alternatively, it would be an idea to split the rule into multiple based on the feature so that each one can be turned on/fixed independently, though this is a little verbose in definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant