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

[BUG] tailwind plugin prose not supported #97

Closed
dmtrKovalenko opened this issue Jan 14, 2022 · 6 comments
Closed

[BUG] tailwind plugin prose not supported #97

dmtrKovalenko opened this issue Jan 14, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@dmtrKovalenko
Copy link

Describe the bug
When applied 2 classes from @tailwindcss/typography like prose-red prose-xl error tailwindcss/no-contradicting-classname throws

To Reproduce
Steps to reproduce the behavior:

  1. Add tailwind plugin https://tailwindcss.com/docs/typography-plugin
  2. Apply class prose-red prose-xl
  3. Observe error

Expected behavior
No error

eslint config file or live demo
image

@dmtrKovalenko dmtrKovalenko added the bug Something isn't working label Jan 14, 2022
@francoismassart
Copy link
Owner

Hi @dmtrKovalenko, indeed the plugin has been updated and at the moment the classnames from the official plugins are not generated dynamically but I'm working on it. I'll keep you posted.

@francoismassart
Copy link
Owner

Hi @dmtrKovalenko, please give a try to this beta version:

npm i -D eslint-plugin-tailwindcss@3.5.1-beta.0

@francoismassart
Copy link
Owner

WIP on #132

@francoismassart
Copy link
Owner

I just published a beta version with the fixes listed on #132
https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/fix/no-custom-classname-plugin-support#readme

npm i eslint-plugin-tailwindcss@3.6.0-beta.0

Please give it a try and provide feedback and or issues 👍
Thank you

@francoismassart
Copy link
Owner

@dmtrKovalenko when you get a chance please try the latest beta and give me feedback about your issue.

@francoismassart
Copy link
Owner

Should be fixed in the latest release 3.6.0

Make sure to:

  1. Update the eslint-plugin-tailwindcss package
  2. Restart your editor
  3. Report any issue on this repo

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

2 participants