diff --git a/.eslintrc b/.eslintrc index 4520d9bdc..8fb2babd3 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,11 +1,12 @@ { - "parser": "babel-eslint", "extends": ["eslint:recommended", "prettier"], - "env": { "es6": true, "browser": true, "node": true, "jest": true }, + "parserOptions": { + "sourceType": "module", + "ecmaFeatures": { "jsx": true } + }, + "env": { "browser": true, "node": true, "es2020": true, "jest": true }, "settings": { - "react": { - "version": "detect" - } + "react": { "version": "detect" } }, "overrides": [ { @@ -20,9 +21,6 @@ "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended", - "prettier/react", - "prettier/standard", - "prettier/@typescript-eslint", "plugin:react-hooks/recommended" ], "plugins": ["@typescript-eslint", "prettier"],