feat: ESLint 정리 및 전체 코드 품질 개선
- eslint.config.mjs 규칙 강화 및 정리 - 전역 unused import/변수 제거 (312개 파일) - next.config.ts, middleware, proxy route 개선 - CopyableCell molecule 추가 - 회계/결재/HR/생산/건설/품질/영업 등 전 도메인 lint 정리 - IntegratedListTemplateV2, DataTable, MobileCard 등 공통 컴포넌트 개선 - execute-server-action 에러 핸들링 보강
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { useState, useEffect } from "react";
|
||||
import { useState } from "react";
|
||||
import { useRouter } from "next/navigation";
|
||||
import { useTranslations } from "next-intl";
|
||||
import Image from "next/image";
|
||||
@@ -8,8 +8,6 @@ import { toast } from "sonner";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { Label } from "@/components/ui/label";
|
||||
import { LanguageSelect } from "@/components/LanguageSelect";
|
||||
import { ThemeSelect } from "@/components/ThemeSelect";
|
||||
import { transformApiMenusToMenuItems } from "@/lib/utils/menuTransform";
|
||||
import {
|
||||
User,
|
||||
|
||||
@@ -80,7 +80,7 @@ export function SignupPage() {
|
||||
}
|
||||
};
|
||||
|
||||
const handleBusinessNumberChange = (value: string) => {
|
||||
const _handleBusinessNumberChange = (value: string) => {
|
||||
const formatted = formatBusinessNumber(value);
|
||||
handleInputChange("businessNumber", formatted);
|
||||
};
|
||||
@@ -107,7 +107,7 @@ export function SignupPage() {
|
||||
}
|
||||
};
|
||||
|
||||
const handlePhoneNumberChange = (value: string) => {
|
||||
const _handlePhoneNumberChange = (value: string) => {
|
||||
const formatted = formatPhoneNumber(value);
|
||||
handleInputChange("phone", formatted);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user