Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

[기능] ESLint, Prettier, Husky, lint-staged 추가 및 Playground/Monitor UI 개선#7

Merged
haesookimDev merged 2 commits into
mainfrom
feature/lint
Jul 15, 2025
Merged

[기능] ESLint, Prettier, Husky, lint-staged 추가 및 Playground/Monitor UI 개선#7
haesookimDev merged 2 commits into
mainfrom
feature/lint

Conversation

@haesookimDev
Copy link
Copy Markdown
Contributor

설명

  • 코드 품질 유지를 위해 ESLint, Prettier, Husky, lint-staged 설정을 추가하였습니다.
  • Playground 및 Monitor 컴포넌트의 UI 레이아웃을 개선하여 패널 높이 제한과 sticky header를 적용하였습니다.
  • MainPage에서 Playground 탭 선택 시 항상 executor 탭으로 전환되도록 수정하였습니다.
  • 다수 코드포맷팅 및 타입 안정성을 위한 세부 수정이 포함되어 있습니다.

주요 변경 사항

  • ESLint, Prettier, Husky, lint-staged 도구 도입으로 코드 스타일 및 품질 자동 관리 체계 구축 (.husky/pre-commit, .prettierrc, eslint.config.mjs, package.json, package-lock.json 변경)
  • Playground와 Monitor 컴포넌트 내 스크롤 영역에 max-height 지정 및 sticky 헤더 적용 (Playground.module.scss, Monitor.module.scss, Executor.module.scss)
  • MainPage에서 URL 파라미터(workflowName, workflowId) 를 기반으로 Playground 진입 시 executor 탭으로 자동 전환하도록 로직 변경
  • CompletedWorkflows, ConfigViewer, Settings, Executor, Monitor 등 주요 컴포넌트 리팩토링 및 UI 관련 스타일링, 이벤트 핸들링 일관성 개선
  • API 통신 함수 에러 핸들링 로깅 통일 및 문법 개선 (workflowAPI.js, configAPI.js, nodeAPI.js)
  • 타입 정의 보완 및 JSX 문법 포맷 수정, 불필요한 공백과 줄바꿈 정리

- Introduce ESLint configuration with recommended rules for React, TypeScript, accessibility, and Next.js
- Add Prettier configuration for consistent code formatting (semi, single quotes, tab width, trailing commas, etc.)
- Add Husky pre-commit hook to run lint-staged before commits
- Configure lint-staged to run ESLint and Prettier on staged JS/TS files
- Update package.json and package-lock.json with ESLint, Prettier, Husky, lint-staged, and related plugins/dependencies
- Apply code style fixes and import quote style consistency across the codebase
- Minor code formatting
@haesookimDev haesookimDev self-assigned this Jul 15, 2025
@haesookimDev haesookimDev merged commit c273d7e into main Jul 15, 2025
@haesookimDev haesookimDev deleted the feature/lint branch July 15, 2025 06:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant