66 lines
1.4 KiB
Plaintext
66 lines
1.4 KiB
Plaintext
[ignore]
|
|
; We fork some components by platform
|
|
.*/*[.]android.js
|
|
|
|
; Ignore "BUCK" generated dirs
|
|
<PROJECT_ROOT>/\.buckd/
|
|
|
|
; Ignore polyfills
|
|
node_modules/react-native/Libraries/polyfills/.*
|
|
|
|
; Flow doesn't support platforms
|
|
.*/Libraries/Utilities/LoadingView.js
|
|
|
|
[untyped]
|
|
.*/node_modules/@react-native-community/cli/.*/.*
|
|
|
|
[include]
|
|
|
|
[libs]
|
|
node_modules/react-native/interface.js
|
|
node_modules/react-native/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>/node_modules/react-native/\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>/node_modules/react-native/Libraries/Image/RelativeImageStub'
|
|
|
|
suppress_type=$FlowIssue
|
|
suppress_type=$FlowFixMe
|
|
suppress_type=$FlowFixMeProps
|
|
suppress_type=$FlowFixMeState
|
|
|
|
[lints]
|
|
sketchy-null-number=warn
|
|
sketchy-null-mixed=warn
|
|
sketchy-number=warn
|
|
untyped-type-import=warn
|
|
nonstrict-import=warn
|
|
deprecated-type=warn
|
|
unsafe-getters-setters=warn
|
|
unnecessary-invariant=warn
|
|
signature-verification-failure=warn
|
|
|
|
[strict]
|
|
deprecated-type
|
|
nonstrict-import
|
|
sketchy-null
|
|
unclear-type
|
|
unsafe-getters-setters
|
|
untyped-import
|
|
untyped-type-import
|
|
|
|
[version]
|
|
^0.158.0
|