mirror of
https://github.com/mengxi-ream/read-frog.git
synced 2026-04-30 01:56:46 +00:00
26 lines
457 B
JavaScript
26 lines
457 B
JavaScript
module.exports = {
|
|
extends: ["@commitlint/config-conventional"],
|
|
rules: {
|
|
"type-enum": [
|
|
2,
|
|
"always",
|
|
[
|
|
// Default types from conventional commits
|
|
"build",
|
|
"chore",
|
|
"ci",
|
|
"docs",
|
|
"feat",
|
|
"fix",
|
|
"perf",
|
|
"refactor",
|
|
"revert",
|
|
"style",
|
|
"test",
|
|
// Custom types from PR template
|
|
"i18n",
|
|
"ai",
|
|
],
|
|
],
|
|
},
|
|
}
|