Fix arrow style issue

This commit is contained in:
Chris Cowan
2016-02-26 08:57:34 -08:00
parent f01eaa8e47
commit b2aecd4320

View File

@@ -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);