You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CRA 5 installs prettier-plugin-tailwindcss which changes prettier behavior to sort classNames (also it's unlicensed) #12044
After installing CRA5, prettier started reporting errors for class names which aren't sorted. Upon inspection, I found this to be caused by the install of prettier-plugin-tailwindcss. This lib is undesirable as it alters the default Prettier config, and because it's installed as a plugin unconfigurable.
In addition, this library is unlicensed, so using it is suspicious legally.
In addition, this library is uglified, so its published code can hardly be reviewed and may be harmful.
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
I searched the entire repo for mentions of the plugin, and did not find anything relevant.
Environment
Environment Info:
current version of create-react-app: 5.0.0
running from /Users/martijnhols/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app
Activity
Remove tailwindcss dependency
Move tailwindcss to optional peer dependencies
Move tailwindcss to optional peer dependencies