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

Question about ES6 class function formatting #164

Closed
ratson opened this issue Jun 18, 2015 · 2 comments

Comments

@ratson
Copy link

commented Jun 18, 2015

standard reports Missing space before function parentheses. for the following code,

class Bug {
  fix(author) {}
}

How should the above code be formatted?

@julien-f

This comment has been minimized.

Copy link

commented Jun 18, 2015

class Bug {
  fix (author) {}
}
@ratson

This comment has been minimized.

Copy link
Author

commented Jun 18, 2015

Thank you for the answer

@ratson ratson closed this Jun 18, 2015

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

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