Remove whitespace generation (#5833)
* Remove whitespace generation and rely on default printing Changes to printing: * Add newline after last empty SwitchCase * Add newlines around block comments if they are non-flow comments or contain newlines * Fix a few more fixtures
This commit is contained in:
committed by
Brian Ng
parent
bc29145465
commit
b3372a572d
@@ -1,7 +1,6 @@
|
||||
export var MyClass = function MyClass() {
|
||||
babelHelpers.classCallCheck(this, MyClass);
|
||||
};
|
||||
|
||||
MyClass.property = value;
|
||||
|
||||
var MyClass2 = function MyClass2() {
|
||||
@@ -9,4 +8,4 @@ var MyClass2 = function MyClass2() {
|
||||
};
|
||||
|
||||
MyClass2.property = value;
|
||||
export { MyClass2 as default };
|
||||
export { MyClass2 as default };
|
||||
@@ -5,10 +5,9 @@ var Foo = function (_Bar) {
|
||||
var _temp, _this;
|
||||
|
||||
babelHelpers.classCallCheck(this, Foo);
|
||||
|
||||
foo((_temp = (_this = babelHelpers.possibleConstructorReturn(this, (Foo.__proto__ || Object.getPrototypeOf(Foo)).call(this)), _this), _this.bar = "foo", _temp));
|
||||
return _this;
|
||||
}
|
||||
|
||||
return Foo;
|
||||
}(Bar);
|
||||
}(Bar);
|
||||
Reference in New Issue
Block a user