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
@@ -4,7 +4,8 @@
|
||||
*/
|
||||
|
||||
import React from "react";
|
||||
import FormControlLabel, { FormControlLabelProps } from "@material-ui/core/FormControlLabel";
|
||||
import type { FormControlLabelProps } from "@material-ui/core/FormControlLabel";
|
||||
import FormControlLabel from "@material-ui/core/FormControlLabel";
|
||||
import { makeStyles } from "@material-ui/styles";
|
||||
|
||||
const useStyles = makeStyles({
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
|
||||
import styles from "./switch.module.scss";
|
||||
|
||||
import React, { ChangeEvent, HTMLProps } from "react";
|
||||
import type { ChangeEvent, HTMLProps } from "react";
|
||||
import React from "react";
|
||||
import { cssNames } from "../../utils";
|
||||
|
||||
export interface SwitchProps extends Omit<HTMLProps<HTMLInputElement>, "onChange"> {
|
||||
|
||||
@@ -4,8 +4,10 @@
|
||||
*/
|
||||
|
||||
import React from "react";
|
||||
import { createStyles, withStyles, Theme } from "@material-ui/core/styles";
|
||||
import Switch, { SwitchClassKey, SwitchProps } from "@material-ui/core/Switch";
|
||||
import type { Theme } from "@material-ui/core/styles";
|
||||
import { createStyles, withStyles } from "@material-ui/core/styles";
|
||||
import type { SwitchClassKey, SwitchProps } from "@material-ui/core/Switch";
|
||||
import Switch from "@material-ui/core/Switch";
|
||||
|
||||
interface Styles extends Partial<Record<SwitchClassKey, string>> {
|
||||
focusVisible?: string;
|
||||
|
||||
Reference in new issue
Block a user