88; Ignore polyfills
99node_modules/react-native/Libraries/polyfills/.*
1010
11- ; These should not be required directly
12- ; require from fbjs/lib instead: require('fbjs/lib/warning')
13- node_modules/warning/.*
14-
1511; Flow doesn't support platforms
1612.*/Libraries/Utilities/LoadingView.js
1713
@@ -21,7 +17,7 @@ node_modules/warning/.*
2117[include]
2218
2319[libs]
24- node_modules/react-native/Libraries/react-native/react-native- interface.js
20+ node_modules/react-native/interface.js
2521node_modules/react-native/flow/
2622
2723[options]
@@ -30,25 +26,22 @@ emoji=true
3026esproposal.optional_chaining=enable
3127esproposal.nullish_coalescing=enable
3228
29+ exact_by_default=true
30+
3331module.file_ext=.js
3432module.file_ext=.json
3533module.file_ext=.ios.js
3634
3735munge_underscores=true
3836
39- module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
4037module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
41- module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
38+ module.name_mapper='^@? [./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
4239
4340suppress_type=$FlowIssue
4441suppress_type=$FlowFixMe
4542suppress_type=$FlowFixMeProps
4643suppress_type=$FlowFixMeState
4744
48- suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
49- suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
50- suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
51-
5245[lints]
5346sketchy-null-number=warn
5447sketchy-null-mixed=warn
@@ -57,10 +50,8 @@ untyped-type-import=warn
5750nonstrict-import=warn
5851deprecated-type=warn
5952unsafe-getters-setters=warn
60- inexact-spread=warn
6153unnecessary-invariant=warn
6254signature-verification-failure=warn
63- deprecated-utility=error
6455
6556[strict]
6657deprecated-type
@@ -72,4 +63,4 @@ untyped-import
7263untyped-type-import
7364
7465[version]
75- ^0.105 .0
66+ ^0.137 .0
0 commit comments