-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.cz-config.cjs
27 lines (27 loc) · 1.07 KB
/
.cz-config.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = {
types: [
{ value: "feat", name: "feat: ✨ A new feature" },
{ value: "fix", name: "fix: 🐛 A bug fix" },
{ value: "docs", name: "docs: 📚 Documentation" },
{ value: "style", name: "style: 💄 Code style changes" },
{ value: "refactor", name: "refactor: ♻️ Code restructuring" },
{ value: "perf", name: "perf: ⚡ Performance improvements" },
{ value: "test", name: "test: ✅ Adding or modifying tests" },
{ value: "chore", name: "chore: 🔧 Other changes" },
],
scopes: [],
allowCustomScopes: true,
allowBreakingChanges: ["feat", "fix"],
messages: {
type: "Select the type of change you're committing:",
scope: "Specify the scope (optional):",
customScope: "Specify the custom scope:",
subject: "Write a short description of the change:",
body: "Provide a longer description (optional):",
breaking: "List any BREAKING CHANGES (optional):",
footer: "Add issue number (e.g., #1234):",
confirmCommit: "Confirm your commit message:",
},
footerPrefix: "Issue:",
subjectLimit: 100,
};