This commit is contained in:
dap
2025-03-19 19:56:52 +08:00
37 changed files with 38 additions and 38 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',
}),
]);