Comments (7)
@rbluethl Are you certain that you're on 0.1.4
? You may need to run the Developer: Restart Extension Host
command in VS Code to get the Prettier extension to pick up the new version
from prettier-plugin-tailwindcss.
@rbluethl Are you able to provide the full source code of the file in question so that we're able to reproduce this?
from prettier-plugin-tailwindcss.
@reinink sure - sent you an email! Thanks for looking into it.
from prettier-plugin-tailwindcss.
@rbluethl Got it, thanks 👍
from prettier-plugin-tailwindcss.
Hey @rbluethl. I was able to reproduce the error you were seeing by using an empty class attribute (e.g. <div class>
), and this has been fixed in v0.1.4
👍 Thanks for reporting!
from prettier-plugin-tailwindcss.
Hey @bradlc! That's nice - thank you very much! Just updated to 1.0.4 and noticed that my file is still not formatting. I digged a bit and found that this expression: :class="getPayableFolioAmount(item.folios![0].id!) > 0 ? 'text-red-700' : 'text-gray-900'"
causes the formatter to fail as well.
from prettier-plugin-tailwindcss.
Ah, snap! That was it... sorry for that! Thank you for the awesome plugin & quick help/fix! 👍
from prettier-plugin-tailwindcss.
Related Issues (20)
- Plugin not processing .erb files HOT 2
- Organize classes in .php files HOT 2
- Getting prettier error while linting with TW 3.4 HOT 19
- Prettier 3 and this plugin do not work as intended with Yarn 2 PNP HOT 12
- Excess whitespaces should be removed HOT 1
- tailwindFunction not working HOT 1
- VS Code format on save fights with prettier format (while linting) HOT 9
- Problem with eslint and prettier-plugin-tailwindcss [Prettier Plugin] HOT 6
- Inconsistent sorting between formatting all files and a single file HOT 2
- Bad sorting for 'dark:' pseudoselector HOT 2
- Styling an existing component doesn't seem to work in twin.macro/react-twc HOT 1
- `3xl:` ends up in front of `xl` and `2xl` HOT 2
- Breaks with import assertions (`assert { type: 'json' }`) HOT 4
- [v4] Order discrepancy between prettier-plugin-tailwindcss and intellisense HOT 1
- Please add support for `zackad/prettier-plugin-twig-melody` HOT 9
- If `node_modules` folder does not contain prettier-plugin-astro, it does not work HOT 1
- Modifier order does not change HOT 2
- Doesn't work with Shopify Liquid extension HOT 2
- reordering doesn't respect backets when there is a space HOT 2
- Sorting of extended values does not work properly HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prettier-plugin-tailwindcss.