Skip to content

Commit 0c5126e

Browse files
committed
docs: update changelog
1 parent 8926cf2 commit 0c5126e

File tree

2 files changed

+22
-26
lines changed

2 files changed

+22
-26
lines changed

CHANGELOG.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### 💥 Breaking Changes
44

5-
**The target environment for all packages has changed to ESM and ESLint Flat Config only:**
5+
**Target Environment Updates: Now ESM and ESLint Flat Config Only**
66

77
- Drop support for CommonJS (CJS) module format, packages are now distributed only as ECMAScript Modules (ESM)
88
- Drop support for ESLint legacy config system, packages now support only ESLint Flat Config (`eslint.config.js`)
@@ -37,7 +37,7 @@
3737

3838
### ✨ New
3939

40-
We've added the following new rules:
40+
Added the following new rules:
4141

4242
- `react-x/jsx-shorthand-boolean`: Enforces a consistent style for boolean attributes
4343
- `react-x/jsx-shorthand-fragment`: Enforces a consistent style for React Fragments
@@ -47,11 +47,11 @@ We've added the following new rules:
4747
- `react-dom/no-string-style-prop`: Disallows string values for the `style` prop
4848
- `react-dom/prefer-namespace-import`: Enforces using a namespace import for `react-dom`
4949

50-
We've added the following new rules to `recommended-type-checked` presets:
50+
Added the following new rule to the `recommended-type-checked` preset:
5151

5252
- `react-x/no-unused-props`: Reports unused props in components
5353

54-
We've added codemod features to the following rules:
54+
The following rules now support Codemod features:
5555

5656
- `react-x/no-component-did-update`
5757
- `react-x/no-component-will-receive-props`
@@ -60,26 +60,26 @@ We've added codemod features to the following rules:
6060
- `react-x/no-forward-ref`
6161
- `react-x/no-string-refs`
6262

63-
We've added auto-fix features to the following rules:
63+
The following rules now support auto-fix:
6464

6565
- `react-x/prefer-namespace-import`
6666
- `react-dom/prefer-namespace-import`
6767

68-
We've added suggestion-fix features to the following rules:
68+
The following rules now support suggestion fixes:
6969

7070
- `react-dom/no-missing-button-type`
7171
- `react-dom/no-missing-iframe-sandbox`
7272
- `react-dom/no-unsafe-target-blank`
7373

74-
We've also added new configuration presets:
74+
New configuration preset added:
7575

7676
- `disable-conflict-eslint-plugin-react`: Disable rules in `eslint-plugin-react` that conflict with rules in our plugins
7777

7878
### 🐞 Fixes
7979

80-
- fix(x/no-unnecessary-use-prefix): fix false positive of React Hooks defined within the callback function of `vi.mock(...)` in Vitest test files
81-
- fix(web-api/no-leaked-event-listener): fix `useEffect` setup function check to handle `React.useEffect()` calls correctly
82-
- fix(naming-convention/filename): fix false positive on well-known filenames like `404.tsx`, `_app.tsx`, `[slug].tsx`
80+
- fix(react-x/no-unnecessary-use-prefix): fix false positive of React Hooks defined within the callback function of `vi.mock(...)` in Vitest test files
81+
- fix(react-web-api/no-leaked-event-listener): fix `useEffect` setup function check to handle `React.useEffect()` calls correctly
82+
- fix(react-naming-convention/filename): fix false positive on well-known filenames like `404.tsx`, `_app.tsx`, `[slug].tsx`
8383

8484
### 🪄 Improvements
8585

@@ -89,9 +89,7 @@ We've also added new configuration presets:
8989
- docs: replace `tseslint.config` with `defineConfig` in all examples
9090
- build: migrate build system from `tsup` to `tsdown` for better performance
9191

92-
**Full Changelog**:
93-
94-
TODO: Add link to full changelog
92+
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v1.53.1...v2.0.0
9593

9694
## v1.53.1 (2025-09-11)
9795

apps/website/content/docs/changelog.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Changelog
66

77
### 💥 Breaking Changes
88

9-
**The target environment for all packages has changed to ESM and ESLint Flat Config only:**
9+
**Target Environment Updates: Now ESM and ESLint Flat Config Only**
1010

1111
- Drop support for CommonJS (CJS) module format, packages are now distributed only as ECMAScript Modules (ESM)
1212
- Drop support for ESLint legacy config system, packages now support only ESLint Flat Config (`eslint.config.js`)
@@ -41,7 +41,7 @@ title: Changelog
4141

4242
### ✨ New
4343

44-
We've added the following new rules:
44+
Added the following new rules:
4545

4646
- `react-x/jsx-shorthand-boolean`: Enforces a consistent style for boolean attributes
4747
- `react-x/jsx-shorthand-fragment`: Enforces a consistent style for React Fragments
@@ -51,11 +51,11 @@ We've added the following new rules:
5151
- `react-dom/no-string-style-prop`: Disallows string values for the `style` prop
5252
- `react-dom/prefer-namespace-import`: Enforces using a namespace import for `react-dom`
5353

54-
We've added the following new rules to `recommended-type-checked` presets:
54+
Added the following new rule to the `recommended-type-checked` preset:
5555

5656
- `react-x/no-unused-props`: Reports unused props in components
5757

58-
We've added codemod features to the following rules:
58+
The following rules now support Codemod features:
5959

6060
- `react-x/no-component-did-update`
6161
- `react-x/no-component-will-receive-props`
@@ -64,26 +64,26 @@ We've added codemod features to the following rules:
6464
- `react-x/no-forward-ref`
6565
- `react-x/no-string-refs`
6666

67-
We've added auto-fix features to the following rules:
67+
The following rules now support auto-fix:
6868

6969
- `react-x/prefer-namespace-import`
7070
- `react-dom/prefer-namespace-import`
7171

72-
We've added suggestion-fix features to the following rules:
72+
The following rules now support suggestion fixes:
7373

7474
- `react-dom/no-missing-button-type`
7575
- `react-dom/no-missing-iframe-sandbox`
7676
- `react-dom/no-unsafe-target-blank`
7777

78-
We've also added new configuration presets:
78+
New configuration preset added:
7979

8080
- `disable-conflict-eslint-plugin-react`: Disable rules in `eslint-plugin-react` that conflict with rules in our plugins
8181

8282
### 🐞 Fixes
8383

84-
- fix(x/no-unnecessary-use-prefix): fix false positive of React Hooks defined within the callback function of `vi.mock(...)` in Vitest test files
85-
- fix(web-api/no-leaked-event-listener): fix `useEffect` setup function check to handle `React.useEffect()` calls correctly
86-
- fix(naming-convention/filename): fix false positive on well-known filenames like `404.tsx`, `_app.tsx`, `[slug].tsx`
84+
- fix(react-x/no-unnecessary-use-prefix): fix false positive of React Hooks defined within the callback function of `vi.mock(...)` in Vitest test files
85+
- fix(react-web-api/no-leaked-event-listener): fix `useEffect` setup function check to handle `React.useEffect()` calls correctly
86+
- fix(react-naming-convention/filename): fix false positive on well-known filenames like `404.tsx`, `_app.tsx`, `[slug].tsx`
8787

8888
### 🪄 Improvements
8989

@@ -93,9 +93,7 @@ We've also added new configuration presets:
9393
- docs: replace `tseslint.config` with `defineConfig` in all examples
9494
- build: migrate build system from `tsup` to `tsdown` for better performance
9595

96-
**Full Changelog**:
97-
98-
TODO: Add link to full changelog
96+
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v1.53.1...v2.0.0
9997

10098
## v1.53.1 (2025-09-11)
10199

0 commit comments

Comments
 (0)