390 Commits

Author SHA1 Message Date
Liam Newman
d7d901ad56 Fixed up method shorthand 2018-11-29 09:41:05 -08:00
于涛
a715e0da86 in the .vue file space_after_anon_function is invalid #1425 2018-11-29 08:47:36 -08:00
Liam Newman
c9eabb912b
Merge branch 'master' into tab_wrap 2018-11-24 00:52:35 -08:00
Liam Newman
e0a31991dc Add arrow function async test 2018-10-18 01:46:31 -07:00
Liam Newman
a2ba20bb87 Fix object literal async indenting
Fixes #1573
2018-10-12 18:17:25 -07:00
Liam Newman
a2c3d3aa73 Fix test 2018-10-12 00:02:26 -07:00
Liam Newman
586ffae417 IndentStringCache WIP 2018-10-10 20:59:32 -07:00
L. D. MacKrell
e799ab20c6 Fix tab vs space alignment for attributes WIP 2018-10-10 14:47:09 -07:00
L. D. MacKrell
c413de0ef7 Add preserve and preserve_align to html 2018-10-10 11:04:40 -07:00
Liam Newman
ab85ff6554 Added newlines to end of files 2018-10-08 10:10:39 -07:00
L. D. MacKrell
096a070ab3 Add tests for indent scripts option
*Add indent_scripts to README
2018-09-27 15:01:08 -07:00
Liam Newman
ab7c9f9c51 Fixed alternate newline handling
The previous implmentation only handle slash-n.
Added tests with more inputs revealed issues with slash-rn.
Fixed up regex to handle them.
2018-09-27 12:13:32 -07:00
L. D. MacKrell
b32ef2d705 Fix extendscript #include 2018-09-26 17:36:26 -07:00
L. D. MacKrell
fe0006ae0f Fix dynamic import arrow support 2018-09-26 16:46:26 -07:00
L. D. MacKrell
cd49403caf Add option for space before named function 2018-09-26 15:32:51 -07:00
L. D. MacKrell
677b0dc762 Fix formatting for Typescript declare 2018-09-10 14:39:51 -07:00
Liam Newman
5aec460246
Merge pull request #1540 from bitwiseman/uri
Fixed support for data URI with test
2018-09-10 12:53:43 -07:00
Liam Newman
aadec2b867 Preserve new line at start of handlebars contents
Fixes #1469
2018-09-08 17:01:56 -07:00
Liam Newman
ac6450f425 Fixed support for data URI with test
Fixes #1535
2018-09-08 13:37:05 -07:00
Liam Newman
0ef7b81973 Fix for unformatted and content_unformatted
Fixes #1534
2018-09-04 14:56:01 -07:00
Liam Newman
886f6d315c Fixed unindent chained methods under-indent 2018-09-04 13:24:56 -07:00
L. D. MacKrell
e849cb905c Refactor TOKEN.RESERVED to reserved_word and reserved_array functions 2018-09-02 16:46:20 -07:00
Liam Newman
b89cdb9627 Better output for unicode decoding errors
Fixes #1134
2018-09-01 14:08:00 -07:00
Liam Newman
f46c4f341e
Merge branch 'master' into level 2018-08-31 18:39:40 -07:00
L. D. MacKrell
79717afda4 Add level options functionality with tests 2018-08-31 18:26:00 -07:00
L. D. MacKrell
8bc8d4355a Update unindent method for each else blocks 2018-08-31 14:07:55 -07:00
Liam Newman
75f38d907d Fixed await indenting
Fixes #1519
Fixes #1517
2018-08-30 13:22:47 -07:00
Liam Newman
4807865f02 Run more perf tests and on larger files 2018-08-28 23:44:08 -07:00
Liam Newman
bfa695d6e2 Allow python to take dictionary or tuple 2018-08-28 14:55:55 -07:00
Liam Newman
81d3177bff Add core Options class 2018-08-28 14:55:54 -07:00
Liam Newman
cca8bcae81 Fix indent_inner_html
Fixes #1514
2018-08-27 14:54:47 -07:00
Liam Newman
f225157557 Re-add test 2018-08-27 14:54:47 -07:00
Liam Newman
498a5504e6
Merge pull request #1513 from MacKLess/hbs
Add test for handlebars with wrap attributes
2018-08-25 16:45:29 -07:00
L. D. MacKrell
2fd78a68e6 Add test for handlebars with wrap attributes 2018-08-25 16:34:01 -07:00
Liam Newman
f6e38be762
Merge pull request #1512 from MacKLess/svg
Add test for SVG formatting
2018-08-25 16:05:18 -07:00
L. D. MacKrell
8d6bf68ee8 Add test for SVG formatting 2018-08-25 15:56:46 -07:00
Liam Newman
d9b36ad054
Merge pull request #1511 from MacKLess/media
Add test for newlines in css @media blocks
2018-08-25 15:45:47 -07:00
L. D. MacKrell
9bedbe1dc8 Add test for newlines in css @media blocks 2018-08-25 15:40:12 -07:00
L. D. MacKrell
e3979f51fd Add test for wrapping negative expressions that end a line 2018-08-25 15:12:23 -07:00
Liam Newman
47231ba0ee Add tests 2018-08-24 13:33:19 -07:00
Liam Newman
f97b8f8f90
Merge pull request #1509 from MacKLess/test
Add test for expressions inside handlebars
2018-08-24 01:06:08 -07:00
L. D. MacKrell
be723b152e Add test for expressions inside handlebars 2018-08-24 00:49:44 -07:00
L. D. MacKrell
5ea52424e4 Add test for wrap attributes force aligned 2018-08-24 00:40:24 -07:00
Liam Newman
e01e0db993 Tests for closed issues
Closes #645
Closes #1122
2018-08-23 22:40:51 -07:00
Liam Newman
fe3f3a7bcc Test for dl-dt-dd optional tags 2018-08-23 20:48:41 -07:00
Liam Newman
d710e25b93
Merge pull request #1505 from MacKLess/handlebars
Add test for formatting handlebars with nbsp
2018-08-23 15:07:14 -07:00
Liam Newman
ac8e54c763
Merge pull request #1504 from MacKLess/ASPX
Add test for ASPX JSP directives formatting
2018-08-23 14:11:25 -07:00
L. D. MacKrell
de179ce5f7 Add test for formatting handlebars with nbsp 2018-08-23 14:11:10 -07:00
L. D. MacKrell
62e0536721 Add test for ASPX JSP directives formatting 2018-08-23 13:50:54 -07:00
L. D. MacKrell
ecc7ec80ec Update optional closing tag indent formatting 2018-08-23 13:29:21 -07:00