James Long
|
f1feb24dff
|
Reprint printer.js
|
2017-01-04 22:27:25 -05:00 |
|
James Long
|
835befebf5
|
Always output comment newlines, fix edge case with function param output
|
2017-01-04 22:26:46 -05:00 |
|
James Long
|
67e2f6d482
|
Simplify how options are normalized (fixes default options)
|
2017-01-04 20:45:28 -05:00 |
|
James Long
|
599b4311bb
|
Allow single quotes with --single-quotes option
|
2017-01-04 17:32:05 -05:00 |
|
James Long
|
b550f1d088
|
Use , to separate type fields instead of ;
|
2017-01-04 17:26:44 -05:00 |
|
James Long
|
8326963f2d
|
Add option to include spaces inside object/array literals, default to false
|
2017-01-04 17:23:07 -05:00 |
|
James Long
|
98fef67b4e
|
Fix a bug with expanding function args by passing group opts properly
|
2017-01-04 17:08:28 -05:00 |
|
James Long
|
fae314bee0
|
Merge pull request #3 from jlongster/expand-last-arg
Add `conditionalGroup` to allow manually specifying multiple represen…
|
2017-01-04 16:53:25 -05:00 |
|
James Long
|
898009ba66
|
Consistently print function parameters the correct way
|
2017-01-04 16:52:49 -05:00 |
|
James Long
|
588c8ce7cd
|
Add conditionalGroup to allow manually specifying multiple representations of a document; use it to support expanding last parameter of functions
|
2017-01-04 15:24:10 -05:00 |
|
James Long
|
fa16988401
|
If function declaration is too long, break all args on separate lines; also fix small bug in output cleansing
|
2017-01-01 20:33:53 -05:00 |
|
James Long
|
37601b0a86
|
Update snapshots
|
2017-01-01 20:20:45 -05:00 |
|
James Long
|
de4d7ac799
|
Reprint printer.js
|
2016-12-31 14:38:58 -05:00 |
|
James Long
|
5efa13a10c
|
Never print blank lines with spaces
|
2016-12-31 14:38:33 -05:00 |
|
James Long
|
a9d06355ee
|
Fix spacing algorithm
|
2016-12-30 23:10:22 -05:00 |
|
James Long
|
7451255906
|
Bootstrapped! Format the printer with the printer itself
|
2016-12-30 23:03:22 -05:00 |
|
James Long
|
c9e24eb477
|
Add spaces around certain statements, add --write option, and more
|
2016-12-30 23:01:07 -05:00 |
|
James Long
|
8861953e60
|
Remove old tests (part 2)
|
2016-12-30 21:24:33 -05:00 |
|
James Long
|
965ad7f93a
|
Remove old tests
|
2016-12-30 21:24:04 -05:00 |
|
James Long
|
0465bb5790
|
Add flow parser as an option, default to babylon
|
2016-12-30 21:23:50 -05:00 |
|
James Long
|
7ea2348b03
|
Various fixes with destructuring default, JSX, and more; all tests pass!
|
2016-12-30 17:00:11 -05:00 |
|
James Long
|
649e8a1efe
|
Add DeclareExportAllDeclaration to ast-types
|
2016-12-30 15:07:35 -05:00 |
|
James Long
|
a6f1e79db1
|
Ignore EmptyStatements when comparing asts, now down to 12 real failures \o/
|
2016-12-30 14:44:57 -05:00 |
|
James Long
|
32d4200f60
|
Wrap class expressions in parens if needed
|
2016-12-30 14:25:52 -05:00 |
|
James Long
|
4dfaf9da98
|
Fix a few parens detection and more predicates
|
2016-12-30 14:10:52 -05:00 |
|
James Long
|
ed57110ef5
|
Add type parameters on anon functions
|
2016-12-30 13:41:45 -05:00 |
|
James Long
|
e972a7f0b6
|
Fix object and predicate annotations
|
2016-12-30 13:32:43 -05:00 |
|
James Long
|
6715abca76
|
Tweak variable declaration printing
|
2016-12-30 11:56:42 -05:00 |
|
James Long
|
73755a686d
|
Fix type annotation for optional function type properties
|
2016-12-30 00:08:03 -05:00 |
|
James Long
|
11a01552a4
|
Lots of bug fixes (will do smaller commits from now on)
|
2016-12-30 00:01:44 -05:00 |
|
James Long
|
88dc2681f6
|
Make all tests pass the crash test and fix a few more bugs
|
2016-12-27 21:40:04 -05:00 |
|
James Long
|
9acd34d67d
|
update snapshots
|
2016-12-27 13:29:31 -05:00 |
|
James Long
|
599e5821c1
|
Optimize jest testing and implement more fixes
|
2016-12-27 13:28:04 -05:00 |
|
James Long
|
87f4a85edc
|
Invoke JS API in tests instead of invoking executable every run
|
2016-12-23 21:12:18 -05:00 |
|
James Long
|
cfa14f07c3
|
Merge pull request #1 from vjeux/jest-tests
Add testing
|
2016-12-23 20:56:05 -05:00 |
|
James Long
|
d5b07f5c3d
|
Fix readme
|
2016-12-23 13:40:43 -05:00 |
|
James Long
|
9b4535e9f8
|
Merge in forked recast printer that uses Wadler's algorithm
|
2016-12-23 13:38:10 -05:00 |
|
James Long
|
35d8546d27
|
Add Atom support
|
2016-11-30 10:05:38 -05:00 |
|
James Long
|
d8313b03ce
|
Add ability to call as API
|
2016-11-29 15:23:00 -05:00 |
|
James Long
|
49316b18cc
|
Add readme
|
2016-11-29 12:26:03 -05:00 |
|
James Long
|
cf4643896c
|
add emacs support
|
2016-11-29 12:22:54 -05:00 |
|
James Long
|
a2f231d0eb
|
Fix package.json
|
2016-11-29 12:19:53 -05:00 |
|
James Long
|
29627ee520
|
initial
|
2016-11-29 12:14:10 -05:00 |
|