Skip to content

Commit 0f4b626

Browse files
sugardonljharb
authored andcommitted
[readme] fix missing trailing commas
1 parent 1185b37 commit 0f4b626

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
1515
### Changed
1616
* [Docs] [`jsx-newline`]: Fix minor spelling error on rule name ([#2974][] @DennisSkoko)
1717
* [Refactor] [`void-dom-elements-no-children`]: improve performance
18+
* [readme] fix missing trailing commas ([#2980][] @sugardon)
1819

20+
[#2980]: https://github.com/yannickcr/eslint-plugin-react/pull/2980
1921
[#2977]: https://github.com/yannickcr/eslint-plugin-react/pull/2977
2022
[#2975]: https://github.com/yannickcr/eslint-plugin-react/pull/2975
2123
[#2974]: https://github.com/yannickcr/eslint-plugin-react/pull/2974

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ You should also specify settings that will be shared across all the plugin rules
5555
"componentWrapperFunctions": [
5656
// 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.
5757
"observer", // `property`
58-
{"property": "styled"} // `object` is optional
58+
{"property": "styled"}, // `object` is optional
5959
{"property": "observer", "object": "Mobx"},
60-
{"property": "observer", "object": "<pragma>"}, // sets `object` to whatever value `settings.react.pragma` is set to
60+
{"property": "observer", "object": "<pragma>"} // sets `object` to whatever value `settings.react.pragma` is set to
6161
],
6262
"linkComponents": [
6363
// Components used as alternatives to <a> for linking, eg. <Link to={ url } />

0 commit comments

Comments
 (0)