Replace ESLint with oxlint and add code quality tooling
- Replace ESLint/typescript-eslint with oxlint (faster, zero-config TypeScript linting) - Add oxlint config with complexity thresholds, max-lines, and TypeScript rules - Add jscpd for duplicate code detection - Add knip for dead code and unused dependency detection - Add scripts/scan-todos.mjs for tech debt marker scanning - Add Husky pre-commit hook running oxlint on staged files - Fix unnecessary array spreads flagged by oxlint
This commit is contained in:
@@ -133,7 +133,7 @@ export class BinarySession implements HopperToolPort {
|
||||
}
|
||||
|
||||
async #drainCalls(): Promise<void> {
|
||||
await Promise.allSettled([...this.#calls]);
|
||||
await Promise.allSettled(this.#calls);
|
||||
}
|
||||
|
||||
async #restore(
|
||||
|
||||
Reference in New Issue
Block a user