Commit Graph

331 Commits

Author SHA1 Message Date
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
Liam Newman
14849d6085 Tests for #1496 2018-08-22 18:23:15 -07:00
Liam Newman
ca26d5af2b
Merge branch 'master' into space 2018-08-22 16:55:10 -07:00
Liam Newman
5362878ef5 Turn on use strict across most of project
Stop sloppy humans from doing sloppy human things.
2018-08-22 16:51:25 -07:00
Liam Newman
8f322b4be9 Closes #869 2018-08-22 15:58:13 -07:00
Liam Newman
554005310e
Merge pull request #1494 from MacKLess/button
Add test for html formatting after button element
2018-08-22 13:14:28 -07:00
Liam Newman
63bf73d300
Merge branch 'master' into button 2018-08-22 13:02:49 -07:00
L. D. MacKrell
ae772fab46 Fixed whitespace detection issue with tests 2018-08-22 12:56:38 -07:00
L. D. MacKrell
85a8fe3e73 Converts name dashes to underscore in option inputs 2018-08-22 11:52:44 -07:00
L. D. MacKrell
fb9a7b1867 Add test for html formatting following button 2018-08-22 00:59:51 -07:00