3
3
.*/*[.]android.js
4
4
5
5
; Ignore templates for 'react-native init'
6
- <PROJECT_ROOT>/node_modules/react-native/local-cli/templates/.*
7
-
8
- ; Ignore RN jest
9
- <PROJECT_ROOT>/node_modules/react-native/jest/.*
10
-
11
- ; Ignore RNTester
12
- <PROJECT_ROOT>/node_modules/react-native/RNTester/.*
13
-
14
- ; Ignore the website subdir
15
- <PROJECT_ROOT>/node_modules/react-native/website/.*
6
+ .*/local-cli/templates/.*
16
7
17
8
; Ignore the Dangerfile
18
- <PROJECT_ROOT>/node_modules/react-native/danger/dangerfile.js
19
-
20
- ; Ignore Fbemitter
21
- <PROJECT_ROOT>/node_modules/fbemitter/.*
9
+ <PROJECT_ROOT>/bots/dangerfile.js
22
10
23
11
; Ignore "BUCK" generated dirs
24
- <PROJECT_ROOT>/node_modules/react-native/ \.buckd/
12
+ <PROJECT_ROOT>/\.buckd/
25
13
26
14
; Ignore unexpected extra "@providesModule"
27
15
.*/node_modules/.*/node_modules/fbjs/.*
28
16
17
+ ; Ignore duplicate module providers
18
+ ; For RN Apps installed via npm, "Libraries" folder is inside
19
+ ; "node_modules/react-native" but in the source repo it is in the root
20
+ .*/Libraries/react-native/React.js
21
+
29
22
; Ignore polyfills
30
- <PROJECT_ROOT>/node_modules/react-native /Libraries/polyfills/.*
23
+ .* /Libraries/polyfills/.*
31
24
32
- ; Ignore various node_modules
33
- <PROJECT_ROOT>/node_modules/react-native-gesture-handler/.*
34
- <PROJECT_ROOT>/node_modules/expo/.*
35
- <PROJECT_ROOT>/node_modules/react-navigation/.*
36
- <PROJECT_ROOT>/node_modules/xdl/.*
37
- <PROJECT_ROOT>/node_modules/reqwest/.*
38
- <PROJECT_ROOT>/node_modules/metro-bundler/.*
25
+ ; Ignore metro
26
+ .*/node_modules/metro/.*
39
27
40
28
[include]
41
29
42
30
[libs]
43
- node_modules/react-native/ Libraries/react-native/react-native-interface.js
44
- node_modules/react-native/ flow/
45
- node_modules/expo/ flow/
31
+ Libraries/react-native/react-native-interface.js
32
+ flow/
33
+ flow-github /
46
34
47
35
[options]
48
36
emoji=true
49
37
50
38
module.system=haste
51
39
52
- module.file_ext=.js
53
- module.file_ext=.jsx
54
- module.file_ext=.json
55
- module.file_ext=.ios.js
56
-
57
40
munge_underscores=true
58
41
59
42
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\)$' -> 'RelativeImageStub'
@@ -62,15 +45,11 @@ suppress_type=$FlowIssue
62
45
suppress_type=$FlowFixMe
63
46
suppress_type=$FlowFixMeProps
64
47
suppress_type=$FlowFixMeState
65
- suppress_type=$FixMe
66
48
67
- suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\) ? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
68
- suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\) ? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
49
+ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\) ? *\\(site=[a-z,_]*[ react_native_oss|react_native_fb] [a-z,_]*\\)?)\\)
50
+ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\) ? *\\(site=[a-z,_]*[ react_native_oss|react_native_fb] [a-z,_]*\\)?)\\)?:? #[0-9]+
69
51
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
70
52
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
71
53
72
- unsafe.enable_getters_and_setters=true
73
- esproposal.decorators=ignore
74
-
75
54
[version]
76
- ^0.56 .0
55
+ ^0.67 .0
0 commit comments