Enforce semicolons in eslint

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 16:35:04 +02:00
1 parent 0f3f5611ba
commit 1477bb8274
531 files changed
+3979 -3975

No files matched your search

@@ -36,7 +36,7 @@ const defaultProps: Partial<Props> = {
initialOffset: 1,
readyOffset: 10,
onScroll: noop
}
};
export class VirtualList extends Component<Props, State> {
static defaultProps = defaultProps as object;
@@ -70,7 +70,7 @@ export class VirtualList extends Component<Props, State> {
if (parentHeight === height) return;
this.setState({
height: parentHeight,
})
});
}, 250)
getItemSize = (index: number) => this.props.rowHeights[index];
@@ -84,7 +84,7 @@ export class VirtualList extends Component<Props, State> {
})
scrollToItem = (index: number, align: Align) => {
this.listRef.current.scrollToItem(index, align)
this.listRef.current.scrollToItem(index, align);
}
render() {
@@ -133,4 +133,4 @@ const Row = observer((props: RowProps) => {
return React.cloneElement(row, {
style: Object.assign({}, row.props.style, style)
});
})
});