Commit Graph

759 Commits

Author SHA1 Message Date
Liam Newman
4412cc970c
Merge branch 'master' into tab_wrap 2018-12-05 20:22:12 -08:00
Liam Newman
e1c147d8fa Add glob support to python 2018-12-05 20:11:47 -08:00
Stefan Koenen
4cb57d5c26 Added support for globs. 2018-12-05 18:25:47 -08:00
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
ca482d5399 Set up CI with Azure Pipelines 2018-11-24 00:19:53 -08:00
Liam Newman
97342b11c1
Merge branch 'master' into js-default-options 2018-10-23 03:13:43 -07:00
Diego Zilioti
5e5280010a defaultOptions as a function 2018-10-20 19:13:48 -03:00
Liam Newman
e0a31991dc Add arrow function async test 2018-10-18 01:46:31 -07:00
Liam Newman
7ed4a773be
Merge branch 'master' into js-default-options 2018-10-17 15:23:41 -07:00
Liam Newman
a2ba20bb87 Fix object literal async indenting
Fixes #1573
2018-10-12 18:17:25 -07:00
L. D. MacKrell
0bedb9961c Update python with space and tab adjustment 2018-10-12 00:37:14 -07:00
Liam Newman
a75fa68367 Translate options to python 2018-10-11 23:08:41 -07:00
Liam Newman
fa0705414d Use alignment in javascript beautifier 2018-10-11 20:36:48 -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
Liam Newman
79dbee4851 Merge remote-tracking branch 'beautify-web/master' into js-default-options 2018-10-10 11:20:42 -07:00
L. D. MacKrell
c413de0ef7 Add preserve and preserve_align to html 2018-10-10 11:04:40 -07:00
Liam Newman
96a0f67cee Minor tweaks 2018-10-08 10:29:47 -07:00
Liam Newman
28019526cb Merge remote-tracking branch 'beautify-web/master' into core-options-test 2018-10-08 10:27:12 -07:00
Liam Newman
9418c9eafb
Merge branch 'master' into js-default-options 2018-10-08 10:22:36 -07:00
Liam Newman
ab85ff6554 Added newlines to end of files 2018-10-08 10:10:39 -07:00
Diego Zilioti
88fd75760e Draft for defaultOptions 2018-10-06 19:31:10 -03:00
Diego Zilioti
58d339ae10 Add unit tests for core options in python 2018-10-06 17:20:28 -03:00
Diego Zilioti
bdc7701ab1 Fix core options tests after running make ci 2018-10-05 01:37:18 -03:00
Diego Zilioti
bfdea6ee6b Add unit tests for core options 2018-10-05 01:22:51 -03: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
74009348f2
Merge branch 'master' into add-tests 2018-09-27 13:15:25 -07:00
Liam Newman
c748b9597a Change shebang tokenizing to use inputscanner.read
The point of inputscanner is to avoid having the tokenizer
looping over input and use patterns instead.

This commit switches tokenizing of shebangs to from looping to pattern reading.
2018-09-27 12:32:49 -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
52ce863275 Update inputscanner tests
* fixed js tests
* wrote python equivalent tests
* found and fixed bug in inputscanner.py for test_Char
2018-09-27 12:04:36 -07:00
MacKLess
1e99b57827
Merge branch 'master' into add-tests 2018-09-27 09:32:29 -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
6469217c8d
Merge branch 'master' into io-move 2018-09-10 12:54:00 -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
ee99c9b829
Merge branch 'master' into io-move 2018-09-10 12:53:17 -07:00
Liam Newman
2d48af82f3 Move all references to beautifier.io 2018-09-09 13:57:13 -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
b5ef9b4727 Refactor _flags.last_text to _flags.last_token.text 2018-09-02 19:21:12 -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
418fc7a6b9 Refactor end_with_newline in Output settings 2018-09-01 14:42:41 -07:00
Liam Newman
a46d717eb3 Refactor indent_string calculation into Output 2018-09-01 14:35:46 -07:00
Liam Newman
02d89694af Added single selection options 2018-09-01 14:08:00 -07:00