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
+43-35Lines changed: 43 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,35 @@
1
+
## v1.36.3 (2025-03-20)
2
+
3
+
### 🐞 Fixes
4
+
5
+
- fix: `hooks-extra/prefer-use-state-lazy-initialization` false positive on `useState(use(promise))` closes #999 by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/1000>
- feat(plugins/dom): add `no-render` rule to replace `ReactDom.render()` with `createRoot(node).render()`, closes #972 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/993
20
-
- feat(plugins/dom): add `no-hydrate` rule to replace `ReactDom.hydrate()` with `hydrateRoot()`, closes #973 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/995
27
+
- feat(plugins/dom): add `no-render` rule to replace `ReactDom.render()` with `createRoot(node).render()`, closes #972 by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/993>
28
+
- feat(plugins/dom): add `no-hydrate` rule to replace `ReactDom.hydrate()` with `hydrateRoot()`, closes #973 by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/995>
21
29
22
30
### 🪄 Improvements
23
31
24
-
- refactor: rename `hooks-extra/no-useless-custom-hooks` to `hooks-extra/no-unnecessary-use-prefix` by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/996
32
+
- refactor: rename `hooks-extra/no-useless-custom-hooks` to `hooks-extra/no-unnecessary-use-prefix` by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/996>
25
33
26
34
### 📝 Changes you should be aware of
27
35
@@ -32,22 +40,22 @@ The following rules have been renamed:
32
40
33
41
The old rule names will still be available until the next major update to avoid breaking changes.
- fix: false positive in `react-x/no-context-provider` on symbols named `Provider` which are imported from third-party libs, closes #991 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/992
49
+
- fix: false positive in `react-x/no-context-provider` on symbols named `Provider` which are imported from third-party libs, closes #991 by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/992>
- refactor: export the create function of each rule by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/989
50
-
- refactor(plugins/x): rename `no-nested-components` rule to `no-nested-component-definitions` and update related docs by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/990
57
+
- refactor: export the create function of each rule by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/989>
58
+
- refactor(plugins/x): rename `no-nested-components` rule to `no-nested-component-definitions` and update related docs by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/990>
51
59
52
60
### 📝 Changes you should be aware of
53
61
@@ -58,17 +66,17 @@ The following rules have been renamed:
58
66
59
67
The old rule names will still be available until the next major update to avoid breaking changes.
- fix: update rule severity for `no-flush-sync` and `no-void-elements-with-children` in recommended presets by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/988
75
+
- fix: update rule severity for `no-flush-sync` and `no-void-elements-with-children` in recommended presets by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/988>
68
76
69
77
### 🪄 Improvements
70
78
71
-
- refactor(plugins/x): rename `ensure-forward-ref-using-ref` to `no-useless-forward-ref` by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/987
79
+
- refactor(plugins/x): rename `ensure-forward-ref-using-ref` to `no-useless-forward-ref` by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/987>
72
80
73
81
### 📝 Changes you should be aware of
74
82
@@ -79,30 +87,30 @@ The following rules have been renamed:
79
87
80
88
The old rule names will still be available until the next major update to avoid breaking changes.
- fix: fixed `no-context-provider` replaces `<Provider>` with `<>`, closes #984 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/985
96
+
- fix: fixed `no-context-provider` replaces `<Provider>` with `<>`, closes #984 by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/985>
89
97
90
98
## v1.32.0 (2025-03-12)
91
99
92
100
### ✨ New
93
101
94
-
- feat: revert 'feat: add naming-convention/use-state and naming-convention/context-name to recommended presets by @Rel1cx in #956' by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/982
102
+
- feat: revert 'feat: add naming-convention/use-state and naming-convention/context-name to recommended presets by @Rel1cx in #956' by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/982>
95
103
96
104
### 🪄 Improvements
97
105
98
-
- docs: update eslint configs in examples to use extends by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/978
99
-
- docs: update ts configs in examples to use project references by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/979
106
+
- docs: update eslint configs in examples to use extends by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/978>
107
+
- docs: update ts configs in examples to use project references by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/979>
100
108
101
109
## v1.31.0 (2025-03-07)
102
110
103
111
### ✨ New
104
112
105
-
- feat: enhance regex handling in naming convention rules by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/969
113
+
- feat: enhance regex handling in naming convention rules by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/969>
106
114
107
115
### 🪄 Improvements
108
116
@@ -112,64 +120,64 @@ The old rule names will still be available until the next major update to avoid
112
120
113
121
### 🐞 Fixes
114
122
115
-
- fix(plugins/hooks-extra): misidentification of `set` function in IIFE inside of hooks as its inside of `useEffect`, `useLayoutEffect`, closes [#967](https://github.com/Rel1cx/eslint-react/issues/967) by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/968
123
+
- fix(plugins/hooks-extra): misidentification of `set` function in IIFE inside of hooks as its inside of `useEffect`, `useLayoutEffect`, closes [#967](https://github.com/Rel1cx/eslint-react/issues/967) by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/968>
116
124
117
125
## v1.30.1 (2025-03-04)
118
126
119
127
### 🐞 Fixes
120
128
121
-
- fix(utilities/var): fix variable init node retrieval, fixes [#964](https://github.com/Rel1cx/eslint-react/pull/964) by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/965
129
+
- fix(utilities/var): fix variable init node retrieval, fixes [#964](https://github.com/Rel1cx/eslint-react/pull/964) by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/965>
122
130
123
131
### 🪄 Improvements
124
132
125
-
- refactor(plugins/hooks-extra): improve code reusability by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/963
133
+
- refactor(plugins/hooks-extra): improve code reusability by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/963>
126
134
127
135
### New Contributors
128
136
129
-
-@mrginglymus made their first contribution in https://github.com/Rel1cx/eslint-react/pull/964
137
+
-@mrginglymus made their first contribution in <https://github.com/Rel1cx/eslint-react/pull/964>
130
138
131
139
## v1.30.0 (2025-03-03)
132
140
133
141
### ✨ New
134
142
135
-
- feat: add `naming-convention/use-state` and `naming-convention/context-name` to recommended presets by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/956
143
+
- feat: add `naming-convention/use-state` and `naming-convention/context-name` to recommended presets by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/956>
136
144
137
145
### 🐞 Fixes
138
146
139
-
- fix: correct readonly checks and test cases in `prefer-read-only-props` by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/957
140
-
- fix: rework `naming-convention/component-name` rule to follow [[email protected]](https://github.com/facebook/react/releases/tag/eslint-plugin-react-hooks%405.0.0) by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/959
147
+
- fix: correct readonly checks and test cases in `prefer-read-only-props` by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/957>
148
+
- fix: rework `naming-convention/component-name` rule to follow [[email protected]](https://github.com/facebook/react/releases/tag/eslint-plugin-react-hooks%405.0.0) by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/959>
141
149
> Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means `_Button` or `_component` are no longer valid.
142
-
- fix: `naming-convention/use-state` fails with multiple words, closes #960 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/961
150
+
- fix: `naming-convention/use-state` fails with multiple words, closes #960 by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/961>
143
151
144
152
## v1.29.0 (2025-03-01)
145
153
146
154
### ✨ New
147
155
148
-
- feat(plugins/naming-convention): add `context-name` rule by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/952
156
+
- feat(plugins/naming-convention): add `context-name` rule by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/952>
149
157
150
158
### 🐞 Fixes
151
159
152
-
- fix: fixed `naming-convention/use-state` works in components only, closes #953 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/954
160
+
- fix: fixed `naming-convention/use-state` works in components only, closes #953 by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/954>
153
161
154
162
### 🪄 Improvements
155
163
156
-
- docs: use `recommended-typescript` for typescript files by @bluwy in https://github.com/Rel1cx/eslint-react/pull/949
164
+
- docs: use `recommended-typescript` for typescript files by @bluwy in <https://github.com/Rel1cx/eslint-react/pull/949>
157
165
158
166
### New Contributors
159
167
160
-
-@bluwy made their first contribution in https://github.com/Rel1cx/eslint-react/pull/949
168
+
-@bluwy made their first contribution in <https://github.com/Rel1cx/eslint-react/pull/949>
161
169
162
170
## v1.28.0 (2025-02-26)
163
171
164
172
### ✨ New
165
173
166
-
- feat(plugins/dom): add `no-flush-sync` rule by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/942
174
+
- feat(plugins/dom): add `no-flush-sync` rule by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/942>
167
175
- feat: add [`skipImportCheck`](https://eslint-react.xyz/docs/configurations#skipimportcheck) setting by @Rel1cx
168
176
169
177
### 🪄 Improvements
170
178
171
-
- refactor: code optimization by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/945
172
-
- refactor: consistent ordering of arguments to context-aware utility functions by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/946
179
+
- refactor: code optimization by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/945>
180
+
- refactor: consistent ordering of arguments to context-aware utility functions by @Rel1cx in <https://github.com/Rel1cx/eslint-react/pull/946>
0 commit comments