Skip to content

Commit 42ac5c9

Browse files
committed
style(eslint): add eslint-disables
1 parent 9db7297 commit 42ac5c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/util.ts

+5
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export function createCustoms<T extends ItemInterface>(
5656
let custom = [];
5757
switch (mode) {
5858
case "normal":
59+
/* eslint-disable */
5960
const item = {
6061
element: evt.item,
6162
newIndex: evt.newIndex!,
@@ -88,6 +89,8 @@ export function createCustoms<T extends ItemInterface>(
8889
}));
8990
break;
9091
}
92+
/* eslint-enable */
93+
9194
const customs = createNormalized(custom, list);
9295
return customs;
9396
}
@@ -163,6 +166,7 @@ export interface Normalized<T> extends Input {
163166
export function destructurePropsForOptions<T>(
164167
props: PropsWithChildren<ReactSortableProps<T>>
165168
): Exclude<Options, AllMethodNames> {
169+
/* eslint-disable */
166170
const {
167171
// react sortable props
168172
list,
@@ -190,6 +194,7 @@ export function destructurePropsForOptions<T>(
190194
onDeselect,
191195
...options
192196
} = props;
197+
/* eslint-enable */
193198
return options;
194199
}
195200

0 commit comments

Comments
 (0)