diff --git a/ui/webui/.eslintrc.json b/ui/webui/.eslintrc.json index 5ed4efdaf1f..44a9de761e1 100644 --- a/ui/webui/.eslintrc.json +++ b/ui/webui/.eslintrc.json @@ -4,7 +4,7 @@ "browser": true, "es6": true }, - "extends": ["eslint:recommended", "standard", "standard-react", "plugin:react/recommended"], + "extends": ["eslint:recommended", "standard", "standard-jsx", "standard-react"], "parser": "@babel/eslint-parser", "parserOptions": { "ecmaVersion": "7", diff --git a/ui/webui/package.json b/ui/webui/package.json index 3ba332a4f45..878c989a0b7 100644 --- a/ui/webui/package.json +++ b/ui/webui/package.json @@ -25,6 +25,7 @@ "deep-equal": "2.0.5", "eslint": "^7.10.0", "eslint-config-standard": "^16.0.3", + "eslint-config-standard-jsx": "^10.0.0", "eslint-config-standard-react": "^11.0.1", "eslint-plugin-flowtype": "^5.2.0", "eslint-plugin-import": "^2.22.1",