diff --git a/lib/.flowconfig b/lib/.flowconfig index fbb5cf502..cd0a7736c 100644 --- a/lib/.flowconfig +++ b/lib/.flowconfig @@ -1,32 +1,30 @@ [ignore] [include] [libs] [options] -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 8df009ce0..0e6b9423c 100644 --- a/native/.flowconfig +++ b/native/.flowconfig @@ -1,78 +1,76 @@ [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=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 11848e2fc..e347f3f97 100644 --- a/server/.flowconfig +++ b/server/.flowconfig @@ -1,43 +1,41 @@ [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=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 3967e428a..f5ed71c2c 100644 --- a/web/.flowconfig +++ b/web/.flowconfig @@ -1,36 +1,34 @@ [ignore] .*/node_modules/fbjs/.* [include] ../lib [libs] ../lib/flow-typed [options] -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