Nicolò Ribaudo
31b361b736
Use ?. where it represents the intended semantics ( #11512 )
2020-05-09 23:31:50 +02:00
Ziad El Khoury Hanna
64041e1669
Fix flow comments plugin issues ( #10329 )
...
* Fix issues in flow-comments to preserve comments and there order (fixes #10324 )
* Add support in flow-comments for extends in class declarations (fixes #10323 , #10321 )
* Refactoring and cleanup of flow-comments plugin
* Fix comments preservation logic of flow-comments
* Fix flow-comments where comments are class identifier and extends keyword
2019-08-14 15:46:26 +02:00
Tan Li Hau
8b9af1be2f
fix transform-flow-comments for import types ( #9901 )
...
* fix transform-flow-comments for import types
* update: dependencies
2019-07-13 16:06:42 +02:00
Tan Li Hau
ca3c53ae0b
fix flow-comments - class type paramters and implements ( #9897 )
2019-04-26 22:23:13 +02:00
Tan Li Hau
71013088ef
fix flow-comment - object destructuring ( #9893 )
2019-04-26 22:22:41 +02:00
Nicolò Ribaudo
8c7d4b55c9
Add plugins name ( #8769 )
...
* Add plugins name
* Add missing names found by the plugin
* Add eslint plugin
2018-11-18 23:02:58 +01:00
Logan Smyth
a4795408b4
Allow plugins to assert that a specific babel version has loaded the plugin. ( #7450 )
2018-03-04 14:36:54 -08:00
Logan Smyth
b19b66d94b
Use peerDep rather than plugin param for common APIs.
2017-11-06 11:32:47 -08:00
Henry Zhu
cde0054227
Scoped: change src imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Justin Ridgewell
78544417fc
Remove noop ( #5970 )
...
It’s ugly, but it gets the job done. And it unblocks my babel-type
changes.
2017-07-20 11:36:13 -04:00
Brian Ng
e4b35f680d
Run prettier
2017-06-27 12:15:00 -05:00
James Lal
6928695735
Flow comments import export ( #5675 )
...
* Add failing test for `export type .. from ...; `
* Add support for flow comment : `export ... from '...'`
2017-05-20 09:10:39 -04:00
Brian Ng
8a82cc060a
Run new lint rules ( #5413 )
2017-03-04 10:46:01 -05:00
Logan Smyth
4ee385e96c
Avoid usage of exports/module.exports/require().
2017-02-21 16:52:42 -08:00
Henry Zhu
672adba9a1
enable prefer const ( #5113 )
2017-01-14 09:48:52 -05:00
Dan Harper
d90aaf2c76
Print Flow optional & type annotations in function params with defaults ( #4872 )
...
Fixes #4863
2016-12-16 15:31:05 -05:00
Dan Harper
0e02a18216
fix regression in transform-flow-comments for class properties ( #4623 )
2016-10-01 00:56:09 -04:00
Sebastian McKenzie
5b89849f43
Switch to klint, fix some lint rules
2016-02-14 23:25:14 +00:00
Henry Zhu
33ce926c7f
rename flow-comments plugin
2015-12-15 20:14:47 -05:00