mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
9960327c41
Summary: Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D42666047 fbshipit-source-id: d0cc4d048151f3aa1d1033f6096125080dbf2cbd
78 lines
1.6 KiB
Plaintext
78 lines
1.6 KiB
Plaintext
[ignore]
|
|
; We fork some components by platform
|
|
.*/*[.]android.js
|
|
|
|
; Ignore templates for 'react-native init'
|
|
<PROJECT_ROOT>/template/.*
|
|
|
|
; Ignore the Dangerfile
|
|
<PROJECT_ROOT>/packages/react-native-bots/dangerfile.js
|
|
|
|
; Ignore "BUCK" generated dirs
|
|
<PROJECT_ROOT>/\.buckd/
|
|
|
|
; Flow doesn't support platforms
|
|
.*/Libraries/Utilities/LoadingView.js
|
|
|
|
.*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$
|
|
|
|
[untyped]
|
|
.*/node_modules/@react-native-community/cli/.*/.*
|
|
|
|
[include]
|
|
|
|
[declarations]
|
|
.*/node_modules/.*
|
|
|
|
[libs]
|
|
interface.js
|
|
flow/
|
|
|
|
[options]
|
|
emoji=true
|
|
|
|
exact_by_default=true
|
|
|
|
format.bracket_spacing=false
|
|
|
|
module.file_ext=.js
|
|
module.file_ext=.json
|
|
module.file_ext=.ios.js
|
|
|
|
munge_underscores=true
|
|
|
|
module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/index.js'
|
|
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/\1'
|
|
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'
|
|
|
|
suppress_type=$FlowIssue
|
|
suppress_type=$FlowFixMe
|
|
suppress_type=$FlowFixMeProps
|
|
suppress_type=$FlowFixMeState
|
|
suppress_type=$FlowFixMeEmpty
|
|
|
|
experimental.array_literal_providers=true
|
|
inference_mode=experimental.lti
|
|
|
|
[lints]
|
|
sketchy-null-number=warn
|
|
sketchy-null-mixed=warn
|
|
sketchy-number=warn
|
|
untyped-type-import=warn
|
|
nonstrict-import=warn
|
|
deprecated-type=error
|
|
unsafe-getters-setters=warn
|
|
unnecessary-invariant=warn
|
|
|
|
[strict]
|
|
deprecated-type
|
|
nonstrict-import
|
|
sketchy-null
|
|
unclear-type
|
|
unsafe-getters-setters
|
|
untyped-import
|
|
untyped-type-import
|
|
|
|
[version]
|
|
^0.198.1
|