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
@@ -18,7 +18,7 @@ function runCommand(
return new Promise(resolve => {
execa(cmd, options, {
env: { FORCE_COLOR: true }
env: { FORCE_COLOR: true },
})
.then(() => {
spinner.succeed(messages.succeed);
@@ -39,7 +39,7 @@ function eslint() {
{
start: 'Running eslint...',
succeed: 'ESLint Passed.',
failed: 'ESLint failed!'
failed: 'ESLint failed!',
}
);
}
@@ -51,7 +51,7 @@ function stylelint() {
{
start: 'Running stylelint...',
succeed: 'Stylelint Passed.',
failed: 'Stylelint failed!'
failed: 'Stylelint failed!',
}
);
}