File tree 19 files changed +320
-206
lines changed
plugins/eslint-plugin/src/configs
19 files changed +320
-206
lines changed Original file line number Diff line number Diff line change 49
49
"@typescript-eslint/type-utils" : " ^8.19.1" ,
50
50
"@typescript-eslint/types" : " ^8.19.1" ,
51
51
"@typescript-eslint/utils" : " ^8.19.1" ,
52
+ "birecord" : " ^0.1.1" ,
52
53
"ts-pattern" : " ^5.6.0"
53
54
},
54
55
"devDependencies" : {
File renamed without changes.
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export * from "./component-collector-legacy";
5
5
export * from "./component-flag" ;
6
6
export * from "./component-id" ;
7
7
export type * from "./component-kind" ;
8
+ export * from "./component-lifecycle" ;
8
9
export type * from "./component-method-kind" ;
9
10
export * from "./component-name" ;
10
11
export * from "./component-render-method" ;
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ export * from "./component";
2
2
export * from "./effect" ;
3
3
export * from "./element" ;
4
4
export * from "./hook" ;
5
- export * from "./lifecycle" ;
6
5
export * from "./phase" ;
7
6
export * from "./render-prop" ;
8
7
export type * from "./semantic-entry" ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- import { birecord } from "@eslint-react/eff " ;
1
+ import birecord from "birecord " ;
2
2
3
3
export const ERPhaseRelevance = birecord ( {
4
4
mount : "unmount" ,
5
5
setup : "cleanup" ,
6
6
} ) ;
7
+
Original file line number Diff line number Diff line change 1
1
import { entries , fromEntries } from "../utils" ;
2
-
3
2
import { rules as debugRules } from "./debug" ;
4
3
5
4
export const name = "@eslint-react/disable-debug" ;
Original file line number Diff line number Diff line change 1
1
import { entries , fromEntries } from "../utils" ;
2
-
3
2
import { rules as webApiRules } from "./web-api" ;
4
3
5
4
export const name = "@eslint-react/disable-web-api" ;
Original file line number Diff line number Diff line change 1
1
import { entries , fromEntries } from "../utils" ;
2
-
3
2
import { rules as allRules } from "./all" ;
4
3
import { rules as disableTypeCheckedRules } from "./disable-type-checked" ;
5
4
Original file line number Diff line number Diff line change 4
4
5
5
# @eslint-react/eff
6
6
7
- ## Classes
8
-
9
- - [ BiRecord] ( classes/BiRecord.md )
10
-
11
7
## Type Aliases
12
8
13
9
- [ \_ ] ( type-aliases.md )
20
16
21
17
## Functions
22
18
23
- - [ birecord ] ( functions/birecord .md )
19
+ - [ concatenate ] ( functions/concatenate .md )
24
20
- [ dual] ( functions/dual.md )
25
21
- [ flip] ( functions/flip.md )
26
22
- [ flow] ( functions/flow.md )
27
23
- [ getOrUpdate] ( functions/getOrUpdate.md )
28
24
- [ identity] ( functions/identity.md )
25
+ - [ intersperse] ( functions/intersperse.md )
29
26
- [ isArray] ( functions/isArray.md )
30
27
- [ isObject] ( functions/isObject.md )
31
28
- [ isTruthy] ( functions/isTruthy.md )
36
33
- [ returnTrue] ( functions/returnTrue.md )
37
34
- [ returnVoid] ( functions/returnVoid.md )
38
35
- [ tryAddToSet] ( functions/tryAddToSet.md )
36
+ - [ zipWith] ( functions/zipWith.md )
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ [ ** @eslint-react/eff ** ] ( ../README.md )
2
+
3
+ ***
4
+
5
+ [ @eslint-react/eff ] ( ../README.md ) / concatenate
6
+
7
+ # Function: concatenate()
8
+
9
+ ## Call Signature
10
+
11
+ > ** concatenate** \< ` T ` \> (` array1 ` , ` array2 ` ): ` T ` [ ]
12
+
13
+ ### Type Parameters
14
+
15
+ • ** T**
16
+
17
+ ### Parameters
18
+
19
+ #### array1
20
+
21
+ ` T ` [ ]
22
+
23
+ #### array2
24
+
25
+ ` T ` [ ]
26
+
27
+ ### Returns
28
+
29
+ ` T ` [ ]
30
+
31
+ ## Call Signature
32
+
33
+ > ** concatenate** \< ` T ` \> (` array1 ` , ` array2 ` ): readonly ` T ` [ ]
34
+
35
+ ### Type Parameters
36
+
37
+ • ** T**
38
+
39
+ ### Parameters
40
+
41
+ #### array1
42
+
43
+ readonly ` T ` [ ]
44
+
45
+ #### array2
46
+
47
+ readonly ` T ` [ ]
48
+
49
+ ### Returns
50
+
51
+ readonly ` T ` [ ]
52
+
53
+ ## Call Signature
54
+
55
+ > ** concatenate** \< ` T ` \> (` array1 ` , ` array2 ` ): ` T ` [ ]
56
+
57
+ ### Type Parameters
58
+
59
+ • ** T**
60
+
61
+ ### Parameters
62
+
63
+ #### array1
64
+
65
+ ` T ` [ ]
66
+
67
+ #### array2
68
+
69
+ ` undefined ` | ` T ` [ ]
70
+
71
+ ### Returns
72
+
73
+ ` T ` [ ]
74
+
75
+ ## Call Signature
76
+
77
+ > ** concatenate** \< ` T ` \> (` array1 ` , ` array2 ` ): ` T ` [ ]
78
+
79
+ ### Type Parameters
80
+
81
+ • ** T**
82
+
83
+ ### Parameters
84
+
85
+ #### array1
86
+
87
+ ` undefined ` | ` T ` [ ]
88
+
89
+ #### array2
90
+
91
+ ` T ` [ ]
92
+
93
+ ### Returns
94
+
95
+ ` T ` [ ]
96
+
97
+ ## Call Signature
98
+
99
+ > ** concatenate** \< ` T ` \> (` array1 ` , ` array2 ` ): readonly ` T ` [ ]
100
+
101
+ ### Type Parameters
102
+
103
+ • ** T**
104
+
105
+ ### Parameters
106
+
107
+ #### array1
108
+
109
+ readonly ` T ` [ ]
110
+
111
+ #### array2
112
+
113
+ ` undefined ` | readonly ` T ` [ ]
114
+
115
+ ### Returns
116
+
117
+ readonly ` T ` [ ]
118
+
119
+ ## Call Signature
120
+
121
+ > ** concatenate** \< ` T ` \> (` array1 ` , ` array2 ` ): readonly ` T ` [ ]
122
+
123
+ ### Type Parameters
124
+
125
+ • ** T**
126
+
127
+ ### Parameters
128
+
129
+ #### array1
130
+
131
+ ` undefined ` | readonly ` T ` [ ]
132
+
133
+ #### array2
134
+
135
+ readonly ` T ` [ ]
136
+
137
+ ### Returns
138
+
139
+ readonly ` T ` [ ]
140
+
141
+ ## Call Signature
142
+
143
+ > ** concatenate** \< ` T ` \> (` array1 ` , ` array2 ` ): ` T ` [ ] \| ` undefined `
144
+
145
+ ### Type Parameters
146
+
147
+ • ** T**
148
+
149
+ ### Parameters
150
+
151
+ #### array1
152
+
153
+ ` undefined ` | ` T ` [ ]
154
+
155
+ #### array2
156
+
157
+ ` undefined ` | ` T ` [ ]
158
+
159
+ ### Returns
160
+
161
+ ` T ` [ ] \| ` undefined `
162
+
163
+ ## Call Signature
164
+
165
+ > ** concatenate** \< ` T ` \> (` array1 ` , ` array2 ` ): readonly ` T ` [ ] \| ` undefined `
166
+
167
+ ### Type Parameters
168
+
169
+ • ** T**
170
+
171
+ ### Parameters
172
+
173
+ #### array1
174
+
175
+ ` undefined ` | readonly ` T ` [ ]
176
+
177
+ #### array2
178
+
179
+ ` undefined ` | readonly ` T ` [ ]
180
+
181
+ ### Returns
182
+
183
+ readonly ` T ` [ ] \| ` undefined `
You can’t perform that action at this time.
0 commit comments