feat: add eslint-plugin-turbo

This commit is contained in:
vince
2024-07-10 22:30:39 +08:00
parent 1f968723d5
commit 8952e947bf
8 changed files with 55 additions and 16 deletions

View File

@@ -14,7 +14,7 @@ async function runLint({ format }: LintCommandOptions) {
if (format) {
await $`stylelint "**/*.{vue,css,less.scss}" --cache --fix`;
await $`eslint . --cache --fix`;
await $`prettier . --write --cache`;
await $`prettier . --write --cache --log-level warn`;
return;
}