eslint-plugin-tailwindcss icon indicating copy to clipboard operation
eslint-plugin-tailwindcss copied to clipboard

feat: migrate to TypeScript and support TailwindCSS v4

Open ImBIOS opened this issue 10 months ago • 6 comments

feat: migrate to TypeScript and restructure project files

Description

Preparation to support TailwindCSS v4 requires me to migrate it to TS to protect my sane and peaceful mind

Fixes #384 Fixes #325

Related:

  • #381

Type of change

Please delete options that are not relevant.

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • [ ] Test A
  • [ ] Test B

Test Configuration:

  • OS + version: e.g. macOS Mojave
  • NPM version: ...
  • Node version: ...

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] Any dependent changes have been merged and published in downstream modules
  • [x] I have checked my code and corrected any misspellings

ImBIOS avatar Jan 24 '25 14:01 ImBIOS

Please guys, If you guys want to support me, I don't like the idea of financial donations while I'm still a healthy young man, just hire me or tell someone to hire me.

ImBIOS avatar Jan 24 '25 14:01 ImBIOS

I think the v4 branch is https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/alpha/v4-basic-files

CHC383 avatar Jan 25 '25 05:01 CHC383

Can you show how to use it inside the eslint flat config?

Pnlvfx avatar Feb 17 '25 19:02 Pnlvfx

Amazing work. Any chance this will be merged soon? Anything I can help with?

drake-nathan avatar Mar 08 '25 17:03 drake-nathan

Thanks for this great work! Any news about this PR?

Jean-Dum avatar Apr 04 '25 06:04 Jean-Dum

@ImBIOS do you know if this will get merged soon? If not do you think you could create your own NPM package for people to use in the mean time?

brandanking-decently avatar Apr 09 '25 08:04 brandanking-decently