mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Upgrade to flow 0.26 & match internal config with strict args
Also ignore examples, important because react can be installed by the commonjs one and the modules will get detected there too, resulting in duplicate definitions
This commit is contained in:
+4
-1
@@ -1,5 +1,6 @@
|
||||
[ignore]
|
||||
|
||||
.*/examples/.*
|
||||
.*/build/.*
|
||||
.*/node_modules/y18n/.*
|
||||
.*/__mocks__/.*
|
||||
@@ -20,6 +21,8 @@ module.system=haste
|
||||
esproposal.class_static_fields=enable
|
||||
esproposal.class_instance_fields=enable
|
||||
|
||||
experimental.strict_type_args=true
|
||||
|
||||
munge_underscores=false
|
||||
|
||||
suppress_type=$FlowIssue
|
||||
@@ -31,4 +34,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-4]\\|1[0-9]\\|[0-9
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||
|
||||
[version]
|
||||
^0.24.0
|
||||
^0.26.0
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@
|
||||
"eslint-plugin-react-internal": "file:eslint-rules",
|
||||
"fbjs": "^0.8.1",
|
||||
"fbjs-scripts": "^0.6.0",
|
||||
"flow-bin": "^0.24.0",
|
||||
"flow-bin": "^0.26.0",
|
||||
"glob": "^6.0.1",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-cli": "^0.1.13",
|
||||
|
||||
Reference in New Issue
Block a user