chore(cli): update eslint config and prettier codes

This commit is contained in:
陈嘉涵
2020-01-19 11:42:22 +08:00
parent 633e9cf59d
commit 1691451813
52 changed files with 383 additions and 363 deletions
+3 -3
View File
@@ -19,7 +19,7 @@ function formatType(type: string) {
fix: 'Bug Fixes',
feat: 'Feature',
docs: 'Document',
types: 'Types'
types: 'Types',
};
return MAP[type] || type;
@@ -52,7 +52,7 @@ export async function changelog() {
return new Promise(resolve => {
conventionalChangelog(
{
preset: 'angular'
preset: 'angular',
},
null,
null,
@@ -61,7 +61,7 @@ export async function changelog() {
mainTemplate,
headerPartial,
commitPartial,
transform
transform,
}
)
.pipe(createWriteStream(DIST_FILE))