commitlint-config-ykplus
Advanced tools
+21
-24
@@ -27,6 +27,6 @@ /** | ||
| type: { | ||
| description: "Select the type of change that you're committing", | ||
| description: "选择你要提交的更改类型", | ||
| enum: { | ||
| feat: { | ||
| description: 'A new feature', | ||
| description: '新建分支', | ||
| title: 'Features', | ||
@@ -36,3 +36,3 @@ emoji: '✨', | ||
| fix: { | ||
| description: 'A bug fix', | ||
| description: '错误修复', | ||
| title: 'Bug Fixes', | ||
@@ -42,3 +42,3 @@ emoji: '🐛', | ||
| docs: { | ||
| description: 'Documentation only changes', | ||
| description: '仅文案更改', | ||
| title: 'Documentation', | ||
@@ -48,4 +48,3 @@ emoji: '📚', | ||
| style: { | ||
| description: | ||
| 'Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)', | ||
| description: '不影响代码含义的更改(空格、格式、缺少分号等)', | ||
| title: 'Styles', | ||
@@ -55,3 +54,3 @@ emoji: '💎', | ||
| refactor: { | ||
| description: 'A code change that neither fixes a bug nor adds a feature', | ||
| description: '既不修复错误也不添加功能的代码更改', | ||
| title: 'Code Refactoring', | ||
@@ -61,3 +60,3 @@ emoji: '📦', | ||
| perf: { | ||
| description: 'A code change that improves performance', | ||
| description: '提高性能的代码更改', | ||
| title: 'Performance Improvements', | ||
@@ -67,3 +66,3 @@ emoji: '🚀', | ||
| test: { | ||
| description: 'Adding missing tests or correcting existing tests', | ||
| description: '添加缺失的测试问题或修复现有测试问题', | ||
| title: 'Tests', | ||
@@ -73,4 +72,3 @@ emoji: '🚨', | ||
| build: { | ||
| description: | ||
| 'Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)', | ||
| description: '影响构建系统或外部依赖项的更改(示例范围:gulp、broccoli、npm)', | ||
| title: 'Builds', | ||
@@ -80,4 +78,3 @@ emoji: '🛠', | ||
| ci: { | ||
| description: | ||
| 'Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)', | ||
| description: '对 CI 配置文件和脚本的更改(示例范围:Travis、Circle、BrowserStack、SauceLabs)', | ||
| title: 'Continuous Integrations', | ||
@@ -87,3 +84,3 @@ emoji: '⚙️', | ||
| chore: { | ||
| description: "Other changes that don't modify src or test files", | ||
| description: "常规业务功能代码的提交", | ||
| title: 'Chores', | ||
@@ -93,3 +90,3 @@ emoji: '♻️', | ||
| revert: { | ||
| description: 'Reverts a previous commit', | ||
| description: '恢复之前的提交', | ||
| title: 'Reverts', | ||
@@ -101,28 +98,28 @@ emoji: '🗑', | ||
| scope: { | ||
| description: 'What is the scope of this change (e.g. component or file name)', | ||
| description: '此更改的范围是什么(例如组件或文件名)', | ||
| }, | ||
| subject: { | ||
| description: 'Write a short, imperative tense description of the change', | ||
| description: '为变更写一个简短的、命令式的内容描述', | ||
| }, | ||
| body: { | ||
| description: 'Provide a longer description of the change', | ||
| description: '提供更详细的变更描述', | ||
| }, | ||
| isBreaking: { | ||
| description: 'Are there any breaking changes?', | ||
| description: '有任何重大变化吗?', | ||
| }, | ||
| breakingBody: { | ||
| description: 'A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself', | ||
| description: '涉及到重大变更,请输入提交一段的较长变更描述', | ||
| }, | ||
| breaking: { | ||
| description: 'Describe the breaking changes', | ||
| description: '请描述变更的内容范围', | ||
| }, | ||
| isIssueAffected: { | ||
| description: 'Does this change affect any open issues?', | ||
| description: '此更改是否会影响任何未解决的问题?', | ||
| }, | ||
| issuesBody: { | ||
| description: | ||
| 'If issues are closed, the commit requires a body. Please enter a longer description of the commit itself', | ||
| '如果问题已关闭,请输入提交本身的较长描述', | ||
| }, | ||
| issues: { | ||
| description: 'Add issue references (e.g. "fix #123", "re #123".)', | ||
| description: '对问题的处理 (例如. "fix #123", "re #123".)', | ||
| }, | ||
@@ -129,0 +126,0 @@ }, |
+1
-1
| { | ||
| "name": "commitlint-config-ykplus", | ||
| "version": "1.0.0", | ||
| "version": "1.0.2", | ||
| "description": "Commitlint shareable configuration for YkPlus F2E Guidelines", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6123
-3.8%116
-2.52%