From 445984f2730a697450538ca00741b43b43b975cf Mon Sep 17 00:00:00 2001 From: Emmanuel Chambon Date: Mon, 22 Feb 2021 18:38:17 +0100 Subject: [PATCH] fix: do not need to specify syntax now --- packages/eslint-config-react/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/eslint-config-react/index.js b/packages/eslint-config-react/index.js index 51997ba37..554ae9ff1 100644 --- a/packages/eslint-config-react/index.js +++ b/packages/eslint-config-react/index.js @@ -1,6 +1,5 @@ module.exports = { - extends: ['airbnb', 'airbnb/hooks', 'prettier', 'prettier/react'], - parser: '@babel/eslint-parser', + extends: ['airbnb', 'airbnb/hooks', 'prettier'], env: { browser: true, jest: true, @@ -36,6 +35,6 @@ module.exports = { 'react/jsx-no-script-url': 'error', 'react/jsx-no-useless-fragment': 'error', 'react/no-adjacent-inline-elements': 'error', - 'react/jsx-no-constructed-context-values': 'warn' + 'react/jsx-no-constructed-context-values': 'warn', }, }