mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-05 09:01:25 +08:00
build: migrate formatting pipeline to oxfmt
This commit is contained in:
@@ -16,7 +16,7 @@ async function runLint({ format }: LintCommandOptions) {
|
||||
await execaCommand(`stylelint "**/*.{vue,css,less,scss}" --cache --fix`, {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
await execaCommand(`prettier . --write --cache --log-level warn`, {
|
||||
await execaCommand(`oxfmt .`, {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
await execaCommand(`oxlint . --fix`, {
|
||||
@@ -31,7 +31,7 @@ async function runLint({ format }: LintCommandOptions) {
|
||||
execaCommand(`eslint . --cache`, {
|
||||
stdio: 'inherit',
|
||||
}),
|
||||
execaCommand(`prettier . --ignore-unknown --check --cache`, {
|
||||
execaCommand(`oxfmt --check .`, {
|
||||
stdio: 'inherit',
|
||||
}),
|
||||
execaCommand(`stylelint "**/*.{vue,css,less,scss}" --cache`, {
|
||||
|
||||
Reference in New Issue
Block a user