diff options
author | GitMagic <hello@gitmagic.io> | 2017-04-26 20:59:54 +0300 |
---|---|---|
committer | GitMagic <hello@gitmagic.io> | 2017-04-26 20:59:54 +0300 |
commit | 08372f64de083e1cae3fb3d82a3390239c9a402e (patch) | |
tree | 2f79c0bfeece0d9cb10f3563c256966e438c3f6e /contributing.json | |
parent | 7156d48caec534a826a81e7781f7b1554263ae82 (diff) |
add contributing.json file (https://gitmagic.io/rules)
Diffstat (limited to 'contributing.json')
-rw-r--r-- | contributing.json | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/contributing.json b/contributing.json new file mode 100644 index 0000000..32b3ddf --- /dev/null +++ b/contributing.json @@ -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 + } +} |