Closed alvis closed 1 year ago
Hi @alvis, can you provide a demo repo demonstrating what you are trying to accomplish ? Thanks
@alvis I guess this issue can be closed since the previous 3.12.0
release supports ESM and TypeScript config files.
Can you confirm and close the issue if it is working for you ?
Hi @francoismassart! I double-checked with my code base, and I'm happy to confirm that it's working on 3.12. Thanks for following up :) 👍🏼
Is your feature request related to a problem? Please describe. Currently,
eslint-plugin-tailwindcss
automatically requirestailwind.config.js
in CommonJS format and perform check against the config. However, if the config is in typescript or ESM format, it fails silently sincerequire
doesn't work with these files.Describe the solution you'd like No change needed. Just that
eslint-plugin-tailwindcss
would also recognisetailwind.config.ts
alongsidetailwind.config.js