Skip to content

Commit a573c17

Browse files
authored
fix: issue introduced in version 1.52.6 where the react-hooks-extra rules were not exported, closes #1207 (#1208)
1 parent 11e627d commit a573c17

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

apps/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@eslint/js": "^9.34.0",
3737
"@eslint/markdown": "^7.2.0",
3838
"@local/configs": "workspace:*",
39-
"@mdx-js/mdx": "^3.1.0",
39+
"@mdx-js/mdx": "^3.1.1",
4040
"@tailwindcss/postcss": "^4.1.12",
4141
"@theguild/remark-mermaid": "^0.3.0",
4242
"@tsconfig/next": "^2.0.3",

packages/plugins/eslint-plugin/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const plugin: CompatiblePlugin = {
3838
...react.rules,
3939
...padKeysLeft(reactDom.rules, "dom/"),
4040
...padKeysLeft(reactWebApi.rules, "web-api/"),
41-
...padKeysLeft(reactHooksExtra, "hooks-extra/"),
41+
...padKeysLeft(reactHooksExtra.rules, "hooks-extra/"),
4242
...padKeysLeft(reactNamingConvention.rules, "naming-convention/"),
4343
...padKeysLeft(reactDebug.rules, "debug/"),
4444
},
@@ -71,6 +71,7 @@ export default {
7171
["recommended-typescript-legacy"]: toLegacyConfig(recommendedTypeScriptConfig),
7272
["x"]: xConfig,
7373
["x-legacy"]: toLegacyConfig(xConfig),
74+
7475
// Part: deprecated presets
7576
/** @deprecated Use `x` instead */
7677
["core"]: xConfig,

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)