Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

채팅으로 하는 라이어게임 🤥 #4

Open
wants to merge 310 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
310 commits
Select commit Hold shift + click to select a range
0ce28ab
Style: ChatBubble 스타일 수정
joanShim Nov 9, 2023
b9d6f01
Merge pull request #15 from pepero-1/feature/#1
joanShim Nov 9, 2023
18d8af2
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
joanShim Nov 9, 2023
cdf62a6
Update App.tsx
joanShim Nov 9, 2023
4bd0a8d
Feat: Add useSocket hook
2YH02 Nov 10, 2023
cf190b8
Design: Change Toast UI
2YH02 Nov 10, 2023
a687d02
Fix: radio input select
2YH02 Nov 10, 2023
ae71beb
Fix: useSocket condition
2YH02 Nov 10, 2023
a705570
Feat: Game 페이지 내 UI 기초구현
joanShim Nov 10, 2023
31d678e
Merge pull request #16 from pepero-1/feature/#4
suyeonnnnnnn Nov 10, 2023
acbd5e6
Merge pull request #17 from pepero-1/feature/#1
joanShim Nov 10, 2023
7c9f6d8
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
joanShim Nov 10, 2023
23af7da
Feat: Add keyword saving to localStorage
suehub Nov 10, 2023
1895e78
Merge branch develop into feature/#3
suehub Nov 10, 2023
b4df1bb
Merge pull request #20 from pepero-1/feature/#4
2YH02 Nov 10, 2023
26aa540
Fix: Liar Error
suehub Nov 10, 2023
075b86f
Feat: Add imoBtn
2YH02 Nov 10, 2023
8d0631f
Merge branch develop into feature/#3
suehub Nov 10, 2023
d1eda8a
Feat: Add loading ui
2YH02 Nov 10, 2023
698d892
Fix: 채팅 input 리렌더링 이슈 해결
joanShim Nov 10, 2023
92f7429
Fix: Duplicate message text
2YH02 Nov 10, 2023
8eb67ac
Merge pull request #22 from pepero-1/feature/#21
joanShim Nov 10, 2023
9c3313f
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
2YH02 Nov 10, 2023
8c7bea8
Feat : 게임방 목록페이지 route 추가
IAMISTP Nov 10, 2023
67bd1fa
Feat : 게임방 목록 페이지 UI 구현
IAMISTP Nov 10, 2023
2515d18
Feat: Add Game Start Button
suehub Nov 10, 2023
73974f1
Merge branch develop into feature/#3
suehub Nov 10, 2023
8329e50
Merge pull request #24 from pepero-1/feature/#7
2YH02 Nov 10, 2023
7bed52a
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
2YH02 Nov 10, 2023
50c3f9d
Merge branch 'develop' into feature/#3
2YH02 Nov 10, 2023
d0f1a96
Merge pull request #25 from pepero-1/feature/#3
2YH02 Nov 10, 2023
2bd2e6a
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
2YH02 Nov 10, 2023
d0431c0
Merge branch develop into feature/#3
suehub Nov 10, 2023
4fe19a9
format
2YH02 Nov 10, 2023
a71a7de
Merge pull request #26 from pepero-1/feature/#1
suyeonnnnnnn Nov 10, 2023
5024db9
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suyeonnnnnnn Nov 10, 2023
60c1bff
Refactor: Refactoring signUp to use React Hook Form
suyeonnnnnnn Nov 10, 2023
198ef61
Feat: Add duplicate ID check
suyeonnnnnnn Nov 10, 2023
f59f1e8
Feat: Add validation for ID field to only accept alphanumeric characters
suyeonnnnnnn Nov 10, 2023
7583865
Feat: Add signUp success message, signUp error message
suyeonnnnnnn Nov 11, 2023
9b802de
Env: Add Recoil and set up recoil/atoms directory
suyeonnnnnnn Nov 11, 2023
9a73301
Fix: socket connect
2YH02 Nov 11, 2023
e892bbb
Fix: eslint
2YH02 Nov 11, 2023
f75c0fc
feat: Add authState.ts
suyeonnnnnnn Nov 11, 2023
50d47e7
Feat: Add userState.ts
suyeonnnnnnn Nov 11, 2023
b7be0fd
Feat: Add useAuth.ts
suyeonnnnnnn Nov 11, 2023
751f157
Merge pull request #27 from pepero-1/feature/#9
suyeonnnnnnn Nov 11, 2023
dad6490
Merge pull request #28 from pepero-1/feature/#1
suyeonnnnnnn Nov 11, 2023
df2800e
Feat: Add login failure message
suyeonnnnnnn Nov 11, 2023
433d308
Feat: Add asynchronous handling for post-login redirection
suyeonnnnnnn Nov 11, 2023
8fea895
Refactor: Extract LoginForm component from Login page
suyeonnnnnnn Nov 11, 2023
8f8f8b3
Merge branch 'develop' into feature/#3
suehub Nov 12, 2023
3d22150
Feat: Change SignUp to modal format
suyeonnnnnnn Nov 12, 2023
eaf39da
Feat: Change SignUp form error messages to Chakra UI
suyeonnnnnnn Nov 12, 2023
f5c0bcb
Feat: Add overUser validation
2YH02 Nov 12, 2023
a18679b
Feat: Add drag and drop for image upload
suyeonnnnnnn Nov 12, 2023
7bbc72a
Design: Add styles to modal elements
suyeonnnnnnn Nov 12, 2023
bffa6bf
Feat: Add type definitions for props in SignUpModal
suyeonnnnnnn Nov 12, 2023
befc639
Refactor: Move SignUpButton into LoginForm Component
suyeonnnnnnn Nov 12, 2023
7c573bf
Fix: useFetch
2YH02 Nov 13, 2023
9c2e4ab
Design: Add LoginForm css
suyeonnnnnnn Nov 13, 2023
be2d1e7
Design: Add Title style
suyeonnnnnnn Nov 13, 2023
5a0c092
Feat: Add Kelly Slab font
suyeonnnnnnn Nov 13, 2023
b90d9a2
Feat: Add Copyright
suyeonnnnnnn Nov 13, 2023
0345503
Feat: 투표 모달 렌더
joanShim Nov 13, 2023
6b3eb54
Feat: 유저 정보 조회 , 게임목록 페이지 UI 유저정보 적용
IAMISTP Nov 13, 2023
b9370cb
Feat: Add type attribute to SignUpButton in LoginForm
suyeonnnnnnn Nov 13, 2023
470a1f0
Feat: 전체 유저 불러오기 , 게임목록 페이지 UI 적용
IAMISTP Nov 13, 2023
31389c9
Feat: Adjust z-index of ModalCloseButton
suyeonnnnnnn Nov 13, 2023
795e7a3
Fix: accept game
2YH02 Nov 13, 2023
fb823cb
Feat: Connect Socket for Game Start
suehub Nov 13, 2023
93625bb
Merge pull request #29 from pepero-1/feature/#7
suyeonnnnnnn Nov 13, 2023
ca3d74d
Merge pull request #30 from pepero-1/feature/#1
joanShim Nov 13, 2023
9a0fc24
Comment: Add a comment in useAuth.ts
suyeonnnnnnn Nov 13, 2023
437ae73
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suyeonnnnnnn Nov 13, 2023
4cf9e96
Fix: Remove unnecessary import
suyeonnnnnnn Nov 13, 2023
145eeea
Merge pull request #31 from pepero-1/feature/#9
2YH02 Nov 13, 2023
c8267fb
Revert "Feat: Connect Socket for Game Start"
suehub Nov 13, 2023
3b7f62c
Revert "Merge branch 'develop' into feature/#3"
suehub Nov 13, 2023
36c878f
Merge branch develop into feature/#3
suehub Nov 13, 2023
b53dedc
Feat: 라이어 투표값 파이어베이스 저장
joanShim Nov 13, 2023
b30d399
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
joanShim Nov 13, 2023
34dd03a
Fix: 게임 방 내 유저 렌더 위치 수정
joanShim Nov 13, 2023
df4dcf5
Merge pull request #33 from pepero-1/feature/#23
joanShim Nov 13, 2023
f65d1ed
Feat: Store user ID in local storage and manage with Recoil
suyeonnnnnnn Nov 13, 2023
6942d69
Fix: Remove unnecessary import
suyeonnnnnnn Nov 13, 2023
ce2f441
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suyeonnnnnnn Nov 13, 2023
3a9cc48
Refactor: Remove unused Recoil state for user
suyeonnnnnnn Nov 13, 2023
0e7b3e7
Fix: Remove unnecessary import
suyeonnnnnnn Nov 13, 2023
53222d9
Fix: 빌드 오류 수정
joanShim Nov 13, 2023
120d0cd
Merge pull request #34 from pepero-1/feature/#23
suyeonnnnnnn Nov 13, 2023
0d1b9e9
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suyeonnnnnnn Nov 13, 2023
0773333
Fix: Temporarily disable ESLint warning
suyeonnnnnnn Nov 13, 2023
f4b039b
husky/pre-commit
suehub Nov 13, 2023
2dac008
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suehub Nov 13, 2023
7627262
Merge pull request #35 from pepero-1/feature/#9
2YH02 Nov 13, 2023
adef226
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suehub Nov 13, 2023
4f077d2
Fix: Get user info with recoil
2YH02 Nov 13, 2023
88a61ab
Feat: Add GameStart.tsx
suehub Nov 13, 2023
c570ade
Feat: 투표결과 콘솔구현
joanShim Nov 13, 2023
4b4d3cd
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
joanShim Nov 13, 2023
fcbf2ab
Feat: user.id 리코일로 받아오기 수정
joanShim Nov 13, 2023
4287e5b
Merge pull request #36 from pepero-1/feature/#1
suyeonnnnnnn Nov 13, 2023
36c3f6e
Feat: Add UserConfigModal
suyeonnnnnnn Nov 13, 2023
abe8185
Feat: Add image in UserConfigModal
suyeonnnnnnn Nov 13, 2023
4144bb0
Feat: Add user profile update
suyeonnnnnnn Nov 14, 2023
1ddabda
Design: Add readnOnly and cursor style to user ID input field
suyeonnnnnnn Nov 14, 2023
df2bebf
Merge branch develop into feature/#3
suehub Nov 14, 2023
67a3da9
Feat: Shuffle Users
suehub Nov 14, 2023
69514ee
Merge pull request #37 from pepero-1/feature/#23
2YH02 Nov 14, 2023
55b2277
Feat: Game Start Socket
suehub Nov 14, 2023
8d4e343
Merge branch 'develop' into feature/#3
suehub Nov 14, 2023
3cef4f8
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suyeonnnnnnn Nov 14, 2023
c203385
Refactor: Game Socket Move
suehub Nov 14, 2023
ffa61c1
Feat: Add Loading Spinner to UserConfigModal
suyeonnnnnnn Nov 14, 2023
7867206
Feat: Update fireStore
2YH02 Nov 14, 2023
113ec71
Merge pull request #38 from pepero-1/feature/#1
2YH02 Nov 14, 2023
06bd102
Fix: 라이어 선택 투표 데이터 비동기 이슈 해결
joanShim Nov 14, 2023
d1db5a7
Merge pull request #39 from pepero-1/feature/#32
joanShim Nov 14, 2023
4ce35d6
Merge pull request #40 from pepero-1/feature/#23
joanShim Nov 14, 2023
0ad35db
Feat: Connect Socket ing...
suehub Nov 14, 2023
485669c
Merge branch develop into feature/#3
suehub Nov 14, 2023
6119cd0
Feat: 게임방리스트 가져오기
IAMISTP Nov 14, 2023
3793115
Feat: 게임방 데이터 UI 적용
IAMISTP Nov 14, 2023
e595d72
Feat: Add User State Reset on Logout
suyeonnnnnnn Nov 14, 2023
bb80eb1
Feat: Add Token Expiration Check and Auto-Refresh
suyeonnnnnnn Nov 14, 2023
9bc0baf
Feat: Add error message for duplicate ID in SignUpModal
suyeonnnnnnn Nov 14, 2023
a1b6b17
Feat: Add Loading Spinner to SignUpModal
suyeonnnnnnn Nov 14, 2023
efd2e5c
Feat: Add file size check for images
suyeonnnnnnn Nov 14, 2023
a37eacb
Merge pull request #42 from pepero-1/feature/#7
2YH02 Nov 15, 2023
e25aa6f
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suyeonnnnnnn Nov 15, 2023
77ad46e
Fix: Temporarily disable ESLint warning
suyeonnnnnnn Nov 15, 2023
7e1768b
Feat: Connect Socket ing...
suehub Nov 15, 2023
4e0e96b
Merge branch 'develop' into feature/#3
suehub Nov 15, 2023
8b25f91
Merge pull request #43 from pepero-1/feature/#9
2YH02 Nov 15, 2023
0db9393
Merge pull request #44 from pepero-1/feature/#3
2YH02 Nov 15, 2023
8d618d4
Fix: 채팅 중복 전송 불가 이슈 해결
joanShim Nov 15, 2023
8149ad8
Feat: 말풍선 id 스타일 변경
joanShim Nov 15, 2023
f5b03a0
Feat: Connect Game Start Socket
suehub Nov 15, 2023
47a803a
Merge pull request #45 from pepero-1/feature/#3
2YH02 Nov 15, 2023
24e77ce
Fix: esbuild error
2YH02 Nov 15, 2023
f3bf710
Merge pull request #46 from pepero-1/game
2YH02 Nov 15, 2023
c45dd60
Feat: GameStart Rendering...
suehub Nov 15, 2023
6a12bae
Merge branch 'develop' into feature/#3
suehub Nov 15, 2023
64ddda8
Feat: Connect Logout and UserConfigModal to GameLists
suyeonnnnnnn Nov 15, 2023
5225004
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suyeonnnnnnn Nov 15, 2023
da50b1a
Merge pull request #47 from pepero-1/feature/#32
2YH02 Nov 15, 2023
865e16a
Fix: socket token error
2YH02 Nov 15, 2023
8c05eba
Fix: socket.ts
2YH02 Nov 15, 2023
a26eb3a
Merge pull request #48 from pepero-1/game
2YH02 Nov 15, 2023
09541db
Feat: Socket Connect GameStart
suehub Nov 15, 2023
ffbc8a7
Merge branch 'develop' into feature/#3
suehub Nov 15, 2023
20c02f4
Feat: Connect Logout and UserConfigModal to GameLists
suyeonnnnnnn Nov 15, 2023
748d3a8
Merge pull request #49 from pepero-1/feature/#32
suyeonnnnnnn Nov 15, 2023
db44820
Feat: Add current, speaking
suehub Nov 15, 2023
44ce258
Merge branch 'develop' into feature/#3
suehub Nov 15, 2023
c0e4829
Fix: 메세지 중복발송 수정, id에 따라 메세지 스타일 분리
joanShim Nov 15, 2023
a726866
Merge pull request #50 from pepero-1/feature/#3
joanShim Nov 15, 2023
af7ef5a
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
joanShim Nov 15, 2023
3b5b17c
Merge pull request #52 from pepero-1/feature/#23
IAMISTP Nov 15, 2023
37b6d38
Feat: game
2YH02 Nov 15, 2023
722d066
Fix: conflict
2YH02 Nov 15, 2023
7a4c1b1
Feat: game
2YH02 Nov 15, 2023
88d097a
Fix: eslint
2YH02 Nov 15, 2023
4ae59e2
Fix: eslint
2YH02 Nov 15, 2023
ba41888
Fix: eslint
2YH02 Nov 15, 2023
0155515
Merge pull request #54 from pepero-1/game
2YH02 Nov 15, 2023
b043657
Feat: 게임방 만들기 기능 연결
IAMISTP Nov 15, 2023
05c4f6d
Feat: 게임방리스트 채팅 코드분리 , 소켓 연결 - 테스트 필요
IAMISTP Nov 15, 2023
a63c7a3
Feat: game
2YH02 Nov 15, 2023
200ae15
Merge pull request #56 from pepero-1/game
2YH02 Nov 15, 2023
1e6ea28
Merge pull request #55 from pepero-1/feature/#7
2YH02 Nov 15, 2023
8eee9d0
Refactor: Remove console.log
suyeonnnnnnn Nov 15, 2023
c2881ec
Refactor: Remove console.log
suyeonnnnnnn Nov 15, 2023
98426af
Merge pull request #57 from pepero-1/feature/#32
joanShim Nov 15, 2023
2ab7a65
Feat: 게임진행 상태변경, 투표 활성화
joanShim Nov 15, 2023
f401c82
:poop: 사용하지 않는 코드 제거
IAMISTP Nov 15, 2023
8be0bc9
Feat: 채팅기능 구현
IAMISTP Nov 15, 2023
7045b62
Feat: 채팅창 스크롤 아래로 따라붙게 하는 기능구현
joanShim Nov 15, 2023
5143e98
Feat:게임방 내 bg렌더 추가
joanShim Nov 15, 2023
2f97ae1
Merge pull request #58 from pepero-1/feature/#53
2YH02 Nov 15, 2023
c445b7c
Merge pull request #59 from pepero-1/feature/#7
2YH02 Nov 15, 2023
cbd829a
Feat: main
2YH02 Nov 15, 2023
f8435a3
Feat: main
2YH02 Nov 15, 2023
ed63b34
Fix: type error
2YH02 Nov 15, 2023
d18f240
Fix: game status change
2YH02 Nov 15, 2023
6096343
Design: Game Page
suehub Nov 15, 2023
4f7b3ed
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suehub Nov 15, 2023
01f42b4
Merge pull request #60 from pepero-1/feature/#51
2YH02 Nov 15, 2023
088f8ef
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
2YH02 Nov 15, 2023
e7b7c27
Feat: Change the number and status of game in real time
2YH02 Nov 15, 2023
7abc135
Merge pull request #61 from pepero-1/game
joanShim Nov 15, 2023
33bb38e
Feat: 게임 종료시 refresh
joanShim Nov 15, 2023
9777b23
Feat: Fix Game Current
suehub Nov 15, 2023
52eed7a
Merge branch 'develop' into feature/#53
2YH02 Nov 15, 2023
4e6d35d
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
joanShim Nov 15, 2023
1dff133
Merge branch develop into feature/#51
suehub Nov 15, 2023
1e1a60b
Merge pull request #62 from pepero-1/feature/#53
2YH02 Nov 15, 2023
44c02e4
Fix: 게임종료 새로고침 2초 텀 추가
joanShim Nov 15, 2023
6ec6ef4
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
joanShim Nov 15, 2023
0a6905e
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suehub Nov 15, 2023
b8c7eeb
Merge pull request #63 from pepero-1/feature/#51
joanShim Nov 15, 2023
1f59943
Merge pull request #64 from pepero-1/feature/#53
suehub Nov 15, 2023
c72c231
Fix: Button disabled
2YH02 Nov 15, 2023
309aa9f
Merge pull request #65 from pepero-1/game
joanShim Nov 15, 2023
bd89ded
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suehub Nov 15, 2023
d7913f3
Fix: Netlify page not found error
2YH02 Nov 16, 2023
58064c7
Fix: Troubleshooting Firebase Data Storage
2YH02 Nov 16, 2023
b1259cb
Fix: change main server
2YH02 Nov 16, 2023
da75e9d
Fix: main route
2YH02 Nov 16, 2023
8298e93
Merge pull request #66 from pepero-1/game
joanShim Nov 16, 2023
26cfca9
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suehub Nov 16, 2023
8deedbd
Fix: 게임종료 새로고침 삭제
joanShim Nov 16, 2023
c494fc5
Fix: 게임종료 새로고침 삭제
joanShim Nov 16, 2023
6214df8
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
joanShim Nov 16, 2023
89c7843
Fix: main routing
2YH02 Nov 16, 2023
ecf80d0
Fix: User Entry and Exit state
2YH02 Nov 16, 2023
c606594
Fix: Increasing timer time
2YH02 Nov 16, 2023
753c5c5
Env: Remove unused files
2YH02 Nov 16, 2023
bfa30c4
Merge pull request #67 from pepero-1/game
2YH02 Nov 16, 2023
18c0a07
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suehub Nov 16, 2023
d1e222a
Fix: 시스템메세지 시간 n초 후 사라짐, 스타일 수정
joanShim Nov 16, 2023
846b1b7
Style: 배경색 및 패딩 수정
joanShim Nov 16, 2023
1b370a2
Merge pull request #68 from pepero-1/feature/#53
joanShim Nov 16, 2023
1c37505
Style: 채팅창 너비및 정렬 수정
joanShim Nov 16, 2023
c97123a
Docs: Update README.md
suehub Nov 16, 2023
e4a5cb3
Feat: user authenticate
2YH02 Nov 16, 2023
31707fa
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
suehub Nov 16, 2023
36d08bf
Merge pull request #70 from pepero-1/feature/#53
joanShim Nov 16, 2023
b2f02dd
Merge pull request #69 from pepero-1/feature/#51
2YH02 Nov 16, 2023
bdee6dc
Merge pull request #71 from pepero-1/game
2YH02 Nov 16, 2023
62c455b
Feat: Change the game user limit
2YH02 Nov 16, 2023
d7503d8
Feat: game entry restrictions
2YH02 Nov 16, 2023
5147b77
Merge pull request #72 from pepero-1/game
2YH02 Nov 16, 2023
86bf8b1
Fix: ChatBubble 수정
joanShim Nov 16, 2023
7894e32
Fix: placeholder 수정
joanShim Nov 16, 2023
3add674
Merge pull request #73 from pepero-1/feature/#53
joanShim Nov 16, 2023
b3f2807
Docs: Add README.md
suyeonnnnnnn Nov 16, 2023
c9acdfe
Merge pull request #74 from pepero-1/feature/#32
suyeonnnnnnn Nov 16, 2023
ff49c0c
Fix: 전체채팅 여백 및 스크롤다운 구현
joanShim Nov 16, 2023
352658d
Merge branch 'develop' of https://github.com/pepero-1/liar-game into …
joanShim Nov 16, 2023
c43f0f5
Docs: Update README
suehub Nov 16, 2023
8e178a4
Merge pull request #76 from pepero-1/feature/#51
suyeonnnnnnn Nov 16, 2023
76df16f
Merge pull request #75 from pepero-1/feature/#53
suehub Nov 16, 2023
f554490
Merge pull request #41 from pepero-1/develop
2YH02 Nov 16, 2023
73cfb7b
Docs: Update README.md
2YH02 Nov 16, 2023
de0da74
Update README.md
2YH02 Nov 16, 2023
16328fe
Feat: Drop console
2YH02 Nov 16, 2023
aa6200f
format
2YH02 Nov 16, 2023
dc2cf13
Fix: conflict
2YH02 Nov 17, 2023
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
21 changes: 21 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended",
"plugin:prettier/recommended",
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
"@typescript-eslint/no-explicit-any": "off",
},
};
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?


.env
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run format
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"printWidth": 80,
"singleQuote": false,
"jsxSingleQuote": false,
"tabWidth": 2,
"semi": true,
"trailingComma": "all",
"bracketSpacing": true
}
Loading