2018-01-30 23:42:38 +01:00
|
|
|
[ignore]
|
|
|
|
; We fork some components by platform
|
|
|
|
.*/*[.]android.js
|
|
|
|
|
|
|
|
; Ignore "BUCK" generated dirs
|
2019-01-19 06:40:41 +01:00
|
|
|
<PROJECT_ROOT>/\.buckd/
|
2018-01-30 23:42:38 +01:00
|
|
|
|
2020-03-22 23:51:25 +01:00
|
|
|
; Ignore polyfills
|
|
|
|
node_modules/react-native/Libraries/polyfills/.*
|
2018-01-30 23:42:38 +01:00
|
|
|
|
2020-03-22 23:51:25 +01:00
|
|
|
; These should not be required directly
|
|
|
|
; require from fbjs/lib instead: require('fbjs/lib/warning')
|
|
|
|
node_modules/warning/.*
|
2019-01-19 06:40:41 +01:00
|
|
|
|
2020-03-22 23:51:25 +01:00
|
|
|
; Flow doesn't support platforms
|
|
|
|
.*/Libraries/Utilities/LoadingView.js
|
2018-01-30 23:42:38 +01:00
|
|
|
|
2020-03-22 23:51:25 +01:00
|
|
|
[untyped]
|
|
|
|
.*/node_modules/@react-native-community/cli/.*/.*
|
2018-01-30 23:42:38 +01:00
|
|
|
|
|
|
|
[include]
|
|
|
|
|
|
|
|
[libs]
|
2020-06-18 17:49:36 +02:00
|
|
|
node_modules/react-native/interface.js
|
2018-01-30 23:42:38 +01:00
|
|
|
node_modules/react-native/flow/
|
|
|
|
|
|
|
|
[options]
|
|
|
|
emoji=true
|
|
|
|
|
2019-01-19 06:40:41 +01:00
|
|
|
esproposal.optional_chaining=enable
|
|
|
|
esproposal.nullish_coalescing=enable
|
2018-01-30 23:42:38 +01:00
|
|
|
|
2020-03-22 23:51:25 +01:00
|
|
|
module.file_ext=.js
|
|
|
|
module.file_ext=.json
|
|
|
|
module.file_ext=.ios.js
|
2018-01-30 23:42:38 +01:00
|
|
|
|
|
|
|
munge_underscores=true
|
|
|
|
|
2020-03-22 23:51:25 +01:00
|
|
|
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
|
2020-06-18 17:49:36 +02: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>/node_modules/react-native/Libraries/Image/RelativeImageStub'
|
2019-01-19 06:40:41 +01:00
|
|
|
|
2018-01-30 23:42:38 +01:00
|
|
|
suppress_type=$FlowIssue
|
|
|
|
suppress_type=$FlowFixMe
|
|
|
|
suppress_type=$FlowFixMeProps
|
|
|
|
suppress_type=$FlowFixMeState
|
|
|
|
|
2020-03-22 23:51:25 +01:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
|
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
|
2018-01-30 23:42:38 +01:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
|
|
|
|
2020-03-22 23:51:25 +01:00
|
|
|
[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
|
|
|
|
inexact-spread=warn
|
|
|
|
unnecessary-invariant=warn
|
|
|
|
signature-verification-failure=warn
|
|
|
|
deprecated-utility=error
|
|
|
|
|
|
|
|
[strict]
|
|
|
|
deprecated-type
|
|
|
|
nonstrict-import
|
|
|
|
sketchy-null
|
|
|
|
unclear-type
|
|
|
|
unsafe-getters-setters
|
|
|
|
untyped-import
|
|
|
|
untyped-type-import
|
|
|
|
|
2018-01-30 23:42:38 +01:00
|
|
|
[version]
|
2020-06-18 17:49:36 +02:00
|
|
|
^0.113.0
|
2020-03-22 23:51:25 +01:00
|
|
|
|