Skip to content

Commit 89c2228

Browse files
committed
update flow
1 parent 4d6f339 commit 89c2228

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.flowconfig

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[ignore]
22

33
# We fork some components by platform.
4-
.*/*.android.js
4+
.*/*[.]android.js
55

66
# Ignore templates with `@flow` in header
77
.*/local-cli/generator.*
@@ -23,7 +23,6 @@
2323
.*/Libraries/react-native/React.js
2424
.*/Libraries/react-native/ReactNative.js
2525
.*/node_modules/jest-runtime/build/__tests__/.*
26-
.*/react/.*/fbjs
2726

2827
[include]
2928

@@ -34,7 +33,6 @@ flow/
3433

3534
[options]
3635
module.system=haste
37-
module.ignore_non_literal_requires=true
3836

3937
esproposal.class_static_fields=enable
4038
esproposal.class_instance_fields=enable
@@ -50,11 +48,11 @@ suppress_type=$FlowIssue
5048
suppress_type=$FlowFixMe
5149
suppress_type=$FixMe
5250

53-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-9]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
54-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-9]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
51+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(30\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
52+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(30\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
5553
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
5654

5755
unsafe.enable_getters_and_setters=true
5856

5957
[version]
60-
^0.29.0
58+
^0.30.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@
6060
"eslint-plugin-babel": "3.3.0",
6161
"eslint-plugin-flowtype": "2.11.4",
6262
"eslint-plugin-react": "6.1.2",
63-
"flow-bin": "0.29.0"
63+
"flow-bin": "0.30.0"
6464
}
6565
}

0 commit comments

Comments
 (0)