π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
rr
Manav Rathi0338313f7307
diff --git a/web/packages/build-config/eslintrc-react.mjs b/web/packages/build-config/eslintrc-react.mjsindex da152c10f0..c83c6b03e1 100644--- a/web/packages/build-config/eslintrc-react.mjs+++ b/web/packages/build-config/eslintrc-react.mjs@@ -1,5 +1,6 @@import reactPlugin from "eslint-plugin-react";import hooksPlugin from "eslint-plugin-react-hooks";+import reactRefreshPlugin from "eslint-plugin-react-refresh";import config from "./eslintrc-base.mjs";export default [@@ -23,6 +24,22 @@ export default [...hooksPlugin.configs.recommended.rules,},},+ {+ files: ["**/*.{jsx,tsx}"],+ plugins: {+ "react-refresh": reactRefreshPlugin,+ },+ rules: {+ // Apparently Fast refresh only works if a file only exports components,+ // and this rule warns about that.+ //+ // Constants are okay though (otherwise we'll need to create unnecessary helper files).+ "react-refresh/only-export-components": [+ "warn",+ { allowConstantExport: true },+ ],+ },+ },];// /* eslint-env node */