From 28987c3dc2a2629af14574a9983a2304b7c5520d Mon Sep 17 00:00:00 2001 From: Claas Augner <495429+caugner@users.noreply.github.com> Date: Mon, 7 Oct 2024 20:06:05 +0200 Subject: [PATCH] style(eslint): allow referrers in target="_blank" links (#11867) --- client/package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index 58acd2b44593..7c3de7313cea 100644 --- a/client/package.json +++ b/client/package.json @@ -24,7 +24,15 @@ ] }, "eslintConfig": { - "extends": "react-app" + "extends": "react-app", + "rules": { + "react/jsx-no-target-blank": [ + "error", + { + "allowReferrer": true + } + ] + } }, "jest": { "collectCoverageFrom": [