mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-04-23 00:38:34 +08:00
chore: lint config
This commit is contained in:
@@ -28,10 +28,13 @@ async function runLint({ format }: LintCommandOptions) {
|
||||
return;
|
||||
}
|
||||
await Promise.all([
|
||||
execaCommand(`eslint . --cache`, {
|
||||
execaCommand(`oxfmt --check .`, {
|
||||
stdio: 'inherit',
|
||||
}),
|
||||
execaCommand(`oxfmt --check .`, {
|
||||
execaCommand(`oxlint . --fix`, {
|
||||
stdio: 'inherit',
|
||||
}),
|
||||
execaCommand(`eslint . --cache`, {
|
||||
stdio: 'inherit',
|
||||
}),
|
||||
execaCommand(`stylelint "**/*.{vue,css,less,scss}" --cache`, {
|
||||
|
||||
Reference in New Issue
Block a user