-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This doesn't try to fight the user but given the opportunity it will put commas at the start of lines instead of the ends. Fixes #245 Fixes #80 Closes #369 Closes #350
- Loading branch information
1 parent
b5426a8
commit f8cf725
Showing
7 changed files
with
199 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,7 +99,8 @@ Beautifier Options: | |
-x, --unescape-strings Decode printable characters encoded in xNN notation | ||
-w, --wrap-line-length Wrap lines at next opportunity after N characters [0] | ||
-X, --e4x Pass E4X xml literals through untouched | ||
-n, --end_with_newline End output with newline | ||
-n, --end-with-newline End output with newline | ||
-C, --comma-first Put commas at the beginning of new line instead of end | ||
--good-stuff Warm the cockles of Crockford's heart | ||
``` | ||
|
||
|
@@ -172,7 +173,7 @@ HTML Beautifier Options: | |
-p, --preserve-newlines Preserve existing line-breaks (--no-preserve-newlines disables) | ||
-m, --max-preserve-newlines Maximum number of line-breaks to be preserved in one chunk [10] | ||
-U, --unformatted List of tags (defaults to inline) that should not be reformatted | ||
-n, --end_with_newline End output with newline | ||
-n, --end-with-newline End output with newline | ||
``` | ||
|
||
# License | ||
|
@@ -191,4 +192,4 @@ Thanks also to Jason Diamond, Patrick Hof, Nochum Sossonko, Andreas Schneider, D | |
Vasilevsky, Vital Batmanov, Ron Baldwin, Gabriel Harrison, Chris J. Shull, | ||
Mathias Bynens, Vittorio Gambaletta and others. | ||
|
||
[email protected].3 | ||
[email protected].5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.