Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/plugins/eslint-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ ESLint React is not affiliated with Meta Corporation or [facebook/react](https:/

Contributions are welcome!

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

## License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/Rel1cx/eslint-react/tree/main/LICENSE) file for details.
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.
1 change: 0 additions & 1 deletion packages/plugins/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"@typescript-eslint/type-utils": "^8.46.0",
"@typescript-eslint/types": "^8.46.0",
"@typescript-eslint/utils": "^8.46.0",
"eslint-plugin-react-debug": "workspace:*",
"eslint-plugin-react-dom": "workspace:*",
"eslint-plugin-react-hooks-extra": "workspace:*",
"eslint-plugin-react-naming-convention": "workspace:*",
Expand Down
2 changes: 0 additions & 2 deletions packages/plugins/eslint-plugin/src/configs/all.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { RuleConfig } from "@eslint-react/shared";
import reactDebug from "eslint-plugin-react-debug";
import reactHooksExtra from "eslint-plugin-react-hooks-extra";
import reactNamingConvention from "eslint-plugin-react-naming-convention";
import reactWebApi from "eslint-plugin-react-web-api";
Expand Down Expand Up @@ -109,7 +108,6 @@ export const rules = {
export const plugins = {
...x.plugins,
...dom.plugins,
"@eslint-react/debug": reactDebug,
"@eslint-react/hooks-extra": reactHooksExtra,
"@eslint-react/naming-convention": reactNamingConvention,
"@eslint-react/web-api": reactWebApi,
Expand Down
17 changes: 0 additions & 17 deletions packages/plugins/eslint-plugin/src/configs/debug.ts

This file was deleted.

9 changes: 0 additions & 9 deletions packages/plugins/eslint-plugin/src/configs/disable-debug.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/plugins/eslint-plugin/src/configs/recommended.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { RuleConfig } from "@eslint-react/shared";
import reactDebug from "eslint-plugin-react-debug";
import reactHooksExtra from "eslint-plugin-react-hooks-extra";
import reactNamingConvention from "eslint-plugin-react-naming-convention";

Expand All @@ -22,7 +21,6 @@ export const plugins = {
...x.plugins,
...dom.plugins,
...webApi.plugins,
"@eslint-react/debug": reactDebug,
"@eslint-react/hooks-extra": reactHooksExtra,
"@eslint-react/naming-convention": reactNamingConvention,
};
Expand Down
12 changes: 0 additions & 12 deletions packages/plugins/eslint-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
import { name, version } from "../package.json";

import type { CompatiblePlugin } from "@eslint-react/shared";
import reactDebug from "eslint-plugin-react-debug";
import reactDom from "eslint-plugin-react-dom";
import reactHooksExtra from "eslint-plugin-react-hooks-extra";
import reactNamingConvention from "eslint-plugin-react-naming-convention";
import reactWebApi from "eslint-plugin-react-web-api";
import react from "eslint-plugin-react-x";

import * as allConfig from "./configs/all";
import * as debugConfig from "./configs/debug";
import * as disableConflictEslintPluginReact from "./configs/disable-conflict-eslint-plugin-react";
import * as disableDebugConfig from "./configs/disable-debug";
import * as disableDomConfig from "./configs/disable-dom";
import * as disableTypeCheckedConfig from "./configs/disable-type-checked";
import * as disableWebApiConfig from "./configs/disable-web-api";
Expand Down Expand Up @@ -40,7 +37,6 @@ const plugin: CompatiblePlugin = {
...padKeysLeft(reactWebApi.rules, "web-api/"),
...padKeysLeft(reactHooksExtra.rules, "hooks-extra/"),
...padKeysLeft(reactNamingConvention.rules, "naming-convention/"),
...padKeysLeft(reactDebug.rules, "debug/"),
},
};

Expand All @@ -51,18 +47,10 @@ export default {
* Enable all applicable rules from this plugin
*/
["all"]: allConfig,
/**
* Enable debug rules
*/
["debug"]: debugConfig,
/**
* Disable rules in `eslint-plugin-react` that conflict with rules in our plugins
*/
["disable-conflict-eslint-plugin-react"]: disableConflictEslintPluginReact,
/**
* Disable debug rules
*/
["disable-debug"]: disableDebugConfig,
/**
* Disable rules in the `dom` preset
*/
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.