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 | [declarations]
|
27 | .*/node_modules/.*
|
28 |
|
29 | [libs]
|
30 | interface.js
|
31 | flow/
|
32 |
|
33 | [options]
|
34 | emoji=true
|
35 |
|
36 | esproposal.optional_chaining=enable
|
37 | esproposal.nullish_coalescing=enable
|
38 |
|
39 | exact_by_default=true
|
40 |
|
41 | module.file_ext=.js
|
42 | module.file_ext=.json
|
43 | module.file_ext=.ios.js
|
44 |
|
45 | munge_underscores=true
|
46 |
|
47 | module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/index.js'
|
48 | module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/\1'
|
49 | 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'
|
50 |
|
51 | suppress_type=$FlowIssue
|
52 | suppress_type=$FlowFixMe
|
53 | suppress_type=$FlowFixMeProps
|
54 | suppress_type=$FlowFixMeState
|
55 | suppress_type=$FlowFixMeEmpty
|
56 |
|
57 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
|
58 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
|
59 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
60 |
|
61 | experimental.well_formed_exports=true
|
62 | experimental.types_first=true
|
63 | experimental.abstract_locations=true
|
64 |
|
65 | [lints]
|
66 | sketchy-null-number=warn
|
67 | sketchy-null-mixed=warn
|
68 | sketchy-number=warn
|
69 | untyped-type-import=warn
|
70 | nonstrict-import=warn
|
71 | deprecated-type=warn
|
72 | unsafe-getters-setters=warn
|
73 | inexact-spread=warn
|
74 | unnecessary-invariant=warn
|
75 | signature-verification-failure=warn
|
76 | deprecated-utility=error
|
77 |
|
78 | [strict]
|
79 | deprecated-type
|
80 | nonstrict-import
|
81 | sketchy-null
|
82 | unclear-type
|
83 | unsafe-getters-setters
|
84 | untyped-import
|
85 | untyped-type-import
|
86 |
|
87 | [version]
|
88 | ^0.113.0
|