-
-
Notifications
You must be signed in to change notification settings - Fork 175
Closed
Description
What version of prettier-plugin-tailwindcss are you using?
0.6.11
What version of Tailwind CSS are you using?
4.1.5
What version of Node.js are you using?
v20.17.0
What package manager are you using?
npm
What operating system are you using?
macOS
Reproduction URL
{
"printWidth": 120,
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"quoteProps": "consistent",
"bracketSameLine": false,
"plugins": ["prettier-plugin-tailwindcss"],
"tailwindStylesheet": "./tailwind.config.ts"
}Describe your issue
Just noticed that my tailwindStylesheet pointed to a tailwind.config.js file instead of the stylesheet.
There is no error, so I thought everything worked fine, but it didn't.
Maybe there should be some sort of validation to make sure tailwindStylesheet is a CSS file, and that tailwindConfig is a JavaScript file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels