ecency-mobile/.flowconfig

76 lines
2.1 KiB
Plaintext
Raw Normal View History

2018-07-20 15:57:12 +03:00
[ignore]
; We fork some components by platform
.*/*[.]android.js
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
; Ignore polyfills
2019-09-11 22:42:49 +03:00
node_modules/react-native/Libraries/polyfills/.*
2018-07-20 15:57:12 +03:00
2019-09-11 22:42:49 +03:00
; These should not be required directly
; require from fbjs/lib instead: require('fbjs/lib/warning')
node_modules/warning/.*
; Flow doesn't support platforms
2019-10-09 18:26:38 +03:00
.*/Libraries/Utilities/LoadingView.js
2019-09-11 22:42:49 +03:00
[untyped]
.*/node_modules/@react-native-community/cli/.*/.*
2018-07-20 15:57:12 +03:00
[include]
[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow/
[options]
emoji=true
2018-10-13 14:05:16 +03:00
esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable
2019-09-11 22:42:49 +03:00
module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js
2018-07-20 15:57:12 +03:00
munge_underscores=true
2019-10-09 18:26:38 +03:00
module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
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'
2018-07-20 15:57:12 +03:00
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
2019-09-11 22:42:49 +03: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-07-20 15:57:12 +03:00
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
2019-09-11 22:42:49 +03: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-07-20 15:57:12 +03:00
[version]
2019-10-09 18:26:38 +03:00
^0.105.0