From 6d7e5a164ecf76dff050f317dfcbb1652af14452 Mon Sep 17 00:00:00 2001 From: Dennis Skoko Date: Wed, 21 Apr 2021 16:08:46 +0200 Subject: [PATCH] [Docs] `jsx-newline`: Fix minor spelling error on rule name --- CHANGELOG.md | 4 ++++ docs/rules/jsx-newline.md | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d6c8e5240..71b6095916 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,11 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel ### Fixed * [`jsx-handler-names`]: properly substitute value into message ([#2975][] @G-Rath) +### Changed +* [Docs] [`jsx-newline`]: Fix minor spelling error on rule name ([#2974][] @DennisSkoko) + [#2975]: https://github.com/yannickcr/eslint-plugin-react/pull/2975 +[#2974]: https://github.com/yannickcr/eslint-plugin-react/pull/2974 [#2713]: https://github.com/yannickcr/eslint-plugin-react/pull/2713 ## [7.23.2] - 2021.04.08 diff --git a/docs/rules/jsx-newline.md b/docs/rules/jsx-newline.md index 4096c00229..2135e70e12 100644 --- a/docs/rules/jsx-newline.md +++ b/docs/rules/jsx-newline.md @@ -9,7 +9,7 @@ This is a stylistic rule intended to make JSX code more readable by requiring or ## Rule Options ```json ... -"react/jsx-new-line": [, { "prevent": }] +"react/jsx-newline": [, { "prevent": }] ... ``` @@ -129,4 +129,4 @@ Examples of **correct** code for this rule, when configured with `{ "prevent": t ## When Not To Use It -You can turn this rule off if you are not concerned with spacing between your JSX elements and expressions. \ No newline at end of file +You can turn this rule off if you are not concerned with spacing between your JSX elements and expressions.