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
unindent_chained_methods breaks indentation for if statements without brackets #1378
Milestone
Comments
I can't reproduce this on http://jsbeautifier.org/ Not sure what would cause that to happen. |
I've used the command line tool of js-beutify, ver: 1.7.5. |
@hstig |
|
@hstig |
bitwiseman
added
type: bug
language: javascript
and removed
status: needs more info
labels
Apr 23, 2018
MacKLess
added a commit
to MacKLess/js-beautify
that referenced
this issue
Jun 28, 2018
MacKLess
added a commit
to MacKLess/js-beautify
that referenced
this issue
Jun 28, 2018
MacKLess
added a commit
to MacKLess/js-beautify
that referenced
this issue
Jun 28, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input
The code looked like this before beautification:
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
Steps to Reproduce
Environment
OS: Debian GNU/Linux 9 (stretch) 64-bit
CLI: js-beutify Ver: 1.7.5
Settings
js-beautify -u -s 2 -a -b collapse,preserve-inline
The text was updated successfully, but these errors were encountered: