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
+2 -2
View File
@@ -4,13 +4,13 @@ import {
existsSync,
readdirSync,
readFileSync,
outputFileSync
outputFileSync,
} from 'fs-extra';
import {
SRC_DIR,
getVantConfig,
ROOT_WEBPACK_CONFIG_FILE,
ROOT_POSTCSS_CONFIG_FILE
ROOT_POSTCSS_CONFIG_FILE,
} from './constant';
export const EXT_REGEXP = /\.\w+$/;
+1 -1
View File
@@ -25,7 +25,7 @@ export async function installDependencies() {
const manager = hasYarn() ? 'yarn' : 'npm';
await execa(manager, ['install', '--prod=false'], {
stdio: 'inherit'
stdio: 'inherit',
});
console.log('');