From 0f4b6264d72c71ebc39d08075a945acf4878661d Mon Sep 17 00:00:00 2001 From: sugardon Date: Tue, 4 May 2021 19:04:20 +0900 Subject: [PATCH] [readme] fix missing trailing commas --- CHANGELOG.md | 2 ++ README.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96a82a18b8..a1fac3cabc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel ### Changed * [Docs] [`jsx-newline`]: Fix minor spelling error on rule name ([#2974][] @DennisSkoko) * [Refactor] [`void-dom-elements-no-children`]: improve performance +* [readme] fix missing trailing commas ([#2980][] @sugardon) +[#2980]: https://github.com/yannickcr/eslint-plugin-react/pull/2980 [#2977]: https://github.com/yannickcr/eslint-plugin-react/pull/2977 [#2975]: https://github.com/yannickcr/eslint-plugin-react/pull/2975 [#2974]: https://github.com/yannickcr/eslint-plugin-react/pull/2974 diff --git a/README.md b/README.md index ae2522d6d6..7baf89a529 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,9 @@ You should also specify settings that will be shared across all the plugin rules "componentWrapperFunctions": [ // The name of any function used to wrap components, e.g. Mobx `observer` function. If this isn't set, components wrapped by these functions will be skipped. "observer", // `property` - {"property": "styled"} // `object` is optional + {"property": "styled"}, // `object` is optional {"property": "observer", "object": "Mobx"}, - {"property": "observer", "object": ""}, // sets `object` to whatever value `settings.react.pragma` is set to + {"property": "observer", "object": ""} // sets `object` to whatever value `settings.react.pragma` is set to ], "linkComponents": [ // Components used as alternatives to for linking, eg.