From a0683b0a92fc5268b5720f54ad5a6005453a5cdf Mon Sep 17 00:00:00 2001 From: Samuel Scheiderich Date: Wed, 27 Feb 2019 14:21:50 -0500 Subject: [PATCH] Added shared settings info, React version default note fix for #2169 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c247d82d45..ed7797bbfb 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Use [our preset](#recommended) to get reasonable defaults: ] ``` -You should also specify settings that will be shared across all the plugin rules. +You should also specify settings that will be shared across all the plugin rules. ([More about eslint shared settings](https://eslint.org/docs/user-guide/configuring#adding-shared-settings)) ```json5 { @@ -41,6 +41,8 @@ You should also specify settings that will be shared across all the plugin rules "pragma": "React", // Pragma to use, default to "React" "version": "detect", // React version. "detect" automatically picks the version you have installed. // You can also use `16.0`, `16.3`, etc, if you want to override the detected value. + // default to latest and warns if missing + // It will default to "detect" in the future "flowVersion": "0.53" // Flow version }, "propWrapperFunctions": [