prettier/tests/flow/declare_export
Davy Duperron 008ac1c479 Fix files with comments only (#813)
* Add new handleOnlyComments function.

* Update tests.

* Update test as the printer forces a trailing newline if there were any contents.

* Implement a different heuristic.

* Update tests.

* Add directives checking in handleOnlyComments function.

* Add directives checking in handleOnlyComments function (amend to retrigger CI).

* Remove duplicate.
2017-03-07 11:02:45 -08:00
..
__snapshots__ Fix files with comments only (#813) 2017-03-07 11:02:45 -08:00
B.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
C.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
CommonJS_Clobbering_Class.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
CommonJS_Clobbering_Lit.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
CommonJS_Named.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_DefaultAndNamed.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_Default_AnonFunction1.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_Default_AnonFunction2.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_Default_NamedClass1.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_Default_NamedClass2.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_Default_NamedFunction1.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_Default_NamedFunction2.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_ExportAllFromMulti.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_ExportAllFrom_Intermediary1.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_ExportAllFrom_Intermediary2.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_ExportAllFrom_Source1.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_ExportAllFrom_Source2.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_ExportFrom_Intermediary1.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_ExportFrom_Intermediary2.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_ExportFrom_Source1.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_ExportFrom_Source2.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_Named1.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ES6_Named2.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ProvidesModuleA.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ProvidesModuleCJSDefault.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ProvidesModuleD.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
ProvidesModuleES6Default.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
SideEffects.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
es6modules.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
jsfmt.spec.js Move tests around (#454) 2017-01-24 14:35:37 -08:00