Remove already fixed workaround (babel/babel-eslint#508)

This commit is contained in:
Daniel Tschinder 2017-08-02 14:37:01 +02:00
parent bc9b69590b
commit 15e2aa0a24

View File

@ -50,11 +50,6 @@ var astTransformVisitor = {
node.type = "Literal"; node.type = "Literal";
} }
// TODO estree plugin bug
if (node.type === "Property") {
if (!node.shorthand) node.shorthand = false;
}
if ( if (
path.isRestElement() && path.isRestElement() &&
path.parent && path.parent &&