@samitouri / QOS-React-2 / commits / 36d1a271c4

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

Paul O’Shannessy committed Jun 3, 2016 at 12:46 UTC 36d1a271c4788421225574f3b65b33c3fe2b1712
2 files changed +5 -2
.flowconfig
+4 -1
@@ -1,5 +1,6 @@
1 [ignore]
2
3 +.*/examples/.*
4 .*/build/.*
5 .*/node_modules/y18n/.*
6 .*/__mocks__/.*
@@ -20,6 +21,8 @@ module.system=haste
21 esproposal.class_static_fields=enable
22 esproposal.class_instance_fields=enable
23
24 +experimental.strict_type_args=true
25 +
26 munge_underscores=false
27
28 suppress_type=$FlowIssue
@@ -31,4 +34,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-4]\\|1[0-9]\\|[0-9
34 suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
35
36 [version]
34 -^0.24.0
37 +^0.26.0
package.json
+1 -1
@@ -43,7 +43,7 @@
43 "eslint-plugin-react-internal": "file:eslint-rules",
44 "fbjs": "^0.8.1",
45 "fbjs-scripts": "^0.6.0",
46 - "flow-bin": "^0.24.0",
46 + "flow-bin": "^0.26.0",
47 "glob": "^6.0.1",
48 "grunt": "^0.4.5",
49 "grunt-cli": "^0.1.13",