-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcommit-msg.en.json.sample
21 lines (21 loc) · 1.68 KB
/
commit-msg.en.json.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"hints":
{
"Validated": "Validated: commit message meet the rule.",
"Merge": "Merge: merge commit detected,skip check.",
"ArgumentMissing": "Error ArgumentMissing: commit message file argument missing.",
"FileMissing": "Error FileMissing: file %s not exists.",
"ReadError": "Error ReadError: read file %s error.",
"EmptyMessage": "Error EmptyMessage: commit message has no content except whitespaces.",
"EmptyHeader": "Error EmptyHeader: header (first line) has no content except whitespaces.",
"BadHeaderFormat": "Error BadHeaderFormat: header (first line) not following the rule:\n%s\nif you can not find any error after check, maybe you use full-width colon, or lack of whitespace after the colon.",
"WrongType": "Error WrongType: %s, type should be one of the keywords:\n%s",
"ScopeMissing": "Error ScopeMissing: (scope) is required right after type.",
"WrongScope": "Error WrongScope: %s, scope should be one of the keywords:\n%s",
"BodyMissing": "Error BodyMissing: body has no content except whitespaces.",
"NoBlankLineBeforeBody": "Error NoBlankLineBeforeBody: no empty line between header and body.",
"LineOverLong": "Error LineOverLong: the length of line is %d, exceed %d:\n%s",
"UndefindedError": "Error UndefindedError: unexpected error occurs, please raise an issue."
},
"rule": "Commit message rule as follow:\n<type>(<scope>): <subject>\n// empty line\n<body>\n// empty line\n<footer>\n\n(<scope>), <body> and <footer> are optional by default\n<type> must be one of %s\nmore specific instructions, please refer to: https://github.com/JayceChant/commit-msg"
}