Skip to content

Commit b7f0b02

Browse files
authored
Merge pull request #2180 from samsch/patch-2
[Docs] Added shared settings info, React version default note Fixes #2169.
2 parents 6835d8b + a0683b0 commit b7f0b02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Use [our preset](#recommended) to get reasonable defaults:
3030
]
3131
```
3232

33-
You should also specify settings that will be shared across all the plugin rules.
33+
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))
3434

3535
```json5
3636
{
@@ -41,6 +41,8 @@ You should also specify settings that will be shared across all the plugin rules
4141
"pragma": "React", // Pragma to use, default to "React"
4242
"version": "detect", // React version. "detect" automatically picks the version you have installed.
4343
// You can also use `16.0`, `16.3`, etc, if you want to override the detected value.
44+
// default to latest and warns if missing
45+
// It will default to "detect" in the future
4446
"flowVersion": "0.53" // Flow version
4547
},
4648
"propWrapperFunctions": [

0 commit comments

Comments
 (0)