2018-08-08 22:19:59 +03:00
|
|
|
[ignore]
|
|
|
|
; We fork some components by platform
|
|
|
|
.*/*[.]ios.js
|
|
|
|
|
|
|
|
; Ignore templates for 'react-native init'
|
2018-12-07 15:47:03 +03:00
|
|
|
<PROJECT_ROOT>/template/.*
|
2018-08-08 22:19:59 +03:00
|
|
|
|
|
|
|
; Ignore the Dangerfile
|
|
|
|
<PROJECT_ROOT>/bots/dangerfile.js
|
|
|
|
|
|
|
|
; Ignore "BUCK" generated dirs
|
|
|
|
<PROJECT_ROOT>/\.buckd/
|
|
|
|
|
2019-02-21 05:17:25 +03:00
|
|
|
; Flow doesn't support platforms
|
2019-07-18 12:59:15 +03:00
|
|
|
.*/Libraries/Utilities/LoadingView.js
|
2019-02-21 05:17:25 +03:00
|
|
|
|
2022-02-23 16:12:33 +03:00
|
|
|
.*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$
|
|
|
|
|
2019-01-21 20:08:36 +03:00
|
|
|
[untyped]
|
|
|
|
.*/node_modules/@react-native-community/cli/.*/.*
|
|
|
|
|
2018-08-08 22:19:59 +03:00
|
|
|
[include]
|
|
|
|
|
2019-10-05 02:39:44 +03:00
|
|
|
[declarations]
|
|
|
|
.*/node_modules/.*
|
|
|
|
|
2018-08-08 22:19:59 +03:00
|
|
|
[libs]
|
2019-09-12 13:26:46 +03:00
|
|
|
interface.js
|
2018-08-08 22:19:59 +03:00
|
|
|
flow/
|
|
|
|
|
|
|
|
[options]
|
|
|
|
emoji=true
|
|
|
|
|
2019-12-09 22:00:46 +03:00
|
|
|
exact_by_default=true
|
|
|
|
|
2021-04-30 19:11:33 +03:00
|
|
|
format.bracket_spacing=false
|
|
|
|
|
2019-04-08 23:20:03 +03:00
|
|
|
module.file_ext=.js
|
|
|
|
module.file_ext=.json
|
|
|
|
module.file_ext=.android.js
|
|
|
|
|
2018-08-08 22:19:59 +03:00
|
|
|
munge_underscores=true
|
|
|
|
|
2019-09-12 13:26:46 +03:00
|
|
|
module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/index.js'
|
2019-06-06 01:57:36 +03:00
|
|
|
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/\1'
|
2019-09-26 04:25:25 +03:00
|
|
|
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'
|
2018-08-08 22:19:59 +03:00
|
|
|
|
|
|
|
suppress_type=$FlowIssue
|
|
|
|
suppress_type=$FlowFixMe
|
|
|
|
suppress_type=$FlowFixMeProps
|
|
|
|
suppress_type=$FlowFixMeState
|
2019-08-07 19:59:42 +03:00
|
|
|
suppress_type=$FlowFixMeEmpty
|
2018-08-08 22:19:59 +03:00
|
|
|
|
2022-05-27 01:09:37 +03:00
|
|
|
experimental.env_mode=ssa
|
2022-05-20 07:14:33 +03:00
|
|
|
|
2018-08-08 22:19:59 +03:00
|
|
|
[lints]
|
|
|
|
sketchy-null-number=warn
|
|
|
|
sketchy-null-mixed=warn
|
2019-02-08 00:56:47 +03:00
|
|
|
sketchy-number=warn
|
|
|
|
untyped-type-import=warn
|
|
|
|
nonstrict-import=warn
|
2021-07-30 02:34:42 +03:00
|
|
|
deprecated-type=error
|
2019-02-08 00:56:47 +03:00
|
|
|
unsafe-getters-setters=warn
|
|
|
|
unnecessary-invariant=warn
|
2018-08-08 22:19:59 +03:00
|
|
|
|
|
|
|
[strict]
|
|
|
|
deprecated-type
|
|
|
|
nonstrict-import
|
|
|
|
sketchy-null
|
|
|
|
unclear-type
|
|
|
|
unsafe-getters-setters
|
|
|
|
untyped-import
|
|
|
|
untyped-type-import
|
|
|
|
|
|
|
|
[version]
|
2022-05-26 22:59:52 +03:00
|
|
|
^0.178.1
|