Rogelio Guzman
d45e157563
Upgrade to Jest 19 ( #762 )
...
* Upgrade to Jest 19
* Use exact versions for Jest
2017-02-21 13:59:19 -08:00
Christopher Chedeau
fb52e7a5c8
Do not put a newline on empty `{}` for functions ( #447 )
...
The original intent of it was for `if then else` and `try catch` as they aren't likely to be empty, but it accidentally caught function bodys, which have many valid reasons to be empty. Let's special case those out.
2017-01-24 12:37:01 -05:00
Christopher Chedeau
74bc9e7a4d
Add newline for empty blocks {} ( #205 )
...
I find it weird to put `{}` together. So I figured I would change it to have an empty line and ask for feedback :)
![image](https://cloud.githubusercontent.com/assets/197597/21739279/062adc80-d44c-11e6-8bb7-5e0768f3ddde.png )
Beware: most of the test cases are not representative of real code, you almost never define blocks with no content in practice.
2017-01-16 11:31:32 -05:00
Benjamin Tan
f70c9ec6d1
Don't break to new line if logical/loop statements are without brackets. ( #194 )
...
Closes #14 .
2017-01-14 23:37:13 -05:00
Rogelio Guzman
63c87b6cd0
Add tests for tabWiths option
2017-01-13 13:25:13 -05:00