Skip to content

Commit 504070f

Browse files
authored
fix: vsh stylelint script fixed (#5729)
1 parent feab6b3 commit 504070f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/vsh/src/lint/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function runLint({ format }: LintCommandOptions) {
1313
// process.env.FORCE_COLOR = '3';
1414

1515
if (format) {
16-
await execaCommand(`stylelint "**/*.{vue,css,less.scss}" --cache --fix`, {
16+
await execaCommand(`stylelint "**/*.{vue,css,less,scss}" --cache --fix`, {
1717
stdio: 'inherit',
1818
});
1919
await execaCommand(`eslint . --cache --fix`, {
@@ -31,7 +31,7 @@ async function runLint({ format }: LintCommandOptions) {
3131
execaCommand(`prettier . --ignore-unknown --check --cache`, {
3232
stdio: 'inherit',
3333
}),
34-
execaCommand(`stylelint "**/*.{vue,css,less.scss}" --cache`, {
34+
execaCommand(`stylelint "**/*.{vue,css,less,scss}" --cache`, {
3535
stdio: 'inherit',
3636
}),
3737
]);

0 commit comments

Comments
 (0)