From b66d44988848ee10073d5209cbe71a5ec6a0e51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Zl=C3=A1mal?= Date: Fri, 9 Apr 2021 09:32:58 -0500 Subject: [PATCH] Lint: fix `react/jsx-no-target-blank` error The behavior of this rule changed in https://github.com/yannickcr/eslint-plugin-react/pull/2953 and we upgraded the plugin in https://github.com/adeira/universe/pull/2172 adeira-source-id: 4bcc4b66f25ba51caccfba42be35f691e02a0c55 --- src/Link/Link.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Link/Link.js b/src/Link/Link.js index dd4f26b..9f1fab5 100644 --- a/src/Link/Link.js +++ b/src/Link/Link.js @@ -18,7 +18,6 @@ type Props = { export default function Link(props: Props): React.Node { const href = props.href; const isExternalLink = /^https?:\/\//.test(href); - /* eslint-disable react/jsx-no-target-blank */ return ( ); - /* eslint-enable react/jsx-no-target-blank */ } const styles = sx.create({