1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/ReactNativeClient/.flowconfig

76 lines
2.1 KiB
Plaintext
Raw Normal View History

2017-05-06 16:37:28 +02:00
[ignore]
; We fork some components by platform
.*/*[.]android.js
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
2020-02-09 16:51:12 +02:00
; Ignore polyfills
node_modules/react-native/Libraries/polyfills/.*
; These should not be required directly
; require from fbjs/lib instead: require('fbjs/lib/warning')
node_modules/warning/.*
; Flow doesn't support platforms
.*/Libraries/Utilities/LoadingView.js
2020-02-09 16:51:12 +02:00
[untyped]
.*/node_modules/@react-native-community/cli/.*/.*
2017-05-06 16:37:28 +02:00
[include]
[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
2020-02-09 16:51:12 +02:00
node_modules/react-native/flow/
2017-05-06 16:37:28 +02:00
[options]
emoji=true
2020-02-09 16:51:12 +02:00
esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable
module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js
2017-05-06 16:37:28 +02:00
munge_underscores=true
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'
2017-05-06 16:37:28 +02:00
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
2020-02-09 16:51:12 +02:00
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
2017-05-06 16:37:28 +02:00
2020-02-09 16:51:12 +02: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]+
2017-05-06 16:37:28 +02:00
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
2020-02-09 16:51:12 +02: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
2017-05-06 16:37:28 +02:00
[version]
^0.105.0