|
1 | 1 | import { entries, fromEntries } from "@eslint-react/tools";
|
2 | 2 | import type { RulePreset } from "@eslint-react/types";
|
3 | 3 | import * as reactCore from "eslint-plugin-react-core";
|
| 4 | +import * as reactDebug from "eslint-plugin-react-debug"; |
4 | 5 | import * as reactDom from "eslint-plugin-react-dom";
|
5 | 6 | import * as reactHooksExtra from "eslint-plugin-react-hooks-extra";
|
6 | 7 | import * as reactNamingConvention from "eslint-plugin-react-naming-convention";
|
@@ -169,6 +170,7 @@ const legacyConfigPlugins = ["@eslint-react"] as const;
|
169 | 170 |
|
170 | 171 | const flatConfigPlugins = {
|
171 | 172 | "@eslint-react": reactCore,
|
| 173 | + "@eslint-react/debug": reactDebug, |
172 | 174 | "@eslint-react/dom": reactDom,
|
173 | 175 | "@eslint-react/hooks-extra": reactHooksExtra,
|
174 | 176 | "@eslint-react/naming-convention": reactNamingConvention,
|
@@ -215,5 +217,6 @@ export default {
|
215 | 217 | ...padKeysLeft(reactDom.rules, "dom/"),
|
216 | 218 | ...padKeysLeft(reactHooksExtra.rules, "hooks-extra/"),
|
217 | 219 | ...padKeysLeft(reactNamingConvention.rules, "naming-convention/"),
|
| 220 | + ...padKeysLeft(reactDebug.rules, "debug/"), |
218 | 221 | },
|
219 | 222 | } as const;
|
0 commit comments