Skip to content

Commit 6a92296

Browse files
committed
chore: update imports
1 parent 9d9185d commit 6a92296

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/plugins/eslint-plugin-react-x/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ npm install --save-dev eslint-plugin-react-x
1616

1717
// @ts-check
1818
import js from "@eslint/js";
19-
import reactx from "eslint-plugin-react-x";
19+
import react from "eslint-plugin-react-x";
2020
import tseslint from "typescript-eslint";
2121

2222
export default tseslint.config({
2323
files: ["**/*.ts", "**/*.tsx"],
2424
extends: [
2525
js.configs.recommended,
2626
tseslint.configs.recommended,
27-
reactx.configs.recommended,
27+
react.configs.recommended,
2828
],
2929
languageOptions: {
3030
parser: tseslint.parser,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { RulePreset } from "@eslint-react/kit";
22
import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";
3-
import reactx from "eslint-plugin-react-x";
3+
import react from "eslint-plugin-react-x";
44

55
export const name = "@eslint-react/core";
66

@@ -47,7 +47,7 @@ export const rules = {
4747
} as const satisfies RulePreset;
4848

4949
export const plugins = {
50-
"@eslint-react": reactx,
50+
"@eslint-react": react,
5151
};
5252

5353
export const settings = {

0 commit comments

Comments
 (0)