Skip to content

Commit 5d0e932

Browse files
apepperljharb
authored andcommitted
1 parent 2dfe98f commit 5d0e932

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
1717
* [readme] change [`jsx-runtime`] link from branch to sha ([#3160][] @tatsushitoji)
1818
* [Docs] HTTP => HTTPS ([#3133][] @Schweinepriester)
1919
* [readme] Some grammar fixes ([#3186][] @JJ)
20+
* [Docs] [`jsx-no-target-blank`]: Improve readme ([#3169][] @apepper)
2021

2122
[#3186]: https://github.com/yannickcr/eslint-plugin-react/pull/3186
2223
[#3174]: https://github.com/yannickcr/eslint-plugin-react/pull/3174
24+
[#3169]: https://github.com/yannickcr/eslint-plugin-react/pull/3169
2325
[#3167]: https://github.com/yannickcr/eslint-plugin-react/pull/3167
2426
[#3163]: https://github.com/yannickcr/eslint-plugin-react/pull/3163
2527
[#3160]: https://github.com/yannickcr/eslint-plugin-react/pull/3160

docs/rules/jsx-no-target-blank.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ This rule supports the ability to use custom components for forms. To enable thi
123123

124124
## When To Override It
125125

126+
Modern browsers (Chrome ≥ 88, Edge ≥ 88, Firefox ≥ 79 and Safari ≥ 12.2) automatically imply `rel="noopener"`. Therefore this rule is no longer needed, if legacy browsers are not supported. See https://web.dev/external-anchors-use-rel-noopener/ and https://caniuse.com/mdn-html_elements_a_implicit_noopener for more details.
127+
126128
For links to a trusted host (e.g. internal links to your own site, or links to a another host you control, where you can be certain this security vulnerability does not exist), you may want to keep the HTTP Referer header for analytics purposes.
127129

128130
If you do not support Internet Explorer (any version), Chrome < 49, Opera < 36, Firefox < 52, desktop Safari < 10.1 or iOS Safari < 10.3, you may set `allowReferrer` to `true`, keep the HTTP Referer header and only add `rel="noopener"` to your links.

0 commit comments

Comments
 (0)