perf: format code with better style (#5283)

This commit is contained in:
Vben
2025-01-01 11:39:49 +08:00
committed by GitHub
parent 4d81b9d18d
commit 081d2aed23
288 changed files with 1805 additions and 2164 deletions

View File

@@ -113,11 +113,11 @@ async function runPublint(files: string[], { check }: PubLintCommandOptions) {
}
function printResult(
results: Array<{
results: Array<null | {
pkgJson: Record<string, number | string>;
pkgPath: string;
publintResult: Result;
} | null>,
}>,
check?: boolean,
) {
let errorCount = 0;