File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,15 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
1414* [ ` hook-use-state ` ] : Allow UPPERCASE setState setter prefixes ([ #3244 ] [ ] @duncanbeevers )
1515* ` propTypes ` : add ` VFC ` to react generic type param map ([ #3230 ] [ ] @dlech )
1616* [ ` no-unused-state ` ] : avoid a crash ([ #3258 ] [ ] @WillyLiaoWH @ljharb )
17+ * [ ` jsx-no-useless-fragment ` ] : use proper apostrophe in error message ([ #3266 ] [ ] @develohpanda )
1718
1819### Changed
1920* [ readme] remove global usage and eslint version from readme ([ #3254 ] [ ] @aladdin-add )
2021* [ Refactor] fix linter errors ([ #3261 ] [ ] @golopot )
2122* [ Docs] [ ` no-unused-prop-types ` ] : fix syntax errors ([ #3259 ] [ ] @mrdulin )
2223* [ Refactor] improve performance for detecting function components ([ #3265 ] [ ] @golopot )
2324
25+ [ #3266 ] : https://github.com/yannickcr/eslint-plugin-react/pull/3266
2426[ #3265 ] : https://github.com/yannickcr/eslint-plugin-react/pull/3265
2527[ #3261 ] : https://github.com/yannickcr/eslint-plugin-react/pull/3261
2628[ #3260 ] : https://github.com/yannickcr/eslint-plugin-react/pull/3260
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ function containsCallExpression(node) {
7979}
8080
8181const messages = {
82- NeedsMoreChildren : 'Fragments should contain more than one child - otherwise, there‘ s no need for a Fragment at all.' ,
82+ NeedsMoreChildren : 'Fragments should contain more than one child - otherwise, there’ s no need for a Fragment at all.' ,
8383 ChildOfHtmlElement : 'Passing a fragment to an HTML element is useless.' ,
8484} ;
8585
You can’t perform that action at this time.
0 commit comments