Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
164 commits
Select commit Hold shift + click to select a range
625bcd1
feat(api): api 인터페이스 생성, HTTP 메서드 래핑
spde3289 Nov 5, 2025
6bb0b14
feat(api): 에러 공통 처리
spde3289 Nov 5, 2025
e9f85d2
feat(api): api 요청 함수 생성
spde3289 Nov 6, 2025
dab98dc
fix(api): 아이돌 차트 요청 api 수정
spde3289 Nov 6, 2025
118001c
feat(storage): 크레딧 관리 커스텀 훅, 로컬 스토리지 함수 작업
spde3289 Nov 6, 2025
13eadd2
feat: 크레딧 전역 상태 적용
spde3289 Nov 6, 2025
3bb6b25
fix: 글로벌 스타일 네이밍 수정
spde3289 Nov 6, 2025
1cf10f1
첫 번째 section 구현
wjdthdms Nov 6, 2025
8fd7e7a
렌딩 페이지 UI 구현 완료
wjdthdms Nov 6, 2025
fb8e329
fix: 렌딩페이지 이미지 alt 텍스트 추가
spde3289 Nov 7, 2025
2195ec0
fix: 렌딩 페이지 히어로 섹션 시멘틱 테그 변경
spde3289 Nov 7, 2025
bb5c9c6
refactor: 불필요한 테스트 코드 제거, usecredit 로직 통합
spde3289 Nov 7, 2025
b78dbdb
refactor: 불필요한 useCreditContext 분리 수정
spde3289 Nov 7, 2025
af25b30
chore: lint 설정 변경
spde3289 Nov 7, 2025
e8be40c
refactor: 불필요한 로직 제거
spde3289 Nov 7, 2025
1076b39
feat(vote): 투표 모달창 레이아웃
Nov 7, 2025
bcf0a7e
refactor: api 요청 함수 필요한 parm 만 받도록 수정
spde3289 Nov 7, 2025
9c67ed2
voteitem 클릭시 색상변경 삭제
Nov 7, 2025
33683d6
refactor: 불필요한 공통 에러 처리 제거
spde3289 Nov 7, 2025
ff021ba
공통 헤더 구현
wjdthdms Nov 7, 2025
d6c44b2
랜딩 페이지 모듈css를 styled-component로 수정
wjdthdms Nov 7, 2025
054be25
feat:투표 모달창 경로 변경
Nov 7, 2025
09c74fc
style:폰트사이즈 및 여백 투표자수 콤마값 추가
Nov 7, 2025
edd5e78
style:폰트사이즈 및 화면에 버튼 안보이는 현상 해결
Nov 7, 2025
dfda9bc
feat: 마이페이지 구조 설정 #13
dayeon0706 Nov 7, 2025
9e6e221
feat: 재사용 가능한 아이돌 컴포넌트 구현 #14
dayeon0706 Nov 7, 2025
06d2cf1
Merge pull request #34 from Sprint-Team2/feature/votepage
spde3289 Nov 8, 2025
64eb48c
Merge branch 'develop' into feature/header
spde3289 Nov 8, 2025
9109997
Merge pull request #36 from Sprint-Team2/feature/header
spde3289 Nov 8, 2025
233d9c4
Merge branch 'develop' into feature/mypage-layout
spde3289 Nov 8, 2025
582a3f6
Merge branch 'develop' of https://github.com/Sprint-Team2/FandomK int…
dayeon0706 Nov 8, 2025
4aab288
Merge pull request #37 from Sprint-Team2/feature/mypage-layout
spde3289 Nov 8, 2025
83e9ceb
Merge pull request #28 from Sprint-Team2/feature/localstorage-credit-…
spde3289 Nov 8, 2025
c0e9c19
랜딩 페이지 이미지 변경
wjdthdms Nov 8, 2025
fc416ab
style:모바일 반응형 추가
Nov 8, 2025
26bd7fe
style:모바일 반응형 추가
Nov 8, 2025
ec09c51
style:폰트 굵기 변경
Nov 8, 2025
585c038
style:타이틀 모바일 폰트사이즈 수정
Nov 8, 2025
ba5d211
마이 크레딧 UI 구현
wjdthdms Nov 8, 2025
b504195
chore(VoteSection):컴포넌트와 스타일 분리
Nov 8, 2025
7e4073c
chore(ListItem): 리스트 아이템 컴포넌트와 스타일 분리
Nov 8, 2025
26e3d51
Merge pull request #11 from Sprint-Team2/feature/api-client-module
spde3289 Nov 9, 2025
4f430be
feat: CI/CD 워크플로우
spde3289 Nov 9, 2025
e493a8e
fix: lint & build check 명령어 수정
spde3289 Nov 9, 2025
4362b90
크레딧 충전 모달창 구현
wjdthdms Nov 9, 2025
245003b
feat: 관심 아이돌 목록 상태 관리 구현 #15
dayeon0706 Nov 9, 2025
b75943d
fix: 불필요한 코드 제거, 잘못된 name 수정
spde3289 Nov 10, 2025
0dfbb9a
Merge branch 'develop' into feature/landing
spde3289 Nov 10, 2025
280233c
Merge pull request #32 from Sprint-Team2/feature/landing
spde3289 Nov 10, 2025
081088c
Merge pull request #42 from Sprint-Team2/feature/my-credit
wjdthdms Nov 10, 2025
3914658
Merge pull request #43 from Sprint-Team2/chore/CICD
spde3289 Nov 10, 2025
df20f8a
chore: pr, issue 탬플릿 수정
spde3289 Nov 10, 2025
fa05b81
fix: 린트 에러 수정
spde3289 Nov 10, 2025
a277758
refactor(VoteSection): HOME→LIST 경로 변경
Nov 10, 2025
e129b4d
Merge branch 'develop' into feature/recharge-modal
wjdthdms Nov 10, 2025
2fa874a
크레딧 충전 모달창 구현
wjdthdms Nov 10, 2025
d762bfd
Merge pull request #45 from Sprint-Team2/chore/pr-template
spde3289 Nov 10, 2025
019e5fb
Merge branch 'develop' of https://github.com/Sprint-Team2/FandomK int…
dayeon0706 Nov 10, 2025
8582f34
feat: '내가 관심있는 아이돌' 섹션 UI 및 기능 구현 #16
dayeon0706 Nov 10, 2025
19a1bf4
Merge branch 'develop' into feature/recharge-modal
spde3289 Nov 11, 2025
a7f1956
Merge pull request #46 from Sprint-Team2/feature/recharge-modal
spde3289 Nov 11, 2025
b165ad9
Merge branch 'develop' into feature/mypage-layout
spde3289 Nov 11, 2025
d50552b
Merge pull request #50 from Sprint-Team2/feature/mypage-layout
spde3289 Nov 11, 2025
cdc0787
fix: 불필요한 패키지 삭제
spde3289 Nov 11, 2025
4df4685
Merge branch `develop` into feature/votepage
spde3289 Nov 11, 2025
38c7d7d
Merge pull request #40 from Sprint-Team2/feature/votepage
spde3289 Nov 11, 2025
2a5a6f7
소스 리펙토링
wjdthdms Nov 11, 2025
4fe7035
Merge branch 'feature/recharge-modal' of https://github.com/Sprint-Te…
wjdthdms Nov 11, 2025
1f5a964
경로 변경에 따른 빌드 오류 수정
wjdthdms Nov 11, 2025
879074f
#22 '관심 있는 아이돌 추가' 섹션 UI 및 기능 구현
dayeon0706 Nov 11, 2025
9fd35bc
Merge pull request #51 from Sprint-Team2/feature/recharge-modal
wjdthdms Nov 12, 2025
2b5c76d
Merge branch 'develop' of https://github.com/Sprint-Team2/FandomK int…
dayeon0706 Nov 12, 2025
9117cfd
feat: 후원을 기다리는 조공 레이아웃 작업
spde3289 Nov 13, 2025
03cc372
Merge branch 'develop' of https://github.com/Sprient-Them2-FandomK/Fa…
spde3289 Nov 13, 2025
8fa4ebe
feat: 빌드에러, 린트에러 수정
spde3289 Nov 13, 2025
4ed08fa
Merge pull request #53 from Sprint-Team2/feature/donation-section
spde3289 Nov 13, 2025
2b11a39
feat(modal): 후원을 기다리는 조공 모달창 레이아웃
spde3289 Nov 13, 2025
baf2639
feat(modal): 후원을 기다리는 조공 모달UI, 로직 구현
spde3289 Nov 13, 2025
2b8af76
fix: 대소문자 구분 빌드 에러 수정
spde3289 Nov 13, 2025
22339dd
svg폴더 위치 변경
wjdthdms Nov 13, 2025
c8d73d9
MyCredit 컴포넌트 경로 변경
wjdthdms Nov 13, 2025
a2128f4
시작 페이지 섹션별로 컴포넌트화
wjdthdms Nov 13, 2025
f19e73a
styled-component 분리 작업
wjdthdms Nov 13, 2025
c21c6aa
media 쿼리 상수값 적용
wjdthdms Nov 13, 2025
a883240
Merge branch 'develop' of https://github.com/Sprint-Team2/FandomK int…
dayeon0706 Nov 13, 2025
4d77bf4
feat: 아이돌 get api 연동
dayeon0706 Nov 13, 2025
3ae2476
feat:이달의차트
Nov 14, 2025
9fc17c3
feat(slider): 도네이션 영역 슬라이드 로직 구현
spde3289 Nov 14, 2025
6690395
style:패딩 반응형 추가
Nov 14, 2025
55ef91e
feat(donation): 후원을 기다리는 조공 슬라이드 기능 구현
spde3289 Nov 14, 2025
cfc65b9
Merge pull request #56 from Sprint-Team2/feature/recharge-modal
wjdthdms Nov 14, 2025
594b518
Merge branch 'develop' into feature/donation-section
spde3289 Nov 14, 2025
1e3b43b
Merge branch 'feature/donation-section' of https://github.com/Sprient…
spde3289 Nov 14, 2025
068b0af
refactor: 가독성을 위해 도네이션 모달창 레이어 구분
spde3289 Nov 14, 2025
f415907
Merge branch 'feature/donation-section' of https://github.com/Sprient…
spde3289 Nov 14, 2025
5b50d0c
토스트 알림창 구현
wjdthdms Nov 14, 2025
0679596
chore: 노드 버전 강제 설정
spde3289 Nov 14, 2025
397a791
Merge branch 'develop' of https://github.com/Sprint-Team2/FandomK int…
dayeon0706 Nov 14, 2025
d850f26
chore: 깃허브 액션 노드버전 강제
spde3289 Nov 14, 2025
22c2ae4
마이페이지 아이돌 로컬스토리지 구현 #63
dayeon0706 Nov 14, 2025
e108e70
refact: 코드리뷰 내용 반영
spde3289 Nov 15, 2025
c670baa
fix: 커밋 충돌 해결
spde3289 Nov 15, 2025
2a7552d
fix: 프로그램 실행 에러 수정
spde3289 Nov 15, 2025
3131ca5
chore(deploy): devlop 브런치 프리뷰 배포
spde3289 Nov 15, 2025
96bea60
feat: 마이페이지 선택한 아이돌 기반 아이돌 추천 시스템 구현
dayeon0706 Nov 15, 2025
4ce738c
Merge pull request #55 from Sprint-Team2/feature/donation-section
spde3289 Nov 15, 2025
aee9b1e
fix: 모달창 css 포지션 수정 absolute -> fixed
spde3289 Nov 15, 2025
4c838e3
build: 코드 체크에 필요한 라이브러리 설치
spde3289 Nov 15, 2025
bf3f03a
chore: 스타일 린트, pre-commit 적용
spde3289 Nov 16, 2025
76e0189
chore: 명령어 수정
spde3289 Nov 16, 2025
0687ed2
chore: 스타일 린트 설정 수정
spde3289 Nov 16, 2025
025d0de
chore: eslint 설정 추가 .js .jsx 사용 금지
spde3289 Nov 16, 2025
d7c6ccd
chore: prettier 명령어 추가
spde3289 Nov 16, 2025
4f42943
fix: 린트 에러 수정
spde3289 Nov 16, 2025
86e58e0
build: 워크플로우 빌드시 스타일 린트 검사
spde3289 Nov 16, 2025
6d3f6c8
fix: 스타일 하드코딩 수정
dayeon0706 Nov 16, 2025
363e96b
fix: 스타일 하드코딩 수정
dayeon0706 Nov 16, 2025
96be7b1
fix: 빌드 에러 수정
spde3289 Nov 16, 2025
1f0cf00
헤더 로고 이동 경로 수정
wjdthdms Nov 16, 2025
01c6cf6
랜딩페이지 폰 이미지 애니메이션 추가
wjdthdms Nov 16, 2025
a445ed9
Merge branch 'develop' into error-toast
wjdthdms Nov 16, 2025
8b31265
fix: 스타일 린트 에러 수정
spde3289 Nov 16, 2025
5184996
Merge pull request #66 from Sprint-Team2/chore/setup-stylelint-precommit
spde3289 Nov 16, 2025
a0b7389
Merge pull request #64 from Sprint-Team2/chore/develop-preview-deploy
spde3289 Nov 16, 2025
9d54d5c
Merge pull request #62 from Sprint-Team2/chore/node-version-lock
spde3289 Nov 16, 2025
b3b4c81
Merge branch 'develop' into feature/donation-section
spde3289 Nov 16, 2025
62473cc
fix: 프리뷰 배포 에러 수정
spde3289 Nov 16, 2025
b0105fa
Merge pull request #69 from Sprint-Team2/feature/header
spde3289 Nov 17, 2025
a528da0
Merge pull request #70 from Sprint-Team2/error-toast
spde3289 Nov 17, 2025
a62b238
Merge pull request #65 from Sprint-Team2/feature/donation-section
spde3289 Nov 17, 2025
cda59c6
Merge pull request #72 from Sprint-Team2/fix/develop-preview-deploy
spde3289 Nov 17, 2025
094c479
Merge pull request #52 from Sprint-Team2/feature/mypage-layout
spde3289 Nov 17, 2025
6f38044
feat:크레딧부족 모달창
Nov 17, 2025
77f36c9
Merge branch `develop` into feature/votepage
spde3289 Nov 17, 2025
d4edaf1
Merge pull request #75 from Sprint-Team2/feature/votepage
spde3289 Nov 17, 2025
99d5d22
feat: add AI recommendation
dayeon0706 Nov 17, 2025
8a8abfe
Merge branch 'develop' of https://github.com/Sprint-Team2/FandomK int…
dayeon0706 Nov 17, 2025
29fb6a5
chore: remove __pycache__ from git tracking
dayeon0706 Nov 17, 2025
4b1b7ce
fix: 모달창 ui 오류 수정, lint, stylelint 수정
spde3289 Nov 17, 2025
d07ec68
fix: eslint에러 수정(대소문자 구분)
spde3289 Nov 17, 2025
dcc8093
refactor: 프로젝트 폴더 구조 변경
spde3289 Nov 17, 2025
a288ec5
feat:반응형 추가
dayeon0706 Nov 17, 2025
88eeedb
feat: 모바일 가로 슬라이드 추가
dayeon0706 Nov 17, 2025
73f57cd
refactor: 공통 하이라이트 버튼 컴포넌트 작업
spde3289 Nov 17, 2025
3158273
feat: connect to Hugging Face AI API
dayeon0706 Nov 17, 2025
72a1f55
Merge pull request #77 from Sprint-Team2/feature/mypage-recommendation
spde3289 Nov 17, 2025
d715227
refactor: 화살표 버튼 공통 컴포넌트 분리
spde3289 Nov 17, 2025
b9de87e
Merge branch 'develop' of https://github.com/Sprient-Them2-FandomK/Fa…
spde3289 Nov 17, 2025
b30ecff
Merge pull request #79 from Sprint-Team2/fix/modal-ui
spde3289 Nov 17, 2025
560fc8d
Merge branch 'develop' of https://github.com/Sprient-Them2-FandomK/Fa…
spde3289 Nov 17, 2025
0e881cd
refactor: 화살표 버튼 공통 컴포넌트
spde3289 Nov 17, 2025
76f631b
이달의 차트 배경색 수정
spde3289 Nov 17, 2025
886f06a
feat: rgba 변환 함수
spde3289 Nov 17, 2025
99070eb
refactor: 파일명 직관적으로 수정
spde3289 Nov 17, 2025
b87e6ab
refactor: 색상 rgba 변경
spde3289 Nov 17, 2025
f6c567d
refactor: 폰트 디자인 시스템 적용
spde3289 Nov 17, 2025
85bbc6b
refactor: 색상 변수 rgab 변환
spde3289 Nov 18, 2025
f550daa
refactor: 이달의 차트 미디어 쿼리 모바일 퍼스트 변경
spde3289 Nov 18, 2025
8236315
refactor: 아이돌 이미지 공통 컴포넌트
spde3289 Nov 18, 2025
c2884c6
fix: 투표 모달창 오류 수정
spde3289 Nov 18, 2025
061fb2d
build: 에러 바운더리 라이브러리 설치
spde3289 Nov 18, 2025
c855427
Merge pull request #81 from Sprint-Team2/refactor/styles-and-structure
spde3289 Nov 18, 2025
9e0e729
refactor: 상태별 에러 처리 리펙토링
spde3289 Nov 18, 2025
1d8776e
Merge pull request #83 from Sprint-Team2/refactor/error-handling
spde3289 Nov 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/ISSUE_TEMPLATE/기본-탬플릿.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
---
name: 기본 탬플릿
about: 이 탬플릿을 이용해 주세요
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

## (제목)
## 작업 내용

### 작업 내용
- 작업내용 1
- 작업내용 2

### 기타
## 기타
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 개요

- Fixes # (이슈 번호)
- Closes # (이슈 번호)

- 페이지 || 컴포넌트 변경 시 이미지 첨부 (기존과 다를 경우)

Expand All @@ -12,4 +12,4 @@
- [ ] Docs updated required
- [ ] Chore

# 상세 내용
## 상세 내용
32 changes: 32 additions & 0 deletions .github/workflows/build-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: lint & build check

on:
pull_request:
branches:
- develop
- main

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22.18.0"
cache: npm

- name: Install dependencies
run: npm ci

- name: ESLint Check
run: npm run lint

- name: Stylelint Check
run: npm run stylelint

- name: Build React
run: npm run build --profile
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy Release to Vercel

on:
release:
types: [published]

jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22.18.0"
cache: "npm"
- name: Install Vercel CLI
run: npm i -g vercel@latest
- name: Pull Vercel env (production)
run: vercel pull --yes --environment=production --token "${VERCEL_TOKEN}"
- name: Vercel build (production)
run: vercel build --prod --token "${VERCEL_TOKEN}"
- name: Deploy to Vercel (Production, prebuilt)
run: vercel deploy --prebuilt --prod --token "${VERCEL_TOKEN}"
33 changes: 33 additions & 0 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy Preview to Vercel

on:
push:
branches:
- develop

jobs:
deploy:
name: deploy Preview
runs-on: ubuntu-latest
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- uses: actions/checkout@v4
with:
ref: develop
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22.18.0"
cache: "npm"
- name: Install Vercel CLI
run: npm i -g vercel@latest
- name: Pull Vercel env (production)
run: vercel pull --yes --environment=production --token "${VERCEL_TOKEN}"
- name: Vercel build (production)
run: vercel build --token "${VERCEL_TOKEN}"
- name: Deploy to Vercel (Production, prebuilt)
run: vercel deploy --prebuilt --token "${VERCEL_TOKEN}"
30 changes: 30 additions & 0 deletions .github/workflows/version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Create release & tag
on:
push:
branches:
- main

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22.18.0
cache: "npm"
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.TOKEN }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,17 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
venv/
ENV/
env/
.venv

# AI API (별도 Git 저장소로 관리)
recommendation-api/
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run lint-front
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
18 changes: 18 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": ["stylelint-config-standard", "stylelint-config-recommended"],
"plugins": ["stylelint-order"],
"customSyntax": "postcss-styled-syntax",
"rules": {
"media-query-no-invalid": null,
"declaration-empty-line-before": [
"always",
{
"ignore": ["first-nested", "after-comment", "after-declaration", "inside-single-line-block"]
}
],
"order/order": ["custom-properties", "declarations"],

"order/properties-order": null,
"nesting-selector-no-missing-scoping-root": null
}
}
7 changes: 7 additions & 0 deletions check-node-version.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const required = "22.18.0";
const current = process.versions.node;

if (current !== required) {
console.error(`❌ Node ${required} 버전이 필요합니다. 현재 버전: ${current}`);
process.exit(1);
}
52 changes: 40 additions & 12 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,57 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import { defineConfig, globalIgnores } from 'eslint/config'
import js from "@eslint/js";
import importPlugin from "eslint-plugin-import";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import { defineConfig, globalIgnores } from "eslint/config";

import globals from "globals";

export default defineConfig([
globalIgnores(['dist']),
globalIgnores(["dist"]),
{
files: ['**/*.{js,jsx}'],
plugins: {
import: importPlugin,
},
files: ["**/*.{js,jsx}"],
extends: [
js.configs.recommended,
reactHooks.configs['recommended-latest'],
reactHooks.configs["recommended-latest"],
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaVersion: "latest",
ecmaFeatures: { jsx: true },
sourceType: 'module',
sourceType: "module",
},
},
rules: {
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
// 파일 뒤에 js, jsx 사용 금지
"import/extensions": [
"error",
"ignorePackages",
{
js: "never",
jsx: "never",
ts: "never",
tsx: "never",
},
],
"react-refresh/only-export-components": "off",
"no-unused-vars": ["error", { varsIgnorePattern: "^[A-Z_]" }],
},
settings: {
"import/resolver": {
alias: {
map: [["@", "./src"]],
extensions: [".js", ".jsx"],
},
node: {
extensions: [".js", ".jsx"],
},
},
},
},
])
]);
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
</head>
<body>
<div id="root"></div>
<div id="modal-root"></div>
<div id="toast-root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading