chore: oxlint-tsgolint

This commit is contained in:
xingyu4j
2026-03-13 23:22:52 +08:00
parent 395babc1f5
commit 92abf7edaa
4 changed files with 13 additions and 3 deletions

View File

@@ -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`, {