Skip to content

Commit ca79f16

Browse files
committed
release: 1.22.2
1 parent 09d0c26 commit ca79f16

File tree

17 files changed

+54
-47
lines changed

17 files changed

+54
-47
lines changed

CHANGELOG.md

Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff 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+
18
## v1.22.1 (Tue 24 Dec 2024)
29

310
### 🪄 Improvements
@@ -59,44 +66,44 @@ function useAuth() {
5966

6067
### 🪄 Improvements
6168

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>
6370

6471
## v1.20.0 (Mon 16 Dec 2024)
6572

6673
### ✨ New
6774

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>
6976

7077
### 🪄 Improvements
7178

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>
7582
- docs: add features section to rules overview page by @rEl1cx
7683

7784
## New Contributors
7885

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>
8087

8188
## v1.19.0 (Tue 10 Dec 2024)
8289

8390
### ✨ New
8491

8592
- 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>
8794
- feat(plugins/eslint-plugin): add `no-forward-ref` and `no-context-provider` to recommended presets by @rEl1cx
8895

8996
### 🪄 Improvements
9097

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>
93100
- Update `@typescript-eslint`'s packages to `^8.18.0`.
94101

95102
## v1.18.0 (Sun 8 Dec 2024)
96103

97104
### ✨ New
98105

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>
100107

101108
### 🪄 Improvements
102109

@@ -106,9 +113,9 @@ function useAuth() {
106113

107114
### 🐞 Fixes
108115

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>
112119

113120
### 🪄 Improvements
114121

@@ -130,8 +137,8 @@ function useAuth() {
130137

131138
### 🐞 Fixes
132139

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>
135142
- fix(plugins/debug): 'is-from-react' use correct settings when calling 'isInitializedFromReact', by @rEl1cx
136143

137144
## v1.17.0 (Thu 21 Nov 2024)
@@ -150,27 +157,27 @@ function useAuth() {
150157

151158
### 🐞 Fixes
152159

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>
154161

155162
### 🪄 Improvements
156163

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>
158165

159166
## v1.16.1 (Sun 10 Nov 2024)
160167

161168
### ✨ New
162169

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>
164171

165172
### 🪄 Improvements
166173

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>
168175

169176
## v1.16.0 (Fri 1 Nov 2024)
170177

171178
### ✨ New
172179

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>
174181
- feat(plugins/react-dom): add `no-unknown-property`, closes #846 by @rEl1cx
175182
- feat: add `recommended-typescript` and `recommended-typescript-legacy` presets by @rEl1cx
176183

@@ -192,33 +199,33 @@ function useAuth() {
192199

193200
### 🐞 Fixes
194201

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>
197204

198205
## v1.15.0 (Sat 12 Oct 2024)
199206

200207
### ✨ New
201208

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>
205212

206213
### 🐞 Fixes
207214

208215
- fix: Fix false positives when 'web-api/no-leaked-event-listener' passes a signal to an intermediate variable, closes #838
209216

210217
### 🪄 Improvements
211218

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>
215222

216223
## New Contributors
217224

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>
220227

221-
**Full Changelog**: https://github.com/rEl1cx/eslint-react/compare/v1.14.3...v1.15.0
228+
**Full Changelog**: <https://github.com/rEl1cx/eslint-react/compare/v1.14.3...v1.15.0>
222229

223230
## v1.14.3 (Sat 29 Sep 2024)
224231

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.2-beta.11
1+
1.22.2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/monorepo",
3-
"version": "1.22.2-beta.11",
3+
"version": "1.22.2",
44
"private": true,
55
"description": "Monorepo for eslint-plugin-react-[x, dom, web-api, hooks-extra, naming-convention].",
66
"keywords": [

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eslint-react/core",
3-
"version": "1.22.2-beta.11",
3+
"version": "1.22.2",
44
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and Patterns.",
55
"homepage": "https://github.com/rEl1cx/eslint-react",
66
"bugs": {

packages/plugins/eslint-plugin-react-debug/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-debug",
3-
"version": "1.22.2-beta.11",
3+
"version": "1.22.2",
44
"description": "ESLint React's ESLint plugin for debugging related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-dom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-dom",
3-
"version": "1.22.2-beta.11",
3+
"version": "1.22.2",
44
"description": "ESLint React's ESLint plugin for React DOM related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-hooks-extra/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-hooks-extra",
3-
"version": "1.22.2-beta.11",
3+
"version": "1.22.2",
44
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-naming-convention/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-naming-convention",
3-
"version": "1.22.2-beta.11",
3+
"version": "1.22.2",
44
"description": "ESLint React's ESLint plugin for naming convention related rules.",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-web-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-web-api",
3-
"version": "1.22.2-beta.11",
3+
"version": "1.22.2",
44
"description": "ESLint React's ESLint plugin for interacting with Web APIs",
55
"keywords": [
66
"react",

packages/plugins/eslint-plugin-react-x/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-x",
3-
"version": "1.22.2-beta.11",
3+
"version": "1.22.2",
44
"description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)