@eslint-react/core 1.24.2-beta.3 → 1.24.2-next.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/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -85,6 +85,10 @@ type ERComponent = ERClassComponent | ERFunctionComponent;
|
|
|
85
85
|
*/
|
|
86
86
|
declare function useComponentCollector(context: RuleContext, hint?: bigint, options?: useComponentCollector.Options): useComponentCollector.ReturnType;
|
|
87
87
|
declare namespace useComponentCollector {
|
|
88
|
+
type Options = {
|
|
89
|
+
collectDisplayName?: boolean;
|
|
90
|
+
collectHookCalls?: boolean;
|
|
91
|
+
};
|
|
88
92
|
type Entry = {
|
|
89
93
|
key: string;
|
|
90
94
|
node: AST.TSESTreeFunction;
|
|
@@ -96,10 +100,6 @@ declare namespace useComponentCollector {
|
|
|
96
100
|
getCurrentEntries: () => Entry[];
|
|
97
101
|
getCurrentEntry: () => Entry | _;
|
|
98
102
|
};
|
|
99
|
-
type Options = {
|
|
100
|
-
collectDisplayName?: boolean;
|
|
101
|
-
collectHookCalls?: boolean;
|
|
102
|
-
};
|
|
103
103
|
type ReturnType = {
|
|
104
104
|
ctx: Ctx;
|
|
105
105
|
listeners: ESLintUtils.RuleListener;
|
package/dist/index.d.ts
CHANGED
|
@@ -85,6 +85,10 @@ type ERComponent = ERClassComponent | ERFunctionComponent;
|
|
|
85
85
|
*/
|
|
86
86
|
declare function useComponentCollector(context: RuleContext, hint?: bigint, options?: useComponentCollector.Options): useComponentCollector.ReturnType;
|
|
87
87
|
declare namespace useComponentCollector {
|
|
88
|
+
type Options = {
|
|
89
|
+
collectDisplayName?: boolean;
|
|
90
|
+
collectHookCalls?: boolean;
|
|
91
|
+
};
|
|
88
92
|
type Entry = {
|
|
89
93
|
key: string;
|
|
90
94
|
node: AST.TSESTreeFunction;
|
|
@@ -96,10 +100,6 @@ declare namespace useComponentCollector {
|
|
|
96
100
|
getCurrentEntries: () => Entry[];
|
|
97
101
|
getCurrentEntry: () => Entry | _;
|
|
98
102
|
};
|
|
99
|
-
type Options = {
|
|
100
|
-
collectDisplayName?: boolean;
|
|
101
|
-
collectHookCalls?: boolean;
|
|
102
|
-
};
|
|
103
103
|
type ReturnType = {
|
|
104
104
|
ctx: Ctx;
|
|
105
105
|
listeners: ESLintUtils.RuleListener;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "1.24.2-
|
|
3
|
+
"version": "1.24.2-next.1",
|
|
4
4
|
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and Patterns.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@typescript-eslint/utils": "^8.21.0",
|
|
40
40
|
"birecord": "^0.1.1",
|
|
41
41
|
"ts-pattern": "^5.6.2",
|
|
42
|
-
"@eslint-react/ast": "1.24.2-
|
|
43
|
-
"@eslint-react/eff": "1.24.2-
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/var": "1.24.2-
|
|
42
|
+
"@eslint-react/ast": "1.24.2-next.1",
|
|
43
|
+
"@eslint-react/eff": "1.24.2-next.1",
|
|
44
|
+
"@eslint-react/jsx": "1.24.2-next.1",
|
|
45
|
+
"@eslint-react/shared": "1.24.2-next.1",
|
|
46
|
+
"@eslint-react/var": "1.24.2-next.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"tsup": "^8.3.6",
|