Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
87a94c0
build: eslint & prettier 세팅
suyeon1218 Jul 5, 2024
bff324c
chore: 불필요한 테스트 파일 삭제
suyeon1218 Jul 9, 2024
3a47b4f
feat: View 클래스 작성
suyeon1218 Jul 9, 2024
23d2915
feat: 돈을 콤마가 있는 문자열로 변경하는 유틸 함수 작성
suyeon1218 Jul 9, 2024
1465cce
feat: readline 유틸함수 작성
suyeon1218 Jul 9, 2024
a3ca1f4
refactoring: 유틸 함수 이름 변경
suyeon1218 Jul 9, 2024
42993bf
feat: 랜덤 번호를 생성해주는 유틸함수 작성
suyeon1218 Jul 9, 2024
5ec290a
feat: 배열 타입과 관련된 유틸함수 작성
suyeon1218 Jul 9, 2024
a49de74
feat: Lotto 클래스 작성
suyeon1218 Jul 9, 2024
aefd1e2
feat: LottoRule 클래스 작성
suyeon1218 Jul 9, 2024
28bd6f2
feat: WinLotto 클래스 작성
suyeon1218 Jul 9, 2024
68aa915
feat: main 클래스 작성
suyeon1218 Jul 9, 2024
40e6b10
fix: 잘못된 메서드 호출 수정하기
suyeon1218 Jul 9, 2024
34d906c
fix: WinLotto 의 checkRank 메섣드가 제대로 동작하지 않는 문제 수정
suyeon1218 Jul 9, 2024
fdc615b
feat: WinLotto 의 getBonusNumberError 가 유효성 검사가 되지 않는 문제 수정
suyeon1218 Jul 9, 2024
445e96e
feat: WinLotto 클래스에 대한 단위 테스트 작성
suyeon1218 Jul 9, 2024
c1a7621
fix: Lotto 초기화 인스턴스가 올바른 값이 아닐 경우 에러를 반환하도록 수정
suyeon1218 Jul 9, 2024
eacbbfc
feat: Lotto 클래스에 대한 테스트 케이스 작성
suyeon1218 Jul 9, 2024
25ddc4b
feat: LottoRule 에 대한 테스트 케이스 작성
suyeon1218 Jul 9, 2024
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
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["plugin:prettier/recommended"],
}
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"semi": true,
"endOfLine": "lf",
"tabWidth": 2,
"printWidth": 80,
"singleQuote": true,
"bracketSameLine": false,
"bracketSpacing": true,
"arrowParens": "always",
"singleAttributePerLine": true
}
9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';

export default [
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
pluginJs.configs.recommended,
eslintPluginPrettierRecommended,
];
Loading