eslint-plugin-react-rsc 5.24.0 → 5.24.2
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/dist/index.js +1 -16
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ const rules$4 = { "react-rsc/function-definition": "off" };
|
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region package.json
|
|
36
36
|
var name$4 = "eslint-plugin-react-rsc";
|
|
37
|
-
var version = "5.24.
|
|
37
|
+
var version = "5.24.2";
|
|
38
38
|
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region src/utils/create-rule.ts
|
|
@@ -644,25 +644,10 @@ function createConfig(base) {
|
|
|
644
644
|
const finalPlugin = {
|
|
645
645
|
...plugin,
|
|
646
646
|
configs: {
|
|
647
|
-
/**
|
|
648
|
-
* Disable experimental rules that might be subject to change in the future
|
|
649
|
-
*/
|
|
650
647
|
["disable-experimental"]: createConfig(disable_experimental_exports),
|
|
651
|
-
/**
|
|
652
|
-
* Enforce rules that are recommended by ESLint React for general purpose React + React DOM projects
|
|
653
|
-
*/
|
|
654
648
|
["recommended"]: createConfig(recommended_exports),
|
|
655
|
-
/**
|
|
656
|
-
* Same as the `recommended` preset but disables rules that can be enforced by TypeScript
|
|
657
|
-
*/
|
|
658
649
|
["recommended-typescript"]: createConfig(recommended_typescript_exports),
|
|
659
|
-
/**
|
|
660
|
-
* More strict version of the `recommended` preset
|
|
661
|
-
*/
|
|
662
650
|
["strict"]: createConfig(strict_exports),
|
|
663
|
-
/**
|
|
664
|
-
* Same as the `strict` preset but disables rules that can be enforced by TypeScript
|
|
665
|
-
*/
|
|
666
651
|
["strict-typescript"]: createConfig(strict_typescript_exports)
|
|
667
652
|
}
|
|
668
653
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-rsc",
|
|
3
|
-
"version": "5.24.
|
|
3
|
+
"version": "5.24.2",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for RSC related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@eslint-react/ast": "5.24.
|
|
40
|
-
"@eslint-react/core": "5.24.
|
|
41
|
-
"@eslint-react/eslint": "5.24.
|
|
42
|
-
"@eslint-react/shared": "5.24.
|
|
43
|
-
"@eslint-react/var": "5.24.
|
|
39
|
+
"@eslint-react/ast": "5.24.2",
|
|
40
|
+
"@eslint-react/core": "5.24.2",
|
|
41
|
+
"@eslint-react/eslint": "5.24.2",
|
|
42
|
+
"@eslint-react/shared": "5.24.2",
|
|
43
|
+
"@eslint-react/var": "5.24.2",
|
|
44
44
|
"@typescript-eslint/types": "^8.71.0",
|
|
45
45
|
"@typescript-eslint/utils": "^8.71.0"
|
|
46
46
|
},
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@types/react": "^19.3.0",
|
|
51
51
|
"@types/react-dom": "^19.3.0",
|
|
52
52
|
"dedent": "^1.7.2",
|
|
53
|
-
"eslint": "^10.
|
|
53
|
+
"eslint": "^10.12.0",
|
|
54
54
|
"tsdown": "^0.23.0",
|
|
55
55
|
"typescript": "6.0.3"
|
|
56
56
|
},
|