Open zumm opened 1 month ago
This is currently the limitation. From my point of view I see no robust solution to that - but if you are interested, feel free to experiment and send a PR if you find a good solution
Should this be documented on the ESLint page? Currently, the @unocss/order-attributify
rule makes this seem possible. Does that rule only order the attributes themselves and not their contents?
UnoCSS version
0.61.5
Describe the bug
Eslint plugin isn't working with attributify. Utility classes are sorting inside
class
attribute, but not inside other attributes. See reproduction, inApp.vue
wrong order classes order insideclass
andun-before
attributes, but eslint warns only aboutclass
.Reproduction
https://stackblitz.com/edit/unocss-unocss-cfjwep?file=uno.config.ts
Go to terminal and execute: eslint ./src/App.vue
System Info
No response
Validations