From c7ff60394c9565305c216b1d6ea9d833a978fbe5 Mon Sep 17 00:00:00 2001 From: Chris Watson Date: Thu, 15 Sep 2016 16:27:04 -0400 Subject: [PATCH 1/2] chore: temp fix for upstream eslint-plugin-import issue --- .eslintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index b64d7733f..129f5ed86 100644 --- a/.eslintrc +++ b/.eslintrc @@ -20,7 +20,8 @@ "prefer-reflect": 2, "no-warning-comments": [1, { "terms": ["todo", "fixme"], "location": "start" }], "react/sort-comp": 0, - "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], + "react/require-extension": "off", + "import/extensions": [1, { "js": "never", "jsx": "never" }], "import/no-unresolved": [2, { "ignore": ["ava"] }], "import/no-extraneous-dependencies": [0], "no-param-reassign": 0 From c7dadc35086021a9470d61733a2a6f245b28c552 Mon Sep 17 00:00:00 2001 From: Chris Watson Date: Thu, 15 Sep 2016 16:51:26 -0400 Subject: [PATCH 2/2] fix: remove unnecessary jsx extension rule --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 129f5ed86..3dac29b0a 100644 --- a/.eslintrc +++ b/.eslintrc @@ -21,7 +21,7 @@ "no-warning-comments": [1, { "terms": ["todo", "fixme"], "location": "start" }], "react/sort-comp": 0, "react/require-extension": "off", - "import/extensions": [1, { "js": "never", "jsx": "never" }], + "import/extensions": [1, { "js": "never" }], "import/no-unresolved": [2, { "ignore": ["ava"] }], "import/no-extraneous-dependencies": [0], "no-param-reassign": 0