9 Star 26 Fork 6

aring / Sokoban

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
commitlint.config.js 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
/**
* git提交规范:
*
* build:主要目的是修改项目构建系统(例如 glup,webpack,rollup 的配置等)的提交
* ci:主要目的是修改项目继续集成流程(例如 Travis,Jenkins,GitLab CI,Circle等)的提交
* docs:文档更新
* feat:新增功能
* fix:bug 修复
* perf:性能优化
* refactor:重构代码(既没有新增功能,也没有修复 bug)
* style:不影响程序逻辑的代码修改(修改空白字符,补全缺失的分号等)
* test:新增测试用例或是更新现有测试
* revert:回滚某个更早之前的提交
* chore:不属于以上类型的其他类型
* wip:移除文件或者代码
*/
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'init',
'build',
'ci',
'docs',
'fix',
'perf',
'feat',
'style',
'refactor',
'test',
'revert',
'chore',
'wip'
]
],
'subject-full-stop': [0, 'never'],
'subject-case': [0, 'never']
}
}
JavaScript
1
https://gitee.com/aring1998/sokoban.git
git@gitee.com:aring1998/sokoban.git
aring1998
sokoban
Sokoban
master

搜索帮助