Skip to content

Commit 5c8a9c5

Browse files
committed
Remove eslint-plugin-react-debug from unified plugin
1 parent c1ec342 commit 5c8a9c5

File tree

8 files changed

+2
-48
lines changed

8 files changed

+2
-48
lines changed

packages/plugins/eslint-plugin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ ESLint React is not affiliated with Meta Corporation or [facebook/react](https:/
183183

184184
Contributions are welcome!
185185

186-
Please follow our [contributing guidelines](https://github.com/Rel1cx/eslint-react/tree/main/.github/CONTRIBUTING.md).
186+
Please follow our [contributing guidelines](https://github.com/Rel1cx/eslint-react/tree/remove-eslint-plugin-react-debug-from-unified-plugin/.github/CONTRIBUTING.md).
187187

188188
## License
189189

190-
This project is licensed under the MIT License - see the [LICENSE](https://github.com/Rel1cx/eslint-react/tree/main/LICENSE) file for details.
190+
This project is licensed under the MIT License - see the [LICENSE](https://github.com/Rel1cx/eslint-react/tree/remove-eslint-plugin-react-debug-from-unified-plugin/LICENSE) file for details.

packages/plugins/eslint-plugin/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"@typescript-eslint/type-utils": "^8.46.0",
5050
"@typescript-eslint/types": "^8.46.0",
5151
"@typescript-eslint/utils": "^8.46.0",
52-
"eslint-plugin-react-debug": "workspace:*",
5352
"eslint-plugin-react-dom": "workspace:*",
5453
"eslint-plugin-react-hooks-extra": "workspace:*",
5554
"eslint-plugin-react-naming-convention": "workspace:*",

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { RuleConfig } from "@eslint-react/shared";
2-
import reactDebug from "eslint-plugin-react-debug";
32
import reactHooksExtra from "eslint-plugin-react-hooks-extra";
43
import reactNamingConvention from "eslint-plugin-react-naming-convention";
54
import reactWebApi from "eslint-plugin-react-web-api";
@@ -109,7 +108,6 @@ export const rules = {
109108
export const plugins = {
110109
...x.plugins,
111110
...dom.plugins,
112-
"@eslint-react/debug": reactDebug,
113111
"@eslint-react/hooks-extra": reactHooksExtra,
114112
"@eslint-react/naming-convention": reactNamingConvention,
115113
"@eslint-react/web-api": reactWebApi,

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

Lines changed: 0 additions & 17 deletions
This file was deleted.

packages/plugins/eslint-plugin/src/configs/disable-debug.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { RuleConfig } from "@eslint-react/shared";
2-
import reactDebug from "eslint-plugin-react-debug";
32
import reactHooksExtra from "eslint-plugin-react-hooks-extra";
43
import reactNamingConvention from "eslint-plugin-react-naming-convention";
54

@@ -22,7 +21,6 @@ export const plugins = {
2221
...x.plugins,
2322
...dom.plugins,
2423
...webApi.plugins,
25-
"@eslint-react/debug": reactDebug,
2624
"@eslint-react/hooks-extra": reactHooksExtra,
2725
"@eslint-react/naming-convention": reactNamingConvention,
2826
};

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
import { name, version } from "../package.json";
22

33
import type { CompatiblePlugin } from "@eslint-react/shared";
4-
import reactDebug from "eslint-plugin-react-debug";
54
import reactDom from "eslint-plugin-react-dom";
65
import reactHooksExtra from "eslint-plugin-react-hooks-extra";
76
import reactNamingConvention from "eslint-plugin-react-naming-convention";
87
import reactWebApi from "eslint-plugin-react-web-api";
98
import react from "eslint-plugin-react-x";
109

1110
import * as allConfig from "./configs/all";
12-
import * as debugConfig from "./configs/debug";
1311
import * as disableConflictEslintPluginReact from "./configs/disable-conflict-eslint-plugin-react";
14-
import * as disableDebugConfig from "./configs/disable-debug";
1512
import * as disableDomConfig from "./configs/disable-dom";
1613
import * as disableTypeCheckedConfig from "./configs/disable-type-checked";
1714
import * as disableWebApiConfig from "./configs/disable-web-api";
@@ -40,7 +37,6 @@ const plugin: CompatiblePlugin = {
4037
...padKeysLeft(reactWebApi.rules, "web-api/"),
4138
...padKeysLeft(reactHooksExtra.rules, "hooks-extra/"),
4239
...padKeysLeft(reactNamingConvention.rules, "naming-convention/"),
43-
...padKeysLeft(reactDebug.rules, "debug/"),
4440
},
4541
};
4642

@@ -51,18 +47,10 @@ export default {
5147
* Enable all applicable rules from this plugin
5248
*/
5349
["all"]: allConfig,
54-
/**
55-
* Enable debug rules
56-
*/
57-
["debug"]: debugConfig,
5850
/**
5951
* Disable rules in `eslint-plugin-react` that conflict with rules in our plugins
6052
*/
6153
["disable-conflict-eslint-plugin-react"]: disableConflictEslintPluginReact,
62-
/**
63-
* Disable debug rules
64-
*/
65-
["disable-debug"]: disableDebugConfig,
6654
/**
6755
* Disable rules in the `dom` preset
6856
*/

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)