UNPKG

2.22 kBPlain TextView Raw
1[ignore]
2
3# We fork some components by platform.
4.*/*[.]android.js
5
6# Ignore templates with `@flow` in header
7.*/local-cli/generator.*
8
9# Ignore malformed json
10.*/node_modules/y18n/test/.*\.json
11
12# Ignore the website subdir
13.*/node_modules/react-native/website/.*
14
15# Ignore BUCK generated dirs
16.*/node_modules/react-native/\.buckd/
17
18# Ignore unexpected extra @providesModule
19.*/node_modules/commoner/test/source/widget/share.js
20
21# Ignore duplicate module providers
22# For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root
23.*/node_modules/react-native/Examples/.*
24.*/Libraries/react-native/React.js
25.*/Libraries/react-native/ReactNative.js
26.*/node_modules/jest-runtime/build/__tests__/.*
27
28# We include fbemitter as a dependency so we need to avoid module name clashes
29.*/node_modules/fbemitter/node_modules/.*
30.*/node_modules/react-native/Libraries/EventEmitter/EventSubscriptionVendor.js
31.*/node_modules/react-native/Libraries/EventEmitter/EmitterSubscription.js
32.*/node_modules/react-native/Libraries/EventEmitter/EventSubscription.js
33
34.*/node_modules/jest-resolve/.*
35
36[include]
37
38[libs]
39node_modules/react-native/Libraries/react-native/react-native-interface.js
40node_modules/react-native/flow
41flow/
42
43[options]
44module.system=haste
45
46esproposal.class_static_fields=enable
47esproposal.class_instance_fields=enable
48esproposal.export_star_as=enable
49
50experimental.strict_type_args=true
51
52munge_underscores=true
53
54module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
55module.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'
56
57suppress_type=$FlowIssue
58suppress_type=$FlowFixMe
59suppress_type=$FixMe
60
61suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-9]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
62suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-9]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
63suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
64
65unsafe.enable_getters_and_setters=true
66
67[version]