blog/themes/suka/contributing.json

41 lines
1.3 KiB
JSON

// https://gitmagic.io/rules
{
"commit": {
"subject_cannot_be_empty": true,
"subject_must_be_in_tense": "imperative",
"subject_must_not_end_with_dot": true,
"subject_lines_must_be_shorter_than": 51,
"subject_must_be_single_line": true,
"subject_must_be_in_case": "lower",
"subject_must_include_prefix": {
"prefixes": ["feat", "fix", "docs", "style", "refactor", "test", "chore"],
"require_after_prefix": "(*): "
}
},
"pull_request": {
"subject_cannot_be_empty": true,
"subject_must_be_in_tense": "imperative",
"subject_must_start_with_case": "lower",
"subject_must_not_end_with_dot": true,
"subject_must_include_prefix": {
"prefixes": ["feat", "fix", "docs", "style", "refactor", "test", "chore"],
"require_after_prefix": "(*): "
},
"body_cannot_be_empty": true,
"body_must_include_verification_steps": true
},
"issue": {
"subject_cannot_be_empty": true,
"subject_must_start_with_case": "upper",
"subject_must_not_end_with_dot": true,
"body_cannot_be_empty": true,
"body_must_include_reproduction_steps": ["bug"]
},
"branch": {
"name_must_be_longer_than": 4,
"name_must_include_prefix": {
"prefixes": ["feat", "fix", "refactor", "chore"],
"require_after_prefix": "/"
}
}