eslint-plugin-react-x 2.9.4-beta.0 → 2.9.4-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.
- package/README.md +2 -4
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -11,10 +11,7 @@ npm install --save-dev eslint-plugin-react-x
|
|
|
11
11
|
|
|
12
12
|
## Setup
|
|
13
13
|
|
|
14
|
-
```
|
|
15
|
-
// eslint.config.js
|
|
16
|
-
|
|
17
|
-
// @ts-check
|
|
14
|
+
```ts
|
|
18
15
|
import js from "@eslint/js";
|
|
19
16
|
import react from "eslint-plugin-react-x";
|
|
20
17
|
import { defineConfig } from "eslint/config";
|
|
@@ -26,6 +23,7 @@ export default defineConfig(
|
|
|
26
23
|
extends: [
|
|
27
24
|
js.configs.recommended,
|
|
28
25
|
tseslint.configs.recommended,
|
|
26
|
+
// Add this plugin's config below js/tseslint configs
|
|
29
27
|
react.configs.recommended,
|
|
30
28
|
],
|
|
31
29
|
rules: {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-x",
|
|
3
|
-
"version": "2.9.4-beta.
|
|
3
|
+
"version": "2.9.4-beta.1",
|
|
4
4
|
"description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"is-immutable-type": "^5.0.1",
|
|
46
46
|
"ts-api-utils": "^2.4.0",
|
|
47
47
|
"ts-pattern": "^5.9.0",
|
|
48
|
-
"@eslint-react/ast": "2.9.4-beta.
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/
|
|
52
|
-
"@eslint-react/
|
|
48
|
+
"@eslint-react/ast": "2.9.4-beta.1",
|
|
49
|
+
"@eslint-react/core": "2.9.4-beta.1",
|
|
50
|
+
"@eslint-react/eff": "2.9.4-beta.1",
|
|
51
|
+
"@eslint-react/shared": "2.9.4-beta.1",
|
|
52
|
+
"@eslint-react/var": "2.9.4-beta.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/react": "^19.2.10",
|