Skip to content

Instantly share code, notes, and snippets.

@YamatoYamasugi
Created May 19, 2025 04:35
Show Gist options
  • Save YamatoYamasugi/d77d5770bac74dfce7dcbe429fedcd96 to your computer and use it in GitHub Desktop.
Save YamatoYamasugi/d77d5770bac74dfce7dcbe429fedcd96 to your computer and use it in GitHub Desktop.
gitcz設定ファイル
module.exports = {
disableEmoji: false,
format: '{type}{scope}: {emoji}{subject}',
list: ['test', 'feat', 'update', 'fix', 'refactor', 'fire', 'chore', 'docs', 'style', 'ci', 'perf', 'typo'],
maxMessageLength: 64,
minMessageLength: 3,
questions: ['type', 'scope', 'subject', 'body', 'breaking', 'issues', 'lerna'],
scopes: [],
types: {
chore: {
description: '雑多的な変更(ビルドプロセスやツール、ライブラリの変更など)',
emoji: '🤖',
value: 'chore'
},
ci: {
description: 'CI関連の変更',
emoji: '👷',
value: 'ci'
},
docs: {
description: 'ドキュメントの修正',
emoji: '📝',
value: 'docs'
},
feat: {
description: '新機能の実装',
emoji: '✨',
value: 'feat'
},
fix: {
description: 'バグの修正',
emoji: '🐛',
value: 'fix'
},
perf: {
description: 'パフォーマンスの改善',
emoji: '⚡️',
value: 'perf'
},
refactor: {
description: 'コードのリファクタリング',
emoji: '♻️',
value: 'refactor'
},
release: {
description: 'リリース!!',
emoji: '🚀',
value: 'release'
},
style: {
description: 'コードのフォーマットを整える(自動整形されたのも含む)',
emoji: '🎨',
value: 'style'
},
test: {
description: 'テストファイル関連(追加・更新など)',
emoji: '✅',
value: 'test'
},
fire: {
description: '機能・ファイルの削除',
emoji: '🔥',
value: 'fire'
},
typo: {
description: 'ちょっとした修正(小さなミス・誤字など)',
emoji: '🩹',
value: 'typo'
},
update: {
description: '機能修正(バグではないもの)',
emoji: '🔀',
value: 'update'
},
messages: {
type: 'コミットする変更のタイプを選択:',
customScope: 'このコンポーネントが影響する範囲を選択:',
subject: 'その変化について、命令的なムードで短く説明:\n',
body: '変更点についてもう少し詳しく説明:\n ',
breaking: '重大な変更点をリスト:\n',
footer: 'このコミットで解決される問題、例: #123:',
confirmCommit: 'このコミットが影響を与えたパッケージ\n',
},
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment