Add eslint-plugin-import

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-22 19:57:10 +04:00
parent 0e4ac296cb
commit aa5696b5d3
400 changed files with 1414 additions and 892 deletions

View File

@@ -1,6 +1,7 @@
import { CenteredLayout } from "./CenteredLayout";
import type { Meta, StoryObj } from "@storybook/react";
import { CenteredLayout } from "./CenteredLayout";
export default {
title: "Layouts/CenteredLayout",
component: CenteredLayout,

View File

@@ -1,5 +1,6 @@
import type { PropsWithChildren } from "react";
import { Outlet } from "react-router";
import { Skeleton } from "../Atoms/Skeleton/Skeleton";
export function CenteredLayout({ children }: PropsWithChildren) {

View File

@@ -1,6 +1,7 @@
import { ErrorLayout } from "./ErrorLayout";
import type { Meta, StoryObj } from "@storybook/react";
import { ErrorLayout } from "./ErrorLayout";
export default {
title: "Layouts/ErrorLayout",
component: ErrorLayout,

View File

@@ -1,4 +1,5 @@
import type { PropsWithChildren } from "react";
import { IconCircleInfo } from "../Atoms/Icons";
type Props = PropsWithChildren<{

View File

@@ -1,6 +1,7 @@
import { Layout, Drawer } from "./Layout";
import type { Meta, StoryObj } from "@storybook/react";
import { Layout, Drawer } from "./Layout";
const meta = {
title: "Layouts/Base",
component: Layout,

View File

@@ -7,13 +7,14 @@ import {
type ReactNode,
useMemo,
} from "react";
import { createPortal } from "react-dom";
import clsx from "clsx";
import { Link } from "react-router";
import { Sidebar } from "../Atoms/Sidebar/Sidebar.tsx";
import { Logo } from "../Atoms/Logo/Logo.tsx";
import { Toasts } from "../Atoms/Toasts/Toasts.tsx";
import { createPortal } from "react-dom";
import clsx from "clsx";
import { ConfirmDialog } from "../Molecules/Dialog/ConfirmDialog.tsx";
import { Link } from "react-router";
type Props = PropsWithChildren<{
headerLeading?: ReactNode;