Skip to content

Commit 7dfcbfb

Browse files
shamrinljharb
authored andcommitted
[Docs] jsx-no-target-blank: fix syntax highlighting
1 parent 67989c8 commit 7dfcbfb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
3131
* [Refactor] [`no-invalid-html-attribute`]: sort HTML_ELEMENTS and messages ([#3182][] @Primajin)
3232
* [Docs] [`forbid-foreign-prop-types`]: document `allowInPropTypes` option ([#1815][] @ljharb)
3333
* [Refactor] [`jsx-sort-default-props`]: remove unnecessary code ([#1817][] @ljharb)
34+
* [Docs] [`jsx-no-target-blank`]: fix syntax highlighting ([#3199][] @shamrin)
3435

36+
[#3199]: https://github.com/yannickcr/eslint-plugin-react/pull/3199
3537
[#3198]: https://github.com/yannickcr/eslint-plugin-react/pull/3198
3638
[#3195]: https://github.com/yannickcr/eslint-plugin-react/pull/3195
3739
[#3191]: https://github.com/yannickcr/eslint-plugin-react/pull/3191

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This rule aims to prevent user generated link hrefs and form actions from creati
99

1010
## Rule Options
1111

12-
```json
12+
```js
1313
...
1414
"react/jsx-no-target-blank": [<enabled>, {
1515
"allowReferrer": <allow-referrer>,

0 commit comments

Comments
 (0)