eslint-plugin-react-rsc 5.8.11 → 5.8.13
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 +4 -4
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";
|
|
|
2
2
|
import { ESLintUtils } from "@typescript-eslint/utils";
|
|
3
3
|
import { Check, Extract } from "@eslint-react/ast";
|
|
4
4
|
import * as core from "@eslint-react/core";
|
|
5
|
-
import
|
|
5
|
+
import "@eslint-react/eslint";
|
|
6
6
|
import { resolve } from "@eslint-react/var";
|
|
7
7
|
import { AST_NODE_TYPES } from "@typescript-eslint/types";
|
|
8
8
|
|
|
@@ -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.8.
|
|
37
|
+
var version = "5.8.13";
|
|
38
38
|
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region src/utils/create-rule.ts
|
|
@@ -176,7 +176,7 @@ function create(context) {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
return
|
|
179
|
+
return {
|
|
180
180
|
ArrowFunctionExpression(node) {
|
|
181
181
|
checkFunctionDirectives(node);
|
|
182
182
|
checkLocalServerFunction(node);
|
|
@@ -208,7 +208,7 @@ function create(context) {
|
|
|
208
208
|
Program() {
|
|
209
209
|
checkFileLevelDirectives();
|
|
210
210
|
}
|
|
211
|
-
}
|
|
211
|
+
};
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-rsc",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.13",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for RSC related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@typescript-eslint/types": "^8.60.1",
|
|
40
40
|
"@typescript-eslint/utils": "^8.60.1",
|
|
41
|
-
"@eslint-react/
|
|
42
|
-
"@eslint-react/
|
|
43
|
-
"@eslint-react/
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/var": "5.8.
|
|
41
|
+
"@eslint-react/core": "5.8.13",
|
|
42
|
+
"@eslint-react/shared": "5.8.13",
|
|
43
|
+
"@eslint-react/eslint": "5.8.13",
|
|
44
|
+
"@eslint-react/ast": "5.8.13",
|
|
45
|
+
"@eslint-react/var": "5.8.13"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/react": "^19.2.16",
|
|
49
49
|
"@types/react-dom": "^19.2.3",
|
|
50
50
|
"dedent": "^1.7.2",
|
|
51
51
|
"eslint": "^10.4.1",
|
|
52
|
-
"tsdown": "^0.22.
|
|
52
|
+
"tsdown": "^0.22.2",
|
|
53
53
|
"typescript": "6.0.3",
|
|
54
54
|
"@local/configs": "0.0.0",
|
|
55
55
|
"@local/eff": "0.0.0"
|