Use prettier api (#11458)
Use prettier api (#11458)

* use prettier-api

* fix string to boolean

* fix eslint

* fix typo

* cleanup

* use object assign

rricard/react,jorrit/react,acdlite/react,mjackson/react,facebook/react,chicoxyzzy/react,cpojer/react,glenjamin/react,ericyang321/react,trueadm/react,tomocchino/react,glenjamin/react,jdlehman/react,yiminghe/react,VioletLife/react,rickbeerendonk/react,prometheansacrifice/react,nhunzaker/react,chenglou/react,roth1002/react,Simek/react,Simek/react,facebook/react,jzmq/react,TheBlasfem/react,VioletLife/react,acdlite/react,anushreesubramani/react,dilidili/react,STRML/react,VioletLife/react,yiminghe/react,billfeller/react,rickbeerendonk/react,chicoxyzzy/react,anushreesubramani/react,krasimir/react,mjackson/react,jdlehman/react,tomocchino/react,chenglou/react,kaushik94/react,mjackson/react,trueadm/react,kaushik94/react,cpojer/react,facebook/react,VioletLife/react,chenglou/react,flarnie/react,tomocchino/react,facebook/react,nhunzaker/react,camsong/react,STRML/react,cpojer/react,jzmq/react,aickin/react,dilidili/react,glenjamin/react,kaushik94/react,cpojer/react,facebook/react,mosoft521/react,apaatsio/react,trueadm/react,VioletLife/react,prometheansacrifice/react,billfeller/react,glenjamin/react,jorrit/react,yungsters/react,billfeller/react,mosoft521/react,jorrit/react,tomocchino/react,chenglou/react,terminatorheart/react,acdlite/react,yiminghe/react,STRML/react,flarnie/react,jameszhan/react,aickin/react,cpojer/react,kaushik94/react,mosoft521/react,jameszhan/react,camsong/react,krasimir/react,yiminghe/react,jdlehman/react,krasimir/react,syranide/react,chenglou/react,mosoft521/react,acdlite/react,ericyang321/react,jameszhan/react,anushreesubramani/react,rricard/react,terminatorheart/react,cpojer/react,facebook/react,roth1002/react,flarnie/react,nhunzaker/react,mjackson/react,rricard/react,empyrical/react,roth1002/react,dilidili/react,STRML/react,glenjamin/react,krasimir/react,apaatsio/react,ArunTesco/react,rickbeerendonk/react,rricard/react,yungsters/react,camsong/react,cpojer/react,chenglou/react,jzmq/react,mosoft521/react,terminatorheart/react,terminatorheart/react,anushreesubramani/react,nhunzaker/react,nhunzaker/react,mosoft521/react,mosoft521/react,camsong/react,jorrit/react,ericyang321/react,rricard/react,jameszhan/react,rricard/react,jorrit/react,ArunTesco/react,jdlehman/react,dilidili/react,tomocchino/react,yungsters/react,jdlehman/react,STRML/react,mjackson/react,billfeller/react,TheBlasfem/react,yiminghe/react,Simek/react,billfeller/react,camsong/react,prometheansacrifice/react,flarnie/react,chicoxyzzy/react,prometheansacrifice/react,flarnie/react,yungsters/react,syranide/react,jameszhan/react,tomocchino/react,jzmq/react,yiminghe/react,ericyang321/react,jameszhan/react,apaatsio/react,apaatsio/react,aickin/react,flarnie/react,jzmq/react,yungsters/react,roth1002/react,terminatorheart/react,tomocchino/react,jzmq/react,empyrical/react,camsong/react,rickbeerendonk/react,facebook/react,roth1002/react,terminatorheart/react,dilidili/react,nhunzaker/react,roth1002/react,TheBlasfem/react,acdlite/react,flarnie/react,kaushik94/react,prometheansacrifice/react,chenglou/react,mjackson/react,yungsters/react,mjackson/react,rickbeerendonk/react,glenjamin/react,syranide/react,glenjamin/react,aickin/react,chicoxyzzy/react,billfeller/react,TheBlasfem/react,jorrit/react,STRML/react,acdlite/react,STRML/react,empyrical/react,ericyang321/react,aickin/react,billfeller/react,yungsters/react,jdlehman/react,empyrical/react,Simek/react,krasimir/react,acdlite/react,prometheansacrifice/react,dilidili/react,aickin/react,syranide/react,VioletLife/react,ArunTesco/react,jorrit/react,krasimir/react,trueadm/react,VioletLife/react,apaatsio/react,prometheansacrifice/react,anushreesubramani/react,yiminghe/react,nhunzaker/react,dilidili/react,rickbeerendonk/react,ericyang321/react,chicoxyzzy/react,kaushik94/react,jzmq/react,chicoxyzzy/react,jdlehman/react,Simek/react,empyrical/react,jameszhan/react,chicoxyzzy/react,krasimir/react,aickin/react,roth1002/react,rickbeerendonk/react,apaatsio/react,apaatsio/react,TheBlasfem/react,Simek/react,trueadm/react,anushreesubramani/react,trueadm/react,empyrical/react,trueadm/react,ericyang321/react,camsong/react,anushreesubramani/react,empyrical/react,Simek/react,kaushik94/react,TheBlasfem/react