KEEPER31337 / KEEPER31337/Homepage-Front-R2

하드코딩 constants로 빼기

Open
#841 0 comments 0 reactions 4 assignees Claimed by @mun-kyeong View on GitHub
Refactor
Dominant language
TypeScript
Stars
9
Forks
4
Avg merge
13h 16m
Merged PRs (30d)
11

Description

### 리팩토링 요약
- 객체를 사용하되, 객체 자체에 as const 를 붙인다.
- 객체 아닌 단순한 값의 경우 as const는 제외한다.
- 객체 자체는 UPPER_SNAKE_CASE로 내부 속성은 camelCase
- 파라미터 값만 사용된다면 상수로, 추가적인 기능이 들어간다면 함수로 분류하기
- [노션 정리](https://enormous-button-c5d.notion.site/2-constants-5a9ed5fb8b7a4432b990c3f394d706dd?pvs=4)

### 리팩토링 파트 분배
- [x] #844
- [ ] #845
- [x] #846
- [x] #848
- [x] #847
- [x] #850
- [ ] #857

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.