From 5e6620aa35c29bf4ee1c535e469c09f4b856b744 Mon Sep 17 00:00:00 2001 From: Kishin Yagami Date: Mon, 20 Mar 2017 19:57:34 +0900 Subject: [PATCH] Fix eslint-plugin-react version It seems 6.10.1-2 has the bug, so temporarily fix the version (https://github.com/yannickcr/eslint-plugin-react/issues/1117) --- packages/frontend/.eslintrc | 6 ++++-- packages/frontend/package.json | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/frontend/.eslintrc b/packages/frontend/.eslintrc index 401df73c..44ae31d8 100644 --- a/packages/frontend/.eslintrc +++ b/packages/frontend/.eslintrc @@ -2,12 +2,14 @@ "parser" : "babel-eslint", "extends" : [ "standard", - "standard-react" + "standard-react", + "standard-jsx" ], "plugins": [ "babel", "react", - "promise" + "promise", + "standard" ], "env" : { "browser" : true diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 0584653f..838b2a62 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -138,11 +138,12 @@ "enzyme": "^2.0.0", "eslint": "^3.0.1", "eslint-config-standard": "^5.1.0", + "eslint-config-standard-jsx": "^3.3.0", "eslint-config-standard-react": "^3.0.0", "eslint-plugin-babel": "^3.2.0", "eslint-plugin-promise": "^2.0.0", - "eslint-plugin-react": "^6.0.0", - "eslint-plugin-standard": "^2.0.0", + "eslint-plugin-react": "6.10.0", + "eslint-plugin-standard": "^2.1.1", "fetch-mock": "^5.5.0", "isparta-loader": "^2.0.0", "karma": "^1.0.0",