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 aler
8000
t
What did you expect to happen? :src to move above color/gradient
What actually happened? :src receives no warning
This was altered in #421. Not completely clear as to whether it was an unintentional change or intended. If it was intended, please reconsider allowing the separation of bound props from unbound.
The text was updated successfully, but these errors were encountered:
This was intentional change. We decided to treat bindings and attributes as the same thing in regards to order. You can keep it however you want, but we just won't auto-fix it. We often change regular attributes to bindings, and not forcing different location simplifies diff and does not mess with how you want to keep your attributes in place. Some want bindings first, some group it by name or something else. So what this rule does is to force only essential groups of attributes in certain way, but not those that often changes from one to another with a single sign.
Also If we'd introduce order by bound, unbound. Properties like class or style might end up looking like this:
:class=""
:style=""
id=""
...
class=""
style=""
or we'd have to introduce exceptions, making this rule not very consistent.
However if you still think that having this possibility has more benefits, you might try to add extra option, let's say boundAttributesFirst and submit PR :)
Tell us about your environment Windows 10
Please show your full configuration:
What did you do?
What did you expect to happen?
:src
to move abovecolor/gradient
What actually happened?
:src
receives no warningThis was altered in #421. Not completely clear as to whether it was an unintentional change or intended. If it was intended, please reconsider allowing the separation of bound props from unbound.
The text was updated successfully, but these errors were encountered: