Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove spurious warning

Manav Rathib92e9e366ba5
diff --git a/web/packages/build-config/eslintrc-react.js b/web/packages/build-config/eslintrc-react.js
index 098403b08b..df031cf943 100644
--- a/web/packages/build-config/eslintrc-react.js
+++ b/web/packages/build-config/eslintrc-react.js
@@ -22,5 +22,8 @@ module.exports = {
],
/* Next.js supports the JSX transform introduced in React 17 */
"react/react-in-jsx-scope": "off",
+ /* Without React in scope, this rule starts causing false positives (We
+ don't use prop types in our own code anyways). */
+ "react/prop-types": "off"
},
};
diff --git a/web/packages/new/photos/components/RecoveryKey.tsx b/web/packages/new/photos/components/RecoveryKey.tsx
index 873ac8a58b..b0c21453da 100644
--- a/web/packages/new/photos/components/RecoveryKey.tsx
+++ b/web/packages/new/photos/components/RecoveryKey.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable react/prop-types */
/* eslint-disable @typescript-eslint/no-floating-promises */
/* eslint-disable react-hooks/exhaustive-deps */
/* eslint-disable @typescript-eslint/no-unsafe-return */