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
+38-31Lines changed: 38 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
## v1.22.2 (Mon 30 Dec 2024)
2
+
3
+
### 🪄 Improvements
4
+
5
+
- perf: re-implement `no-duplicate-key` rule to improve its performance @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/891>
6
+
- refactor: prevent potential interference from TypeScript's `as`, `satisfies`, and non-null assertion operator in various rules
7
+
1
8
## v1.22.1 (Tue 24 Dec 2024)
2
9
3
10
### 🪄 Improvements
@@ -59,44 +66,44 @@ function useAuth() {
59
66
60
67
### 🪄 Improvements
61
68
62
-
- refactor(shared): replace `local-pkg` package with node built-in API by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/881
69
+
- refactor(shared): replace `local-pkg` package with node built-in API by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/881>
63
70
64
71
## v1.20.0 (Mon 16 Dec 2024)
65
72
66
73
### ✨ New
67
74
68
-
- feat(plugins/x): add codemod-autofix to `no-component-will-*` by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/879
75
+
- feat(plugins/x): add codemod-autofix to `no-component-will-*` by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/879>
69
76
70
77
### 🪄 Improvements
71
78
72
-
- refactor: use default settings when no settings are provided in `settings["react-x"]` by @rEl1cx in https://github.com/rEl1cx/eslint-react/commit/40ca3bd1cd7adc44f40841b5b4635e0200b73a54
73
-
- docs: update `no-context-provider.mdx` by @danielrentz in https://github.com/rEl1cx/eslint-react/pull/877
74
-
- docs: add 'Min. React' column to rules overview page by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/880
79
+
- refactor: use default settings when no settings are provided in `settings["react-x"]` by @rEl1cx in <https://github.com/rEl1cx/eslint-react/commit/40ca3bd1cd7adc44f40841b5b4635e0200b73a54>
80
+
- docs: update `no-context-provider.mdx` by @danielrentz in <https://github.com/rEl1cx/eslint-react/pull/877>
81
+
- docs: add 'Min. React' column to rules overview page by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/880>
75
82
- docs: add features section to rules overview page by @rEl1cx
76
83
77
84
## New Contributors
78
85
79
-
-@danielrentz made their first contribution in https://github.com/rEl1cx/eslint-react/pull/877
86
+
-@danielrentz made their first contribution in <https://github.com/rEl1cx/eslint-react/pull/877>
80
87
81
88
## v1.19.0 (Tue 10 Dec 2024)
82
89
83
90
### ✨ New
84
91
85
92
- feat(plugins/x): add `no-context-provider` rule by @rEl1cx
86
-
- feat(plugins/x): add autofix for `no-forward-ref` rule by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/874
93
+
- feat(plugins/x): add autofix for `no-forward-ref` rule by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/874>
87
94
- feat(plugins/eslint-plugin): add `no-forward-ref` and `no-context-provider` to recommended presets by @rEl1cx
88
95
89
96
### 🪄 Improvements
90
97
91
-
- refactor(plugins/eslint-plugin): remove `prefer-read-only-props` from `recommended-type-checked` preset by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/872
92
-
- refactor(plugins/eslint-plugin): hide `avoid-shorthand-boolean` and `avoid-shorthand-fragment` from presets and docs by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/876
98
+
- refactor(plugins/eslint-plugin): remove `prefer-read-only-props` from `recommended-type-checked` preset by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/872>
99
+
- refactor(plugins/eslint-plugin): hide `avoid-shorthand-boolean` and `avoid-shorthand-fragment` from presets and docs by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/876>
93
100
- Update `@typescript-eslint`'s packages to `^8.18.0`.
94
101
95
102
## v1.18.0 (Sun 8 Dec 2024)
96
103
97
104
### ✨ New
98
105
99
-
- feat(plugins/x): add `no-forward-ref` rule by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/870
106
+
- feat(plugins/x): add `no-forward-ref` rule by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/870>
100
107
101
108
### 🪄 Improvements
102
109
@@ -106,9 +113,9 @@ function useAuth() {
106
113
107
114
### 🐞 Fixes
108
115
109
-
- fix(plugins/web-api): add 'forEach' support to 'no-leaked-event-listener', closes #842 by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/867
110
-
- fix(plugins/web-api): add 'for of' support to 'no-leaked-event-listenner', closes #842 by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/869
111
-
- fix(plugins/x): 'no-array-index-key' mistaking 'foo.bar.map' for 'Rea… by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/868
116
+
- fix(plugins/web-api): add 'forEach' support to 'no-leaked-event-listener', closes #842 by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/867>
117
+
- fix(plugins/web-api): add 'for of' support to 'no-leaked-event-listenner', closes #842 by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/869>
118
+
- fix(plugins/x): 'no-array-index-key' mistaking 'foo.bar.map' for 'Rea… by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/868>
112
119
113
120
### 🪄 Improvements
114
121
@@ -130,8 +137,8 @@ function useAuth() {
130
137
131
138
### 🐞 Fixes
132
139
133
-
- fix(plugins/x): 'no-leaked-conditional-rendering' should also warn 'anyStringVar' when react version is lower than 18, closes #853 by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/864
134
-
- fix(plugins/dom): add popover api props to 'no-unknown-property', closes #855 by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/865
140
+
- fix(plugins/x): 'no-leaked-conditional-rendering' should also warn 'anyStringVar' when react version is lower than 18, closes #853 by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/864>
141
+
- fix(plugins/dom): add popover api props to 'no-unknown-property', closes #855 by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/865>
135
142
- fix(plugins/debug): 'is-from-react' use correct settings when calling 'isInitializedFromReact', by @rEl1cx
136
143
137
144
## v1.17.0 (Thu 21 Nov 2024)
@@ -150,27 +157,27 @@ function useAuth() {
150
157
151
158
### 🐞 Fixes
152
159
153
-
- fix(plugins/x): 'no-leaked-conditional-rendering' report empty string, closes #853 by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/857
160
+
- fix(plugins/x): 'no-leaked-conditional-rendering' report empty string, closes #853 by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/857>
154
161
155
162
### 🪄 Improvements
156
163
157
-
- refactor: update the default behavior of import check, closes #858 by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/860
164
+
- refactor: update the default behavior of import check, closes #858 by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/860>
158
165
159
166
## v1.16.1 (Sun 10 Nov 2024)
160
167
161
168
### ✨ New
162
169
163
-
- feat(plugins/x): add `jsx-no-duplicate-props` by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/851
170
+
- feat(plugins/x): add `jsx-no-duplicate-props` by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/851>
164
171
165
172
### 🪄 Improvements
166
173
167
-
- docs: use correct link for `prefer-react-namespace-import` in rule list by @rakleed in https://github.com/rEl1cx/eslint-react/pull/849
174
+
- docs: use correct link for `prefer-react-namespace-import` in rule list by @rakleed in <https://github.com/rEl1cx/eslint-react/pull/849>
168
175
169
176
## v1.16.0 (Fri 1 Nov 2024)
170
177
171
178
### ✨ New
172
179
173
-
- feat(plugins/react-x): add `jsx-uses-vars`, closes #834 by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/845
180
+
- feat(plugins/react-x): add `jsx-uses-vars`, closes #834 by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/845>
174
181
- feat(plugins/react-dom): add `no-unknown-property`, closes #846 by @rEl1cx
175
182
- feat: add `recommended-typescript` and `recommended-typescript-legacy` presets by @rEl1cx
176
183
@@ -192,33 +199,33 @@ function useAuth() {
192
199
193
200
### 🐞 Fixes
194
201
195
-
- fix(plugins/react-x): respect semicolon by @hyoban in https://github.com/rEl1cx/eslint-react/pull/841
196
-
- fix(utilities/ast): added missing ts `as` and `satisfies` expressions handling to `getFunctionIdentifier` by @rEl1cx , closes https://github.com/rEl1cx/eslint-react/issues/843
202
+
- fix(plugins/react-x): respect semicolon by @hyoban in <https://github.com/rEl1cx/eslint-react/pull/841>
203
+
- fix(utilities/ast): added missing ts `as` and `satisfies` expressions handling to `getFunctionIdentifier` by @rEl1cx , closes <https://github.com/rEl1cx/eslint-react/issues/843>
197
204
198
205
## v1.15.0 (Sat 12 Oct 2024)
199
206
200
207
### ✨ New
201
208
202
-
- feat: add support for constructors in `hooks-extra/prefer-use-state-lazy-initialization` by @imjordanxd in https://github.com/rEl1cx/eslint-react/pull/829
203
-
- feat: add `prefer-react-namespace-import`, closes #803 by @imjordanxd in https://github.com/rEl1cx/eslint-react/pull/832
204
-
- feat: add support for `allowExpressions` in `no-useless-fragment` by @imjordanxd in https://github.com/rEl1cx/eslint-react/pull/836
209
+
- feat: add support for constructors in `hooks-extra/prefer-use-state-lazy-initialization` by @imjordanxd in <https://github.com/rEl1cx/eslint-react/pull/829>
210
+
- feat: add `prefer-react-namespace-import`, closes #803 by @imjordanxd in <https://github.com/rEl1cx/eslint-react/pull/832>
211
+
- feat: add support for `allowExpressions` in `no-useless-fragment` by @imjordanxd in <https://github.com/rEl1cx/eslint-react/pull/836>
205
212
206
213
### 🐞 Fixes
207
214
208
215
- fix: Fix false positives when 'web-api/no-leaked-event-listener' passes a signal to an intermediate variable, closes #838
209
216
210
217
### 🪄 Improvements
211
218
212
-
- docs: Update `hooks-extra-no-direct-set-state-in-use-effect.mdx` by @neovov in https://github.com/rEl1cx/eslint-react/pull/831
213
-
- docs: use a standard mono-width font for the docs, closes #835 by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/837
214
-
- Undeprecate `hooks-extra-no-direct-set-state-in-use-layout-effect` and remove it from recommended presets, closes #839 by @rEl1cx in https://github.com/rEl1cx/eslint-react/pull/840
219
+
- docs: Update `hooks-extra-no-direct-set-state-in-use-effect.mdx` by @neovov in <https://github.com/rEl1cx/eslint-react/pull/831>
220
+
- docs: use a standard mono-width font for the docs, closes #835 by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/837>
221
+
- Undeprecate `hooks-extra-no-direct-set-state-in-use-layout-effect` and remove it from recommended presets, closes #839 by @rEl1cx in <https://github.com/rEl1cx/eslint-react/pull/840>
215
222
216
223
## New Contributors
217
224
218
-
-@imjordanxd made their first contribution in https://github.com/rEl1cx/eslint-react/pull/829
219
-
-@neovov made their first contribution in https://github.com/rEl1cx/eslint-react/pull/831
225
+
-@imjordanxd made their first contribution in <https://github.com/rEl1cx/eslint-react/pull/829>
226
+
-@neovov made their first contribution in <https://github.com/rEl1cx/eslint-react/pull/831>
0 commit comments