Skip to content

Commit 06be1d3

Browse files
authored
refactor: code optimizations (#955)
1 parent c798e62 commit 06be1d3

File tree

35 files changed

+55
-384
lines changed

35 files changed

+55
-384
lines changed

packages/core/docs/-internal-/README.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,6 @@
165165
166166
***
167167

168-
### ClassDeclaration
169-
170-
> **ClassDeclaration**: `"ClassDeclaration"`
171-
172-
***
173-
174168
### ClassExpression
175169

176170
> **ClassExpression**: `"ClassExpression"`
@@ -699,12 +693,6 @@
699693
700694
***
701695

702-
### TSDeclareFunction
703-
704-
> **TSDeclareFunction**: `"TSDeclareFunction"`
705-
706-
***
707-
708696
### TSDeclareKeyword
709697

710698
> **TSDeclareKeyword**: `"TSDeclareKeyword"`
@@ -765,12 +753,6 @@
765753
766754
***
767755

768-
### TSImportEqualsDeclaration
769-
770-
> **TSImportEqualsDeclaration**: `"TSImportEqualsDeclaration"`
771-
772-
***
773-
774756
### TSImportType
775757

776758
> **TSImportType**: `"TSImportType"`
@@ -831,12 +813,6 @@
831813
832814
***
833815

834-
### TSModuleDeclaration
835-
836-
> **TSModuleDeclaration**: `"TSModuleDeclaration"`
837-
838-
***
839-
840816
### TSModuleName
841817

842818
> **TSModuleName**: `"TSModuleName"`
@@ -1083,12 +1059,6 @@
10831059
10841060
***
10851061

1086-
### VariableDeclaration
1087-
1088-
> **VariableDeclaration**: `"VariableDeclaration"`
1089-
1090-
***
1091-
10921062
### WhileStatement
10931063

10941064
> **WhileStatement**: `"WhileStatement"`

packages/core/docs/-internal-/enumerations/AST_NODE_TYPES.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,6 @@
116116
117117
***
118118

119-
### Literal
120-
121-
> **Literal**: `"Literal"`
122-
123-
***
124-
125119
### MethodDefinition
126120

127121
> **MethodDefinition**: `"MethodDefinition"`
@@ -518,6 +512,12 @@ Re-exports [LabeledStatement](../README.md#labeledstatement)
518512

519513
***
520514

515+
### Literal
516+
517+
Re-exports [Literal](../README.md#literal)
518+
519+
***
520+
521521
### LogicalExpression
522522

523523
Re-exports [LogicalExpression](../README.md#logicalexpression)

packages/core/docs/-internal-/interfaces/BooleanLiteral.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The loc property is defined as nullable by ESTree, but ESLint requires this prop
5858

5959
### type
6060

61-
> **type**: [`Literal`](../enumerations/AST_NODE_TYPES.md#literal)
61+
> **type**: [`Literal`](../README.md#literal)
6262
6363
#### Inherited from
6464

packages/core/docs/-internal-/interfaces/LiteralBase.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212

1313
## Extended by
1414

15-
- [`StringLiteral`](StringLiteral.md)
1615
- [`BigIntLiteral`](BigIntLiteral.md)
1716
- [`BooleanLiteral`](BooleanLiteral.md)
1817
- [`NullLiteral`](NullLiteral.md)
1918
- [`NumberLiteral`](NumberLiteral.md)
2019
- [`RegExpLiteral`](RegExpLiteral.md)
20+
- [`StringLiteral`](StringLiteral.md)
2121

2222
## Properties
2323

@@ -63,7 +63,7 @@ The loc property is defined as nullable by ESTree, but ESLint requires this prop
6363

6464
### type
6565

66-
> **type**: [`Literal`](../enumerations/AST_NODE_TYPES.md#literal)
66+
> **type**: [`Literal`](../README.md#literal)
6767
6868
#### Overrides
6969

packages/core/docs/-internal-/interfaces/NumberLiteral.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The loc property is defined as nullable by ESTree, but ESLint requires this prop
5858

5959
### type
6060

61-
> **type**: [`Literal`](../enumerations/AST_NODE_TYPES.md#literal)
61+
> **type**: [`Literal`](../README.md#literal)
6262
6363
#### Inherited from
6464

packages/core/docs/-internal-/interfaces/RegExpLiteral.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The loc property is defined as nullable by ESTree, but ESLint requires this prop
7272

7373
### type
7474

75-
> **type**: [`Literal`](../enumerations/AST_NODE_TYPES.md#literal)
75+
> **type**: [`Literal`](../README.md#literal)
7676
7777
#### Inherited from
7878

packages/core/docs/README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
## Namespaces
1212

13-
- [isCallFromReact](namespaces/isCallFromReact/README.md)
14-
- [isFromReact](namespaces/isFromReact/README.md)
1513
- [useComponentCollector](namespaces/useComponentCollector/README.md)
1614
- [useComponentCollectorLegacy](namespaces/useComponentCollectorLegacy/README.md)
1715
- [useHookCollector](namespaces/useHookCollector/README.md)
@@ -52,9 +50,6 @@
5250
- [getComponentNameFromIdentifier](functions/getComponentNameFromIdentifier.md)
5351
- [getFunctionComponentIdentifier](functions/getFunctionComponentIdentifier.md)
5452
- [hasNoneOrValidComponentName](functions/hasNoneOrValidComponentName.md)
55-
- [hasValidHierarchy](functions/hasValidHierarchy.md)
56-
- [isCallFromReact](functions/isCallFromReact.md)
57-
- [isCallFromReactObject](functions/isCallFromReactObject.md)
5853
- [isChildrenCount](functions/isChildrenCount.md)
5954
- [isChildrenCountCall](functions/isChildrenCountCall.md)
6055
- [isChildrenForEach](functions/isChildrenForEach.md)
@@ -81,10 +76,6 @@
8176
- [isDeclaredInRenderPropLoose](functions/isDeclaredInRenderPropLoose.md)
8277
- [isForwardRef](functions/isForwardRef.md)
8378
- [isForwardRefCall](functions/isForwardRefCall.md)
84-
- [isFromReact](functions/isFromReact.md)
85-
- [isFromReactLoose](functions/isFromReactLoose.md)
86-
- [isFromReactObject](functions/isFromReactObject.md)
87-
- [isFromReactStrict](functions/isFromReactStrict.md)
8879
- [isFunctionOfComponentDidMount](functions/isFunctionOfComponentDidMount.md)
8980
- [isFunctionOfComponentWillUnmount](functions/isFunctionOfComponentWillUnmount.md)
9081
- [isFunctionOfRenderMethod](functions/isFunctionOfRenderMethod.md)

packages/core/docs/functions/hasValidHierarchy.md

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

packages/core/docs/functions/isCallFromReact.md

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

packages/core/docs/functions/isCallFromReactObject.md

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

0 commit comments

Comments
 (0)