Enable consistent-type-imports eslint rule (#5205)

This commit is contained in:
Panu Horsmalahti authored and GitHub committed 2022-04-06 10:34:16 -04:00
1 parent 93a8d0f157
commit 1a29759bff
402 files changed
+991 -503

No files matched your search

@@ -5,7 +5,8 @@
import styles from "./react-table.module.scss";
import React, { useCallback, useMemo } from "react";
import { useFlexLayout, useSortBy, useTable, UseTableOptions } from "react-table";
import type { UseTableOptions } from "react-table";
import { useFlexLayout, useSortBy, useTable } from "react-table";
import { Icon } from "../icon";
import { cssNames } from "../../utils";
+2 -1
View File
@@ -6,7 +6,8 @@
import "./table-cell.scss";
import type { TableSortBy, TableSortParams } from "./table";
import React, { ReactNode } from "react";
import type { ReactNode } from "react";
import React from "react";
import { boundMethod, cssNames, displayBooleans } from "../../utils";
import { Icon } from "../icon";
import { Checkbox } from "../checkbox";
@@ -4,7 +4,8 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import createStorageInjectable from "../../../utils/create-storage/create-storage.injectable";
import { TableModel, TableStorageModel } from "./table-model";
import type { TableStorageModel } from "./table-model";
import { TableModel } from "./table-model";
const tableModelInjectable = getInjectable({
id: "table-model",
+2 -1
View File
@@ -5,7 +5,8 @@
import "./table-row.scss";
import React, { CSSProperties } from "react";
import type { CSSProperties } from "react";
import React from "react";
import { cssNames } from "../../utils";
import type { ItemObject } from "../../../common/item.store";
+4 -2
View File
@@ -8,8 +8,10 @@ import "./table.scss";
import React from "react";
import { observer } from "mobx-react";
import { boundMethod, cssNames } from "../../utils";
import { TableRow, TableRowElem, TableRowProps } from "./table-row";
import { TableHead, TableHeadElem, TableHeadProps } from "./table-head";
import type { TableRowElem, TableRowProps } from "./table-row";
import { TableRow } from "./table-row";
import type { TableHeadElem, TableHeadProps } from "./table-head";
import { TableHead } from "./table-head";
import type { TableCellElem } from "./table-cell";
import { VirtualList } from "../virtual-list";
import { createPageParam } from "../../navigation";