Use @typescript-eslint/semi.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 18:12:52 +02:00
1 parent 0b182ccf6f
commit 460dfe4d2b
179 files changed
+556 -554

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ export interface TableHeadProps extends React.DOMAttributes<HTMLDivElement> {
export class TableHead extends React.Component<TableHeadProps> {
static defaultProps: TableHeadProps = {
sticky: true,
}
};
render() {
const { className, sticky, nowrap, showTopLine, children, ...headProps } = this.props;
+2 -2
View File
@@ -16,7 +16,7 @@ import { ItemObject } from "../../item.store";
export type TableSortBy = string;
export type TableOrderBy = "asc" | "desc" | string;
export type TableSortParams = { sortBy: TableSortBy; orderBy: TableOrderBy }
export type TableSortParams = { sortBy: TableSortBy; orderBy: TableOrderBy };
export type TableSortCallback<D = any> = (data: D) => string | number | (string | number)[];
export interface TableProps extends React.DOMAttributes<HTMLDivElement> {
@@ -51,7 +51,7 @@ export class Table extends React.Component<TableProps> {
rowPadding: "8px",
rowLineHeight: "17px",
sortSyncWithUrl: true,
}
};
@observable sortParamsLocal = this.props.sortByDefault;