[WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957)
* [WEB-5134] refactor: update `web` ESLint configuration and refactor imports to use type imports - 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. * refactor: standardize type imports across components - Updated multiple files to replace regular imports with type imports for improved clarity and consistency. - Ensured adherence to TypeScript best practices in the rich filters and issue layouts components.
This commit is contained in:
parent
4168127803
commit
9cfde896b3
1080 changed files with 2589 additions and 2082 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { EStartOfTheWeek, TCalendarLayouts } from "@plane/types";
|
||||
import type { TCalendarLayouts } from "@plane/types";
|
||||
import { EStartOfTheWeek } from "@plane/types";
|
||||
|
||||
export const MONTHS_LIST: {
|
||||
[monthNumber: number]: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
import { Styles, StyleSheet } from "@react-pdf/renderer";
|
||||
import type { Styles } from "@react-pdf/renderer";
|
||||
import { StyleSheet } from "@react-pdf/renderer";
|
||||
import type { LucideIcon } from "lucide-react";
|
||||
import {
|
||||
AlignCenter,
|
||||
AlignLeft,
|
||||
|
|
@ -17,7 +19,6 @@ import {
|
|||
List,
|
||||
ListOrdered,
|
||||
ListTodo,
|
||||
LucideIcon,
|
||||
Strikethrough,
|
||||
Table,
|
||||
TextQuote,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { IJiraMetadata } from "@plane/types";
|
||||
import type { IJiraMetadata } from "@plane/types";
|
||||
|
||||
const paramsToKey = (params: any) => {
|
||||
const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue