Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/fix-fragment-children.md

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# eslint-plugin-react-render-types

## 0.7.5

### Patch Changes

- [#23](https://github.com/HorusGoul/eslint-plugin-react-render-types/pull/23) [`ab12d88`](https://github.com/HorusGoul/eslint-plugin-react-render-types/commit/ab12d88e98ef62480b2703d16ebf096d502122b2) Thanks [@HorusGoul](https://github.com/HorusGoul)! - fix: validate children inside JSX fragments in `valid-render-prop` rule

Previously, components wrapped in JSX fragments (`<>...</>`) were silently skipped during children validation. This meant neither valid nor invalid children inside fragments were checked against `@renders` annotations. Now fragments are recursively unwrapped in both `validateJSXChildren` and `extractChildElementNames`.

## 0.7.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-react-render-types",
"version": "0.7.4",
"version": "0.7.5",
"type": "module",
"description": "ESLint plugin that brings Flow's Render Types to TypeScript via JSDoc comments",
"main": "dist/index.js",
Expand Down