Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--fix doesn't deal with curly even spacing #677

Closed
cyberwombat opened this issue Nov 9, 2016 · 2 comments

Comments

@cyberwombat
Copy link

commented Nov 9, 2016

The following gets flagged for inconsistent spacing:

{{ foo: 'bar'}}

But --fix does not fix it.

@saadq

This comment has been minimized.

Copy link

commented Nov 16, 2016

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.

@feross

This comment has been minimized.

Copy link
Member

commented Dec 4, 2016

Yep, what @saadq said.

@feross feross closed this Dec 4, 2016

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants
You can’t perform that action at this time.