mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enable consistent-type-imports eslint rule (#5205)
This commit is contained in:
1 parent
93a8d0f157
commit
1a29759bff
402 files changed
+991
-503
No files matched your search
@@ -5,7 +5,8 @@
|
||||
|
||||
import "./drop-file-input.scss";
|
||||
import React from "react";
|
||||
import { boundMethod, cssNames, IClassName } from "../../utils";
|
||||
import type { IClassName } from "../../utils";
|
||||
import { boundMethod, cssNames } from "../../utils";
|
||||
import { observable, makeObservable } from "mobx";
|
||||
import { observer } from "mobx-react";
|
||||
import logger from "../../../main/logger";
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
|
||||
import React, { InputHTMLAttributes } from "react";
|
||||
import type { InputHTMLAttributes } from "react";
|
||||
import React from "react";
|
||||
|
||||
export interface FileInputSelection<T = string> {
|
||||
file: File;
|
||||
|
||||
@@ -5,10 +5,12 @@
|
||||
|
||||
import "./input.scss";
|
||||
|
||||
import React, { DOMAttributes, InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
||||
import type { DOMAttributes, InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
||||
import React from "react";
|
||||
import { boundMethod, cssNames, debouncePromise, getRandId } from "../../utils";
|
||||
import { Icon } from "../icon";
|
||||
import { Tooltip, TooltipProps } from "../tooltip";
|
||||
import type { TooltipProps } from "../tooltip";
|
||||
import { Tooltip } from "../tooltip";
|
||||
import * as Validators from "./input_validators";
|
||||
import type { InputValidator } from "./input_validators";
|
||||
import isFunction from "lodash/isFunction";
|
||||
|
||||
@@ -9,7 +9,8 @@ import React, { createRef } from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { boundMethod, cssNames } from "../../utils";
|
||||
import { Icon } from "../icon";
|
||||
import { Input, InputProps } from "./input";
|
||||
import type { InputProps } from "./input";
|
||||
import { Input } from "./input";
|
||||
import { isMac } from "../../../common/vars";
|
||||
|
||||
export interface SearchInputProps extends InputProps {
|
||||
|
||||
Reference in new issue
Block a user