-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cz-config.js
61 lines (58 loc) · 1.44 KB
/
.cz-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
export const types = [
{
value: '✨ feat',
name: '✨ feat: 기능 추가 시 사용',
},
{
value: '🐛 fix',
name: '🐛 fix: 버그 수정 시 사용',
},
{
value: '♻️ refactor',
name: '♻️ refactor: 구조 변경, 코드 아키텍처 변경 시 사용',
},
{
value: '⚡️ perf',
name: '⚡️ perf: 성능 개선 및 코드 개선 시 사용',
},
{
value: '💄 style',
name: '💄 style: 스타일 수정 시 사용',
},
{
value: '📝 docs',
name: '📝 docs: 문서 수정 시 사용',
},
{
value: '✅ test',
name: '✅ test: 테스트 코드 수정, 추가 시 사용',
},
{
value: '📦 chore',
name: '📦 chore: 개발 환경 구축, 설정 시 사용',
},
{
value: '🧼 clean',
name: '🧼 clean: 사소한 코드 수정, 코드 정리',
},
];
export const messages = {
type: '커밋 메세지 타입을 선택해주세요: ',
subject: '커밋 메세지 내용을 입력해주세요: ',
confirm: '커밋 내용이 확실한가요?',
};
export const config = {
allowCustomScopes: false,
skipQuestions: ['body', 'scope', 'footer'],
skipEmptyScopes: false,
subjectLimit: 100,
};
// Default export for backwards compatibility
export default {
types,
messages,
allowCustomScopes: config.allowCustomScopes,
skipQuestions: config.skipQuestions,
skipEmptyScopes: config.skipEmptyScopes,
subjectLimit: config.subjectLimit,
};