调整prettier并格式化代码
Showing
... | ... | @@ -2,13 +2,12 @@ |
"name": "my-vue-app", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"lint": "eslint --ext .js,vue --ignore-pattern '!.*ignore' .", | ||
"lint:fix": "pnpm lint --fix" | ||
"lint:fix": "eslint --fix && prettier --config .prettierrc --write --write ." | ||
}, | ||
"dependencies": { | ||
"@element-plus/icons-vue": "^2.0.10", | ||
... | ... | @@ -27,6 +26,7 @@ |
"eslint": "^8.34.0", | ||
"eslint-define-config": "^1.15.0", | ||
"eslint-plugin-vue": "^9.9.0", | ||
"prettier": "2.8.4", | ||
"sass": "^1.58.2", | ||
"vite": "^4.1.1" | ||
} | ||
... | ... |
Please register or sign in to comment