diff --git a/lib/.flowconfig b/lib/.flowconfig index 826129db4..fbb5cf502 100644 --- a/lib/.flowconfig +++ b/lib/.flowconfig @@ -1,31 +1,32 @@ [ignore] [include] [libs] [options] -sharedmemory.heap_size=3221225472 +sharedmemory.heap_size=4221225472 + esproposal.optional_chaining=enable esproposal.nullish_coalescing=enable [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 [strict] deprecated-type nonstrict-import sketchy-null unclear-type unsafe-getters-setters untyped-import untyped-type-import diff --git a/native/.flowconfig b/native/.flowconfig index 026e946ed..8df009ce0 100644 --- a/native/.flowconfig +++ b/native/.flowconfig @@ -1,77 +1,78 @@ [ignore] ; We fork some components by platform .*/*[.]android.js .*/node_modules/redux-persist/lib/index.js .*/node_modules/react-native-fast-image/src/index.js.flow .*/node_modules/react-native-fs/FS.common.js .*/node_modules/react-native-gesture-handler/Swipeable.js ; Flow doesn't support platforms .*/Libraries/Utilities/LoadingView.js .*/comm/web/.* .*/comm/server/.* [untyped] .*/node_modules/@react-native-community/cli/.*/.* [declarations] .*/node_modules/react-native-camera/* [include] ../node_modules ../lib [libs] ../node_modules/react-native/interface.js ../node_modules/react-native/flow/ [options] -sharedmemory.heap_size=3221225472 +sharedmemory.heap_size=4221225472 + emoji=true esproposal.optional_chaining=enable esproposal.nullish_coalescing=enable module.file_ext=.js module.file_ext=.json module.file_ext=.ios.js munge_underscores=true module.name_mapper='^react-native/\(.*\)$' -> '/../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\)$' -> '/node_modules/react-native/Libraries/Image/RelativeImageStub' suppress_type=$FlowIssue suppress_type=$FlowFixMe suppress_type=$FlowFixMeProps suppress_type=$FlowFixMeState suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\) suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+ suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError [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 [strict] deprecated-type nonstrict-import sketchy-null unclear-type unsafe-getters-setters untyped-import untyped-type-import [version] ^0.122.0 diff --git a/server/.flowconfig b/server/.flowconfig index 412790646..11848e2fc 100644 --- a/server/.flowconfig +++ b/server/.flowconfig @@ -1,42 +1,43 @@ [ignore] /dist /node_modules/google-gax/node_modules/grpc/node_modules/protobufjs/src/bower.json .*/node_modules/protobufjs/src/bower.json .*/node_modules/react-timeago/.* .*/web/flow-typed [include] ../lib ../web [libs] ../lib/flow-typed [options] -sharedmemory.heap_size=3221225472 +sharedmemory.heap_size=4221225472 + module.file_ext=.js module.file_ext=.cjs module.file_ext=.json esproposal.optional_chaining=enable esproposal.nullish_coalescing=enable [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 [strict] deprecated-type nonstrict-import sketchy-null unclear-type unsafe-getters-setters untyped-import untyped-type-import diff --git a/web/.flowconfig b/web/.flowconfig index a103dbd03..3967e428a 100644 --- a/web/.flowconfig +++ b/web/.flowconfig @@ -1,35 +1,36 @@ [ignore] .*/node_modules/fbjs/.* [include] ../lib [libs] ../lib/flow-typed [options] -sharedmemory.heap_size=3221225472 +sharedmemory.heap_size=4221225472 + module.name_mapper.extension='css' -> '/flow/CSSModule.js.flow' esproposal.optional_chaining=enable esproposal.nullish_coalescing=enable [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 [strict] deprecated-type nonstrict-import sketchy-null unclear-type unsafe-getters-setters untyped-import untyped-type-import