1 | [ignore]
|
2 | ; We fork some components by platform
|
3 | .*/*[.]android.js
|
4 |
|
5 | ; Ignore templates for 'react-native init'
|
6 | <PROJECT_ROOT>/template/.*
|
7 |
|
8 | ; Ignore the Dangerfile
|
9 | <PROJECT_ROOT>/bots/dangerfile.js
|
10 |
|
11 | ; Ignore "BUCK" generated dirs
|
12 | <PROJECT_ROOT>/\.buckd/
|
13 |
|
14 | ; These should not be required directly
|
15 | ; require from fbjs/lib instead: require('fbjs/lib/warning')
|
16 | .*/node_modules/warning/.*
|
17 |
|
18 | ; Flow doesn't support platforms
|
19 | .*/Libraries/Utilities/LoadingView.js
|
20 |
|
21 | [untyped]
|
22 | .*/node_modules/@react-native-community/cli/.*/.*
|
23 |
|
24 | [include]
|
25 |
|
26 | [libs]
|
27 | Libraries/react-native/react-native-interface.js
|
28 | flow/
|
29 |
|
30 | [options]
|
31 | emoji=true
|
32 |
|
33 | esproposal.optional_chaining=enable
|
34 | esproposal.nullish_coalescing=enable
|
35 |
|
36 | module.file_ext=.js
|
37 | module.file_ext=.json
|
38 | module.file_ext=.ios.js
|
39 |
|
40 | munge_underscores=true
|
41 |
|
42 | module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/Libraries/react-native/react-native-implementation'
|
43 | module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/\1'
|
44 | 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\)$' -> '<PROJECT_ROOT>/Libraries/Image/RelativeImageStub'
|
45 |
|
46 | suppress_type=$FlowIssue
|
47 | suppress_type=$FlowFixMe
|
48 | suppress_type=$FlowFixMeProps
|
49 | suppress_type=$FlowFixMeState
|
50 | suppress_type=$FlowFixMeEmpty
|
51 |
|
52 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
|
53 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
|
54 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
55 |
|
56 | [lints]
|
57 | sketchy-null-number=warn
|
58 | sketchy-null-mixed=warn
|
59 | sketchy-number=warn
|
60 | untyped-type-import=warn
|
61 | nonstrict-import=warn
|
62 | deprecated-type=warn
|
63 | unsafe-getters-setters=warn
|
64 | inexact-spread=warn
|
65 | unnecessary-invariant=warn
|
66 | signature-verification-failure=warn
|
67 | deprecated-utility=error
|
68 |
|
69 | [strict]
|
70 | deprecated-type
|
71 | nonstrict-import
|
72 | sketchy-null
|
73 | unclear-type
|
74 | unsafe-getters-setters
|
75 | untyped-import
|
76 | untyped-type-import
|
77 |
|
78 | [version]
|
79 | ^0.105.0
|