Skip to content

Commit

Permalink
[Docs] update README to document React version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsinulhaq authored and ljharb committed Jan 3, 2019
1 parent dd0757f commit 40f2565
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -39,7 +39,8 @@ You should also specify settings that will be shared across all the plugin rules
"createClass": "createReactClass", // Regex for Component Factory to use,
// default to "createReactClass"
"pragma": "React", // Pragma to use, default to "React"
"version": "15.0", // React version, default to the latest React stable release
"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.
"flowVersion": "0.53" // Flow version
},
"propWrapperFunctions": [
Expand Down

0 comments on commit 40f2565

Please sign in to comment.