We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the code does not look pretty after "prettifying"
The code looked like this before beautification:
(function() { some_code_here(); { /* IE11 let bug bypass */ let index; for (index in a) { a[index]; } } })();
The code actually looked like this after beautification:
The code should have looked something like this after beautification:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
Language Selected: Beautify JavaScript
(just the default)
{ "indent_size": "4", "indent_char": " ", "max_preserve_newlines": "5", "preserve_newlines": true, "keep_array_indentation": false, "break_chained_methods": false, "indent_scripts": "normal", "brace_style": "collapse", "space_before_conditional": true, "unescape_strings": false, "jslint_happy": false, "end_with_newline": false, "wrap_line_length": "0", "indent_inner_html": false, "comma_first": false, "e4x": false, "indent_empty_lines": false }
The text was updated successfully, but these errors were encountered:
fix - semicolon followed by block statement doesnt have new line
c904700
This change makes sure that a new line is added everytime a semicolon is followed by a block statement fixes beautifier#1852
Successfully merging a pull request may close this issue.
Description
the code does not look pretty after "prettifying"
Input
The code looked like this before beautification:
Current Output
The code actually looked like this after beautification:
Expected Output
The code should have looked something like this after beautification:
Environment
Browser User Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
Language Selected:
Beautify JavaScript
Settings
(just the default)
The text was updated successfully, but these errors were encountered: