mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-22 22:16:18 +08:00
feat: Feature/pro docs (#70)
* chore: merge main * feat: update docs * feat: remove coze-assistant * feat: add watermark plugin * feat: update preferences * feat: update docs --------- Co-authored-by: vince <vince292007@gmail.com>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
"cac": "^6.7.14",
|
||||
"circular-dependency-scanner": "^2.2.2",
|
||||
"depcheck": "^1.4.7",
|
||||
"publint": "^0.2.9"
|
||||
"publint": "^0.2.9",
|
||||
"zx": "^8.1.4"
|
||||
}
|
||||
}
|
||||
|
@@ -11,13 +11,14 @@ interface LintCommandOptions {
|
||||
|
||||
async function runLint({ format }: LintCommandOptions) {
|
||||
process.env.FORCE_COLOR = '3';
|
||||
|
||||
if (format) {
|
||||
await $`stylelint "**/*.{vue,css,less.scss}" --cache --fix`;
|
||||
await $`eslint . --cache --fix`;
|
||||
await $`prettier . --write --cache --log-level warn`;
|
||||
return;
|
||||
}
|
||||
|
||||
$.verbose = true;
|
||||
await Promise.all([
|
||||
$`eslint . --cache`,
|
||||
// $`ls-lint`,
|
||||
|
Reference in New Issue
Block a user