|
1 | 1 | [ignore] |
| 2 | +; We fork some components by platform |
| 3 | +.*/*[.]android.js |
2 | 4 |
|
3 | | -# We fork some components by platform. |
4 | | -.*/*.web.js |
5 | | -.*/*.android.js |
| 5 | +; Ignore "BUCK" generated dirs |
| 6 | +<PROJECT_ROOT>/\.buckd/ |
6 | 7 |
|
7 | | -# Some modules have their own node_modules with overlap |
8 | | -.*/node_modules/node-haste/.* |
| 8 | +; Ignore unexpected extra "@providesModule" |
| 9 | +.*/node_modules/.*/node_modules/fbjs/.* |
9 | 10 |
|
10 | | -# Ugh |
11 | | -.*/node_modules/babel.* |
12 | | -.*/node_modules/babylon.* |
13 | | -.*/node_modules/invariant.* |
14 | | - |
15 | | -# Ignore react and fbjs where there are overlaps, but don't ignore |
16 | | -# anything that react-native relies on |
17 | | -.*/node_modules/fbjs/lib/Map.js |
18 | | -.*/node_modules/fbjs/lib/fetch.js |
19 | | -.*/node_modules/fbjs/lib/ExecutionEnvironment.js |
20 | | -.*/node_modules/fbjs/lib/ErrorUtils.js |
21 | | - |
22 | | -# Flow has a built-in definition for the 'react' module which we prefer to use |
23 | | -# over the currently-untyped source |
24 | | -.*/node_modules/react/react.js |
25 | | -.*/node_modules/react/lib/React.js |
26 | | -.*/node_modules/react/lib/ReactDOM.js |
27 | | - |
28 | | -.*/__mocks__/.* |
29 | | -.*/__tests__/.* |
30 | | - |
31 | | -.*/commoner/test/source/widget/share.js |
32 | | - |
33 | | -# Ignore commoner tests |
34 | | -.*/node_modules/commoner/test/.* |
35 | | - |
36 | | -# See https://github.com/facebook/flow/issues/442 |
37 | | -.*/react-tools/node_modules/commoner/lib/reader.js |
38 | | - |
39 | | -# Ignore jest |
40 | | -.*/node_modules/jest-cli/.* |
41 | | - |
42 | | -# Ignore Website |
43 | | -.*/website/.* |
| 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 |
44 | 16 |
|
45 | 17 | [include] |
46 | 18 |
|
47 | 19 | [libs] |
48 | 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js |
| 21 | +node_modules/react-native/flow |
| 22 | +flow/ |
49 | 23 |
|
50 | 24 | [options] |
| 25 | +emoji=true |
| 26 | + |
51 | 27 | module.system=haste |
52 | 28 |
|
53 | | -esproposal.class_static_fields=enable |
54 | | -esproposal.class_instance_fields=enable |
| 29 | +experimental.strict_type_args=true |
55 | 30 |
|
56 | 31 | munge_underscores=true |
57 | 32 |
|
58 | | -module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub' |
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\)$' -> 'RelativeImageStub' |
| 33 | +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' |
60 | 34 |
|
61 | 35 | suppress_type=$FlowIssue |
62 | 36 | suppress_type=$FlowFixMe |
63 | 37 | suppress_type=$FixMe |
64 | 38 |
|
65 | | -suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-1]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) |
66 | | -suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-1]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ |
| 39 | +suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) |
| 40 | +suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ |
67 | 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy |
| 42 | +suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError |
| 43 | + |
| 44 | +unsafe.enable_getters_and_setters=true |
68 | 45 |
|
69 | 46 | [version] |
70 | | -0.21.0 |
| 47 | +^0.40.0 |
0 commit comments