Skip to content

Commit 44ea03c

Browse files
committed
Update flow config for RN 0.43.
1 parent b7c273d commit 44ea03c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

RELEASES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Easiest way to do this, is:
2727
1. Use [this handy chart](VERSIONS.md) to find out the underlying `react-native` versions of the old and new `expo-sdk`.
2828
2. Get `react-native` .flowconfig changeset in the React Native repo with `git diff tags/v0.41.0 tags/v0.42.0 -- local-cli/templates/HelloWorld/_flowconfig`
2929
3. If there are changes, land diff to CRNA [.flowconfig](react-native-scripts/template/.flowconfig) template
30-
4. To test, follow instructions in [README/Adding Flow](react-native-scripts/README.md#adding-flow) on a freshly generated project, and do `npm run flow` to ensure the process exits without error.
30+
4. To test, follow instructions in [README/Adding Flow](react-native-scripts/template/README.md#adding-flow) on a freshly generated project, and do `npm run flow` to ensure the process exits without error.
3131
5. If there are new issues with third-party dependencies, fix them upstream or add necessary `[ignore]` fields to .flowconfig.
3232

3333
## Clean, Build, Pack, Test, Publish

react-native-scripts/template/.flowconfig

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ suppress_type=$FlowIssue
5252
suppress_type=$FlowFixMe
5353
suppress_type=$FixMe
5454

55-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-8]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
56-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-8]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
55+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
56+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
5757
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
58+
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
5859

5960
unsafe.enable_getters_and_setters=true
6061

6162
[version]
62-
^0.38.0
63+
^0.40.0

0 commit comments

Comments
 (0)