mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-08-31 16:49:24 +00:00
Introduced tsconfig.app.json and tsconfig.base.json + Refactored eslint.config.js to the latest structure (#652)
* Introduced tsconfig.app.json and tsconfig.base.json * yarn.lock * Introduced tsconfig.app.json, tsconfig.base.jsonfig. * Refactored eslint.config.js to latest structure * Returned previous recommended rules. * More rules * Force import rules * Check * Check * Cleanup ESLint configuration and plugins * Cleanup heap: "writable",DD_RUM: "writable" from ESLint configuration * "scripts" moved to the top of package.json
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import ErrorFallback from "./ErrorFallback";
|
||||
import { mount } from "cypress/react";
|
||||
import { ErrorBoundary } from "react-error-boundary";
|
||||
import { useState } from "react";
|
||||
import { ErrorBoundary } from "react-error-boundary";
|
||||
|
||||
import ErrorFallback from "./ErrorFallback";
|
||||
|
||||
/**
|
||||
* Component tests for ErrorFallback
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import type { Meta, StoryObj } from "@storybook/react-vite";
|
||||
import ErrorFallback from "./ErrorFallback";
|
||||
import { useState } from "react";
|
||||
import { ErrorBoundary } from "react-error-boundary";
|
||||
|
||||
import Button from "../Button";
|
||||
|
||||
import ErrorFallback from "./ErrorFallback";
|
||||
|
||||
const meta = {
|
||||
title: "Components/ErrorFallback",
|
||||
component: ErrorFallback,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import type { FallbackProps } from "react-error-boundary";
|
||||
import GlobalErrorModal from "../modal/GlobalErrorModal";
|
||||
|
||||
import { useDevLogger } from "../../hooks/useDevLogger";
|
||||
import GlobalErrorModal from "../modal/GlobalErrorModal";
|
||||
|
||||
/**
|
||||
* Error fallback component for React Error Boundary
|
||||
|
||||
Reference in New Issue
Block a user