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

Weird indentation on close parentheses of chain #496

Open
tmmcguire opened this issue May 22, 2018 · 0 comments
Open

Weird indentation on close parentheses of chain #496

tmmcguire opened this issue May 22, 2018 · 0 comments

Comments

@tmmcguire
Copy link

I'm working with a chained-style module for creating SQL statements, and I'm seeing a weird issue with the closing parenthesis of the final function:

let select= sql.select()
    .distinct()
...
    .leftJoin('g blu', ['blu.fk_unit_user_id', 'f.id'])
    .where(
        sql.and(
            'ble.event_status != "close"',
            'ble.event_status != "cancel"'
        )
);

The last ');' is not indented to match the opening '.where('. I may have something configured wrong; I'm attaching my .esformatter file.

.esformatter.txt

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

1 participant