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] border-spacing- class is not recognized #148

Closed
mongolyy opened this issue Jun 18, 2022 · 8 comments
Closed

[BUG] border-spacing- class is not recognized #148

mongolyy opened this issue Jun 18, 2022 · 8 comments
Labels
bug Something isn't working

Comments

@mongolyy
Copy link

Describe the bug
Border Spacing classes are not recognized.
https://tailwindcss.com/docs/border-spacing

To Reproduce
Steps to reproduce the behavior:

  1. Go to table tag.
  2. Use the border spacing e.g. border-spacing-2.
  3. Run ESLint.
  4. See error.

Expected behavior
I expected not to see this warning.

Screenshots
2022-06-18_18h05_47

Environment (please complete the following information):

  • OS: windows 10
  • Package versions:
    • tailwindcss@3.1.3
    • postcss@8.4.14
    • eslint@8.18.0
    • eslint-plugin-tailwindcss@3.5.2
@mongolyy mongolyy added the bug Something isn't working label Jun 18, 2022
@francoismassart
Copy link
Owner

This is added in Tailwind CSS v3.1.0
https://github.com/tailwindlabs/tailwindcss/releases/tag/v3.1.0
I'll add it soon

@francoismassart
Copy link
Owner

WIP on #132

@francoismassart
Copy link
Owner

francoismassart commented Jun 20, 2022

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

@mongolyy
Copy link
Author

Thank you for your response!
I'll give it a try.

In a small way, I support your OSS activities!

@francoismassart
Copy link
Owner

I saw 😎thank you 🙏🏻

@francoismassart
Copy link
Owner

Any feedback on the latest beta @mongolyy ?

@mongolyy
Copy link
Author

Any feedback on the latest beta @mongolyy ?

Sorry for the delay in checking.
I just checked and it was working as expected.
Thanks!

@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