1
1
[ignore]
2
+ ; We fork some components by platform
3
+ .*/*[.]android.js
2
4
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
- <PROJECT_ROOT>/website/.*
14
-
15
- # Ignore BUCK generated dirs
5
+ ; Ignore "BUCK" generated dirs
16
6
<PROJECT_ROOT>/\.buckd/
17
7
18
- # Ignore unexpected extra @providesModule
19
- .*/node_modules/commoner/test/source/widget/share.js
8
+ ; Ignore unexpected extra " @providesModule"
9
+ .*/node_modules/.*/node_modules/fbjs/.*
20
10
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
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
23
14
.*/Libraries/react-native/React.js
24
15
.*/Libraries/react-native/ReactNative.js
25
- .*/node_modules/jest-runtime/build/__tests__/.*
26
16
27
17
[include]
28
18
@@ -32,27 +22,24 @@ node_modules/react-native/flow
32
22
flow/
33
23
34
24
[options]
35
- module.system=haste
36
-
37
- esproposal.class_static_fields=enable
38
- esproposal.class_instance_fields=enable
25
+ emoji=true
39
26
40
- experimental.strict_type_args=true
27
+ module.system=haste
41
28
42
29
munge_underscores=true
43
30
44
- module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
45
31
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'
46
32
47
33
suppress_type=$FlowIssue
48
34
suppress_type=$FlowFixMe
49
35
suppress_type=$FixMe
50
36
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]+
37
+ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-9] \\|[1-3 ][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
38
+ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4 [0-9]\\|[1-3][0-9]\\| [0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
53
39
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
40
+ suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
54
41
55
42
unsafe.enable_getters_and_setters=true
56
43
57
44
[version]
58
- ^0.30.0
45
+ ^0.49.1
0 commit comments