Skip to content

Chore: eslint-plugin-simple-import-sort 적용 및 import정렬 - #5

Open
Gomyeunghan wants to merge 5 commits into
mainfrom
feature/commitzen-lint
Open

Gomyeunghan wants to merge 5 commits into
mainfrom
feature/commitzen-lint

Conversation

@Gomyeunghan

Copy link
Copy Markdown
Collaborator

🛠️ 작업 내용

  • lint-staged 도입 — git add된(스테이징된) 파일만 검사, 프로젝트 전체는 건드리지 않음
  • .husky/pre-commit → npx lint-staged 실행
  • 스테이징된 파일 대상:
    • *.{js,jsx,ts,tsx}: eslint --fix → prettier --write → jest --findRelatedTests(변경 코드와 관련된 테스트만, 없으면 통과)
    • *.{json,css,md}: prettier --write
  • eslint-plugin-simple-import-sort 추가 — import/export 순서 자동 정렬·강제
  • 기존에 import 순서가 안 맞던 파일 14개(app/layout.tsx, entities/, widgets/flower-scene/, stories/* 등) 미리 autofix 처리

📸 스크린샷 (UI 변경시)

리뷰 요청사항

@Gomyeunghan Gomyeunghan self-assigned this Sep 1, 2026
@Gomyeunghan Gomyeunghan added the feature 무언가 개발했을때 label Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature 무언가 개발했을때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant