@eslint-react/core 4.0.2-beta.0 → 4.0.2-beta.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.d.ts +3 -3
- package/dist/index.js +3 -3
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -278,7 +278,7 @@ declare namespace getComponentCollector {
|
|
|
278
278
|
};
|
|
279
279
|
}
|
|
280
280
|
/**
|
|
281
|
-
* Get
|
|
281
|
+
* Get an api and visitor object for the rule to collect function components
|
|
282
282
|
* @param context The ESLint rule context
|
|
283
283
|
* @param options The options to use
|
|
284
284
|
* @returns The api and visitor of the collector
|
|
@@ -295,7 +295,7 @@ declare namespace getComponentCollectorLegacy {
|
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
298
|
-
* Get
|
|
298
|
+
* Get an api and visitor object for the rule to collect class componentss
|
|
299
299
|
* @param context The ESLint rule context
|
|
300
300
|
* @returns The api and visitor of the collector
|
|
301
301
|
*/
|
|
@@ -533,7 +533,7 @@ declare namespace getHookCollector {
|
|
|
533
533
|
};
|
|
534
534
|
}
|
|
535
535
|
/**
|
|
536
|
-
* Get
|
|
536
|
+
* Get an api and visitor object for the rule to collect hooks
|
|
537
537
|
* @param context The ESLint rule context
|
|
538
538
|
* @returns The api and visitor of the collector
|
|
539
539
|
*/
|
package/dist/index.js
CHANGED
|
@@ -456,7 +456,7 @@ function isHookId(id) {
|
|
|
456
456
|
//#region src/hook/hook-collector.ts
|
|
457
457
|
const idGen$2 = new IdGenerator("hook:");
|
|
458
458
|
/**
|
|
459
|
-
* Get
|
|
459
|
+
* Get an api and visitor object for the rule to collect hooks
|
|
460
460
|
* @param context The ESLint rule context
|
|
461
461
|
* @returns The api and visitor of the collector
|
|
462
462
|
*/
|
|
@@ -831,7 +831,7 @@ function getComponentFlagFromInitPath(initPath) {
|
|
|
831
831
|
//#region src/component/component-collector.ts
|
|
832
832
|
const idGen$1 = new IdGenerator("component:");
|
|
833
833
|
/**
|
|
834
|
-
* Get
|
|
834
|
+
* Get an api and visitor object for the rule to collect function components
|
|
835
835
|
* @param context The ESLint rule context
|
|
836
836
|
* @param options The options to use
|
|
837
837
|
* @returns The api and visitor of the collector
|
|
@@ -925,7 +925,7 @@ function getComponentCollector(context, options = {}) {
|
|
|
925
925
|
//#region src/component/component-collector-legacy.ts
|
|
926
926
|
const idGen = new IdGenerator("class-component:");
|
|
927
927
|
/**
|
|
928
|
-
* Get
|
|
928
|
+
* Get an api and visitor object for the rule to collect class componentss
|
|
929
929
|
* @param context The ESLint rule context
|
|
930
930
|
* @returns The api and visitor of the collector
|
|
931
931
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "4.0.2-beta.
|
|
3
|
+
"version": "4.0.2-beta.2",
|
|
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": {
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@typescript-eslint/types": "^8.57.2",
|
|
35
35
|
"@typescript-eslint/utils": "^8.57.2",
|
|
36
36
|
"ts-pattern": "^5.9.0",
|
|
37
|
-
"@eslint-react/ast": "4.0.2-beta.
|
|
38
|
-
"@eslint-react/jsx": "4.0.2-beta.
|
|
39
|
-
"@eslint-react/var": "4.0.2-beta.
|
|
40
|
-
"@eslint-react/shared": "4.0.2-beta.
|
|
37
|
+
"@eslint-react/ast": "4.0.2-beta.2",
|
|
38
|
+
"@eslint-react/jsx": "4.0.2-beta.2",
|
|
39
|
+
"@eslint-react/var": "4.0.2-beta.2",
|
|
40
|
+
"@eslint-react/shared": "4.0.2-beta.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"tsdown": "^0.21.6",
|