From 455a9251bf52e52d51df1648be5766c639acfbc2 Mon Sep 17 00:00:00 2001 From: Ninja-Recai Date: Wed, 5 Sep 2018 18:50:12 +0200 Subject: [PATCH] Fix ESLint airbnb/react-app conflict - Give up code style linting in favor of CRA's linting methods. For the cause visit (https://github.com/facebook/create-react-app/issues/3540) --- client/.eslintrc | 1 - client/package.json | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/client/.eslintrc b/client/.eslintrc index 873f84f..3eb9136 100644 --- a/client/.eslintrc +++ b/client/.eslintrc @@ -1,7 +1,6 @@ { "parser": "babel-eslint", "extends": [ - "airbnb", "plugin:react/recommended", "plugin:jest/recommended", "react-app" diff --git a/client/package.json b/client/package.json index 6c79fbe..c2e7196 100644 --- a/client/package.json +++ b/client/package.json @@ -3,6 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { + "ajv": "^6.5.3", "prop-types": "^15.6.2", "ramda": "^0.25.0", "react": "^16.4.2", @@ -24,17 +25,16 @@ "lint": "eslint ." }, "devDependencies": { - "babel-eslint": "^9.0.0", + "babel-eslint": "^7.2.3", "babel-plugin-module-resolver": "^3.1.1", "enzyme": "^3.5.0", "enzyme-adapter-react-16": "^1.3.1", - "eslint": "^5.5.0", - "eslint-config-airbnb": "^17.1.0", + "eslint": "^4.19.1", "eslint-config-react-app": "^2.1.0", "eslint-import-resolver-babel-module": "^4.0.0", "eslint-plugin-import": "^2.14.0", "eslint-plugin-jest": "^21.22.0", - "eslint-plugin-jsx-a11y": "^6.1.1", + "eslint-plugin-jsx-a11y": "^5.1.1", "eslint-plugin-react": "^7.11.1", "react-fake-props": "^0.2.1" }