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
@@ -57,7 +57,7 @@ function compileTemplate(template: string) {
const result = compileUtils.compileTemplate({
compiler,
source: template,
isProduction: true
isProduction: true,
} as any);
return result.code;
@@ -73,7 +73,7 @@ export function parseSfc(filePath: string) {
const descriptor = compileUtils.parse({
source,
compiler,
needMap: false
needMap: false,
} as any);
return descriptor;