File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 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>(
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 {
163166export 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
You can’t perform that action at this time.
0 commit comments