Skip to content

Commit dd3e902

Browse files
committed
refactor: rename ER* types to Component* types in core and plugins
- Updated all occurrences of ER* types to Component* types in core and plugins - Adjusted import statements and references accordingly
1 parent 724fd84 commit dd3e902

File tree

64 files changed

+346
-297
lines changed

Some content is hidden

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

64 files changed

+346
-297
lines changed

packages/core/docs/@eslint-react/namespaces/useComponentCollector/type-aliases/Options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424

2525
### hint?
2626

27-
> `optional` **hint**: [`ERComponentHint`](../../../../type-aliases/ERComponentHint.md)
27+
> `optional` **hint**: [`ComponentCollectorHint`](../../../../type-aliases/ComponentCollectorHint.md)

packages/core/docs/@eslint-react/namespaces/useComponentCollector/type-aliases/ReturnType.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
#### getAllComponents()
1818

19-
> **getAllComponents**: (`node`) => [`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`ERFunctionComponent`](../../../../interfaces/ERFunctionComponent.md)\>
19+
> **getAllComponents**: (`node`) => [`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`FunctionComponent`](../../../../interfaces/FunctionComponent.md)\>
2020
2121
##### Parameters
2222

@@ -26,7 +26,7 @@
2626

2727
##### Returns
2828

29-
[`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`ERFunctionComponent`](../../../../interfaces/ERFunctionComponent.md)\>
29+
[`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`FunctionComponent`](../../../../interfaces/FunctionComponent.md)\>
3030

3131
#### getCurrentEntries()
3232

packages/core/docs/@eslint-react/namespaces/useComponentCollectorLegacy/type-aliases/ReturnType.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
#### getAllComponents()
1818

19-
> **getAllComponents**: (`node`) => [`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`ERClassComponent`](../../../../interfaces/ERClassComponent.md)\>
19+
> **getAllComponents**: (`node`) => [`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`ClassComponent`](../../../../interfaces/ClassComponent.md)\>
2020
2121
##### Parameters
2222

@@ -26,7 +26,7 @@
2626

2727
##### Returns
2828

29-
[`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`ERClassComponent`](../../../../interfaces/ERClassComponent.md)\>
29+
[`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`ClassComponent`](../../../../interfaces/ClassComponent.md)\>
3030

3131
***
3232

packages/core/docs/@eslint-react/namespaces/useHookCollector/type-aliases/ReturnType.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
##### Returns
2626

27-
[`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`ERHook`](../../../../interfaces/ERHook.md)\>
27+
[`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\<`string`, [`Hook`](../../../../interfaces/Hook.md)\>
2828

2929
***
3030

packages/core/docs/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,32 @@
1616

1717
## Interfaces
1818

19-
- [ERClassComponent](interfaces/ERClassComponent.md)
20-
- [ERFunctionComponent](interfaces/ERFunctionComponent.md)
21-
- [ERHook](interfaces/ERHook.md)
22-
- [ERSemanticEntry](interfaces/ERSemanticEntry.md)
23-
- [ERSemanticNode](interfaces/ERSemanticNode.md)
19+
- [ClassComponent](interfaces/ClassComponent.md)
20+
- [FunctionComponent](interfaces/FunctionComponent.md)
21+
- [Hook](interfaces/Hook.md)
22+
- [SemanticEntry](interfaces/SemanticEntry.md)
23+
- [SemanticNode](interfaces/SemanticNode.md)
2424

2525
## Type Aliases
2626

27-
- [ERComponent](type-aliases/ERComponent.md)
28-
- [ERComponentFlag](type-aliases/ERComponentFlag.md)
29-
- [ERComponentHint](type-aliases/ERComponentHint.md)
30-
- [ERComponentKind](type-aliases/ERComponentKind.md)
31-
- [EREffectKind](type-aliases/EREffectKind.md)
32-
- [EREffectPhaseKind](type-aliases/EREffectPhaseKind.md)
33-
- [ERHookKind](type-aliases/ERHookKind.md)
34-
- [ERLifecyclePhaseKind](type-aliases/ERLifecyclePhaseKind.md)
35-
- [ERPhaseKind](type-aliases/ERPhaseKind.md)
36-
- [ERStateKind](type-aliases/ERStateKind.md)
27+
- [Component](type-aliases/Component.md)
28+
- [ComponentCollectorHint](type-aliases/ComponentCollectorHint.md)
29+
- [ComponentEffectPhaseKind](type-aliases/ComponentEffectPhaseKind.md)
30+
- [ComponentFlag](type-aliases/ComponentFlag.md)
31+
- [ComponentKind](type-aliases/ComponentKind.md)
32+
- [ComponentLifecyclePhaseKind](type-aliases/ComponentLifecyclePhaseKind.md)
33+
- [ComponentPhaseKind](type-aliases/ComponentPhaseKind.md)
34+
- [ComponentStateKind](type-aliases/ComponentStateKind.md)
35+
- [EffectKind](type-aliases/EffectKind.md)
36+
- [HookKind](type-aliases/HookKind.md)
3737

3838
## Variables
3939

40+
- [ComponentCollectorHint](variables/ComponentCollectorHint.md)
41+
- [ComponentFlag](variables/ComponentFlag.md)
42+
- [ComponentPhaseRelevance](variables/ComponentPhaseRelevance.md)
4043
- [DEFAULT\_COMPONENT\_HINT](variables/DEFAULT_COMPONENT_HINT.md)
4144
- [DISPLAY\_NAME\_ASSIGNMENT\_SELECTOR](variables/DISPLAY_NAME_ASSIGNMENT_SELECTOR.md)
42-
- [ERComponentFlag](variables/ERComponentFlag.md)
43-
- [ERComponentHint](variables/ERComponentHint.md)
44-
- [ERPhaseRelevance](variables/ERPhaseRelevance.md)
4545
- [isChildrenCount](variables/isChildrenCount.md)
4646
- [isChildrenCountCall](variables/isChildrenCountCall.md)
4747
- [isChildrenForEach](variables/isChildrenForEach.md)

packages/core/docs/interfaces/ERClassComponent.md renamed to packages/core/docs/interfaces/ClassComponent.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
***
44

5-
[@eslint-react/core](../README.md) / ERClassComponent
5+
[@eslint-react/core](../README.md) / ClassComponent
66

7-
# Interface: ERClassComponent
7+
# Interface: ClassComponent
88

99
## Extends
1010

11-
- [`ERSemanticNode`](ERSemanticNode.md)
11+
- [`SemanticNode`](SemanticNode.md)
1212

1313
## Properties
1414

@@ -24,7 +24,7 @@
2424
2525
#### Overrides
2626

27-
[`ERSemanticNode`](ERSemanticNode.md).[`flag`](ERSemanticNode.md#flag)
27+
[`SemanticNode`](SemanticNode.md).[`flag`](SemanticNode.md#flag)
2828

2929
***
3030

@@ -34,7 +34,7 @@
3434
3535
#### Overrides
3636

37-
[`ERSemanticNode`](ERSemanticNode.md).[`hint`](ERSemanticNode.md#hint)
37+
[`SemanticNode`](SemanticNode.md).[`hint`](SemanticNode.md#hint)
3838

3939
***
4040

@@ -44,7 +44,7 @@
4444
4545
#### Overrides
4646

47-
[`ERSemanticNode`](ERSemanticNode.md).[`id`](ERSemanticNode.md#id)
47+
[`SemanticNode`](SemanticNode.md).[`id`](SemanticNode.md#id)
4848

4949
***
5050

@@ -54,7 +54,7 @@
5454
5555
#### Inherited from
5656

57-
[`ERSemanticNode`](ERSemanticNode.md).[`key`](ERSemanticNode.md#key)
57+
[`SemanticNode`](SemanticNode.md).[`key`](SemanticNode.md#key)
5858

5959
***
6060

@@ -64,7 +64,7 @@
6464
6565
#### Overrides
6666

67-
[`ERSemanticNode`](ERSemanticNode.md).[`kind`](ERSemanticNode.md#kind)
67+
[`SemanticNode`](SemanticNode.md).[`kind`](SemanticNode.md#kind)
6868

6969
***
7070

@@ -80,7 +80,7 @@
8080
8181
#### Inherited from
8282

83-
[`ERSemanticNode`](ERSemanticNode.md).[`name`](ERSemanticNode.md#name)
83+
[`SemanticNode`](SemanticNode.md).[`name`](SemanticNode.md#name)
8484

8585
***
8686

@@ -90,4 +90,4 @@
9090
9191
#### Overrides
9292

93-
[`ERSemanticNode`](ERSemanticNode.md).[`node`](ERSemanticNode.md#node)
93+
[`SemanticNode`](SemanticNode.md).[`node`](SemanticNode.md#node)

packages/core/docs/interfaces/ERSemanticEntry.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

packages/core/docs/interfaces/ERFunctionComponent.md renamed to packages/core/docs/interfaces/FunctionComponent.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
***
44

5-
[@eslint-react/core](../README.md) / ERFunctionComponent
5+
[@eslint-react/core](../README.md) / FunctionComponent
66

7-
# Interface: ERFunctionComponent
7+
# Interface: FunctionComponent
88

99
## Extends
1010

11-
- [`ERSemanticNode`](ERSemanticNode.md)
11+
- [`SemanticNode`](SemanticNode.md)
1212

1313
## Properties
1414

@@ -24,7 +24,7 @@
2424
2525
#### Overrides
2626

27-
[`ERSemanticNode`](ERSemanticNode.md).[`flag`](ERSemanticNode.md#flag)
27+
[`SemanticNode`](SemanticNode.md).[`flag`](SemanticNode.md#flag)
2828

2929
***
3030

@@ -34,7 +34,7 @@
3434
3535
#### Overrides
3636

37-
[`ERSemanticNode`](ERSemanticNode.md).[`hint`](ERSemanticNode.md#hint)
37+
[`SemanticNode`](SemanticNode.md).[`hint`](SemanticNode.md#hint)
3838

3939
***
4040

@@ -50,7 +50,7 @@
5050
5151
#### Overrides
5252

53-
[`ERSemanticNode`](ERSemanticNode.md).[`id`](ERSemanticNode.md#id)
53+
[`SemanticNode`](SemanticNode.md).[`id`](SemanticNode.md#id)
5454

5555
***
5656

@@ -66,7 +66,7 @@
6666
6767
#### Inherited from
6868

69-
[`ERSemanticNode`](ERSemanticNode.md).[`key`](ERSemanticNode.md#key)
69+
[`SemanticNode`](SemanticNode.md).[`key`](SemanticNode.md#key)
7070

7171
***
7272

@@ -76,7 +76,7 @@
7676
7777
#### Overrides
7878

79-
[`ERSemanticNode`](ERSemanticNode.md).[`kind`](ERSemanticNode.md#kind)
79+
[`SemanticNode`](SemanticNode.md).[`kind`](SemanticNode.md#kind)
8080

8181
***
8282

@@ -86,7 +86,7 @@
8686
8787
#### Inherited from
8888

89-
[`ERSemanticNode`](ERSemanticNode.md).[`name`](ERSemanticNode.md#name)
89+
[`SemanticNode`](SemanticNode.md).[`name`](SemanticNode.md#name)
9090

9191
***
9292

@@ -96,4 +96,4 @@
9696
9797
#### Overrides
9898

99-
[`ERSemanticNode`](ERSemanticNode.md).[`node`](ERSemanticNode.md#node)
99+
[`SemanticNode`](SemanticNode.md).[`node`](SemanticNode.md#node)

packages/core/docs/interfaces/ERHook.md renamed to packages/core/docs/interfaces/Hook.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
***
44

5-
[@eslint-react/core](../README.md) / ERHook
5+
[@eslint-react/core](../README.md) / Hook
66

7-
# Interface: ERHook
7+
# Interface: Hook
88

99
## Extends
1010

11-
- [`ERSemanticNode`](ERSemanticNode.md)
11+
- [`SemanticNode`](SemanticNode.md)
1212

1313
## Properties
1414

@@ -18,7 +18,7 @@
1818
1919
#### Inherited from
2020

21-
[`ERSemanticNode`](ERSemanticNode.md).[`flag`](ERSemanticNode.md#flag)
21+
[`SemanticNode`](SemanticNode.md).[`flag`](SemanticNode.md#flag)
2222

2323
***
2424

@@ -28,7 +28,7 @@
2828
2929
#### Inherited from
3030

31-
[`ERSemanticNode`](ERSemanticNode.md).[`hint`](ERSemanticNode.md#hint)
31+
[`SemanticNode`](SemanticNode.md).[`hint`](SemanticNode.md#hint)
3232

3333
***
3434

@@ -44,7 +44,7 @@
4444
4545
#### Overrides
4646

47-
[`ERSemanticNode`](ERSemanticNode.md).[`id`](ERSemanticNode.md#id)
47+
[`SemanticNode`](SemanticNode.md).[`id`](SemanticNode.md#id)
4848

4949
***
5050

@@ -54,7 +54,7 @@
5454
5555
#### Inherited from
5656

57-
[`ERSemanticNode`](ERSemanticNode.md).[`key`](ERSemanticNode.md#key)
57+
[`SemanticNode`](SemanticNode.md).[`key`](SemanticNode.md#key)
5858

5959
***
6060

@@ -64,7 +64,7 @@
6464
6565
#### Inherited from
6666

67-
[`ERSemanticNode`](ERSemanticNode.md).[`kind`](ERSemanticNode.md#kind)
67+
[`SemanticNode`](SemanticNode.md).[`kind`](SemanticNode.md#kind)
6868

6969
***
7070

@@ -74,7 +74,7 @@
7474
7575
#### Overrides
7676

77-
[`ERSemanticNode`](ERSemanticNode.md).[`name`](ERSemanticNode.md#name)
77+
[`SemanticNode`](SemanticNode.md).[`name`](SemanticNode.md#name)
7878

7979
***
8080

@@ -84,4 +84,4 @@
8484
8585
#### Overrides
8686

87-
[`ERSemanticNode`](ERSemanticNode.md).[`node`](ERSemanticNode.md#node)
87+
[`SemanticNode`](SemanticNode.md).[`node`](SemanticNode.md#node)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[**@eslint-react/core**](../README.md)
2+
3+
***
4+
5+
[@eslint-react/core](../README.md) / SemanticEntry
6+
7+
# Interface: SemanticEntry
8+
9+
## Properties
10+
11+
### node
12+
13+
> **node**: [`Node`](../-internal-/type-aliases/Node.md)
14+
15+
***
16+
17+
### phase
18+
19+
> **phase**: [`ComponentPhaseKind`](../type-aliases/ComponentPhaseKind.md)

0 commit comments

Comments
 (0)