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

Prettier Plugin Tailwind not working with EJS #52

Open
SavarJ opened this issue Mar 10, 2022 · 1 comment
Open

Prettier Plugin Tailwind not working with EJS #52

SavarJ opened this issue Mar 10, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@SavarJ
Copy link

SavarJ commented Mar 10, 2022

I have a Nodejs Express project. I am using EJS as the template partial language. This does not seem to work. Even after install this plugin and having prettier work, the automatic class sorting does not work.

Steps to reproduce the behavior:

  1. Install prettier
  2. Install prettier-plugin-prettier
  3. Try to save file to format or running npx prettier --check views/
  4. Does not work

Expected behavior
Sort my tailwind css classes

Screenshots
npx prettier --check views/ Checking formatting... [error] No supported files were found in the directory: "views/". All matched files use Prettier code style!

Versions:

  • prettier-plugin-tailwind version: 4.0.0
  • Operating system: Windows
  • NPM/Yarn version: 8.1.2
@SavarJ SavarJ added the bug Something isn't working label Mar 10, 2022
@SavarJ SavarJ changed the title Not working with EJS Prettier Plugin Tailwind not working with EJS Mar 12, 2022
@tqwewe
Copy link
Owner

tqwewe commented Mar 16, 2022

Hi @SavarJ, sadly I've just put a note on the README that this package is no longer maintained.
I suggest using the official prettier-plugin-tailwindcss package instead.

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