1
1
[ignore]
2
2
3
3
# We fork some components by platform.
4
- .*/*.web.js
5
4
.*/*.android.js
6
5
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/ErrorUtils.js
19
-
20
- # Flow has a built-in definition for the 'react' module which we prefer to use
21
- # over the currently-untyped source
22
- .*/node_modules/react/react.js
23
- .*/node_modules/react/lib/React.js
24
- .*/node_modules/react/lib/ReactDOM.js
25
-
26
- .*/__mocks__/.*
27
- .*/__tests__/.*
28
-
29
- .*/commoner/test/source/widget/share.js
30
-
31
- # Ignore commoner tests
32
- .*/node_modules/commoner/test/.*
33
-
34
- # See https://github.com/facebook/flow/issues/442
35
- .*/react-tools/node_modules/commoner/lib/reader.js
36
-
37
- # Ignore jest
38
- .*/node_modules/jest-cli/.*
39
-
40
- # Ignore Website
41
- .*/website/.*
42
-
43
- # Ignore generators
6
+ # Ignore templates with `@flow` in header
44
7
.*/local-cli/generator.*
45
8
46
- # Ignore BUCK generated folders
47
- .*\.buckd/
9
+ # Ignore malformed json
10
+ .*/node_modules/y18n/test/.*\.json
48
11
49
- # Ignore RNPM
50
- .*/local-cli/rnpm /.*
12
+ # Ignore the website subdir
13
+ <PROJECT_ROOT>/website /.*
51
14
52
- .*/node_modules/is-my-json-valid/test/.*\.json
53
- .*/node_modules/iconv-lite/encodings/tables/.*\.json
54
- .*/node_modules/y18n/test/.*\.json
55
- .*/node_modules/spdx-license-ids/spdx-license-ids.json
56
- .*/node_modules/spdx-exceptions/index.json
57
- .*/node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json
58
- .*/node_modules/resolve/lib/core.json
59
- .*/node_modules/jsonparse/samplejson/.*\.json
60
- .*/node_modules/json5/test/.*\.json
61
- .*/node_modules/ua-parser-js/test/.*\.json
62
- .*/node_modules/builtin-modules/builtin-modules.json
63
- .*/node_modules/binary-extensions/binary-extensions.json
64
- .*/node_modules/url-regex/tlds.json
65
- .*/node_modules/joi/.*\.json
66
- .*/node_modules/isemail/.*\.json
67
- .*/node_modules/tr46/.*\.json
15
+ # Ignore BUCK generated dirs
16
+ <PROJECT_ROOT>/\.buckd/
17
+
18
+ # Ignore unexpected extra @providesModule
19
+ .*/node_modules/commoner/test/source/widget/share.js
68
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
+ .*/Libraries/react-native/React.js
24
+ .*/Libraries/react-native/ReactNative.js
25
+ .*/node_modules/jest-runtime/build/__tests__/.*
69
26
70
27
[include]
71
28
@@ -91,9 +48,11 @@ suppress_type=$FlowIssue
91
48
suppress_type=$FlowFixMe
92
49
suppress_type=$FixMe
93
50
94
- suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-6] \\|1 [0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
95
- suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-6] \\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
51
+ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(30 \\|[1-2] [0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
52
+ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(30 \\|1[0-9]\\|[1-2] [0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
96
53
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
97
54
55
+ unsafe.enable_getters_and_setters=true
56
+
98
57
[version]
99
- ^0.26 .0
58
+ ^0.30 .0
0 commit comments