Skip to content

Commit

Permalink
Remove already fixed workaround (babel/babel-eslint#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Aug 2, 2017
1 parent bc9b695 commit 15e2aa0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions eslint/babel-eslint-parser/babylon-to-espree/toAST.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ var astTransformVisitor = {
node.type = "Literal";
}

// TODO estree plugin bug
if (node.type === "Property") {
if (!node.shorthand) node.shorthand = false;
}

if (
path.isRestElement() &&
path.parent &&
Expand Down

0 comments on commit 15e2aa0

Please sign in to comment.