Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
EMS
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
hejie
EMS
Commits
43bb413e
提交
43bb413e
authored
4月 29, 2025
作者:
hejie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ci:
🎡
修改提交配置文件
上级
5297e32a
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
23 行增加
和
23 行删除
+23
-23
commitlint.config.cjs
commitlint.config.cjs
+23
-23
没有找到文件。
commitlint.config.cjs
浏览文件 @
43bb413e
...
@@ -10,35 +10,35 @@ module.exports = {
...
@@ -10,35 +10,35 @@ module.exports = {
2,
2,
"always",
"always",
[
[
"feat",
"feat",
//新功能
"fix",
"fix",
//修复错误
"docs",
"docs",
//文档更新
"style",
"style",
//代码风格 格式化代码、删除多余空格、添加注释等,不影响代码逻辑
"refactor",
"refactor",
//代码重构 优化代码结构、重命名变量、简化逻辑等,不添加新功能或修复错误
"perf",
"perf",
//性能优化 提高代码性能(如减少内存占用、提高响应速度等)
"test",
"test",
//测试代码更改 添加或更新测试用例、修复测试代码、更新测试框架
"build",
"build",
//构建系统更改 更新项目的构建系统(如 Webpack、Vite、Babel 配置等)
"ci",
"ci",
//持续集成更改 更新 CI 配置文件(如 `.github/workflows`、`.gitlab-ci.yml` 等)或脚本
"chore",
"chore",
//项目维护 进行不属于上述类型的维护性更改,如更新依赖项、清理项目文件等
"revert",
"revert",
//撤销提交 撤销之前的提交
"wip",
"wip",
//工作进行中 表示正在进行的工作,通常用于未完成的功能开发
"workflow",
"workflow",
//工作流程改进 优化项目的开发流程、工具链或工作方式
"types",
"types",
//类型定义文件更改 更新项目的类型定义文件(如 TypeScript 的 `.d.ts` 文件)
"release"
"release"
//发布相关进行版本发布或更新版本号
]
]
]
]
},
},
prompt: {
prompt: {
messages: {
messages: {
type: "Select the type of change that you're committing:",
type: "Select the type of change that you're committing:",
//选择提交类型(如 feat、fix 等)。
scope: "Denote the SCOPE of this change (optional):",
scope: "Denote the SCOPE of this change (optional):",
//填写提交范围,模块、组件、文件名、功能区域等(可选)。
customScope: "Denote the SCOPE of this change:",
customScope: "Denote the SCOPE of this change:",
subject: "Write a SHORT, IMPERATIVE tense description of the change:\n",
subject: "Write a SHORT, IMPERATIVE tense description of the change:\n",
//填写简短描述(必填)。
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
//填写详细描述(可选)。
breaking:
//
breaking:
'List any BREAKING CHANGES (optional). Use "|" to break new line:\n',
//
'List any BREAKING CHANGES (optional). Use "|" to break new line:\n',
footerPrefixsSelect:
//
footerPrefixsSelect:
"Select the ISSUES type of changeList by this change (optional):",
//
"Select the ISSUES type of changeList by this change (optional):",
customFooterPrefixs: "Input ISSUES prefix:",
customFooterPrefixs: "Input ISSUES prefix:",
footer: "List any ISSUES by this change. E.g.: #31, #34:\n",
footer: "List any ISSUES by this change. E.g.: #31, #34:\n",
confirmCommit: "Are you sure you want to proceed with the commit above?"
confirmCommit: "Are you sure you want to proceed with the commit above?"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论