diff --git a/packages/plugins/eslint-plugin-react-x/src/configs/recommended-typescript.ts b/packages/plugins/eslint-plugin-react-x/src/configs/recommended-typescript.ts index 904fcc2120..8cc99057d2 100644 --- a/packages/plugins/eslint-plugin-react-x/src/configs/recommended-typescript.ts +++ b/packages/plugins/eslint-plugin-react-x/src/configs/recommended-typescript.ts @@ -6,7 +6,6 @@ export const name = "react-x/recommended-typescript"; export const rules = { ...recommended.rules, - "react-x/dom/no-unknown-property": "off", "react-x/no-duplicate-jsx-props": "off", "react-x/use-jsx-vars": "off", } as const satisfies RulePreset; diff --git a/packages/plugins/eslint-plugin-react-x/src/configs/recommended.ts b/packages/plugins/eslint-plugin-react-x/src/configs/recommended.ts index 27cb79a603..87e6e2d099 100644 --- a/packages/plugins/eslint-plugin-react-x/src/configs/recommended.ts +++ b/packages/plugins/eslint-plugin-react-x/src/configs/recommended.ts @@ -41,6 +41,7 @@ export const rules = { "react-x/no-unused-state": "warn", "react-x/no-use-context": "warn", "react-x/no-useless-forward-ref": "warn", + "react-x/no-useless-fragment": "warn", "react-x/use-jsx-vars": "warn", } as const satisfies RulePreset; diff --git a/packages/plugins/eslint-plugin/src/configs/core.ts b/packages/plugins/eslint-plugin/src/configs/core.ts index d6485041d8..2794cae91c 100644 --- a/packages/plugins/eslint-plugin/src/configs/core.ts +++ b/packages/plugins/eslint-plugin/src/configs/core.ts @@ -42,6 +42,7 @@ export const rules = { "@eslint-react/no-unused-state": "warn", "@eslint-react/no-use-context": "warn", "@eslint-react/no-useless-forward-ref": "warn", + "@eslint-react/no-useless-fragment": "warn", "@eslint-react/use-jsx-vars": "warn", } as const satisfies RulePreset;