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

+2 -1
View File
@@ -8,7 +8,8 @@ import "./tooltip.scss";
import React from "react";
import { createPortal } from "react-dom";
import { observer } from "mobx-react";
import { boundMethod, cssNames, IClassName } from "../../utils";
import type { IClassName } from "../../utils";
import { boundMethod, cssNames } from "../../utils";
import { observable, makeObservable, action } from "mobx";
export enum TooltipPosition {
@@ -5,9 +5,11 @@
// Tooltip decorator for simple composition with other components
import React, { HTMLAttributes, ReactNode } from "react";
import type { HTMLAttributes, ReactNode } from "react";
import React from "react";
import hoistNonReactStatics from "hoist-non-react-statics";
import { Tooltip, TooltipProps } from "./tooltip";
import type { TooltipProps } from "./tooltip";
import { Tooltip } from "./tooltip";
import { isReactNode } from "../../utils/isReactNode";
import uniqueId from "lodash/uniqueId";