eslint-plugin-react-x 3.0.0 → 4.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/dist/index.js +338 -712
  3. package/package.json +14 -13
package/README.md CHANGED
@@ -13,7 +13,7 @@ npm install --save-dev eslint-plugin-react-x
13
13
 
14
14
  ```ts
15
15
  import js from "@eslint/js";
16
- import react from "eslint-plugin-react-x";
16
+ import reactX from "eslint-plugin-react-x";
17
17
  import { defineConfig } from "eslint/config";
18
18
  import tseslint from "typescript-eslint";
19
19
 
@@ -24,7 +24,7 @@ export default defineConfig(
24
24
  js.configs.recommended,
25
25
  tseslint.configs.recommended,
26
26
  // Add configs from eslint-plugin-react-x
27
- react.configs.recommended,
27
+ reactX.configs.recommended,
28
28
  ],
29
29
  rules: {
30
30
  // Put rules you want to override here