fix: vsh stylelint script fixed (#5729)

pull/62/head
chen-d-yu 2025-03-17 09:23:27 +08:00 committed by GitHub
parent feab6b3b30
commit 504070f3eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ async function runLint({ format }: LintCommandOptions) {
// process.env.FORCE_COLOR = '3';
if (format) {
await execaCommand(`stylelint "**/*.{vue,css,less.scss}" --cache --fix`, {
await execaCommand(`stylelint "**/*.{vue,css,less,scss}" --cache --fix`, {
stdio: 'inherit',
});
await execaCommand(`eslint . --cache --fix`, {
@ -31,7 +31,7 @@ async function runLint({ format }: LintCommandOptions) {
execaCommand(`prettier . --ignore-unknown --check --cache`, {
stdio: 'inherit',
}),
execaCommand(`stylelint "**/*.{vue,css,less.scss}" --cache`, {
execaCommand(`stylelint "**/*.{vue,css,less,scss}" --cache`, {
stdio: 'inherit',
}),
]);