Skip to content

Commit a7e0bae

Browse files
committed
refactor: minor improvements
1 parent 18933b7 commit a7e0bae

25 files changed

+306
-171
lines changed

packages/core/docs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242

4343
- [getComponentNameFromIdentifier](functions/getComponentNameFromIdentifier.md)
4444
- [getFunctionComponentIdentifier](functions/getFunctionComponentIdentifier.md)
45-
- [getPhaseKindOfFunction](functions/getPhaseKindOfFunction.md)
4645
- [hasNoneOrValidComponentName](functions/hasNoneOrValidComponentName.md)
4746
- [isCallFromReact](functions/isCallFromReact.md)
4847
- [isCallFromReactMember](functions/isCallFromReactMember.md)

packages/core/docs/functions/getPhaseKindOfFunction.md

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

packages/core/docs/functions/isChildrenCount.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Function: isChildrenCount()
88

9-
> **isChildrenCount**(`node`, `context`, `pragma`?): `boolean`
9+
> **isChildrenCount**(`node`, `context`): `boolean`
1010
1111
## Parameters
1212

@@ -18,10 +18,6 @@
1818

1919
`Readonly`\<`RuleContext`\<`string`, readonly `unknown`[]\>\>
2020

21-
### pragma?
22-
23-
`string`
24-
2521
## Returns
2622

2723
`boolean`

packages/core/docs/functions/isChildrenCountCall.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Function: isChildrenCountCall()
88

9-
> **isChildrenCountCall**(`node`, `context`, `pragma`?): `boolean`
9+
> **isChildrenCountCall**(`node`, `context`): `boolean`
1010
1111
## Parameters
1212

@@ -18,10 +18,6 @@
1818

1919
`Readonly`\<`RuleContext`\<`string`, readonly `unknown`[]\>\>
2020

21-
### pragma?
22-
23-
`string`
24-
2521
## Returns
2622

2723
`boolean`

packages/core/docs/functions/isChildrenForEach.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Function: isChildrenForEach()
88

9-
> **isChildrenForEach**(`node`, `context`, `pragma`?): `boolean`
9+
> **isChildrenForEach**(`node`, `context`): `boolean`
1010
1111
## Parameters
1212

@@ -18,10 +18,6 @@
1818

1919
`Readonly`\<`RuleContext`\<`string`, readonly `unknown`[]\>\>
2020

21-
### pragma?
22-
23-
`string`
24-
2521
## Returns
2622

2723
`boolean`

packages/core/docs/functions/isChildrenForEachCall.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Function: isChildrenForEachCall()
88

9-
> **isChildrenForEachCall**(`node`, `context`, `pragma`?): `boolean`
9+
> **isChildrenForEachCall**(`node`, `context`): `boolean`
1010
1111
## Parameters
1212

@@ -18,10 +18,6 @@
1818

1919
`Readonly`\<`RuleContext`\<`string`, readonly `unknown`[]\>\>
2020

21-
### pragma?
22-
23-
`string`
24-
2521
## Returns
2622

2723
`boolean`

packages/core/docs/functions/isChildrenMap.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Function: isChildrenMap()
88

9-
> **isChildrenMap**(`node`, `context`, `pragma`?): `boolean`
9+
> **isChildrenMap**(`node`, `context`): `boolean`
1010
1111
## Parameters
1212

@@ -18,10 +18,6 @@
1818

1919
`Readonly`\<`RuleContext`\<`string`, readonly `unknown`[]\>\>
2020

21-
### pragma?
22-
23-
`string`
24-
2521
## Returns
2622

2723
`boolean`

packages/core/docs/functions/isChildrenMapCall.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Function: isChildrenMapCall()
88

9-
> **isChildrenMapCall**(`node`, `context`, `pragma`?): `boolean`
9+
> **isChildrenMapCall**(`node`, `context`): `boolean`
1010
1111
## Parameters
1212

@@ -18,10 +18,6 @@
1818

1919
`Readonly`\<`RuleContext`\<`string`, readonly `unknown`[]\>\>
2020

21-
### pragma?
22-
23-
`string`
24-
2521
## Returns
2622

2723
`boolean`

packages/core/docs/functions/isChildrenOnly.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Function: isChildrenOnly()
88

9-
> **isChildrenOnly**(`node`, `context`, `pragma`?): `boolean`
9+
> **isChildrenOnly**(`node`, `context`): `boolean`
1010
1111
## Parameters
1212

@@ -18,10 +18,6 @@
1818

1919
`Readonly`\<`RuleContext`\<`string`, readonly `unknown`[]\>\>
2020

21-
### pragma?
22-
23-
`string`
24-
2521
## Returns
2622

2723
`boolean`

packages/core/docs/functions/isChildrenOnlyCall.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Function: isChildrenOnlyCall()
88

9-
> **isChildrenOnlyCall**(`node`, `context`, `pragma`?): `boolean`
9+
> **isChildrenOnlyCall**(`node`, `context`): `boolean`
1010
1111
## Parameters
1212

@@ -18,10 +18,6 @@
1818

1919
`Readonly`\<`RuleContext`\<`string`, readonly `unknown`[]\>\>
2020

21-
### pragma?
22-
23-
`string`
24-
2521
## Returns
2622

2723
`boolean`

0 commit comments

Comments
 (0)