react-native-keychain/KeychainExample/.flowconfig

71 lines
2.3 KiB
Plaintext
Raw Permalink Normal View History

2015-05-20 18:41:10 +00:00
[ignore]
; We fork some components by platform
2016-11-02 20:42:55 +00:00
.*/*[.]android.js
2015-05-20 18:41:10 +00:00
; Ignore "BUCK" generated dirs
2016-11-02 20:42:55 +00:00
<PROJECT_ROOT>/\.buckd/
2015-05-20 18:41:10 +00:00
; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*
2016-11-02 20:42:55 +00:00
; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
2016-11-02 20:42:55 +00:00
.*/Libraries/react-native/React.js
2018-01-08 19:15:36 +00:00
; Ignore polyfills
.*/Libraries/polyfills/.*
; Ignore metro
.*/node_modules/metro/.*
2015-05-20 18:41:10 +00:00
[include]
[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
2018-01-08 19:15:36 +00:00
node_modules/react-native/flow/
node_modules/react-native/flow-github/
2015-05-20 18:41:10 +00:00
[options]
2018-01-08 19:15:36 +00:00
emoji=true
2015-05-20 18:41:10 +00:00
2018-09-30 12:31:59 +00:00
esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable
2018-01-08 19:15:36 +00:00
module.system=haste
2018-09-30 12:31:59 +00:00
module.system.haste.use_name_reducers=true
# get basename
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
# strip .js or .js.flow suffix
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
# strip .ios suffix
module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
module.system.haste.paths.blacklist=.*/__tests__/.*
module.system.haste.paths.blacklist=.*/__mocks__/.*
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
2016-11-02 20:42:55 +00:00
munge_underscores=true
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\)$' -> 'RelativeImageStub'
2018-01-08 19:15:36 +00:00
module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.native.js
2016-11-02 20:42:55 +00:00
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
2018-01-08 19:15:36 +00:00
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
2016-11-02 20:42:55 +00:00
2018-01-08 19:15:36 +00:00
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
2016-11-02 20:42:55 +00:00
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
2018-01-08 19:15:36 +00:00
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
2016-11-02 20:42:55 +00:00
2015-05-20 18:41:10 +00:00
[version]
2018-09-30 12:31:59 +00:00
^0.78.0