-
Notifications
You must be signed in to change notification settings - Fork 1
/
.git_consistent
93 lines (93 loc) · 2 KB
/
.git_consistent
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
type:
type: enum
required: true
description: 'commit type'
values:
-
name: feat
description: 'when implementing function'
-
name: fix
description: 'when fixing a bug'
-
name: refactor
description: 'when refactoring'
-
name: docs
description: 'when writing docs'
-
name: test
description: 'when adding tests'
-
name: chore
description: "when change other that don't modify code or test files"
-
name: remove
description: 'when removing function'
-
name: perf
description: 'when improving performance'
-
name: ci
description: 'when fixing the CI build'
-
name: sec
description: 'when dealing with security'
-
name: up
description: 'when upgrading dependencies'
-
name: down
description: 'when downgrading dependencies'
-
name: tada
description: 'when celebrating'
-
name: revert
description: 'when reverts a previous commit'
scope:
type: enum
required: false
description: 'The scope could be specifying place of the commit change.'
prefix: '('
suffix: ')'
values:
-
name: "main"
description: 'main.js'
-
name: "gen-config"
description: 'gen-config.js'
subject:
type: string
required: true
description: 'The subject contains succinct description of the change'
rules:
firstLetter: lower
dotAtEnd: false
nonAscii: false
issueKeyword:
type: branch
required: false
description: 'Github issue link'
regExp: 'issue([0-9]+)'
regExpFlag: 'i'
prefix: '(close #'
suffix: ")"
issueLink:
type: branch
required: false
description: 'Github issue link'
regExp: 'issue([0-9]+)'
regExpFlag: 'i'
prefix: 'https://github.com/isuke/git-consistent/issues/'
suffix: "\n"
body:
type: text
default: ''
required: false
description: 'The body contains details of the change'
rules:
firstLetter: upper
dotAtEnd: true
nonAscii: false