diff --git a/.babelrc b/.babelrc index 3c078e9f99..8198660c8b 100644 --- a/.babelrc +++ b/.babelrc @@ -1,5 +1,6 @@ { "presets": [ "es2015" - ] + ], + "plugins": ["syntax-trailing-function-commas"] } diff --git a/package.json b/package.json index 689110c01b..d1873b4af8 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "babel-istanbul": "^0.6.0", "babel-preset-es2015": "^6.5.0", "babel-register": "^6.5.1", + "babel-plugin-syntax-trailing-function-commas": "^6.5.0", "codecov": "^1.0.1", "deep-diff": "^0.3.3", "jasmine": "^2.3.2",