Skip to content

armgit / ente

Public Imported from GitHub
0

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

Bring back overrides

Manav Rathic211a829f869
diff --git a/web/packages/build-config/eslintrc-react.mjs b/web/packages/build-config/eslintrc-react.mjs
index 6cae8c620e..2aa1b49c18 100644
--- a/web/packages/build-config/eslintrc-react.mjs
+++ b/web/packages/build-config/eslintrc-react.mjs
@@ -13,6 +13,11 @@ export default [
version: "detect",
},
},
+ rules: {
+ // The rule is misguided - only the opener should be omitted, not
+ // the referrer.
+ "react/jsx-no-target-blank": ["warn", { allowReferrer: true }],
+ },
},
{
plugins: {
@@ -36,9 +41,6 @@ export default [
// module.exports = {
// rules: {
-// /* The rule is misguided - only the opener should be omitted, not the
-// referrer. */
-// "react/jsx-no-target-blank": ["warn", { allowReferrer: true }],
// /* Otherwise we need to do unnecessary boilerplating when using memo. */
// "react/display-name": "off",
// /* Next.js supports the JSX transform introduced in React 17 */