π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add an exception
Manav Rathid2fd7dea975b
diff --git a/web/apps/accounts/.eslintrc.js b/web/apps/accounts/.eslintrc.jsindex fc6d400d50..eb420ede9e 100644--- a/web/apps/accounts/.eslintrc.js+++ b/web/apps/accounts/.eslintrc.js@@ -6,7 +6,6 @@ module.exports = {"react/react-in-jsx-scope": "off","react/prop-types": "off","react-hooks/exhaustive-deps": "off",- "@typescript-eslint/no-misused-promises": "off","@typescript-eslint/no-explicit-any": "off","react-refresh/only-export-components": "off",},diff --git a/web/packages/build-config/eslintrc-base.js b/web/packages/build-config/eslintrc-base.jsindex 3e65638c1b..95d9976521 100644--- a/web/packages/build-config/eslintrc-base.js+++ b/web/packages/build-config/eslintrc-base.js@@ -25,5 +25,20 @@ module.exports = {ignoreArrowShorthand: true,},],+ /*+ Allow async functions to be passed as JSX attributes expected to be+ functions that return void (typically onFoo event handlers).++ This should be safe since we have registered global unhandled Promise+ handlers.+ */+ "@typescript-eslint/no-misused-promises": [+ "error",+ {+ checksVoidReturn: {+ attributes: false,+ },+ },+ ],},};