diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js index 7d2e716956a8e79f5f4167268046af7f04c04f3a..f359dacdb198f2b600263798f625c59090cc2309 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -39,12 +39,10 @@ module.exports = { }, parserOptions: { - ecmaVersion: 6, + ecmaVersion: 2018, sourceType: 'module', ecmaFeatures: { jsx: true, - generators: true, - experimentalObjectRestSpread: true, }, }, @@ -53,7 +51,7 @@ module.exports = { 'array-callback-return': 'warn', 'default-case': ['warn', { commentPattern: '^no default$' }], 'dot-location': ['warn', 'property'], - eqeqeq: ['warn', 'allow-null'], + eqeqeq: ['warn', 'smart'], 'new-parens': 'warn', 'no-array-constructor': 'warn', 'no-caller': 'warn',