UNPKG

2.06 kBPlain TextView Raw
1[ignore]
2; We fork some components by platform
3.*/*[.]android.js
4
5; Ignore templates for 'react-native init'
6.*/local-cli/templates/.*
7
8; Ignore the website subdir
9<PROJECT_ROOT>/node_modules/react-native/website/.*
10
11; Ignore the Dangerfile
12<PROJECT_ROOT>/node_modules/react-native/danger/dangerfile.js
13
14; Ignore "BUCK" generated dirs
15<PROJECT_ROOT>/node_modules/react-native/\.buckd/
16
17; Ignore unexpected extra "@providesModule"
18.*/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
26; Ignore polyfills
27.*/Libraries/polyfills/.*
28
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/.*
39
40[include]
41
42[libs]
43node_modules/react-native/Libraries/react-native/react-native-interface.js
44node_modules/react-native/flow/
45node_modules/expo/flow/
46
47[options]
48emoji=true
49
50module.system=haste
51
52munge_underscores=true
53
54module.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'
55
56suppress_type=$FlowIssue
57suppress_type=$FlowFixMe
58suppress_type=$FlowFixMeProps
59suppress_type=$FlowFixMeState
60suppress_type=$FixMe
61
62suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
63suppress_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]+
64suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
65suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
66
67unsafe.enable_getters_and_setters=true
68
69[version]
70^0.53.0