Skip to content

tracking-tight order is causing issue #220

@web-programmer-here

Description

@web-programmer-here

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:

Replace `tracking-tight·flex-auto·text-2xl·font-bold` with `flex-auto·text-2xl·font-bold·tracking-tight`  prettier/prettier
Replace `tracking-tight·flex-auto·text-2xl·font-bold` with `flex-auto·text-2xl·font-bold·tracking-tight`  prettier/prettier

only happening with tracking-tight. Prettier VSCode auto formats the code by adding tracking-tight in the beginning but I get the other error.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions