|
@@ -0,0 +1,44 @@
|
|
1
|
+[ignore]
|
|
2
|
+; We fork some components by platform
|
|
3
|
+.*/*[.]android.js
|
|
4
|
+
|
|
5
|
+; Ignore "BUCK" generated dirs
|
|
6
|
+<PROJECT_ROOT>/\.buckd/
|
|
7
|
+
|
|
8
|
+; Ignore unexpected extra "@providesModule"
|
|
9
|
+.*/node_modules/.*/node_modules/fbjs/.*
|
|
10
|
+
|
|
11
|
+; Ignore duplicate module providers
|
|
12
|
+; For RN Apps installed via npm, "Libraries" folder is inside
|
|
13
|
+; "node_modules/react-native" but in the source repo it is in the root
|
|
14
|
+.*/Libraries/react-native/React.js
|
|
15
|
+.*/Libraries/react-native/ReactNative.js
|
|
16
|
+
|
|
17
|
+[include]
|
|
18
|
+
|
|
19
|
+[libs]
|
|
20
|
+node_modules/react-native/Libraries/react-native/react-native-interface.js
|
|
21
|
+node_modules/react-native/flow
|
|
22
|
+flow/
|
|
23
|
+
|
|
24
|
+[options]
|
|
25
|
+module.system=haste
|
|
26
|
+
|
|
27
|
+experimental.strict_type_args=true
|
|
28
|
+
|
|
29
|
+munge_underscores=true
|
|
30
|
+
|
|
31
|
+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'
|
|
32
|
+
|
|
33
|
+suppress_type=$FlowIssue
|
|
34
|
+suppress_type=$FlowFixMe
|
|
35
|
+suppress_type=$FixMe
|
|
36
|
+
|
|
37
|
+suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-6]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
|
38
|
+suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-6]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
|
39
|
+suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
|
40
|
+
|
|
41
|
+unsafe.enable_getters_and_setters=true
|
|
42
|
+
|
|
43
|
+[version]
|
|
44
|
+^0.36.0
|