diff --git a/keyserver/.flowconfig b/keyserver/.flowconfig index 6ca075561..e7485a395 100644 --- a/keyserver/.flowconfig +++ b/keyserver/.flowconfig @@ -1,44 +1,45 @@ [ignore] /dist /node_modules/google-gax/node_modules/grpc/node_modules/protobufjs/src/bower.json .*/node_modules/protobufjs/src/bower.json .*/web/flow-typed [include] ../landing ../lib ../web [libs] ../lib/flow-typed ../web/flow-typed [options] enums=true module.file_ext=.js module.file_ext=.cjs module.file_ext=.json exact_by_default=true format.bracket_spacing=false [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 +unused-promise=error [strict] deprecated-type nonstrict-import sketchy-null unclear-type unsafe-getters-setters untyped-import untyped-type-import diff --git a/landing/.flowconfig b/landing/.flowconfig index 69e92f893..e995effca 100644 --- a/landing/.flowconfig +++ b/landing/.flowconfig @@ -1,32 +1,33 @@ [include] ../lib [libs] ../lib/flow-typed [options] module.name_mapper.extension='css' -> '/flow/CSSModule.js.flow' enums=true exact_by_default=true format.bracket_spacing=false [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 +unused-promise=error [strict] deprecated-type nonstrict-import sketchy-null unclear-type unsafe-getters-setters untyped-import untyped-type-import diff --git a/lib/.flowconfig b/lib/.flowconfig index 9f698da1e..faf14e16c 100644 --- a/lib/.flowconfig +++ b/lib/.flowconfig @@ -1,31 +1,32 @@ [ignore] [include] [libs] [options] enums=true exact_by_default=true format.bracket_spacing=false [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 +unused-promise=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 b32b8a732..5216156f5 100644 --- a/native/.flowconfig +++ b/native/.flowconfig @@ -1,77 +1,78 @@ [ignore] .*/node_modules/react-native-fs/FS.common.js .*/node_modules/react-native-gesture-handler/Swipeable.js .*/fbjs/lib/keyMirrorRecursive.js.flow ; Flow doesn't support platforms .*/Libraries/Utilities/LoadingView.js .*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$ .*/node_modules/module-deps/test/invalid_pkg/package.json .*/comm/web/.* .*/comm/keyserver/.* .*/comm/desktop/.* .*/comm/landing/.* .*/comm/services/electron-update-server/.* .*/android/app/build/.* [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/ ../lib/flow-typed/ [options] enums=true emoji=true exact_by_default=true format.bracket_spacing=false module.file_ext=.js module.file_ext=.json module.file_ext=.ios.js module.file_ext=.android.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 [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 +unused-promise=error [strict] deprecated-type nonstrict-import sketchy-null unclear-type unsafe-getters-setters untyped-import untyped-type-import [version] ^0.202.0 diff --git a/services/electron-update-server/.flowconfig b/services/electron-update-server/.flowconfig index 9d7b54c6c..8ad6a5543 100644 --- a/services/electron-update-server/.flowconfig +++ b/services/electron-update-server/.flowconfig @@ -1,23 +1,24 @@ [options] enums=true exact_by_default=true format.bracket_spacing=false [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 +unused-promise=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 5ff6ba03e..af5ae7820 100644 --- a/web/.flowconfig +++ b/web/.flowconfig @@ -1,35 +1,36 @@ [ignore] .*/opaque-ke-wasm [include] ../lib [libs] ../lib/flow-typed [options] module.name_mapper.extension='css' -> '/flow/CSSModule.js.flow' enums=true exact_by_default=true format.bracket_spacing=false [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 +unused-promise=error [strict] deprecated-type nonstrict-import sketchy-null unclear-type unsafe-getters-setters untyped-import untyped-type-import