diff --git a/package.json b/package.json index 59d37274..60accdfd 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "eslint-plugin-flowtype": "^2.34.0", "eslint-plugin-import": "^2.3.0", "eslint-plugin-jsx-a11y": "^5.0.3", + "eslint-plugin-prettier": "^2.2.0", "eslint-plugin-react": "^7.1.0", "eslint-tap": "^2.0.1", "execa": "^0.7.0", diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 9bcd7a19..540aa8e4 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -20,6 +20,7 @@ "eslint-plugin-flowtype": "^2.35.0", "eslint-plugin-import": "^2.7.0", "eslint-plugin-jsx-a11y": "^6.0.2", + "eslint-plugin-prettier": "^2.2.0", "eslint-plugin-react": "^7.3.0" }, "peerDependencies": { @@ -31,6 +32,7 @@ "eslint-plugin-flowtype": "^2.35.0", "eslint-plugin-import": "^2.7.0", "eslint-plugin-jsx-a11y": "^6.0.2", + "eslint-plugin-prettier": "^2.2.0", "eslint-plugin-react": "^7.3.0" } } diff --git a/yarn.lock b/yarn.lock index 478f1583..158e03e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4168,6 +4168,13 @@ eslint-plugin-jsx-a11y@^6.0.2: emoji-regex "^6.1.0" jsx-ast-utils "^1.4.0" +eslint-plugin-prettier@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.2.0.tgz#f2837ad063903d73c621e7188fb3d41486434088" + dependencies: + fast-diff "^1.1.1" + jest-docblock "^20.0.1" + eslint-plugin-react@7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.1.0.tgz#27770acf39f5fd49cd0af4083ce58104eb390d4c" @@ -6454,7 +6461,7 @@ jest-diff@^20.0.3: jest-matcher-utils "^20.0.3" pretty-format "^20.0.3" -jest-docblock@^20.0.3: +jest-docblock@^20.0.1, jest-docblock@^20.0.3: version "20.0.3" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712"