|
@@ -22,6 +22,9 @@ async function runLint({ format }: LintCommandOptions) {
|
|
|
await execaCommand(`oxlint . --fix`, {
|
|
await execaCommand(`oxlint . --fix`, {
|
|
|
stdio: 'inherit',
|
|
stdio: 'inherit',
|
|
|
});
|
|
});
|
|
|
|
|
+ await execaCommand(`oxlint . --type-aware --fix`, {
|
|
|
|
|
+ stdio: 'inherit',
|
|
|
|
|
+ });
|
|
|
await execaCommand(`eslint . --cache --fix`, {
|
|
await execaCommand(`eslint . --cache --fix`, {
|
|
|
stdio: 'inherit',
|
|
stdio: 'inherit',
|
|
|
});
|
|
});
|
|
@@ -31,7 +34,10 @@ async function runLint({ format }: LintCommandOptions) {
|
|
|
execaCommand(`oxfmt .`, {
|
|
execaCommand(`oxfmt .`, {
|
|
|
stdio: 'inherit',
|
|
stdio: 'inherit',
|
|
|
}),
|
|
}),
|
|
|
- execaCommand(`oxlint . --fix`, {
|
|
|
|
|
|
|
+ execaCommand(`oxlint .`, {
|
|
|
|
|
+ stdio: 'inherit',
|
|
|
|
|
+ }),
|
|
|
|
|
+ execaCommand(`oxlint . --type-aware`, {
|
|
|
stdio: 'inherit',
|
|
stdio: 'inherit',
|
|
|
}),
|
|
}),
|
|
|
execaCommand(`eslint . --cache`, {
|
|
execaCommand(`eslint . --cache`, {
|