-
Notifications
You must be signed in to change notification settings - Fork 150
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
tracking-tight order is causing issue #220
tracking-tight order is causing issue #220
Comments
also
|
@web-programmer-here I can't reproduce this. Can you provide a reproduction. It sounds to me like different configs are being used inside VSCode versus the command line and whatever config is being loaded when using VSCode doesn't have tracking-tight defined (which it is by default so something would have to override the entire list of letter spacing values). |
@thecrypticace thanks for the quick response, how can I find the root cause of this? seems to be only for
|
@web-programmer-here Chances are I'd probably have to look at the whole project. You could, if you wanted, clone this repo, build a non-minified version of the plugin, pack it, and install it into your project so you can add console log statements where we do config loading. That's basically what I'd end up doing if I didn't happen to notice anything else. |
https://github.com/MilesWuCode/nuxt3-demo same issues ? |
@MilesWuCode Oh hmm it seems to be flip flopping (it was stable for a sec in VSCode but now it's not) which shouldn't be happening. I'll take a look. |
@web-programmer-here Hey there's a chance if you have a plugin or a layer that is adding a rule that includes Once it is I'll post here and if you could give it a try and see if your issue is fixed? If it's not then it might be something else related to your project itself. @MilesWuCode This was the source of the sorting bug in your project. As above I'll post once the insiders build is available to test. The insiders build of Tailwind CSS should be available in about 15–20m. Insiders builds can be installed via npm like so:
|
Okay the insiders build is now available:
The version installed should be |
working! thanks. |
What version of
prettier-plugin-tailwindcss
are you using?"prettier-plugin-tailwindcss": "0.5.5",
What version of Tailwind CSS are you using?
"tailwindcss": "3.3.3",
What version of Node.js are you using?
v18.12.1
What package manager are you using?
npm
What operating system are you using?
macOS
Describe your issue
I keep getting this error:
only happening with
tracking-tight
. Prettier VSCode auto formats the code by adding tracking-tight in the beginning but I get the other error.The text was updated successfully, but these errors were encountered: