From c870aa85854b2502ab8af9b2dd9264d4293725cc Mon Sep 17 00:00:00 2001 From: Aleksei Androsov Date: Tue, 29 Aug 2017 08:58:55 +0300 Subject: [PATCH 1/2] Fix peer deps for eslint-config-airbnb@15.1.0 It requires "eslint-plugin-jsx-a11y": "^5.1.1", "eslint-plugin-react": "^7.3.0", --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 49eb540..4c29139 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "eslint": "^4.3.0", "eslint-config-airbnb": "15.1.0", "eslint-plugin-import": "^2.0.0", - "eslint-plugin-jsx-a11y": "5.1.0", - "eslint-plugin-react": "7.0.1", + "eslint-plugin-jsx-a11y": "^5.1.1", + "eslint-plugin-react": "^7.3.0", "istanbul": "0.4.5", "mocha": "3.4.1" }, From 36d9096d10ac8b54faa191c9037c08a1b5a096c9 Mon Sep 17 00:00:00 2001 From: Aleksei Androsov Date: Tue, 29 Aug 2017 08:54:27 +0300 Subject: [PATCH 2/2] Fix "no-unused-styles" suite name otherwise validations schema is leaked to 'split-platform-components' --- tests/lib/rules/no-unused-styles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/rules/no-unused-styles.js b/tests/lib/rules/no-unused-styles.js index 1658b89..90c5411 100644 --- a/tests/lib/rules/no-unused-styles.js +++ b/tests/lib/rules/no-unused-styles.js @@ -236,4 +236,4 @@ const config = { tests.valid.forEach(t => Object.assign(t, config)); tests.invalid.forEach(t => Object.assign(t, config)); -ruleTester.run('split-platform-components', rule, tests); +ruleTester.run('no-unused-styles', rule, tests);