Prettier cannot save file with extended prettier-plugin-tailwindcss plugin
rahXephonz opened this issue · 3 comments
What version of prettier-plugin-tailwindcss
are you using?
v0.1.10
What version of Tailwind CSS are you using?
v3.0.24
What version of Node.js are you using?
v16.0.0
What package manager are you using?
Yarn
What operating system are you using?
macOS
Reproduction URL
Describe your issue
Prettier cannot save a file with extended this plugin, it got a error on output
you can see it :
When commenting out the plugin its working fine again.
Do you know what happen in here?
idk what happen here. But i rechange my prettier config into
{
"printWidth": 80,
"bracketSameLine": true,
"bracketSpacing": false,
"tabWidth": 2,
"useTabs": false,
"singleQuote": false,
"trailingComma": "all",
"plugins": ["prettier-plugin-tailwindcss"],
}
its working fine again both plugin and prettier
Looks like the problem comes from the prettier plugin of vs code
Looks like the problem comes from the prettier plugin of vs code
thats right, but i just re change my config from cjs into .prettierrc files, i don't know what happened i debugged another json in my vscode but when change it as i said, its working as well again.