11[ignore]
22
33# We fork some components by platform.
4- .*/*.web.js
5- .*/*.android.js
4+ .*/*[.]android.js
65
7- # Some modules have their own node_modules with overlap
8- .*/node_modules/node-haste/.*
9-
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
6+ # Ignore templates with `@flow` in header
7+ .*/local-cli/generator.*
388
39- # Ignore jest
40- .*/node_modules/jest-cli/.*
9+ # Ignore malformed json
10+ .*/node_modules/y18n/test/.*\.json
4111
42- # Ignore Website
43- .* /website/.*
12+ # Ignore the website subdir
13+ <PROJECT_ROOT> /website/.*
4414
45- # Ignore generators
46- .*/local-cli/generator.*
15+ # Ignore BUCK generated dirs
16+ <PROJECT_ROOT>/\.buckd/
4717
48- # Ignore BUCK generated folders
49- .*\.buckd/
50-
51- .*/node_modules/is-my-json-valid/test/.*\.json
52- .*/node_modules/iconv-lite/encodings/tables/.*\.json
53- .*/node_modules/y18n/test/.*\.json
54- .*/node_modules/spdx-license-ids/spdx-license-ids.json
55- .*/node_modules/spdx-exceptions/index.json
56- .*/node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json
57- .*/node_modules/resolve/lib/core.json
58- .*/node_modules/jsonparse/samplejson/.*\.json
59- .*/node_modules/json5/test/.*\.json
60- .*/node_modules/ua-parser-js/test/.*\.json
61- .*/node_modules/builtin-modules/builtin-modules.json
62- .*/node_modules/binary-extensions/binary-extensions.json
63- .*/node_modules/url-regex/tlds.json
64- .*/node_modules/joi/.*\.json
65- .*/node_modules/isemail/.*\.json
66- .*/node_modules/tr46/.*\.json
18+ # Ignore unexpected extra @providesModule
19+ .*/node_modules/commoner/test/source/widget/share.js
6720
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+ .*/Libraries/react-native/React.js
24+ .*/Libraries/react-native/ReactNative.js
25+ .*/node_modules/jest-runtime/build/__tests__/.*
6826
6927[include]
7028
@@ -79,18 +37,22 @@ module.system=haste
7937esproposal.class_static_fields=enable
8038esproposal.class_instance_fields=enable
8139
40+ experimental.strict_type_args=true
41+
8242munge_underscores=true
8343
8444module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
85- 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'
45+ 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'
8646
8747suppress_type=$FlowIssue
8848suppress_type=$FlowFixMe
8949suppress_type=$FixMe
9050
91- suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2 [0-2]\\|1 [0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
92- suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2 [0-2]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
51+ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3 [0-2]\\|[1-2] [0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
52+ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3 [0-2]\\|1[0-9]\\|[1-2] [0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
9353suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
9454
55+ unsafe.enable_getters_and_setters=true
56+
9557[version]
96- ^0.22 .0
58+ ^0.32 .0
0 commit comments