From aa83a0be4b2c0172f09aa7d21cad42652c5f0564 Mon Sep 17 00:00:00 2001 From: "Sakamoto, Kazunori" Date: Wed, 20 May 2020 13:37:17 +0900 Subject: [PATCH] docs: mention prettier in eslint-config README The combination of `eslint` (v7.0.0), `@react-native-community/eslint-config` (v1.1.0), and `flow-typed` (v3.1.0) causes an error where `ESLint couldn't find the plugin "eslint-plugin-prettier"` because `flow-typed` depends on `prettier: ^1.19.1` (c.f. https://github.com/flow-typed/flow-typed/blob/master/cli/package.json#L38) --- packages/eslint-config-react-native-community/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-react-native-community/README.md b/packages/eslint-config-react-native-community/README.md index d0dd6a118d3c..367ab70030de 100644 --- a/packages/eslint-config-react-native-community/README.md +++ b/packages/eslint-config-react-native-community/README.md @@ -5,7 +5,7 @@ ## Installation ``` -yarn add --dev eslint @react-native-community/eslint-config +yarn add --dev eslint prettier @react-native-community/eslint-config ``` *Note: We're using `yarn` to install deps. Feel free to change commands to use `npm` 3+ and `npx` if you like*