Enable @typescript-eslint/consistent-type-imports lint rule (#2886)

* Enable @typescript-eslint/consistent-type-imports lint rule

This is to help ensure that we get proper vite/rollup lazy loading by not `import`ing more than we need to.

Revert "Enable @typescript-eslint/consistent-type-imports lint rule"

This reverts commit ba385fa00b7e410cc508fd5fb9fe972233ae114f.

Enable @typescript-eslint/consistent-type-imports lint rule

This is to help ensure that we get proper vite/rollup lazy loading by not `import`ing more than we need to.

.

* Format
This commit is contained in:
Hugh Nimmo-Smith
2024-12-11 09:27:55 +00:00
committed by GitHub
parent 8558f0349f
commit 0087e37f30
149 changed files with 523 additions and 425 deletions

View File

@@ -6,13 +6,13 @@ Please see LICENSE in the repository root for full details.
*/
import {
AllHTMLAttributes,
type AllHTMLAttributes,
useEffect,
useCallback,
useState,
ChangeEvent,
type ChangeEvent,
useRef,
FC,
type FC,
} from "react";
import classNames from "classnames";
import { useTranslation } from "react-i18next";

View File

@@ -6,11 +6,11 @@ Please see LICENSE in the repository root for full details.
*/
import {
ChangeEvent,
FC,
ForwardedRef,
type ChangeEvent,
type FC,
type ForwardedRef,
forwardRef,
ReactNode,
type ReactNode,
useId,
} from "react";
import classNames from "classnames";