[WEB-5136] refactor: update admin ESLint configuration and refactor imports to use type imports (#7955)

- Enhanced ESLint configuration by adding new rules for import consistency and type imports.
- Refactored multiple files to replace regular imports with type imports for better clarity and performance.
- Ensured consistent use of type imports across the application to align with TypeScript best practices.
This commit is contained in:
Prateek Shourya 2025-10-13 21:07:49 +05:30 committed by GitHub
parent ffe38b592a
commit c80c76b882
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
54 changed files with 135 additions and 91 deletions

View file

@ -8,7 +8,7 @@ import { Loader as LoaderIcon } from "lucide-react";
// types
import { Button, getButtonStyling } from "@plane/propel/button";
import { setPromiseToast } from "@plane/propel/toast";
import { TInstanceConfigurationKeys } from "@plane/types";
import type { TInstanceConfigurationKeys } from "@plane/types";
import { Loader, ToggleSwitch } from "@plane/ui";
import { cn } from "@plane/utils";