mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-08 03:01:26 +08:00
chore: oxlint-tsgolint
This commit is contained in:
@@ -22,6 +22,9 @@ async function runLint({ format }: LintCommandOptions) {
|
||||
await execaCommand(`oxlint . --fix`, {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
await execaCommand(`oxlint . --type-aware --fix`, {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
await execaCommand(`eslint . --cache --fix`, {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
@@ -31,7 +34,10 @@ async function runLint({ format }: LintCommandOptions) {
|
||||
execaCommand(`oxfmt .`, {
|
||||
stdio: 'inherit',
|
||||
}),
|
||||
execaCommand(`oxlint . --fix`, {
|
||||
execaCommand(`oxlint .`, {
|
||||
stdio: 'inherit',
|
||||
}),
|
||||
execaCommand(`oxlint . --type-aware`, {
|
||||
stdio: 'inherit',
|
||||
}),
|
||||
execaCommand(`eslint . --cache`, {
|
||||
|
||||
Reference in New Issue
Block a user