You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
### 💥 Breaking Changes
4
4
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**
6
6
7
7
- Drop support for CommonJS (CJS) module format, packages are now distributed only as ECMAScript Modules (ESM)
8
8
- Drop support for ESLint legacy config system, packages now support only ESLint Flat Config (`eslint.config.js`)
@@ -37,7 +37,7 @@
37
37
38
38
### ✨ New
39
39
40
-
We've added the following new rules:
40
+
Added the following new rules:
41
41
42
42
-`react-x/jsx-shorthand-boolean`: Enforces a consistent style for boolean attributes
43
43
-`react-x/jsx-shorthand-fragment`: Enforces a consistent style for React Fragments
@@ -47,11 +47,11 @@ We've added the following new rules:
47
47
-`react-dom/no-string-style-prop`: Disallows string values for the `style` prop
48
48
-`react-dom/prefer-namespace-import`: Enforces using a namespace import for `react-dom`
49
49
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:
51
51
52
52
-`react-x/no-unused-props`: Reports unused props in components
53
53
54
-
We've added codemod features to the following rules:
54
+
The following rules now support Codemod features:
55
55
56
56
-`react-x/no-component-did-update`
57
57
-`react-x/no-component-will-receive-props`
@@ -60,26 +60,26 @@ We've added codemod features to the following rules:
60
60
-`react-x/no-forward-ref`
61
61
-`react-x/no-string-refs`
62
62
63
-
We've added auto-fix features to the following rules:
63
+
The following rules now support auto-fix:
64
64
65
65
-`react-x/prefer-namespace-import`
66
66
-`react-dom/prefer-namespace-import`
67
67
68
-
We've added suggestion-fix features to the following rules:
68
+
The following rules now support suggestion fixes:
69
69
70
70
-`react-dom/no-missing-button-type`
71
71
-`react-dom/no-missing-iframe-sandbox`
72
72
-`react-dom/no-unsafe-target-blank`
73
73
74
-
We've also added new configuration presets:
74
+
New configuration preset added:
75
75
76
76
-`disable-conflict-eslint-plugin-react`: Disable rules in `eslint-plugin-react` that conflict with rules in our plugins
77
77
78
78
### 🐞 Fixes
79
79
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`
83
83
84
84
### 🪄 Improvements
85
85
@@ -89,9 +89,7 @@ We've also added new configuration presets:
89
89
- docs: replace `tseslint.config` with `defineConfig` in all examples
90
90
- build: migrate build system from `tsup` to `tsdown` for better performance
Copy file name to clipboardExpand all lines: apps/website/content/docs/changelog.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ title: Changelog
6
6
7
7
### 💥 Breaking Changes
8
8
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**
10
10
11
11
- Drop support for CommonJS (CJS) module format, packages are now distributed only as ECMAScript Modules (ESM)
12
12
- Drop support for ESLint legacy config system, packages now support only ESLint Flat Config (`eslint.config.js`)
@@ -41,7 +41,7 @@ title: Changelog
41
41
42
42
### ✨ New
43
43
44
-
We've added the following new rules:
44
+
Added the following new rules:
45
45
46
46
-`react-x/jsx-shorthand-boolean`: Enforces a consistent style for boolean attributes
47
47
-`react-x/jsx-shorthand-fragment`: Enforces a consistent style for React Fragments
@@ -51,11 +51,11 @@ We've added the following new rules:
51
51
-`react-dom/no-string-style-prop`: Disallows string values for the `style` prop
52
52
-`react-dom/prefer-namespace-import`: Enforces using a namespace import for `react-dom`
53
53
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:
55
55
56
56
-`react-x/no-unused-props`: Reports unused props in components
57
57
58
-
We've added codemod features to the following rules:
58
+
The following rules now support Codemod features:
59
59
60
60
-`react-x/no-component-did-update`
61
61
-`react-x/no-component-will-receive-props`
@@ -64,26 +64,26 @@ We've added codemod features to the following rules:
64
64
-`react-x/no-forward-ref`
65
65
-`react-x/no-string-refs`
66
66
67
-
We've added auto-fix features to the following rules:
67
+
The following rules now support auto-fix:
68
68
69
69
-`react-x/prefer-namespace-import`
70
70
-`react-dom/prefer-namespace-import`
71
71
72
-
We've added suggestion-fix features to the following rules:
72
+
The following rules now support suggestion fixes:
73
73
74
74
-`react-dom/no-missing-button-type`
75
75
-`react-dom/no-missing-iframe-sandbox`
76
76
-`react-dom/no-unsafe-target-blank`
77
77
78
-
We've also added new configuration presets:
78
+
New configuration preset added:
79
79
80
80
-`disable-conflict-eslint-plugin-react`: Disable rules in `eslint-plugin-react` that conflict with rules in our plugins
81
81
82
82
### 🐞 Fixes
83
83
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`
87
87
88
88
### 🪄 Improvements
89
89
@@ -93,9 +93,7 @@ We've also added new configuration presets:
93
93
- docs: replace `tseslint.config` with `defineConfig` in all examples
94
94
- build: migrate build system from `tsup` to `tsdown` for better performance
0 commit comments