Skip to content

Commit 3056f12

Browse files
committed
Require one space before closing on self-closing JSX tags
1 parent 268a3cf commit 3056f12

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).
66

7+
## [3.4.1] - 2025-03-28
8+
#### Added
9+
* *Nothing*
10+
11+
#### Changed
12+
* Update `react/jsx-tag-spacing` so that it requires a space before closing tag.
13+
14+
#### Deprecated
15+
* *Nothing*
16+
17+
#### Removed
18+
* *Nothing*
19+
20+
#### Fixed
21+
* *Nothing*
22+
23+
724
## [3.4.0] - 2025-02-22
825
#### Added
926
* Support any version of `@stylistic/eslint-plugin` newer than 3.0. This allows this library to continue working even if they release major versions (which happens frequently).

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export const reactConfig = [
9292
}
9393
},
9494
rules: {
95+
'react/jsx-tag-spacing': ['error', { beforeClosing: 'never' }],
9596
'react-hooks/rules-of-hooks': 'error',
9697
'react-hooks/exhaustive-deps': 'error',
9798

0 commit comments

Comments
 (0)