|
| 1 | +{ |
| 2 | + "rules": { |
| 3 | + "body-leading-blank": [1, "always"], |
| 4 | + "body-max-line-length": [2, "always", 100], |
| 5 | + "footer-leading-blank": [1, "always"], |
| 6 | + "footer-max-line-length": [2, "always", 100], |
| 7 | + "header-max-length": [2, "always", 100], |
| 8 | + "subject-case": [ |
| 9 | + 2, |
| 10 | + "never", |
| 11 | + ["sentence-case", "start-case", "pascal-case", "upper-case"] |
| 12 | + ], |
| 13 | + "subject-empty": [2, "never"], |
| 14 | + "subject-full-stop": [2, "never", "."], |
| 15 | + "type-case": [2, "always", "lower-case"], |
| 16 | + "type-empty": [2, "never"], |
| 17 | + "type-enum": [ |
| 18 | + 2, |
| 19 | + "always", |
| 20 | + [ |
| 21 | + "build", |
| 22 | + "chore", |
| 23 | + "ci", |
| 24 | + "docs", |
| 25 | + "feat", |
| 26 | + "fix", |
| 27 | + "perf", |
| 28 | + "refactor", |
| 29 | + "revert", |
| 30 | + "style", |
| 31 | + "test" |
| 32 | + ] |
| 33 | + ] |
| 34 | + }, |
| 35 | + "prompt": { |
| 36 | + "questions": { |
| 37 | + "type": { |
| 38 | + "description": "Select the type of change that you're committing", |
| 39 | + "enum": { |
| 40 | + "feat": { |
| 41 | + "description": "A new feature", |
| 42 | + "title": "Features", |
| 43 | + "emoji": "✨" |
| 44 | + }, |
| 45 | + "fix": { |
| 46 | + "description": "A bug fix", |
| 47 | + "title": "Bug Fixes", |
| 48 | + "emoji": "🐛" |
| 49 | + }, |
| 50 | + "docs": { |
| 51 | + "description": "Documentation only changes", |
| 52 | + "title": "Documentation", |
| 53 | + "emoji": "📚" |
| 54 | + }, |
| 55 | + "style": { |
| 56 | + "description": "Changes that do not affect the meaning of the code (whitespace, formatting, missing semi-colons, etc)", |
| 57 | + "title": "Styles", |
| 58 | + "emoji": "💎" |
| 59 | + }, |
| 60 | + "refactor": { |
| 61 | + "description": "A code change that neither fixes a bug nor adds a feature", |
| 62 | + "title": "Code Refactoring", |
| 63 | + "emoji": "📦" |
| 64 | + }, |
| 65 | + "perf": { |
| 66 | + "description": "A code change that improves performance", |
| 67 | + "title": "Performance Improvements", |
| 68 | + "emoji": "🚀" |
| 69 | + }, |
| 70 | + "test": { |
| 71 | + "description": "Adding missing tests or fixing existing tests", |
| 72 | + "title": "Tests", |
| 73 | + "emoji": "🚨" |
| 74 | + }, |
| 75 | + "build": { |
| 76 | + "description": "Changes that affect the build system or external dependencies (example scopes: poetry, nix)", |
| 77 | + "title": "Builds", |
| 78 | + "emoji": "🛠" |
| 79 | + }, |
| 80 | + "ci": { |
| 81 | + "description": "Changes to our CI configuration files and scripts (example scopes: actions, gh-actions, github-actions)", |
| 82 | + "title": "Continuous Integrations", |
| 83 | + "emoji": "⚙️" |
| 84 | + }, |
| 85 | + "chore": { |
| 86 | + "description": "Other changes that don't modify source or test files", |
| 87 | + "title": "Chores", |
| 88 | + "emoji": "♻️" |
| 89 | + }, |
| 90 | + "revert": { |
| 91 | + "description": "Reverts a previous commit", |
| 92 | + "title": "Reverts", |
| 93 | + "emoji": "🗑" |
| 94 | + } |
| 95 | + } |
| 96 | + }, |
| 97 | + "scope": { |
| 98 | + "description": "What is the scope of this change (e.g. component or file name)" |
| 99 | + }, |
| 100 | + "subject": { |
| 101 | + "description": "Write a short, imperative tense description of the change" |
| 102 | + }, |
| 103 | + "body": { |
| 104 | + "description": "Provide a longer description of the change" |
| 105 | + }, |
| 106 | + "isBreaking": { |
| 107 | + "description": "Are there any breaking changes?" |
| 108 | + }, |
| 109 | + "breakingBody": { |
| 110 | + "description": "A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself" |
| 111 | + }, |
| 112 | + "breaking": { |
| 113 | + "description": "Describe the breaking changes" |
| 114 | + }, |
| 115 | + "isIssueAffected": { |
| 116 | + "description": "Does this change affect any open issues?" |
| 117 | + }, |
| 118 | + "issuesBody": { |
| 119 | + "description": "If issues are closed, the commit requires a body. Please enter a longer description of the commit itself" |
| 120 | + }, |
| 121 | + "issues": { |
| 122 | + "description": "Add issue references (e.g. \"fix #123\", \"re #123\".)" |
| 123 | + } |
| 124 | + } |
| 125 | + } |
| 126 | +} |
0 commit comments