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
I'm using your config as a base for mine, and I'd like to lint and fix multiple whitespace that may be present inside a class attribute in Vue components (and unneeded ending or starting spaces as well)
Basically this:
<!-- Good -->
<div class="flex gap-4">
<!-- Bad -->
<div class=" flex gap-4 ">
I tried to check all available rules, but I'm not finding what I'm looking for.
The closest one seems to be vue/no-multi-spaces, but it only lints spaces between each attribute and not inside them.
Is it possible somehow? Thanks!
The text was updated successfully, but these errors were encountered:
I don't know - maybe you can write one your own. Honestly this repo is not the right place to ask for new rules. If you end up found/made one, I am open to discuss whether to bring it to this config. Thanks.
Thanks for your reply! I was not asking for a new rule to be written from scratch,just if there was something already available that I might have missed in your config, since it already packs several plugins.
I'm using your config as a base for mine, and I'd like to lint and fix multiple whitespace that may be present inside a
class
attribute in Vue components (and unneeded ending or starting spaces as well)Basically this:
<!-- Good --> <div class="flex gap-4"> <!-- Bad --> <div class=" flex gap-4 ">
I tried to check all available rules, but I'm not finding what I'm looking for.
The closest one seems to be
vue/no-multi-spaces
, but it only lints spaces between each attribute and not inside them.Is it possible somehow? Thanks!
The text was updated successfully, but these errors were encountered: