From b2aecd4320d131d6cb5ee086804042a21335962f Mon Sep 17 00:00:00 2001 From: Chris Cowan Date: Fri, 26 Feb 2016 08:57:34 -0800 Subject: [PATCH] Fix arrow style issue --- .../babel-plugin-transform-es2015-duplicate-keys/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-plugin-transform-es2015-duplicate-keys/src/index.js b/packages/babel-plugin-transform-es2015-duplicate-keys/src/index.js index 7bfc68a785..be9fab7851 100644 --- a/packages/babel-plugin-transform-es2015-duplicate-keys/src/index.js +++ b/packages/babel-plugin-transform-es2015-duplicate-keys/src/index.js @@ -12,7 +12,7 @@ export default function() { visitor: { ObjectExpression(path) { const { node } = path; - const plainProps = node.properties.filter(prop => !t.isSpreadProperty(prop) && !prop.computed); + const plainProps = node.properties.filter((prop) => !t.isSpreadProperty(prop) && !prop.computed); const alreadySeenNames = Object.create(null);