You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I leave this in one line then max length complains. Essentially nothing is fixed that is inside the class, I can leave empty spaces, bad tabbing or anything there.
Not sure if this is the right way to include this in this config as there is an UnoCSS ESLint config aswell. But might still be useful as a resource or workaround when it's ready.
To do that properly, we would need an HTML parser in ESLint. There are a few in the community but I haven't done the research. I don't usually work on HTML files directly so there is little incentive for me to work on that any sooner. But open for proposes (ideally it would be handle in the UnoCSS plugin)
I almost completely covered all my formatting and linting needs but there is still 1 thing which is that classes are just not getting formatted.
If I leave this in one line then max length complains. Essentially nothing is fixed that is inside the class, I can leave empty spaces, bad tabbing or anything there.
In my eslint config I currently have:
Any help would be greatly appreciated! Thank you!
The text was updated successfully, but these errors were encountered: