UNPKG

1.23 kBJSONView Raw
1// https://gitmagic.io/rules
2{
3 "commit": {
4 "subject_cannot_be_empty": true,
5 "subject_must_be_longer_than": 4,
6 "subject_must_be_shorter_than": 101,
7 "subject_lines_must_be_shorter_than": 51,
8 "subject_must_be_single_line": true,
9 "subject_must_be_in_tense": "imperative",
10 "subject_must_start_with_case": "lower",
11 "subject_must_not_end_with_dot": true,
12
13 "body_lines_must_be_shorter_than": 73
14 },
15 "pull_request": {
16 "subject_cannot_be_empty": true,
17 "subject_must_be_longer_than": 4,
18 "subject_must_be_shorter_than": 101,
19 "subject_must_be_in_tense": "imperative",
20 "subject_must_start_with_case": "upper",
21 "subject_must_not_end_with_dot": true,
22
23 "body_cannot_be_empty": true,
24 "body_must_include_verification_steps": true,
25 "body_must_include_screenshot": ["html", "css"]
26 },
27 "issue": {
28 "subject_cannot_be_empty": true,
29 "subject_must_be_longer_than": 4,
30 "subject_must_be_shorter_than": 101,
31 "subject_must_be_in_tense": "imperative",
32 "subject_must_start_with_case": "upper",
33 "subject_must_not_end_with_dot": true,
34
35 "body_cannot_be_empty": true,
36 "body_must_include_reproduction_steps": ["bug"],
37
38 "label_must_be_set": true
39 }
40}