chore: finalize oxlint migration config

This commit is contained in:
xingyu4j
2026-03-13 20:25:25 +08:00
parent 40c66958bc
commit e7fa87b301
47 changed files with 1466 additions and 414 deletions

View File

@@ -22,6 +22,7 @@ const DEFAULT_CONFIG = {
'@vben/commitlint-config',
'@vben/eslint-config',
'@vben/node-utils',
'@vben/oxlint-config',
'@vben/prettier-config',
'@vben/stylelint-config',
'@vben/tsconfig',

View File

@@ -19,6 +19,9 @@ async function runLint({ format }: LintCommandOptions) {
await execaCommand(`prettier . --write --cache --log-level warn`, {
stdio: 'inherit',
});
await execaCommand(`oxlint . --fix`, {
stdio: 'inherit',
});
await execaCommand(`eslint . --cache --fix`, {
stdio: 'inherit',
});