Skip to content

Commit a0683b0

Browse files
authored
Added shared settings info, React version default note fix for #2169
1 parent 4a72e6a commit a0683b0

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)