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
That's because currently both styles of spacing are allowed:
{foo: 'bar'} // ok
{ foo: 'bar' } // ok
So, I guess --fix wouldn't know which one to use. The only thing that isn't allowed is when it's inconsistent like in the example you have up there. I believe that eventually only one of these will be allowed, but it hasn't been decided on which one. There's an ongoing issue about it here.
The following gets flagged for inconsistent spacing:
But
--fix
does not fix it.The text was updated successfully, but these errors were encountered: