JS-Beautifier v1.6.6 Release Notes
-
Description
- โ Added support for editorconfig from stdin
- โ Added js-beautify to cdnjs
- ๐ Fixed CRLF to LF for HTML and CSS on windows
- โ Added inheritance/overriding to config format (Thanks @DaniGuardiola and @HookyQR)
- โ Added
force-align
towrap-attributes
(Thanks @Lukinos) - โ Added
force-expand-multiline
towrap-attributes
(Thanks @tobias-zucali) - โ Added
preserve-inline
as independent brace setting (Thanks @Coburn37) - ๐ Fixed handlebars with angle-braces (Thanks @mmsqe)
Closed Issues
- ๐ Wrong indentation for comment after nested unbraced control constructs (#1079)
- ๐ Should prefer breaking the line after operator ? instead of before operator < (#1073)
- ๐ New option "force-expand-multiline" for "wrap_attributes" (#1070)
- ๐ Breaks if html file starts with comment (#1068)
- ๐ collapse-preserve-inline restricts users to collapse brace_style (#1057)
- ๐ Parsing failure on numbers with "e" (#1054)
- ๐ป Issue with Browser Instructions (#1053)
- โ Add preserve inline function for expand style braces (#1052)
- โก๏ธ Update years in LICENSE (#1038)
- ๐ JS. Switch with template literals. Unexpected indentation. (#1030)
- ๐ The object with spread object formatted not correctly (#1023)
- ๐ Bad output generator function in class (#1013)
- ๐ Support editorconfig for stdin (#1012)
- ๐ Publish to cdnjs (#992)
- ๐ breaks if handlebars comments contain handlebars tags (#930)
- ๐ Using jsbeautifyrc is broken (#929)
- ๐ Option to put HTML attributes on their own lines, aligned (#916)
- ๐ Erroneously changes CRLF to LF on Windows in HTML and CSS (#899)
- ๐ Weird space in {get } vs { normal } (#888)
- ๐ Bad for-of formatting with constant Array (#875)
- ๐ Problems with filter property in css and scss (#755)
- โ Add "collapse-one-line" option for non-collapse brace styles (#487)