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

Incorrectly formats lines with keyword "function" (2.3) #34

Open
CpazR opened this issue Jul 10, 2020 · 3 comments
Open

Incorrectly formats lines with keyword "function" (2.3) #34

CpazR opened this issue Jul 10, 2020 · 3 comments

Comments

@CpazR
Copy link

CpazR commented Jul 10, 2020

In the most recent update (2.3), functions are formatted as such:

function forEach(_arr, _callback) {

To:

function;
forEach(_arr,_callback);
{

This is likely because the formatter is splitting up the definition into the keyword, then a function call, and the open bracket.

@CpazR
Copy link
Author

CpazR commented Jul 14, 2020

Attempted to implement this myself in #35.

@ARHollisSr
Copy link

Love the tool. Works great. After upgrading to 2.3 this appears to be only issue I'm running into as well.

@JohnPeppermint
Copy link

Hello! I suppose this is still an issue? 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants