Skip to content

Commit b98b36d

Browse files
authored
Merge branch 'main' into jsx-detection
2 parents b245b1a + 9cb9c22 commit b98b36d

File tree

33 files changed

+171
-94
lines changed

33 files changed

+171
-94
lines changed

.pkgs/configs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
},
2121
"dependencies": {
2222
"@eslint/js": "^9.28.0",
23-
"@stylistic/eslint-plugin": "^4.4.0",
23+
"@stylistic/eslint-plugin": "^4.4.1",
2424
"eslint-plugin-de-morgan": "^1.2.1",
2525
"eslint-plugin-function": "^0.0.21",
2626
"eslint-plugin-jsdoc": "^50.7.1",
27-
"eslint-plugin-perfectionist": "^4.13.0",
28-
"eslint-plugin-regexp": "^2.7.0",
27+
"eslint-plugin-perfectionist": "^4.14.0",
28+
"eslint-plugin-regexp": "^2.8.0",
2929
"eslint-plugin-unicorn": "^59.0.1",
3030
"typescript-eslint": "^8.33.1"
3131
}

.pkgs/eslint-plugin-local/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,23 @@
2727
"@eslint-react/shared": "workspace:*",
2828
"@eslint-react/var": "workspace:*",
2929
"@eslint/js": "^9.28.0",
30-
"@stylistic/eslint-plugin": "^4.4.0",
30+
"@stylistic/eslint-plugin": "^4.4.1",
3131
"@typescript-eslint/scope-manager": "^8.33.1",
3232
"@typescript-eslint/type-utils": "^8.33.1",
3333
"@typescript-eslint/types": "^8.33.1",
3434
"@typescript-eslint/utils": "^8.33.1",
3535
"eslint-plugin-de-morgan": "^1.2.1",
3636
"eslint-plugin-jsdoc": "^50.7.1",
37-
"eslint-plugin-perfectionist": "^4.13.0",
38-
"eslint-plugin-regexp": "^2.7.0",
37+
"eslint-plugin-perfectionist": "^4.14.0",
38+
"eslint-plugin-regexp": "^2.8.0",
3939
"eslint-plugin-unicorn": "^59.0.1",
4040
"string-ts": "^2.2.1",
4141
"ts-pattern": "^5.7.1"
4242
},
4343
"devDependencies": {
4444
"@local/configs": "workspace:*",
4545
"@types/react": "^19.1.6",
46-
"@types/react-dom": "^19.1.5",
46+
"@types/react-dom": "^19.1.6",
4747
"tsup": "^8.5.0"
4848
},
4949
"peerDependencies": {

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## v1.51.0 (2025-06-03)
2+
3+
### ✨ New
4+
5+
- feat(react-x): add `jsx-no-iife` rule, closes #1112 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/1113
6+
7+
### 🐞 Fixes
8+
9+
- fix: fixed `no-direct-set-state-in-use-effect` deferred setState calls detection, closes #1117 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/1119
10+
11+
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v1.50.0...v1.51.0
12+
113
## v1.50.0 (2025-05-25)
214

315
### 🐞 Fixes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.50.1-next.6
1+
1.51.1-beta.1

apps/website/content/docs/changelog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
title: Changelog
33
---
44

5+
## v1.51.0 (2025-06-03)
6+
7+
### ✨ New
8+
9+
- feat(react-x): add `jsx-no-iife` rule, closes #1112 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/1113
10+
11+
### 🐞 Fixes
12+
13+
- fix: fixed `no-direct-set-state-in-use-effect` deferred setState calls detection, closes #1117 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/1119
14+
15+
**Full Changelog**: https://github.com/Rel1cx/eslint-react/compare/v1.50.0...v1.51.0
16+
517
## v1.50.0 (2025-05-25)
618

719
### 🐞 Fixes

apps/website/content/docs/community.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export const projects = [
1111
{ owner: "onejs", repo: "one" },
1212
{ owner: "payloadcms", repo: "payload" },
1313
{ owner: "prettier", repo: "prettier" },
14+
{ owner: "primer", repo: "react" },
1415
{ owner: "react-navigation", repo: "react-navigation" },
1516
{ owner: "refined-github", repo: "refined-github" },
1617
{ owner: "RSSNext", repo: "Follow" },

apps/website/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"fumadocs-twoslash": "3.1.3",
2121
"fumadocs-typescript": "4.0.5",
2222
"fumadocs-ui": "15.5.0",
23-
"lucide-react": "^0.511.0",
23+
"lucide-react": "^0.513.0",
2424
"next": "^15.3.3",
2525
"next-view-transitions": "^0.3.4",
2626
"react": "^19.1.0",
2727
"react-dom": "^19.1.0",
28-
"shiki": "^3.4.2",
28+
"shiki": "^3.6.0",
2929
"tailwind-merge": "^3.3.0",
3030
"twoslash": "^0.3.1"
3131
},
@@ -34,7 +34,7 @@
3434
"@eslint-react/kit": "workspace:*",
3535
"@eslint-react/shared": "workspace:*",
3636
"@eslint/js": "^9.28.0",
37-
"@eslint/markdown": "^6.4.0",
37+
"@eslint/markdown": "^6.5.0",
3838
"@local/configs": "workspace:*",
3939
"@mdx-js/mdx": "^3.1.0",
4040
"@tailwindcss/postcss": "^4.1.8",
@@ -44,15 +44,15 @@
4444
"@tsconfig/strictest": "^2.0.5",
4545
"@types/hast": "^3.0.4",
4646
"@types/mdx": "^2.0.13",
47-
"@types/node": "^22.15.29",
47+
"@types/node": "^22.15.30",
4848
"@types/react": "^19.1.6",
49-
"@types/react-dom": "^19.1.5",
49+
"@types/react-dom": "^19.1.6",
5050
"autoprefixer": "^10.4.21",
5151
"dedent": "^1.6.0",
5252
"eslint": "^9.28.0",
5353
"eslint-plugin-de-morgan": "^1.2.1",
54-
"eslint-plugin-import-x": "^4.15.0",
55-
"eslint-plugin-perfectionist": "^4.13.0",
54+
"eslint-plugin-import-x": "^4.15.1",
55+
"eslint-plugin-perfectionist": "^4.14.0",
5656
"eslint-plugin-react-hooks": "^5.2.0",
5757
"eslint-plugin-react-refresh": "^0.4.20",
5858
"eslint-plugin-unicorn": "^59.0.1",

examples/next-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"@tsconfig/next": "^2.0.3",
2222
"@tsconfig/node22": "^22.0.2",
2323
"@tsconfig/strictest": "^2.0.5",
24-
"@types/node": "^22.15.29",
24+
"@types/node": "^22.15.30",
2525
"@types/react": "^19.1.6",
26-
"@types/react-dom": "^19.1.5",
26+
"@types/react-dom": "^19.1.6",
2727
"eslint": "^9.28.0",
2828
"eslint-config-flat-gitignore": "^2.1.0",
2929
"eslint-plugin-react-hooks": "^5.2.0",

examples/vite-react-dom-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"@tsconfig/strictest": "^2.0.5",
2323
"@tsconfig/vite-react": "^6.3.5",
2424
"@types/react": "^19.1.6",
25-
"@types/react-dom": "^19.1.5",
26-
"@vitejs/plugin-react": "^4.5.0",
25+
"@types/react-dom": "^19.1.6",
26+
"@vitejs/plugin-react": "^4.5.1",
2727
"eslint": "^9.28.0",
2828
"eslint-plugin-react-hooks": "^5.2.0",
2929
"eslint-plugin-react-refresh": "^0.4.20",

examples/vite-react-dom-js-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"@eslint/config-inspector": "^1.0.2",
2020
"@eslint/js": "^9.28.0",
2121
"@types/react": "^19.1.6",
22-
"@types/react-dom": "^19.1.5",
23-
"@vitejs/plugin-react": "^4.5.0",
22+
"@types/react-dom": "^19.1.6",
23+
"@vitejs/plugin-react": "^4.5.1",
2424
"eslint": "^9.28.0",
2525
"eslint-plugin-react-hooks": "^5.2.0",
2626
"eslint-plugin-react-refresh": "^0.4.20",

0 commit comments

Comments
 (0)