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:
유병철
2026-03-11 10:27:10 +09:00
parent 924726cba1
commit 81affdc441
315 changed files with 1977 additions and 1344 deletions

View File

@@ -72,7 +72,7 @@ export function useAccountingListPage<TData>(
})
.finally(() => setIsLoading(false));
// mode 변경 시에만 재실행
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [mode]);
return { data, pagination, isLoading, mode };

View File

@@ -782,7 +782,7 @@ export function useCEODashboard(options: UseCEODashboardOptions = {}): CEODashbo
us.refetch();
cs.refetch();
da.refetch();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [dr.refetch, rv.refetch, dc.refetch, me.refetch, fetchCM, sb.refetch, ss.refetch, ps.refetch, dp.refetch, us.refetch, cs.refetch, da.refetch]);
// 섹션별 refetch 함수 맵 (targeted invalidation용)

View File

@@ -145,7 +145,7 @@ export function useDashboardMultiFetch<TResult>(
} finally {
setLoading(false);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [sourcesKey, transformer]);
useEffect(() => {

View File

@@ -41,7 +41,7 @@ export function useStatsLoader<T>(
useEffect(() => {
if (initialData != null) return;
reload();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return { data, setData, reload };