Skip to content

Commit 8588e54

Browse files
committed
release: 2.0.0-next.0
1 parent 4d1ded6 commit 8588e54

File tree

7 files changed

+41
-20
lines changed

7 files changed

+41
-20
lines changed

apps/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"fumadocs-twoslash": "3.1.1",
2020
"fumadocs-typescript": "4.0.2",
2121
"fumadocs-ui": "15.2.8",
22-
"lucide-react": "^0.488.0",
22+
"lucide-react": "^0.489.0",
2323
"next": "^15.3.1",
2424
"next-view-transitions": "^0.3.4",
2525
"react": "^19.1.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"inspect:eslint-config": "eslint-config-inspector",
3838
"lint": "pnpm run lint:deps && pnpm run lint:publish && pnpm run lint:ts && pnpm run lint:es && pnpm run lint:examples",
3939
"lint:deps": "skott -m file-tree -e .ts -s",
40-
"lint:es": "eslint . --max-warnings 10",
40+
"lint:es": "eslint . --max-warnings 20",
4141
"lint:examples": "pnpm m -F \"./examples/*\" run lint",
4242
"lint:publish": "pnpm m run lint:publish",
4343
"lint:spell": "cspell lint --relative --no-progress \"**\"",

packages/plugins/eslint-plugin-react-x/src/configs/recommended.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ export const name = "react-x/recommended";
66
export const rules = {
77
"react-x/jsx-no-comment-textnodes": "warn",
88
"react-x/jsx-no-duplicate-props": "warn",
9-
"react-x/jsx-no-undef": "error",
9+
// "react-x/jsx-no-undef": "error",
10+
// "react-x/jsx-shorthand-boolean": "warn",
11+
// "react-x/jsx-shorthand-fragment": "warn",
1012
"react-x/jsx-uses-react": "warn",
1113
"react-x/jsx-uses-vars": "warn",
1214
"react-x/no-access-state-in-setstate": "error",
@@ -15,7 +17,9 @@ export const rules = {
1517
"react-x/no-children-for-each": "warn",
1618
"react-x/no-children-map": "warn",
1719
"react-x/no-children-only": "warn",
20+
// "react-x/no-children-prop": "warn",
1821
"react-x/no-children-to-array": "warn",
22+
// "react-x/no-class-component": "warn",
1923
"react-x/no-clone-element": "warn",
2024
"react-x/no-component-will-mount": "error",
2125
"react-x/no-component-will-receive-props": "error",
@@ -27,8 +31,10 @@ export const rules = {
2731
"react-x/no-duplicate-key": "warn",
2832
"react-x/no-forward-ref": "warn",
2933
"react-x/no-implicit-key": "warn",
34+
// "react-x/no-missing-component-display-name": "warn",
35+
// "react-x/no-missing-context-display-name": "warn",
3036
"react-x/no-missing-key": "error",
31-
"react-x/no-misused-capture-owner-stack": "error",
37+
// "react-x/no-misused-capture-owner-stack": "error",
3238
"react-x/no-nested-component-definitions": "error",
3339
"react-x/no-nested-lazy-component-declarations": "warn",
3440
"react-x/no-prop-types": "error",
@@ -46,6 +52,10 @@ export const rules = {
4652
"react-x/no-unused-state": "warn",
4753
"react-x/no-use-context": "warn",
4854
"react-x/no-useless-forward-ref": "warn",
55+
// "react-x/no-useless-fragment": "warn",
56+
// "react-x/prefer-destructuring-assignment": "warn",
57+
// "react-x/prefer-namespace-import": "warn",
58+
// "react-x/prefer-read-only-props": "error",
4959
} as const satisfies RulePreset;
5060

5161
export const settings = {

packages/plugins/eslint-plugin/src/configs/x.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import react from "eslint-plugin-react-x";
55
export const name = "@eslint-react/x";
66

77
export const rules = {
8+
"@eslint-react/jsx-no-comment-textnodes": "warn",
89
"@eslint-react/jsx-no-duplicate-props": "warn",
10+
// "@eslint-react/jsx-no-undef": "error",
11+
// "@eslint-react/jsx-shorthand-boolean": "warn",
12+
// "@eslint-react/jsx-shorthand-fragment": "warn",
913
"@eslint-react/jsx-uses-react": "warn",
1014
"@eslint-react/jsx-uses-vars": "warn",
1115
"@eslint-react/no-access-state-in-setstate": "error",
@@ -14,9 +18,10 @@ export const rules = {
1418
"@eslint-react/no-children-for-each": "warn",
1519
"@eslint-react/no-children-map": "warn",
1620
"@eslint-react/no-children-only": "warn",
21+
// "@eslint-react/no-children-prop": "warn",
1722
"@eslint-react/no-children-to-array": "warn",
23+
// "@eslint-react/no-class-component": "warn",
1824
"@eslint-react/no-clone-element": "warn",
19-
"@eslint-react/no-comment-textnodes": "warn",
2025
"@eslint-react/no-component-will-mount": "error",
2126
"@eslint-react/no-component-will-receive-props": "error",
2227
"@eslint-react/no-component-will-update": "error",
@@ -27,8 +32,10 @@ export const rules = {
2732
"@eslint-react/no-duplicate-key": "warn",
2833
"@eslint-react/no-forward-ref": "warn",
2934
"@eslint-react/no-implicit-key": "warn",
35+
// "@eslint-react/no-missing-component-display-name": "warn",
36+
// "@eslint-react/no-missing-context-display-name": "warn",
3037
"@eslint-react/no-missing-key": "error",
31-
"@eslint-react/no-misused-capture-owner-stack": "error",
38+
// "@eslint-react/no-misused-capture-owner-stack": "error",
3239
"@eslint-react/no-nested-component-definitions": "error",
3340
"@eslint-react/no-nested-lazy-component-declarations": "warn",
3441
"@eslint-react/no-prop-types": "error",
@@ -46,6 +53,10 @@ export const rules = {
4653
"@eslint-react/no-unused-state": "warn",
4754
"@eslint-react/no-use-context": "warn",
4855
"@eslint-react/no-useless-forward-ref": "warn",
56+
// "@eslint-react/no-useless-fragment": "warn",
57+
// "@eslint-react/prefer-destructuring-assignment": "warn",
58+
// "@eslint-react/prefer-namespace-import": "warn",
59+
// "@eslint-react/prefer-read-only-props": "error",
4960
} as const satisfies RulePreset;
5061

5162
export const plugins = {

packages/shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@eslint-react/eff": "workspace:*",
4646
"@eslint-react/kit": "workspace:*",
4747
"@typescript-eslint/utils": "^8.30.1",
48-
"@zod/mini": "^4.0.0-beta.20250417T043022",
48+
"@zod/mini": "^4.0.0-beta.20250418T073619",
4949
"ts-pattern": "^5.7.0"
5050
},
5151
"devDependencies": {

packages/utilities/kit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"dependencies": {
4545
"@eslint-react/eff": "workspace:*",
4646
"@typescript-eslint/utils": "^8.30.1",
47-
"@zod/mini": "^4.0.0-beta.20250417T043022",
47+
"@zod/mini": "^4.0.0-beta.20250418T073619",
4848
"ts-pattern": "^5.7.0"
4949
},
5050
"devDependencies": {

pnpm-lock.yaml

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)