forked from tshemeng/vue-amis-sdk
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISSUES CLOSED: #3
- Loading branch information
Showing
17 changed files
with
3,465 additions
and
466,885 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module.exports = { | ||
env: { | ||
node: true, | ||
}, | ||
extends: ['plugin:vue/recommended', 'eslint:recommended', '@vue/prettier'], | ||
parser: 'vue-eslint-parser', | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2020, | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
}, | ||
rules: {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
module.exports = { | ||
//可选类型 | ||
types: [ | ||
{ value: 'feat', name: 'feat: 新功能' }, | ||
{ value: 'fix', name: 'fix: 修复' }, | ||
{ value: 'docs', name: 'docs: 文档变更' }, | ||
{ value: 'style', name: 'style: 代码格式(不影响代码运行的变动)' }, | ||
{ | ||
value: 'refactor', | ||
name: 'refactor:重构(既不是增加feature),也不是修复bug', | ||
}, | ||
{ value: 'perf', name: 'perf: 性能优化' }, | ||
{ value: 'test', name: 'test: 增加测试' }, | ||
{ value: 'chore', name: 'chore: 构建过程或辅助功能的变动' }, | ||
{ value: 'revert', name: 'revert: 回退' }, | ||
{ value: 'build', name: 'build: 打包' }, | ||
{ value: 'revert', name: 'revert: 回退' }, | ||
], | ||
//消息步骤 | ||
messages: { | ||
type: '请选择提交类型', | ||
customScope: '请输入修改范围(可选)', | ||
subject: '请简要描述提交(必填)', | ||
body: '请输入详细描述(可选)', | ||
footer: '请输入要关闭的issue(可选)', | ||
confirmCommit: '确认以上信息提交?(y/n)', | ||
}, | ||
//跳过问题 | ||
skipQuestion: ['body', 'footer'], | ||
//subject文字长度默认是 | ||
subjectLimit: 72, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-conventional'], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.