Initial commit

This commit is contained in:
天衡咨询创新
2023-06-21 12:08:13 +08:00
commit ebe3f99456
44 changed files with 11977 additions and 0 deletions

47
commitlint.config.js Normal file
View File

@ -0,0 +1,47 @@
/**
* feat新增功能
*
* fixbug 修复
*
* docs文档更新
*
* style不影响程序逻辑的代码修改(修改空白字符,格式缩进,补全缺失的分号等,没有改变代码逻辑)
*
* refactor重构代码(既没有新增功能,也没有修复 bug)
*
* perf性能, 体验优化
*
* test新增测试用例或是更新现有测试
*
* build主要目的是修改项目构建系统(例如 glupwebpackrollup 的配置等)的提交
*
* ci主要目的是修改项目继续集成流程(例如 TravisJenkinsGitLab CICircle等)的提交
*
* chore不属于以上类型的其他类型比如构建流程, 依赖管理
*
* revert回滚某个更早之前的提交
*/
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'feat',
'fix',
'docs',
'style',
'refactor',
'perf',
'test',
'build',
'ci',
'chore',
'revert',
],
],
'subject-full-stop': [0, 'never'],
'subject-case': [0, 'never'],
},
}