12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- [ignore]
- ; We fork some components by platform
- .*/*[.]android.js
- ; Ignore templates for 'react-native init'
- <PROJECT_ROOT>/template/.*
- ; Ignore the Dangerfile
- <PROJECT_ROOT>/bots/dangerfile.js
- ; Ignore "BUCK" generated dirs
- <PROJECT_ROOT>/\.buckd/
- ; 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
- [untyped]
- .*/node_modules/@react-native-community/cli/.*/.*
- [include]
- [declarations]
- .*/node_modules/.*
- [libs]
- interface.js
- flow/
- [options]
- emoji=true
- esproposal.optional_chaining=enable
- esproposal.nullish_coalescing=enable
- exact_by_default=true
- module.file_ext=.js
- module.file_ext=.json
- module.file_ext=.ios.js
- munge_underscores=true
- module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/index.js'
- module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/\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>/Libraries/Image/RelativeImageStub'
- suppress_type=$FlowIssue
- suppress_type=$FlowFixMe
- suppress_type=$FlowFixMeProps
- suppress_type=$FlowFixMeState
- suppress_type=$FlowFixMeEmpty
- 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]+
- suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
- experimental.well_formed_exports=true
- experimental.types_first=true
- experimental.abstract_locations=true
- [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
- deprecated-utility=error
- unsafe-addition=error
- [strict]
- deprecated-type
- nonstrict-import
- sketchy-null
- unclear-type
- unsafe-getters-setters
- untyped-import
- untyped-type-import
- [version]
- ^0.122.0
|