From 76e5d1d9daffde4d627eb2c68a48d1814e5a5aff Mon Sep 17 00:00:00 2001 From: Vaillant Samuel Date: Sat, 23 Jun 2018 18:51:10 +0200 Subject: [PATCH] feat: replace experimentalObjectRestSpread for ecmaVersion --- base.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/base.js b/base.js index 0237cd9c..ee9abf99 100644 --- a/base.js +++ b/base.js @@ -7,10 +7,9 @@ module.exports = { }, parser: 'babel-eslint', // allows both flowtype and static class properties parserOptions: { - ecmaVersion: 6, + ecmaVersion: 2018, sourceType: 'module', ecmaFeatures: { - experimentalObjectRestSpread: true, impliedStrict: true, jsx: true, },