From 15e2aa0a2438c1bd8f827dfd26ede8fa1f495acc Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Wed, 2 Aug 2017 14:37:01 +0200 Subject: [PATCH] Remove already fixed workaround (babel/babel-eslint#508) --- eslint/babel-eslint-parser/babylon-to-espree/toAST.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/eslint/babel-eslint-parser/babylon-to-espree/toAST.js b/eslint/babel-eslint-parser/babylon-to-espree/toAST.js index 7e3e6876fc..07351b135b 100644 --- a/eslint/babel-eslint-parser/babylon-to-espree/toAST.js +++ b/eslint/babel-eslint-parser/babylon-to-espree/toAST.js @@ -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 &&