James Long
c8f671236c
Merge pull request #116 from knowbody/remove-node-0-10-support
...
remove node 0.10 from travis config, add travis badge to readme
2017-01-11 11:57:19 -05:00
James Long
466d8509af
Update snapshots
2017-01-11 11:54:28 -05:00
Mateusz Zatorski
884bae1761
remove node 0.10 from travis config, add travis badge to readme
2017-01-11 16:48:45 +00:00
James Long
faed09ceea
Merge pull request #111 from knowbody/add-travis
...
add travis config and add yarn support
2017-01-11 11:36:16 -05:00
Mateusz Zatorski
6f0743e07d
fix italic in readme
2017-01-11 16:31:42 +00:00
Mateusz Zatorski
1fe0833662
add yarn.lock and tests to .npmignore and add yarn instructions to README
2017-01-11 16:30:46 +00:00
James Long
ac6cb883c8
Merge pull request #113 from fortes/master
...
Enable reading from stdin
2017-01-11 11:29:50 -05:00
James Long
722e5b4477
Merge pull request #114 from dinoboff/docs-update-usage
...
docs: add globbing example
2017-01-11 11:28:06 -05:00
Damien Lebrun
f1db144341
docs: add globbing example
...
Although prettier lacks options to filter project files to format by itself, most shells allow to submit multiple files with a filename expansion. Add an example using bash.
2017-01-11 16:05:31 +00:00
Filipe Fortes
9ffbd32723
Enable reading from stdin
2017-01-11 07:57:16 -08:00
Mateusz Zatorski
ccf6f846f0
add travis config and add yarn support
2017-01-11 15:52:51 +00:00
James Long
6557bc76b3
Merge pull request #107 from demoneaux/arrow-function-trailing-whitespace
...
Remove trailing whitespace in broken arrow function expressions.
2017-01-11 10:50:47 -05:00
James Long
83c378e8e8
Merge pull request #84 from vjeux/print_filename
...
Log the filename when --write is being used
2017-01-11 10:49:47 -05:00
James Long
fd852320ce
Merge pull request #86 from vjeux/dont_fatal
...
Do not fatal when formatting throws
2017-01-11 10:42:36 -05:00
Benjamin Tan
24c3af8821
Remove trailing whitespace in broken arrow function expressions.
...
Closes #103 .
2017-01-11 23:28:13 +08:00
James Long
7a84cdbc34
Merge pull request #97 from dtinth/patch-1
...
Add missing comma in API example
2017-01-11 10:20:54 -05:00
James Long
c2458e7dc9
Merge pull request #106 from demoneaux/fix-directives-newlines
...
Fix misprinting of directives.
2017-01-11 10:20:09 -05:00
James Long
00fad62c91
Regenerate snapshots
2017-01-11 10:16:38 -05:00
James Long
944659194b
Merge pull request #105 from demoneaux/fix-eof
...
Add newline to EOF.
2017-01-11 10:15:15 -05:00
James Long
2d99f5d281
Merge pull request #101 from demoneaux/export-semicolons
...
Add semicolons to `export` declarations.
2017-01-11 09:59:42 -05:00
Benjamin Tan
030a70fd38
Fix misprinting of directives.
...
Closes #29 .
2017-01-11 22:47:22 +08:00
Benjamin Tan
03414d64cc
Add newline to EOF.
...
Closes #55 .
2017-01-11 22:39:32 +08:00
Benjamin Tan
d56365dd54
Add semicolons to `export` declarations.
...
Closes #22 .
2017-01-11 20:43:27 +08:00
Thai Pangsakulyanont
8fb6428e96
Add missing comma in API example
2017-01-11 17:31:59 +07:00
Kevin Gibbons
be8f65d23e
Format property names consistently
2017-01-10 22:29:54 -08:00
Christopher Chedeau
b8e6fc5cb0
Do not fatal when formatting throws
...
When you are formatting an entire codebase and a single file throw, it shouldn't stop the entire process.
2017-01-10 22:10:00 -08:00
Christopher Chedeau
0fdf14dbe6
Log the filename when --write is being used
...
This helps giving a sense of progress when printing a lot of files
2017-01-10 22:09:18 -08:00
James Long
b37e8c4b36
v0.0.4
2017-01-10 23:52:36 -05:00
James Long
10a8cd9122
Merge pull request #45 from danharper/fix38
...
Print Flow types with no name (fixes #38 )
2017-01-10 23:51:42 -05:00
James Long
34dc37a816
Merge pull request #67 from jmorrell/flow-type-declarations
...
Make union types pretty again
2017-01-10 23:38:27 -05:00
James Long
d93e7d2f24
Merge pull request #70 from danharper/fix24
...
Fix import & export bracket spacing (fixes #24 )
2017-01-10 23:36:59 -05:00
James Long
f11d86b73f
Merge pull request #75 from azu/patch-1
...
Add syntax highlight to example in README
2017-01-10 23:36:35 -05:00
James Long
6b26c1ab3e
Merge pull request #76 from kalmanb/emacs-typos
...
Fix up emacs typos
2017-01-10 23:36:03 -05:00
kalmanb
e84d5d301a
Fix up emacs typos
2017-01-11 13:36:09 +13:00
Dan Harper
7c21dd037f
Fix import & export bracket spacing ( fixes #24 )
2017-01-11 00:32:57 +00:00
azu
e75f79a755
Add syntax highlight to example in README
2017-01-11 09:26:35 +09:00
James Long
3f949907a0
Merge pull request #72 from michaelficarra/GH-71
...
fixes #71 : don't indent block statements which are children of case clauses
2017-01-10 18:56:50 -05:00
James Long
d2d6def9be
Revert "fixes #49 : omit new parens when it has no arguments"
...
This reverts commit b5392f9468
.
2017-01-10 18:53:03 -05:00
Michael Ficarra
0461b3e6cd
fixes #71 : don't indent block stmts which are children of case clauses
2017-01-10 15:26:12 -08:00
James Long
e3b41dd6ca
Merge pull request #57 from michaelficarra/GH-56
...
fixes #56 : indent cases inside switch statements
2017-01-10 17:49:46 -05:00
Dan Harper
867b829965
Print Flow types with no name ( fixes #38 )
2017-01-10 22:49:25 +00:00
James Long
6d39725d47
Merge pull request #51 from jlongster/update-babylon
...
Update options to babylon
2017-01-10 17:31:01 -05:00
James Long
a061e96bbb
Use latest version of babylon
2017-01-10 17:30:34 -05:00
James Long
56abf5fc46
Update options to babylon
2017-01-10 17:30:17 -05:00
James Long
5cb5148876
Merge pull request #64 from okonet/accept-globs
...
Accept globs and lists of files
2017-01-10 17:16:14 -05:00
James Long
321bd6a9fa
Allow block-less arrow function expression to break ( fixes #61 )
2017-01-10 16:46:33 -05:00
Jeremy Morrell
9213d5ad7f
First attempt at making union types prettier
2017-01-10 18:31:29 -03:00
James Long
4825e56227
Allow multiple nested arrow functions to be expanded as last call arg ( fixes #65 )
2017-01-10 16:20:24 -05:00
Andrey Okonetchnikov
0bf83e9b31
build: Add more scripts to test
2017-01-10 21:47:52 +01:00
Andrey Okonetchnikov
85dc8eb118
style: Run prettier on the source code
2017-01-10 21:47:52 +01:00