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