Skip to content

Commit 3cbb893

Browse files
committed
Merge branch 'main' into language-preference-2
2 parents f095e14 + 7b24ec8 commit 3cbb893

File tree

161 files changed

+3405
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+3405
-15
lines changed

.pkgs/configs/typedoc.base.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
],
1515
"plugin": [
1616
"typedoc-plugin-markdown",
17-
"typedoc-plugin-mdn-links",
18-
"typedoc-plugin-missing-exports"
17+
"typedoc-plugin-mdn-links"
1918
],
2019
"theme": "default",
2120
"useTsLinkResolution": true

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@
9090
"typedoc": "^0.28.1",
9191
"typedoc-plugin-markdown": "^4.6.0",
9292
"typedoc-plugin-mdn-links": "^5.0.1",
93-
"typedoc-plugin-missing-exports": "^4.0.0",
9493
"typescript": "^5.8.2",
9594
"typescript-eslint": "^8.29.0",
9695
"vitest": "^3.1.1"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[**@eslint-react/core**](../../../README.md)
2+
3+
***
4+
5+
[@eslint-react/core](../../../README.md) / useComponentCollector
6+
7+
# useComponentCollector
8+
9+
## Type Aliases
10+
11+
- [Options](type-aliases/Options.md)
12+
- [ReturnType](type-aliases/ReturnType.md)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[**@eslint-react/core**](../../../../README.md)
2+
3+
***
4+
5+
[@eslint-react/core](../../../../README.md) / [useComponentCollector](../README.md) / Options
6+
7+
# Type Alias: Options
8+
9+
> **Options** = `object`
10+
11+
## Properties
12+
13+
### collectDisplayName?
14+
15+
> `optional` **collectDisplayName**: `boolean`
16+
17+
***
18+
19+
### collectHookCalls?
20+
21+
> `optional` **collectHookCalls**: `boolean`
22+
23+
***
24+
25+
### hint?
26+
27+
> `optional` **hint**: [`ComponentCollectorHint`](../../../../type-aliases/ComponentCollectorHint.md)
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
[**@eslint-react/core**](../../../../README.md)
2+
3+
***
4+
5+
[@eslint-react/core](../../../../README.md) / [useComponentCollector](../README.md) / ReturnType
6+
7+
# Type Alias: ReturnType
8+
9+
> **ReturnType** = `object`
10+
11+
## Properties
12+
13+
### ctx
14+
15+
> **ctx**: `object`
16+
17+
#### getAllComponents()
18+
19+
> **getAllComponents**: (`node`) => [`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`FunctionComponent`](../../../../interfaces/FunctionComponent.md)\>
20+
21+
##### Parameters
22+
23+
###### node
24+
25+
`TSESTree.Program`
26+
27+
##### Returns
28+
29+
[`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`FunctionComponent`](../../../../interfaces/FunctionComponent.md)\>
30+
31+
#### getCurrentEntries()
32+
33+
> **getCurrentEntries**: () => `FunctionEntry`[]
34+
35+
##### Returns
36+
37+
`FunctionEntry`[]
38+
39+
#### getCurrentEntry()
40+
41+
> **getCurrentEntry**: () => `FunctionEntry` \| `_`
42+
43+
##### Returns
44+
45+
`FunctionEntry` \| `_`
46+
47+
***
48+
49+
### listeners
50+
51+
> **listeners**: `ESLintUtils.RuleListener`
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[**@eslint-react/core**](../../../README.md)
2+
3+
***
4+
5+
[@eslint-react/core](../../../README.md) / useComponentCollectorLegacy
6+
7+
# useComponentCollectorLegacy
8+
9+
## Type Aliases
10+
11+
- [ReturnType](type-aliases/ReturnType.md)
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[**@eslint-react/core**](../../../../README.md)
2+
3+
***
4+
5+
[@eslint-react/core](../../../../README.md) / [useComponentCollectorLegacy](../README.md) / ReturnType
6+
7+
# Type Alias: ReturnType
8+
9+
> **ReturnType** = `object`
10+
11+
## Properties
12+
13+
### ctx
14+
15+
> **ctx**: `object`
16+
17+
#### getAllComponents()
18+
19+
> **getAllComponents**: (`node`) => [`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`ClassComponent`](../../../../interfaces/ClassComponent.md)\>
20+
21+
##### Parameters
22+
23+
###### node
24+
25+
`TSESTree.Program`
26+
27+
##### Returns
28+
29+
[`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`ClassComponent`](../../../../interfaces/ClassComponent.md)\>
30+
31+
***
32+
33+
### listeners
34+
35+
> **listeners**: `ESLintUtils.RuleListener`
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[**@eslint-react/core**](../../../README.md)
2+
3+
***
4+
5+
[@eslint-react/core](../../../README.md) / useHookCollector
6+
7+
# useHookCollector
8+
9+
## Type Aliases
10+
11+
- [ReturnType](type-aliases/ReturnType.md)
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[**@eslint-react/core**](../../../../README.md)
2+
3+
***
4+
5+
[@eslint-react/core](../../../../README.md) / [useHookCollector](../README.md) / ReturnType
6+
7+
# Type Alias: ReturnType
8+
9+
> **ReturnType** = `object`
10+
11+
## Properties
12+
13+
### ctx
14+
15+
> **ctx**: `object`
16+
17+
#### getAllHooks()
18+
19+
##### Parameters
20+
21+
###### node
22+
23+
`Program`
24+
25+
##### Returns
26+
27+
[`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`Hook`](../../../../interfaces/Hook.md)\>
28+
29+
***
30+
31+
### listeners
32+
33+
> **listeners**: `ESLintUtils.RuleListener`

packages/core/docs/README.md

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
**@eslint-react/core**
2+
3+
***
4+
5+
# @eslint-react/core
6+
7+
## Namespaces
8+
9+
- [useComponentCollector](@eslint-react/namespaces/useComponentCollector/README.md)
10+
- [useComponentCollectorLegacy](@eslint-react/namespaces/useComponentCollectorLegacy/README.md)
11+
- [useHookCollector](@eslint-react/namespaces/useHookCollector/README.md)
12+
13+
## Interfaces
14+
15+
- [ClassComponent](interfaces/ClassComponent.md)
16+
- [FunctionComponent](interfaces/FunctionComponent.md)
17+
- [Hook](interfaces/Hook.md)
18+
- [SemanticEntry](interfaces/SemanticEntry.md)
19+
- [SemanticNode](interfaces/SemanticNode.md)
20+
21+
## Type Aliases
22+
23+
- [Component](type-aliases/Component.md)
24+
- [ComponentCollectorHint](type-aliases/ComponentCollectorHint.md)
25+
- [ComponentEffectPhaseKind](type-aliases/ComponentEffectPhaseKind.md)
26+
- [ComponentFlag](type-aliases/ComponentFlag.md)
27+
- [ComponentKind](type-aliases/ComponentKind.md)
28+
- [ComponentLifecyclePhaseKind](type-aliases/ComponentLifecyclePhaseKind.md)
29+
- [ComponentPhaseKind](type-aliases/ComponentPhaseKind.md)
30+
- [ComponentStateKind](type-aliases/ComponentStateKind.md)
31+
- [EffectKind](type-aliases/EffectKind.md)
32+
- [HookKind](type-aliases/HookKind.md)
33+
34+
## Variables
35+
36+
- [ComponentCollectorHint](variables/ComponentCollectorHint.md)
37+
- [ComponentFlag](variables/ComponentFlag.md)
38+
- [ComponentPhaseRelevance](variables/ComponentPhaseRelevance.md)
39+
- [DEFAULT\_COMPONENT\_HINT](variables/DEFAULT_COMPONENT_HINT.md)
40+
- [DISPLAY\_NAME\_ASSIGNMENT\_SELECTOR](variables/DISPLAY_NAME_ASSIGNMENT_SELECTOR.md)
41+
- [isChildrenCount](variables/isChildrenCount.md)
42+
- [isChildrenCountCall](variables/isChildrenCountCall.md)
43+
- [isChildrenForEach](variables/isChildrenForEach.md)
44+
- [isChildrenForEachCall](variables/isChildrenForEachCall.md)
45+
- [isChildrenMap](variables/isChildrenMap.md)
46+
- [isChildrenMapCall](variables/isChildrenMapCall.md)
47+
- [isChildrenOnly](variables/isChildrenOnly.md)
48+
- [isChildrenOnlyCall](variables/isChildrenOnlyCall.md)
49+
- [isChildrenToArray](variables/isChildrenToArray.md)
50+
- [isChildrenToArrayCall](variables/isChildrenToArrayCall.md)
51+
- [isCloneElement](variables/isCloneElement.md)
52+
- [isCloneElementCall](variables/isCloneElementCall.md)
53+
- [isCreateContext](variables/isCreateContext.md)
54+
- [isCreateContextCall](variables/isCreateContextCall.md)
55+
- [isCreateElement](variables/isCreateElement.md)
56+
- [isCreateElementCall](variables/isCreateElementCall.md)
57+
- [isCreateRef](variables/isCreateRef.md)
58+
- [isCreateRefCall](variables/isCreateRefCall.md)
59+
- [isForwardRef](variables/isForwardRef.md)
60+
- [isForwardRefCall](variables/isForwardRefCall.md)
61+
- [isInversePhase](variables/isInversePhase.md)
62+
- [isMemo](variables/isMemo.md)
63+
- [isMemoCall](variables/isMemoCall.md)
64+
- [isUseActionStateCall](variables/isUseActionStateCall.md)
65+
- [isUseCall](variables/isUseCall.md)
66+
- [isUseCallbackCall](variables/isUseCallbackCall.md)
67+
- [isUseContextCall](variables/isUseContextCall.md)
68+
- [isUseDebugValueCall](variables/isUseDebugValueCall.md)
69+
- [isUseDeferredValueCall](variables/isUseDeferredValueCall.md)
70+
- [isUseEffectCall](variables/isUseEffectCall.md)
71+
- [isUseFormStatusCall](variables/isUseFormStatusCall.md)
72+
- [isUseIdCall](variables/isUseIdCall.md)
73+
- [isUseImperativeHandleCall](variables/isUseImperativeHandleCall.md)
74+
- [isUseInsertionEffectCall](variables/isUseInsertionEffectCall.md)
75+
- [isUseLayoutEffectCall](variables/isUseLayoutEffectCall.md)
76+
- [isUseMemoCall](variables/isUseMemoCall.md)
77+
- [isUseOptimisticCall](variables/isUseOptimisticCall.md)
78+
- [isUseReducerCall](variables/isUseReducerCall.md)
79+
- [isUseRefCall](variables/isUseRefCall.md)
80+
- [isUseStateCall](variables/isUseStateCall.md)
81+
- [isUseSyncExternalStoreCall](variables/isUseSyncExternalStoreCall.md)
82+
- [isUseTransitionCall](variables/isUseTransitionCall.md)
83+
- [RE\_COMPONENT\_NAME](variables/RE_COMPONENT_NAME.md)
84+
- [RE\_COMPONENT\_NAME\_LOOSE](variables/RE_COMPONENT_NAME_LOOSE.md)
85+
- [RE\_HOOK\_NAME](variables/RE_HOOK_NAME.md)
86+
87+
## Functions
88+
89+
- [getComponentFlagFromInitPath](functions/getComponentFlagFromInitPath.md)
90+
- [getComponentNameFromId](functions/getComponentNameFromId.md)
91+
- [getFunctionComponentId](functions/getFunctionComponentId.md)
92+
- [hasNoneOrLooseComponentName](functions/hasNoneOrLooseComponentName.md)
93+
- [isAssignmentToThisState](functions/isAssignmentToThisState.md)
94+
- [isChildrenOfCreateElement](functions/isChildrenOfCreateElement.md)
95+
- [isClassComponent](functions/isClassComponent.md)
96+
- [isComponentDidCatch](functions/isComponentDidCatch.md)
97+
- [isComponentDidMount](functions/isComponentDidMount.md)
98+
- [isComponentName](functions/isComponentName.md)
99+
- [isComponentNameLoose](functions/isComponentNameLoose.md)
100+
- [isComponentWillUnmount](functions/isComponentWillUnmount.md)
101+
- [isComponentWrapperCall](functions/isComponentWrapperCall.md)
102+
- [isComponentWrapperCallLoose](functions/isComponentWrapperCallLoose.md)
103+
- [isDeclaredInRenderPropLoose](functions/isDeclaredInRenderPropLoose.md)
104+
- [isFunctionOfComponentDidMount](functions/isFunctionOfComponentDidMount.md)
105+
- [isFunctionOfComponentWillUnmount](functions/isFunctionOfComponentWillUnmount.md)
106+
- [isFunctionOfRenderMethod](functions/isFunctionOfRenderMethod.md)
107+
- [isFunctionOfUseEffectCleanup](functions/isFunctionOfUseEffectCleanup.md)
108+
- [isFunctionOfUseEffectSetup](functions/isFunctionOfUseEffectSetup.md)
109+
- [isGetDerivedStateFromError](functions/isGetDerivedStateFromError.md)
110+
- [isGetDerivedStateFromProps](functions/isGetDerivedStateFromProps.md)
111+
- [isInitializedFromReact](functions/isInitializedFromReact.md)
112+
- [isInsideRenderMethod](functions/isInsideRenderMethod.md)
113+
- [isPureComponent](functions/isPureComponent.md)
114+
- [isReactAPI](functions/isReactAPI.md)
115+
- [isReactAPICall](functions/isReactAPICall.md)
116+
- [isReactHook](functions/isReactHook.md)
117+
- [isReactHookCall](functions/isReactHookCall.md)
118+
- [isReactHookCallWithName](functions/isReactHookCallWithName.md)
119+
- [isReactHookCallWithNameAlias](functions/isReactHookCallWithNameAlias.md)
120+
- [isReactHookCallWithNameLoose](functions/isReactHookCallWithNameLoose.md)
121+
- [isReactHookName](functions/isReactHookName.md)
122+
- [isReactHookNameLoose](functions/isReactHookNameLoose.md)
123+
- [isRenderFunctionLoose](functions/isRenderFunctionLoose.md)
124+
- [isRenderMethodLike](functions/isRenderMethodLike.md)
125+
- [isRenderPropLoose](functions/isRenderPropLoose.md)
126+
- [isThisSetState](functions/isThisSetState.md)
127+
- [isUseEffectCallLoose](functions/isUseEffectCallLoose.md)
128+
- [useComponentCollector](functions/useComponentCollector.md)
129+
- [useComponentCollectorLegacy](functions/useComponentCollectorLegacy.md)
130+
- [useHookCollector](functions/useHookCollector.md)

0 commit comments

Comments
 (0)