add contributing.json file (https://gitmagic.io/rules)
This commit is contained in:
parent
5d281104cd
commit
7c58f86f70
1 changed files with 40 additions and 0 deletions
40
contributing.json
Normal file
40
contributing.json
Normal file
|
@ -0,0 +1,40 @@
|
|||
// https://gitmagic.io/rules
|
||||
{
|
||||
"commit": {
|
||||
"subject_cannot_be_empty": true,
|
||||
"subject_must_be_longer_than": 4,
|
||||
"subject_must_be_shorter_than": 101,
|
||||
"subject_lines_must_be_shorter_than": 51,
|
||||
"subject_must_be_single_line": true,
|
||||
"subject_must_be_in_tense": "imperative",
|
||||
"subject_must_start_with_case": "lower",
|
||||
"subject_must_not_end_with_dot": true,
|
||||
|
||||
"body_lines_must_be_shorter_than": 73
|
||||
},
|
||||
"pull_request": {
|
||||
"subject_cannot_be_empty": true,
|
||||
"subject_must_be_longer_than": 4,
|
||||
"subject_must_be_shorter_than": 101,
|
||||
"subject_must_be_in_tense": "imperative",
|
||||
"subject_must_start_with_case": "upper",
|
||||
"subject_must_not_end_with_dot": true,
|
||||
|
||||
"body_cannot_be_empty": true,
|
||||
"body_must_include_verification_steps": true,
|
||||
"body_must_include_screenshot": ["html", "css"]
|
||||
},
|
||||
"issue": {
|
||||
"subject_cannot_be_empty": true,
|
||||
"subject_must_be_longer_than": 4,
|
||||
"subject_must_be_shorter_than": 101,
|
||||
"subject_must_be_in_tense": "imperative",
|
||||
"subject_must_start_with_case": "upper",
|
||||
"subject_must_not_end_with_dot": true,
|
||||
|
||||
"body_cannot_be_empty": true,
|
||||
"body_must_include_reproduction_steps": ["bug"],
|
||||
|
||||
"label_must_be_set": true
|
||||
}
|
||||
}
|
Reference in a new issue