File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ export function createCustoms<T extends ItemInterface>(
56
56
let custom = [ ] ;
57
57
switch ( mode ) {
58
58
case "normal" :
59
+ /* eslint-disable */
59
60
const item = {
60
61
element : evt . item ,
61
62
newIndex : evt . newIndex ! ,
@@ -88,6 +89,8 @@ export function createCustoms<T extends ItemInterface>(
88
89
} ) ) ;
89
90
break ;
90
91
}
92
+ /* eslint-enable */
93
+
91
94
const customs = createNormalized ( custom , list ) ;
92
95
return customs ;
93
96
}
@@ -163,6 +166,7 @@ export interface Normalized<T> extends Input {
163
166
export function destructurePropsForOptions < T > (
164
167
props : PropsWithChildren < ReactSortableProps < T > >
165
168
) : Exclude < Options , AllMethodNames > {
169
+ /* eslint-disable */
166
170
const {
167
171
// react sortable props
168
172
list,
@@ -190,6 +194,7 @@ export function destructurePropsForOptions<T>(
190
194
onDeselect,
191
195
...options
192
196
} = props ;
197
+ /* eslint-enable */
193
198
return options ;
194
199
}
195
200
You can’t perform that action at this time.
0 commit comments