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

Wrong replacement - overflow-clip -> text-clip #294

Open
davidwebca opened this issue Dec 9, 2023 · 3 comments
Open

Wrong replacement - overflow-clip -> text-clip #294

davidwebca opened this issue Dec 9, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@davidwebca
Copy link

Describe the bug
According to this rule, the overflow-clip class existed before to provide text-clip functionality, but overflow-clip also exists properly in its own right now, so replacing it leads to errors.

https://github.com/francoismassart/eslint-plugin-tailwindcss/blob/master/docs/rules/migration-from-tailwind-2.md
https://tailwindcss.com/docs/overflow

To Reproduce
Steps to reproduce the behavior:

  1. Add some HTML with fixing automatically on save enabled
  2. Add overflow-clip
  3. See how eslint replaces it to text-clip which is wrong

Expected behavior
Don't replace overflow-clip anymore

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • plugin version 3.13.0
  • eslint version 8.54.0
@davidwebca davidwebca added the bug Something isn't working label Dec 9, 2023
@kachkaev
Copy link
Contributor

Duplicate of #224

@DasOhmoff
Copy link

Hello. When will this issue be fixed?

@kachkaev
Copy link
Contributor

@DasOhmoff feel free to create a PR with a fix. Issue #224 contains some additional details for you to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants