Sophie Alpert
8250ff963e
Suggest JSX fragment syntax in adjacent tag error ( #7152 )
2018-01-04 09:21:39 +01:00
Raja Sekar
e872f0d975
Regex parsing issue fix after function declaration. ( #7121 )
2018-01-03 14:21:18 +01:00
Raja Sekar
f3410e761c
Flow comment parsing ( #7007 )
2017-12-30 23:53:08 +01:00
Andy
6a73f39199
Support parsing export default abstract class {} ( #7075 )
2017-12-21 16:13:31 +01:00
Brian Ng
2b065350b5
Treat import type * as a parser error ( #7061 )
2017-12-19 10:54:20 -05:00
Brian Ng
f5ef928586
Add method property to ObjectTypeProperty ( #7005 )
2017-12-11 09:32:16 -06:00
K Sashi Kumar
ac745ded0d
Fix destructuring assignment spec violation ( #6986 )
2017-12-07 09:14:03 -06:00
Andy
aa38c47160
For babylon typescript parser, fix false positive for ! after a line break ( #6969 )
...
Closes #6798
2017-12-04 19:57:22 +01:00
Nicolò Ribaudo
62bbee97d7
Better error message for import.meta and import() without plugin ( #6962 )
...
The correct error was already thrown when they weren't in statement position.
2017-12-03 17:45:37 +01:00
Brian Ng
d8bbaaae0a
Split exportExtensions into exportDefault and exportNamespace plugins… ( #6920 )
...
* Split exportExtensions into two plugins in babylon
* rename proposal-export-default to proposal-export-default-from
* rename proposal-export-namespace to proposal-export-namespace-from
2017-11-30 17:46:36 -05:00
Brian Ng
0a3c2a0c4c
Fix babylon test
2017-11-24 09:15:17 -06:00
Martin McKeaveney
6d820a2757
removing expression field from ArrowFunctionExpression ( #6836 )
2017-11-23 22:12:13 +01:00
Gidi Meir Morris
edbf5d33dc
Fix "Better error messaging for unexpected tokens #6715 " ( #6875 )
2017-11-22 15:31:03 -06:00
Nicolò Ribaudo
464df13c69
Allow yielding an arrow function withour parens around the param ( #6877 )
2017-11-22 15:28:37 -06:00
Raja Sekar
63397d0aad
Better error message for super when not using an object method ( #6754 )
2017-11-15 21:29:46 -06:00
Brian Ng
0f2ab2fe20
Fix some reserved type handling and declare class with multiple extends ( #6725 )
2017-11-15 16:16:15 -06:00
Nicolò Ribaudo
9ae23639ad
Parse async arrows with flow type parameters ( #6802 )
...
Fixes #6712
2017-11-14 16:24:14 +01:00
Logan Smyth
432a9b5092
Allow sourceType:unambiguous as a way to tell Babylon to guess the type. ( #6789 )
...
* Allow sourceType:unambiguous as a way to tell Babylon to guess the type.
* Update some docs.
2017-11-10 15:00:06 -08:00
Daniel Tschinder
cc66495a95
Unify eslint/prettier config ( #6747 )
...
* Unify eslint/prettier config
Use a prettier config file and correctly configure trailing commas
Enable curly in babylon as in all other packages.
* Add experimental and codemods
2017-11-06 14:19:59 +01:00
Raja Sekar
2d0211a085
Fix parsing arrow with existential return type ( #6726 )
2017-11-02 10:56:27 -05:00
Daniel Tschinder
3b540e3f5a
Integrate babylon into babel workflow
2017-11-01 23:26:51 +01:00
Daniel Tschinder
2d378d076e
Move babylon into monorepo
2017-11-01 16:16:48 +01:00