prettier/tests/declare_export
Christopher Chedeau 789a3029f4 Remove +1 from newline detection (#261)
* Remove +1 from newline detection

All the changes are related to spurious `;`. Sometimes the logic is more correct, sometimes less. Since `;` are going to be removed after the first save, I don't think it matters that much.

* Handle inconsistent `end` node locations when looking for newlines
2017-01-17 22:33:55 -05:00
..
__snapshots__ Remove +1 from newline detection (#261) 2017-01-17 22:33:55 -05:00
B.js Add testing 2016-12-23 19:51:53 +00:00
C.js Add testing 2016-12-23 19:51:53 +00:00
CommonJS_Clobbering_Class.js Add testing 2016-12-23 19:51:53 +00:00
CommonJS_Clobbering_Lit.js Add testing 2016-12-23 19:51:53 +00:00
CommonJS_Named.js Add testing 2016-12-23 19:51:53 +00:00
ES6_DefaultAndNamed.js Add testing 2016-12-23 19:51:53 +00:00
ES6_Default_AnonFunction1.js Add testing 2016-12-23 19:51:53 +00:00
ES6_Default_AnonFunction2.js Add testing 2016-12-23 19:51:53 +00:00
ES6_Default_NamedClass1.js Add testing 2016-12-23 19:51:53 +00:00
ES6_Default_NamedClass2.js Add testing 2016-12-23 19:51:53 +00:00
ES6_Default_NamedFunction1.js Add testing 2016-12-23 19:51:53 +00:00
ES6_Default_NamedFunction2.js Add testing 2016-12-23 19:51:53 +00:00
ES6_ExportAllFromMulti.js Add testing 2016-12-23 19:51:53 +00:00
ES6_ExportAllFrom_Intermediary1.js Add testing 2016-12-23 19:51:53 +00:00
ES6_ExportAllFrom_Intermediary2.js Add testing 2016-12-23 19:51:53 +00:00
ES6_ExportAllFrom_Source1.js Add testing 2016-12-23 19:51:53 +00:00
ES6_ExportAllFrom_Source2.js Add testing 2016-12-23 19:51:53 +00:00
ES6_ExportFrom_Intermediary1.js Add testing 2016-12-23 19:51:53 +00:00
ES6_ExportFrom_Intermediary2.js Add testing 2016-12-23 19:51:53 +00:00
ES6_ExportFrom_Source1.js Add testing 2016-12-23 19:51:53 +00:00
ES6_ExportFrom_Source2.js Add testing 2016-12-23 19:51:53 +00:00
ES6_Named1.js Add testing 2016-12-23 19:51:53 +00:00
ES6_Named2.js Add testing 2016-12-23 19:51:53 +00:00
ProvidesModuleA.js Add testing 2016-12-23 19:51:53 +00:00
ProvidesModuleCJSDefault.js Add testing 2016-12-23 19:51:53 +00:00
ProvidesModuleD.js Add testing 2016-12-23 19:51:53 +00:00
ProvidesModuleES6Default.js Add testing 2016-12-23 19:51:53 +00:00
SideEffects.js Add testing 2016-12-23 19:51:53 +00:00
es6modules.js Add testing 2016-12-23 19:51:53 +00:00
jsfmt.spec.js Add testing 2016-12-23 19:51:53 +00:00